Determine what physical port a USB device is attatched to

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



How does one do this? For example:

 

# lspci | grep USB

00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)

00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)

00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)

00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)

00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)

00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)

00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)

00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)

 

and

 

# lsusb

Bus 001 Device 001: ID 0000:0000

Bus 001 Device 003: ID 051d:0002 American Power Conversion Uninterruptible Power Supply

Bus 004 Device 001: ID 0000:0000

Bus 005 Device 001: ID 0000:0000

Bus 007 Device 001: ID 0000:0000

Bus 008 Device 001: ID 0000:0000

Bus 002 Device 001: ID 0000:0000

Bus 006 Device 001: ID 0000:0000

Bus 003 Device 001: ID 0000:0000

 

I thought an lspci –tv would help, but it doesn’t show the UPS?

 

# lspci -tv

-[0000:00]-+-00.0  Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller

           +-02.0  Intel Corporation 82G33/G31 Express Integrated Graphics Controller

           +-1a.0  Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4

           +-1a.1  Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5

           +-1a.2  Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6

           +-1a.7  Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2

           +-1c.0-[0000:03]----00.0  LSI Logic / Symbios Logic MegaRAID SAS 1078

           +-1c.4-[0000:02]----00.0  JMicron Technologies, Inc. JMB368 IDE controller

           +-1c.5-[0000:01]----00.0  Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller

           +-1d.0  Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1

           +-1d.1  Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2

           +-1d.2  Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3

           +-1d.7  Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1

           +-1e.0-[0000:04]--+-00.0  Intel Corporation 82540EM Gigabit Ethernet Controller

           |                 \-02.0  VIA Technologies, Inc. IEEE 1394 Host Controller

           +-1f.0  Intel Corporation 82801IB (ICH9) LPC Interface Controller

           \-1f.3  Intel Corporation 82801I (ICH9 Family) SMBus Controller

 

 

So how do I know which controller has this device on it so I can enumerate the PCI ID of that controller?
Thanks!
jlc

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux