On Fri, 29 Aug 2003 12:25:06 +0530 "Ravi Kumar B S" <[EMAIL PROTECTED]> wrote:

| Hello,
| 
| I've one query. I've got 4 USB ports on my system. Now, I want to configure
| those ports, lets say, for disks and printers. 
| For that I require some specific port number or a way to recognize all the
| four ports.
| 
| As per my knowledge, USB port, device and bus mapping is only available in
| /proc/bus/usb/devices file.
| Similarly the directories related to buses are available in /proc/bus/usb
| directory. 
| 
| I tried to plug-in different USB devices on the same port but the information
| in the /proc/bus/usb/devices does not give the same port and bus mapping. 
| E.g, I tried connecting 2 USB devices.
| /proc/bus/usb/devices recognizes the device as given below:
| T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 8 Spd=12 MxCh= 0
| T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 9 Spd=12 MxCh= 0
| 
| Now, if I exchange the two devices the mapping is not the same.
| T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 10 Spd=12 MxCh= 0
| T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 11 Spd=12 MxCh= 0
| 
| If I connect some other device, again the behavior will be different.
| Different Devices connecting to the same port are not resulting in the same
| bus-port mapping. It is not consistent. 
| 
| It changes every time we change the devices. So, I'm not able to find out how
| to detect the hardware port on which the USB device is connected. 
|   
| Any pointer would be of great help.

I'm skeptical also (like David).  I just tested this and got the
expected results -- contrary to what you show here.

And it's almost always correct to include a kernel version and
what patches are applied to it, if any.

--
~Randy


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to