Hi, My system has three external USB ports and one internal which is always connected with printer. How I can detected whether the device is connected on which of the three ports.
# lsusb Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 Bus 001 Device 003: ID 6666:3150 Prototype product Vendor ID I thought the topology field in /proc/bus/usb/devices file will contain the port number or the bus number is equivalent to the port number, but a simple test proves me wrongs. Please give me some pointers on how I can retrieve the port number of connected device. Thanks a lot. Thanks, Brijesh ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
