LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB 1.1 vs 2.0 (https://www.linuxquestions.org/questions/linux-hardware-18/usb-1-1-vs-2-0-a-900602/)

Laytek 09-01-2011 04:05 PM

USB 1.1 vs 2.0
 
Hello,

The problem: my Asus M4A88TD-V EVO/USB3 motherboard (updated to the 1201 BIOS) is described as having 12 ports x USB 2.0 and 2 ports x USB 3.0. However, a lsusb listing shows:
Code:

$ lsusb
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 046d:c52b Logitech, Inc.
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 1058:0901 Western Digital Technologies, Inc. MyBook External HDD
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Why are buses 4, 5, 6, and 7 showing as USB 1.1? Does the ID column indicate three different controllers?

Code:

$ lspci | grep -i usb
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller
00:16.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:16.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
03:00.0 USB Controller: NEC Corporation Device 0194 (rev 03)

Code:

$ uname -r
2.6.32-33-generic

I am using Ubuntu 10.04.3 LTS.

Code:

$ dmesg | egrep -i 'usb|hub'
[    0.965207] usbcore: registered new interface driver usbfs
[    0.965207] usbcore: registered new interface driver hub
[    0.965207] usbcore: registered new device driver usb
[    1.829022] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.829214] ehci_hcd 0000:00:12.2: new USB bus registered, assigned bus number 1
[    1.840068] ehci_hcd 0000:00:12.2: USB 2.0 started, EHCI 1.00
[    1.840156] usb usb1: configuration #1 chosen from 1 choice
[    1.840174] hub 1-0:1.0: USB hub found
[    1.840179] hub 1-0:1.0: 5 ports detected
[    1.840347] ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 2
[    1.860067] ehci_hcd 0000:00:13.2: USB 2.0 started, EHCI 1.00
[    1.860145] usb usb2: configuration #1 chosen from 1 choice
[    1.860167] hub 2-0:1.0: USB hub found
[    1.860172] hub 2-0:1.0: 5 ports detected
[    1.860336] ehci_hcd 0000:00:16.2: new USB bus registered, assigned bus number 3
[    1.880067] ehci_hcd 0000:00:16.2: USB 2.0 started, EHCI 1.00
[    1.880150] usb usb3: configuration #1 chosen from 1 choice
[    1.880170] hub 3-0:1.0: USB hub found
[    1.880176] hub 3-0:1.0: 4 ports detected
[    1.880247] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.880391] ohci_hcd 0000:00:12.0: new USB bus registered, assigned bus number 4
[    1.944167] usb usb4: configuration #1 chosen from 1 choice
[    1.944185] hub 4-0:1.0: USB hub found
[    1.944192] hub 4-0:1.0: 5 ports detected
[    1.944363] ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 5
[    2.004161] usb usb5: configuration #1 chosen from 1 choice
[    2.004179] hub 5-0:1.0: USB hub found
[    2.004186] hub 5-0:1.0: 5 ports detected
[    2.004358] ohci_hcd 0000:00:14.5: new USB bus registered, assigned bus number 6
[    2.064155] usb usb6: configuration #1 chosen from 1 choice
[    2.064176] hub 6-0:1.0: USB hub found
[    2.064183] hub 6-0:1.0: 2 ports detected
[    2.064355] ohci_hcd 0000:00:16.0: new USB bus registered, assigned bus number 7
[    2.124150] usb usb7: configuration #1 chosen from 1 choice
[    2.124170] hub 7-0:1.0: USB hub found
[    2.124177] hub 7-0:1.0: 4 ports detected
[    2.124260] uhci_hcd: USB Universal Host Controller Interface driver
[    2.221739] usb 1-4: new high speed USB device using ehci_hcd and address 3
[    2.375759] usb 1-4: configuration #1 chosen from 1 choice
[    2.380647] Initializing USB Mass Storage driver...
[    2.380850] scsi8 : SCSI emulation for USB Mass Storage devices
[    2.380993] usb-storage: device found at 3
[    2.380996] usb-storage: waiting for device to settle before scanning
[    2.381018] usbcore: registered new interface driver usb-storage
[    2.381020] USB Mass Storage support registered.
[    2.700065] usb 4-3: new low speed USB device using ohci_hcd and address 2
[    2.927321] usb 4-3: configuration #1 chosen from 1 choice
[    2.935946] usbcore: registered new interface driver hiddev
[    3.299352] generic-usb 0003:051D:0002.0001: hiddev96,hidraw0: USB HID v1.10 Device [American Power Conversion Back-UPS BR  800 FW:9.o2 .D USB FW:o2 ] on usb-0000:00:12.0-3/input0
[    3.299370] usbcore: registered new interface driver usbhid
[    3.299372] usbhid: v2.6:USB HID core driver
[    3.350074] usb 5-3: new full speed USB device using ohci_hcd and address 2
[    3.569332] usb 5-3: configuration #1 chosen from 1 choice
[    3.577411] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:13.0/usb5/5-3/5-3:1.0/input/input3
[    3.577470] generic-usb 0003:046D:C52B.0002: input,hidraw1: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:13.0-3/input0
[    3.582554] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:13.0/usb5/5-3/5-3:1.1/input/input4
[    3.582640] generic-usb 0003:046D:C52B.0003: input,hiddev97,hidraw2: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:13.0-3/input1
[    3.591338] generic-usb 0003:046D:C52B.0004: hiddev98,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:13.0-3/input2
[    7.380374] usb-storage: device scan complete
[  12.732806] xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 8
[  12.736276] usb usb8: config 1 interface 0 altsetting 0 endpoint 0x81 has no SuperSpeed companion descriptor
[  12.736336] usb usb8: configuration #1 chosen from 1 choice
[  12.736339] xHCI xhci_add_endpoint called for root hub
[  12.736341] xHCI xhci_check_bandwidth called for root hub
[  12.736363] hub 8-0:1.0: USB hub found
[  12.736369] hub 8-0:1.0: 4 ports detected

