Hi,

I want to enumerate devices that I connect with USB. I've got two USB Host
Controllers and I connect two USB hubs to the two USB Host Controllers.
The first USB hub contains 7 USB ports and the second USB hub contains 4
USB ports. In total, I can connect 11 USB devices to the hubs.

No I want to find out at what port my devices are connected. Suppose that
I connect an USB device to the second port of the first USB hub. How can I
write software that detects where the device is connected? My software
should print out for example: "Mouse device detected at port 2 of the hub
connected to Host Controller 1".

Normally I can get the data of what devices that are connected from
/proc/bus/usb/devices, but here I only get information about the USB hubs,
not the devices connected to the USB hubs. How can I access that data?

Thanks a lot in advance.

/ Gremo


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to