LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   question on /proc/bus/usb/devices file (https://www.linuxquestions.org/questions/linux-hardware-18/question-on-proc-bus-usb-devices-file-276948/)

ryan_a_hH 01-12-2005 12:11 PM

question on /proc/bus/usb/devices file
 
Ok, so I know that the filesystem for the usb devices gets mounted at /proc/bus/usb. And the first device detected is mapped to /dev/sda and is represented in /proc/scsi/usb-storage-0. My question is concerning a relation (if any) from a line in /proc/bus/usb/devices to sda.

Say the topology line in the /devices file reads:

T: Bus=00 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2

How is /usb-storage-0/ linked to this file? If they are not linked, how is /devices updated? Is there any other way of seeing what bus,level, and port ID the device is sitting at?

Basically I need to know what /dev/sdX a usb device got mapped to and what port this device is sitting on.

Thank you for your time.

ryan_a_hH 01-13-2005 03:29 PM

bump..anyone?

ryan_a_hH 01-21-2005 01:49 PM

sorry, last bump, then i'll give up


All times are GMT -5. The time now is 07:04 AM.