Thanks for any help.

LayTek

andrewthomas 09-01-2011 05:43 PM

Code:

Bus 004 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
usb 4-3: new low speed USB device using ohci_hcd and address 2
generic-usb 0003:051D:0002.0001: hiddev96,hidraw0: USB HID v1.10 Device [American Power Conversion Back-UPS BR 800 FW:9.o2 .D USB FW2 ] on usb-0000:00:12.0-3/input0
Bus 005 Device 002: ID 046d:c52b Logitech, Inc.
usb 5-3: new full speed USB device using ohci_hcd and address 2
generic-usb 0003:046D:C52B.0002: input,hidraw1: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:13.0-3/input0
generic-usb 0003:046D:C52B.0003: input,hiddev97,hidraw2: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:13.0-3/input1
generic-usb 0003:046D:C52B.0004: hiddev98,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:13.0-3/input2

Bus 4 & Bus 5 are operating at a slower speed due to the fact that you have plugged low (USB-1.10) & full (USB-1.11) devices into them.

Laytek 09-01-2011 07:14 PM

Thanks Andrew for the quick reply,

I restarted the computer with no USB devices attached. Here is the resulting lsusb:

Code:

$ lsusb
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Code:

$ dmesg | egrep -i 'usb|hub'
[    0.965184] usbcore: registered new interface driver usbfs
[    0.965184] usbcore: registered new interface driver hub
[    0.965184] usbcore: registered new device driver usb
[    1.809027] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.809219] ehci_hcd 0000:00:12.2: new USB bus registered, assigned bus number 1
[    1.820098] ehci_hcd 0000:00:12.2: USB 2.0 started, EHCI 1.00
[    1.820185] usb usb1: configuration #1 chosen from 1 choice
[    1.820203] hub 1-0:1.0: USB hub found
[    1.820208] hub 1-0:1.0: 5 ports detected
[    1.820374] ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 2
[    1.840081] ehci_hcd 0000:00:13.2: USB 2.0 started, EHCI 1.00
[    1.840158] usb usb2: configuration #1 chosen from 1 choice
[    1.840180] hub 2-0:1.0: USB hub found
[    1.840185] hub 2-0:1.0: 5 ports detected
[    1.840348] ehci_hcd 0000:00:16.2: new USB bus registered, assigned bus number 3
[    1.860067] ehci_hcd 0000:00:16.2: USB 2.0 started, EHCI 1.00
[    1.860151] usb usb3: configuration #1 chosen from 1 choice
[    1.860170] hub 3-0:1.0: USB hub found
[    1.860175] hub 3-0:1.0: 4 ports detected
[    1.860248] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.860397] ohci_hcd 0000:00:12.0: new USB bus registered, assigned bus number 4
[    1.924179] usb usb4: configuration #1 chosen from 1 choice
[    1.924197] hub 4-0:1.0: USB hub found
[    1.924204] hub 4-0:1.0: 5 ports detected
[    1.924376] ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 5
[    1.984153] usb usb5: configuration #1 chosen from 1 choice
[    1.984171] hub 5-0:1.0: USB hub found
[    1.984178] hub 5-0:1.0: 5 ports detected
[    1.984353] ohci_hcd 0000:00:14.5: new USB bus registered, assigned bus number 6
[    2.044172] usb usb6: configuration #1 chosen from 1 choice
[    2.044193] hub 6-0:1.0: USB hub found
[    2.044200] hub 6-0:1.0: 2 ports detected
[    2.044375] ohci_hcd 0000:00:16.0: new USB bus registered, assigned bus number 7
[    2.104164] usb usb7: configuration #1 chosen from 1 choice
[    2.104183] hub 7-0:1.0: USB hub found
[    2.104190] hub 7-0:1.0: 4 ports detected
[    2.104272] uhci_hcd: USB Universal Host Controller Interface driver
[  12.983044] xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 8
[  12.986512] usb usb8: config 1 interface 0 altsetting 0 endpoint 0x81 has no SuperSpeed companion descriptor
[  13.010765] usb usb8: configuration #1 chosen from 1 choice
[  13.010770] xHCI xhci_add_endpoint called for root hub
[  13.010772] xHCI xhci_check_bandwidth called for root hub
[  13.010868] hub 8-0:1.0: USB hub found
[  13.010877] hub 8-0:1.0: 4 ports detected

Is this a BIOS problem?

Thanks, Laytek

andrewthomas 09-01-2011 08:06 PM

1 Attachment(s)
I don't think so.

If you leave the BIOS settings for the USB controllers at the defaults and

1) plug your USB-3.0 devices into the ports marked 11

2) plug your USB-1.1 devices into the ports marked 6

3) plug your USB-2.0 devices into the ports marked 4

All the devices should run at their intended speed.

Laytek 09-02-2011 08:50 AM

OK and thanks again Andrew. The USB devices do indeed run at their correct speeds. I just find it interesting that the OS even loads the ohci_hcd drivers in the first place. All ports are USB 2.0 and should load the ehci_hcd driver. The ehci_hcd is supposed to be backwards compatible if a low or full speed device is plugged in to a highs speed port.

Laytek

onebuck 09-02-2011 02:12 PM

Hi,

Welcome to LQ, Laytek!

Please use the vbcode tags # or quote to encase the long lists or data. This will make your posts cleaner therefore easier to read.

You will find the # & quote at the top of the reply window. # is for code and the balloon to the left of # is for quotes.

HTH!


All times are GMT -5. The time now is 10:40 PM.