Click to See Complete Forum and Search --> : How do I tell if I have USB 2.0?


The Coder
07-20-2007, 04:58 PM
My motherboard is supposed to have USB 2.0 ports, but I am not a 100% sure if they are USB 1.0 or 2.0. Is there any way to tell in Linux what they are?

bwkaz
07-20-2007, 06:41 PM
Assuming you have udev set up and working, you can check which HCD driver is loaded. If you have ehci_hcd loaded, then you have at least one USB2 port. If you only have uhci_hcd or ohci_hcd loaded, then you only have USB1.1.

You may also be able to tell based on what dmesg prints, but I'm not sure on that.

knute
07-21-2007, 12:15 AM
as root:
lspci | grep USB
The caps on the USB is required.

Satanic Atheist
07-22-2007, 07:00 AM
dmesg |grep USB |grep high

It should mention "new high-speed USB device using ehci_hcd" if you have USB2. If it doesn't, it'll be USB1.1. On boot up, the system should also list the USB ports. For some reason, my server (built one month ago) lists all ports as both USB1.1 and USB2. I imagine that this is because the ports are compatible with devices on either specification so they show up twice.

Hope this helps,

James

The Coder
08-06-2007, 02:35 PM
as root:
lspci | grep USB
The caps on the USB is required.

After running the commands that you mention above I get this this result:

00:02.0 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
00:02.1 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
00:02.2 USB Controller: nVidia Corporation nForce3 EHCI USB 2.0 Controller (rev a2)

Looks like I have USB 2.0? I have 2 USB ports on the front of the box and a bunch in the back all comming from the MOBO. Does this mean that all my ports are USB 2.0?

The Coder
08-06-2007, 02:36 PM
dmesg |grep USB |grep high

It should mention "new high-speed USB device using ehci_hcd" if you have USB2. If it doesn't, it'll be USB1.1. On boot up, the system should also list the USB ports. For some reason, my server (built one month ago) lists all ports as both USB1.1 and USB2. I imagine that this is because the ports are compatible with devices on either specification so they show up twice.

Hope this helps,

James

Here is what I get when I run the commands above. Does this mean all my ports are USB 2.0? Thanks:

[ 26.015486] usb 3-6: new high speed USB device using ehci_hcd and address 4

bwkaz
08-06-2007, 09:32 PM
If you plug a USB2 device in, and your kernel logs a "using ehci_hcd" message, then yes, that device is plugged into a USB2 port. If you plug a USB2 device in, and your kernel logs a "using ohci_hcd" or "using uhci_hcd" message, then the device is plugged into a USB1.1 port.

However, I don't think any motherboards made in the last, oh, 4-5 years have had any USB-1.1-only ports. I think they all have only USB2 ports. But still, it's useful to check what the kernel logs. :)