开发者

How do I differenciate identical USB devices connected to the same USB hub? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
开发者_开发知识库

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

Improve this question

lsusb -v shows the same information for both devices (except of ever growing device number when reconnecting device) All the attributes of the devices are identical, so it's not possible to differenciate them by sort of uuid. How do I differenciate these identical USB devices?


You can use lsusb -t, which prints the physical tree, it gets its information by parsing /proc/bus/usb/devices. see the Documentation/usb/proc_usb_info.txt file for information on the format, if you're going to parse it yourself, but basically each T: line gives you the parent device id and port on same

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