FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 06-04-2008, 02:35 AM
"Joseph L. Casale"
 
Default Determine what physical port a USB device is attatched to

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@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 06-04-2008, 03:59 AM
John R Pierce
 
Default Determine what physical port a USB device is attatched to

Joseph L. Casale wrote:


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?



the UPS isn't a PCI device. the USB channels on the motherboard are,
however, thats what you see.



...

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




the UPS doesn't HAVE a PCI ID, its not on PCI, its on USB.
"Buss 001" means its on USB Controller 1, which is PCI ID
(bus:slot.func): 00:1d.0
Use lspci -vn if you want to see the vendor/device codes are for 00:1d.0
(probably be 8086:xxxx) instead of the symbolic names shown above.


00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #1 (rev 02)
\____-> Bus 001 Device 003: ID 051d:0002 American Power Conversion
Uninterruptible Power Supply






_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 06-04-2008, 04:02 AM
"Joseph L. Casale"
 
Default Determine what physical port a USB device is attatched to

>the UPS isn't a PCI device. the USB channels on the motherboard are,
>however, thats what you see.

I think I worded this bad I want to know what USB controller (it is a PCI device)
that the USB based UPS is attached to. Its only a coincidence, but it is attached to
the USB port belonging to a PCI device that I want to passthrough in Xen.

Thanks!
jlc
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 01:44 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org