Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

USB 3.0 hub fails to pass through USB 2.0 devices (ID 2109:3431) #64

Closed
juliangilbey opened this Issue · 89 comments

24 participants

Julian Gilbey GriffenJBS ghollingworth piadam mf2hd TobyM10 Will Robinson camillo777 Scott Marshall James Crumpler markcarline slafferty P33M Eggness nimbos Eivind Bøhler popcornmix imikey Fabien Picarougne David silverdr Dominik Sennfelder Thireus ☠ fdominguezr
Julian Gilbey

I have attached a powered USB Hub to my Raspberry Pi. It shows up with lsusb:
Bus 001 Device 005: ID 2109:3431

When I attach this device to my Linux amd64 machine, running Linux 3.2.20, it is able to also show connected (USB 2.0?) devices to the machine, for example:
Bus 002 Device 004: ID 0458:002e KYE Systems Corp. (Mouse Systems)

However, when I connect it to the Pi, it does not show the attached devices, which is rather unfortunate.

I imagine that this might be the same bug as in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/783097 but then again, maybe not.

On connecting the USB device to the hub, the following messages appear in dmesg (and also in /var/log/kern.log):

[ 1113.345672] usb 1-1.2.1: new low speed USB device number 10 using dwc_otg
[ 1113.425796] usb 1-1.2.1: device descriptor read/64, error -71
[ 1113.615712] usb 1-1.2.1: device descriptor read/64, error -71
[ 1113.805702] usb 1-1.2.1: new low speed USB device number 11 using dwc_otg
[ 1113.885695] usb 1-1.2.1: device descriptor read/64, error -71
[ 1114.075687] usb 1-1.2.1: device descriptor read/64, error -71
[ 1114.265688] usb 1-1.2.1: new low speed USB device number 12 using dwc_otg
[ 1114.685460] usb 1-1.2.1: device not accepting address 12, error -71
[ 1114.765669] usb 1-1.2.1: new low speed USB device number 13 using dwc_otg
[ 1115.185455] usb 1-1.2.1: device not accepting address 13, error -71
[ 1115.185811] hub 1-1.2:1.0: unable to enumerate USB device on port 1

Any clues?

Thanks!

Julian

Julian Gilbey

I should have added the kernel messages from my amd64 system for comparison:

[266584.352254] usb 2-3.3: new low-speed USB device number 5 using ehci_hcd
[266584.451243] usb 2-3.3: New USB device found, idVendor=0458, idProduct=002e
[266584.451250] usb 2-3.3: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[266584.451255] usb 2-3.3: Product: NetScroll + Traveler
[266584.451258] usb 2-3.3: Manufacturer: Genius
[...]

GriffenJBS

"error -71" is a protocol error, every time I've seen that in the logs, it's been from low power. Your USB device is trying to draw over 140mA from the USB host, which is fuse protected to not allow more. Use a powered USB hub to power the extra devices.

Julian Gilbey

That sounds bizarre - I can't understand how it could be true in this case. The devices work fine when attached to the Pi directly (they're a keyboard and an infrared detector), but they don't work when connected to this USB3 powered hub! Also, they work OK on a different machine; would that also have a power protection?

ghollingworth

Can you try this again with the latest kernel, the messages are similar to the ones that we were seeing without microframe scheduling...

piadam

Same here. I am using wheezy 2012-08-16.
When I connect a small USB1 hub between my USB3 hub and the USB1 device I see a ready-status led (on the USB1-hub) 'ON' but as soon as the Rpi activates the USB-bus, somewhere halfway the bootprocess, the ready-led goes 'OFF' and the USB1 devices are unreachable.

mf2hd

Same problem here, any news for this?

mf2hd

As in 23.10.2012 with Linux raspberrypi 3.2.27+ #160 PREEMPT Mon Sep 17 23:18:42 BST 2012 armv6l GNU/Linux symptoms are same.
lsusb returns only ID 2109:3431 and all devices behind hub are undetected. Also same kind of errors exists in the dmesg/kern.log as jdgilbey mentioned before.

TobyM10

After having the device descriptor error with my keyboard. I decided to take the advice of GriffenJBS and purchase a powered usb hub. But I still receive the same error.
My keyboard is a Microsoft Keyboard 600 listed as compatible with the pi on the Wikipedia site
I know The powered usb hub and keyboard are both working as I've tested them with 2 different laptops. Has anybody got any suggestions or experiencing similar problems?

Will Robinson

Exact same issue here - USB3 hub is powered, USB laser mouse blinks on and then goes off.

camillo777

Same here:
[183628.080159] hid-generic 0003:046D:C00E.000C: input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-bcm2708_usb-1.2/input0
[183644.109026] usb 1-1.2: USB disconnect, device number 15
[183644.399465] usb 1-1.2: new low-speed USB device number 16 using dwc_otg
[183644.506031] usb 1-1.2: New USB device found, idVendor=046d, idProduct=c00e
[183644.506065] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[183644.506083] usb 1-1.2: Product: USB-PS/2 Optical Mouse
[183644.506097] usb 1-1.2: Manufacturer: Logitech
[183644.517179] input: Logitech USB-PS/2 Optical Mouse as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input12
[183644.520673] hid-generic 0003:046D:C00E.000D: input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-bcm2708_usb-1.2/input0
[214150.861570] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped
[214150.891409] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped
[412337.450798] usb 1-1.2: USB disconnect, device number 16
[412343.570010] usb 1-1.2: new high-speed USB device number 17 using dwc_otg
[412343.671045] usb 1-1.2: New USB device found, idVendor=058f, idProduct=6254
[412343.671077] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[412343.671095] usb 1-1.2: Product: USB2.0Hub
[412343.681594] hub 1-1.2:1.0: USB hub found
[412343.681917] hub 1-1.2:1.0: 4 ports detected
[412348.370162] usb 1-1.2.1: new low-speed USB device number 18 using dwc_otg
[412349.100266] usb 1-1.2.1: device descriptor read/64, error -71
[412349.550186] usb 1-1.2.1: device descriptor read/64, error -71
[412349.740211] usb 1-1.2.1: new low-speed USB device number 19 using dwc_otg
[412350.510190] usb 1-1.2.1: device descriptor read/64, error -71
[412350.740225] usb 1-1.2.1: device descriptor read/64, error -71
[412350.930277] usb 1-1.2.1: new low-speed USB device number 20 using dwc_otg
[412351.400051] usb 1-1.2.1: device not accepting address 20, error -71
[412351.480207] usb 1-1.2.1: new low-speed USB device number 21 using dwc_otg
[412351.980064] usb 1-1.2.1: device not accepting address 21, error -71
[412351.980273] hub 1-1.2:1.0: unable to enumerate USB device on port 1
[...]

ghollingworth
camillo777

@ghollingworth
Hi and thank you for the tip; I have downloaded branch files, but sorry for the lame question... how do I apply this new update to the raspberry? Thnak you!

ghollingworth
camillo777

@ghollingworth
The new branch seems to have crashed the RPi before the end of the update!

ghollingworth
camillo777

Yes I am using latest NOOB and latest Raspbian.
This is the last ssh output; last time crashed while calculating delta:
pi@raspberrypi ~ $ sudo BRANCH=fiq_split rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS
*** Performing self-update
--2013-06-23 17:37:23-- https://github.com/Hexxeh/rpi-update/raw/master/rpi-update
Resolving proxywsg.mediaset.it (proxywsg.mediaset.it)... 10.51.254.30
Connecting to proxywsg.mediaset.it (proxywsg.mediaset.it)|10.51.254.30|:8080... connected.
Proxy request sent, awaiting response... 302 Found
Location: https://raw.github.com/Hexxeh/rpi-update/master/rpi-update [following]
--2013-06-23 17:37:29-- https://raw.github.com/Hexxeh/rpi-update/master/rpi-update
Connecting to proxywsg.mediaset.it (proxywsg.mediaset.it)|10.51.254.30|:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 6386 (6.2K) [text/plain]
Saving to: `/usr/bin/rpi-update.tmp'

100%[===========================================================>] 6,386 --.-K/s in 0.001s

2013-06-23 17:37:35 (4.44 MB/s) - `/usr/bin/rpi-update.tmp' saved [6386/6386]

*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS
*** ARM/GPU split is now defined in /boot/config.txt using the gpu_mem option!
*** Setting up firmware (this may take a few minutes)
Cloning into '//root/.rpi-firmware'...
remote: Counting objects: 5986, done.
remote: Compressing objects: 100% (4650/4650), done.
Write failed: Broken pipe5237/5986), 62.53 MiB | 1.42 MiB/s

ghollingworth
Scott Marshall

I successfully ran a 'BRANCH=fiq_split /root/rpi-update' on my Arch Linux RPi.
No errors encountered, and after reboot, this is the status of kernel and firmware:

# /opt/vc/bin/vcgencmd version && uname -vmr
May 29 2013 16:10:19
Copyright (c) 2012 Broadcom
version 53261d4ede3ba2b660e4201aca9bd4544565a3ce (clean) (release)
3.8.13+ #460 PREEMPT Fri May 31 13:09:02 BST 2013 armv6l

The rpi-update "downgraded" me from the BRANCH=next version I was running (3.9.7+ kernel), but other than that, no problems have (as yet) been encountered.
I still have to try hooking up USB1.1 and USB2.0 devices to the USB3.0 powered hub. I'll do that in the next day or two.

In case camillo's problem was related to insufficient free space, here's my 'df -h' output:

# df -h
Filesystem                      Size  Used Avail Use% Mounted on
/dev/root                       4.0G  2.6G  1.2G  69% /
devtmpfs                        211M     0  211M   0% /dev
tmpfs                           233M     0  233M   0% /dev/shm
tmpfs                           233M  376K  233M   1% /run
tmpfs                           233M     0  233M   0% /sys/fs/cgroup
tmpfs                           233M     0  233M   0% /tmp
/dev/mmcblk0p1                   90M   27M   64M  30% /boot
camillo777

Tried another time; this time the upgrade seems fine:
Linux raspberrypi 3.8.13+ #460 PREEMPT Fri May 31 13:09:02 BST 2013 armv6l GNU/Linux
but I see mouse (usb1.2) device (direct connected, no hub) continuously connect/disconnect and HDMI screen flashes to black:
[ 129.914091] hid-generic 0003:046D:C00E.008E: input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-bcm2708_usb-1.2/input0
[ 130.071820] usb 1-1.2: USB disconnect, device number 58
[ 130.312628] usb 1-1.2: new low-speed USB device number 59 using dwc_otg
[ 130.422825] usb 1-1.2: New USB device found, idVendor=046d, idProduct=c00e
[ 130.422859] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 130.422875] usb 1-1.2: Product: USB-PS/2 Optical Mouse
[ 130.422889] usb 1-1.2: Manufacturer: Logitech
[ 130.432147] input: Logitech USB-PS/2 Optical Mouse as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input142
[ 130.435051] hid-generic 0003:046D:C00E.008F: input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-bcm2708_usb-1.2/input0
[ 130.583883] usb 1-1.2: USB disconnect, device number 59

pi@raspberrypi ~ $ lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/3p, 480M
|__ Port 1: Dev 3, If 0, Class=vend., Driver=smsc95xx, 480M
pi@raspberrypi ~ $ lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/3p, 480M
|__ Port 1: Dev 3, If 0, Class=vend., Driver=smsc95xx, 480M
|__ Port 2: Dev 26, If 0, Class=HID, Driver=usbhid, 1.5M

ghollingworth
Scott Marshall

Here's the USB details with the 'BRANCH=fiq_split" kernel & firmware:

# lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/3p, 480M
        |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
        |__ Port 2: Dev 4, If 0, Class=Hub, Driver=hub/4p, 12M
            |__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 1: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 4: Dev 11, If 0, Class=Human Interface Device, Driver=usbfs, 1.5M
        |__ Port 3: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 4: Dev 8, If 0, Class=Mass Storage, Driver=usb-storage, 480M

dmesg output:

# dmesg -T | grep -i usb
[Mon Jun 24 19:48:40 2013] usbcore: registered new interface driver usbfs
[Mon Jun 24 19:48:40 2013] usbcore: registered new interface driver hub
[Mon Jun 24 19:48:40 2013] usbcore: registered new device driver usb
[Mon Jun 24 19:48:41 2013] usbcore: registered new interface driver smsc95xx
[Mon Jun 24 19:48:41 2013] dwc_otg bcm2708_usb: DWC OTG Controller
[Mon Jun 24 19:48:41 2013] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[Mon Jun 24 19:48:41 2013] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[Mon Jun 24 19:48:41 2013] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[Mon Jun 24 19:48:41 2013] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[Mon Jun 24 19:48:41 2013] usb usb1: Product: DWC OTG Controller
[Mon Jun 24 19:48:41 2013] usb usb1: Manufacturer: Linux 3.8.13+ dwc_otg_hcd
[Mon Jun 24 19:48:41 2013] usb usb1: SerialNumber: bcm2708_usb
[Mon Jun 24 19:48:41 2013] hub 1-0:1.0: USB hub found
[Mon Jun 24 19:48:41 2013] Initializing USB Mass Storage driver...
[Mon Jun 24 19:48:41 2013] usbcore: registered new interface driver usb-storage
[Mon Jun 24 19:48:41 2013] USB Mass Storage support registered.
[Mon Jun 24 19:48:42 2013] usbcore: registered new interface driver usbhid
[Mon Jun 24 19:48:42 2013] usbhid: USB HID core driver
[Mon Jun 24 19:48:42 2013] usb 1-1: new high-speed USB device number 2 using dwc_otg
[Mon Jun 24 19:48:42 2013] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[Mon Jun 24 19:48:42 2013] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Mon Jun 24 19:48:42 2013] hub 1-1:1.0: USB hub found
[Mon Jun 24 19:48:42 2013] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[Mon Jun 24 19:48:43 2013] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[Mon Jun 24 19:48:43 2013] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Mon Jun 24 19:48:43 2013] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:6d:f2:15
[Mon Jun 24 19:48:43 2013] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
[Mon Jun 24 19:48:43 2013] usb 1-1.2: New USB device found, idVendor=0451, idProduct=1446
[Mon Jun 24 19:48:43 2013] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Mon Jun 24 19:48:43 2013] hub 1-1.2:1.0: USB hub found
[Mon Jun 24 19:48:43 2013] usb 1-1.3: new high-speed USB device number 5 using dwc_otg
[Mon Jun 24 19:48:43 2013] usb 1-1.3: New USB device found, idVendor=2109, idProduct=0811
[Mon Jun 24 19:48:43 2013] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[Mon Jun 24 19:48:43 2013] usb 1-1.3: Product: USB2.0 Hub
[Mon Jun 24 19:48:43 2013] hub 1-1.3:1.0: USB hub found
[Mon Jun 24 19:48:43 2013] usb 1-1.2.4: new low-speed USB device number 6 using dwc_otg
[Mon Jun 24 19:48:44 2013] usb 1-1.2.4: New USB device found, idVendor=0764, idProduct=0501
[Mon Jun 24 19:48:44 2013] usb 1-1.2.4: New USB device strings: Mfr=3, Product=1, SerialNumber=0
[Mon Jun 24 19:48:44 2013] usb 1-1.2.4: Product: UPS VALUE
[Mon Jun 24 19:48:44 2013] usb 1-1.2.4: Manufacturer: CPS
[Mon Jun 24 19:48:44 2013] hid-generic 0003:0764:0501.0001: hiddev0,hidraw0: USB HID v1.10 Device [CPS UPS VALUE] on usb-bcm2708_usb-1.2.4/input0
[Mon Jun 24 19:48:44 2013] usb 1-1.2.1: new low-speed USB device number 7 using dwc_otg
[Mon Jun 24 19:48:44 2013] usb 1-1.2.1: New USB device found, idVendor=045e, idProduct=00b0
[Mon Jun 24 19:48:44 2013] usb 1-1.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Mon Jun 24 19:48:44 2013] usb 1-1.2.1: Product: Microsoft® Digital Media Pro Keyboard
[Mon Jun 24 19:48:44 2013] usb 1-1.2.1: Manufacturer: Microsoft
[Mon Jun 24 19:48:44 2013] input: Microsoft Microsoft® Digital Media Pro Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.0/input/input0
[Mon Jun 24 19:48:44 2013] hid-generic 0003:045E:00B0.0002: input,hidraw1: USB HID v1.11 Keyboard [Microsoft Microsoft® Digital Media Pro Keyboard] on usb-bcm2708_usb-1.2.1/input0
[Mon Jun 24 19:48:44 2013] input: Microsoft Microsoft® Digital Media Pro Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.1/input/input1
[Mon Jun 24 19:48:44 2013] hid-generic 0003:045E:00B0.0003: input,hidraw2: USB HID v1.11 Device [Microsoft Microsoft® Digital Media Pro Keyboard] on usb-bcm2708_usb-1.2.1/input1
[Mon Jun 24 19:48:44 2013] usb 1-1.3.4: new high-speed USB device number 8 using dwc_otg
[Mon Jun 24 19:48:45 2013] usb 1-1.3.4: New USB device found, idVendor=0480, idProduct=a007
[Mon Jun 24 19:48:45 2013] usb 1-1.3.4: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[Mon Jun 24 19:48:45 2013] usb 1-1.3.4: Product: External USB 3.0
[Mon Jun 24 19:48:45 2013] usb 1-1.3.4: Manufacturer: Toshiba
[Mon Jun 24 19:48:45 2013] usb 1-1.3.4: SerialNumber: 20130119006747F
[Mon Jun 24 19:48:45 2013] scsi0 : usb-storage 1-1.3.4:1.0
[Mon Jun 24 19:48:46 2013] scsi 0:0:0:0: Direct-Access     Toshiba  External USB 3.0 0    PQ: 0 ANSI: 6
[Mon Jun 24 19:48:51 2013] usb 1-1.2.4: USB disconnect, device number 6
[Mon Jun 24 19:48:53 2013] usb 1-1.2.4: new low-speed USB device number 9 using dwc_otg
[Mon Jun 24 19:48:53 2013] usb 1-1.2.4: New USB device found, idVendor=0764, idProduct=0501
[Mon Jun 24 19:48:53 2013] usb 1-1.2.4: New USB device strings: Mfr=3, Product=1, SerialNumber=0
[Mon Jun 24 19:48:53 2013] usb 1-1.2.4: Product: UPS VALUE
[Mon Jun 24 19:48:53 2013] usb 1-1.2.4: Manufacturer: CPS
[Mon Jun 24 19:48:53 2013] hid-generic 0003:0764:0501.0004: hiddev0,hidraw0: USB HID v1.10 Device [CPS UPS VALUE] on usb-bcm2708_usb-1.2.4/input0
[Mon Jun 24 19:49:00 2013] usb 1-1.2.4: USB disconnect, device number 9
[Mon Jun 24 19:49:02 2013] usb 1-1.2.4: new low-speed USB device number 10 using dwc_otg
[Mon Jun 24 19:49:02 2013] usb 1-1.2.4: New USB device found, idVendor=0764, idProduct=0501
[Mon Jun 24 19:49:02 2013] usb 1-1.2.4: New USB device strings: Mfr=3, Product=1, SerialNumber=0
[Mon Jun 24 19:49:02 2013] usb 1-1.2.4: Product: UPS VALUE
[Mon Jun 24 19:49:02 2013] usb 1-1.2.4: Manufacturer: CPS
[Mon Jun 24 19:49:02 2013] hid-generic 0003:0764:0501.0005: hiddev0,hidraw0: USB HID v1.10 Device [CPS UPS VALUE] on usb-bcm2708_usb-1.2.4/input0
[Mon Jun 24 19:49:09 2013] usb 1-1.2.4: USB disconnect, device number 10
[Mon Jun 24 19:49:11 2013] usb 1-1.2.4: new low-speed USB device number 11 using dwc_otg
[Mon Jun 24 19:49:11 2013] usb 1-1.2.4: New USB device found, idVendor=0764, idProduct=0501
[Mon Jun 24 19:49:11 2013] usb 1-1.2.4: New USB device strings: Mfr=3, Product=1, SerialNumber=0
[Mon Jun 24 19:49:11 2013] usb 1-1.2.4: Product: UPS VALUE
[Mon Jun 24 19:49:11 2013] usb 1-1.2.4: Manufacturer: CPS
[Mon Jun 24 19:49:12 2013] hid-generic 0003:0764:0501.0006: hiddev0,hidraw0: USB HID v1.10 Device [CPS UPS VALUE] on usb-bcm2708_usb-1.2.4/input0

The repeats of the UPS devices occur until the NUT (Network UPS Tools) drivers and server services start up.
Until they complete their initialisation, the HID/USB interface stays in a connect/identify/disconnect cycle for the attached UPS device.

camillo777

Tried with more stable power on branch fiq_split, but with same result:
[ 4.016336] udevd[154]: starting version 175
[ 9.522375] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
[ 10.005953] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
[ 19.853834] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 25.200000] Adding 102396k swap on /var/swap. Priority:-1 extents:1 across:102396k SS
[ 127.255521] usb 1-1.2: USB disconnect, device number 4
[ 129.282942] usb 1-1.2: new high-speed USB device number 5 using dwc_otg
[ 129.383841] usb 1-1.2: New USB device found, idVendor=058f, idProduct=6254
[ 129.383872] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 129.383889] usb 1-1.2: Product: USB2.0Hub
[ 129.394290] hub 1-1.2:1.0: USB hub found
[ 129.394602] hub 1-1.2:1.0: 4 ports detected
[ 133.062833] usb 1-1.2.1: new low-speed USB device number 6 using dwc_otg
[ 133.162821] usb 1-1.2.1: device descriptor read/64, error -71
[ 133.372868] usb 1-1.2.1: device descriptor read/64, error -71
[ 133.562888] usb 1-1.2.1: new low-speed USB device number 7 using dwc_otg
[ 133.662905] usb 1-1.2.1: device descriptor read/64, error -71
[ 133.872933] usb 1-1.2.1: device descriptor read/64, error -71
[ 134.063095] usb 1-1.2.1: new low-speed USB device number 8 using dwc_otg
[ 134.482689] usb 1-1.2.1: device not accepting address 8, error -71
[ 134.562902] usb 1-1.2.1: new low-speed USB device number 9 using dwc_otg
[ 134.982716] usb 1-1.2.1: device not accepting address 9, error -71
[ 134.982954] hub 1-1.2:1.0: unable to enumerate USB device on port 1

pi@raspberrypi ~ $ lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/3p, 480M
|__ Port 1: Dev 3, If 0, Class=vend., Driver=smsc95xx, 480M
|__ Port 2: Dev 5, If 0, Class=hub, Driver=hub/4p, 480M

pi@raspberrypi ~ $ /opt/vc/bin/vcgencmd version && uname -vmr
May 29 2013 16:10:19
Copyright (c) 2012 Broadcom
version 53261d4ede3ba2b660e4201aca9bd4544565a3ce (clean) (release)
3.8.13+ #460 PREEMPT Fri May 31 13:09:02 BST 2013 armv6l

Any more ideas?
Thank you!

James Crumpler

Same issue here:
Rpi model B 512 running raspbian with 3.9.10+ kernel
I have an anker 7 port powered usb 3.0 hub with 2 charging ports and i've tried many many cable and configurations between my 3.0 powered hub, 2.0 powered hub, and 2.0 unpowered hub. After lots of testing with a multimeter and hours of trial and error, the problem still remains with error -71. Not a single device I connect (2.0 flash drive, mouse, keyboard, wifi stick) is enumerated on the 3.0 hub. I wish there was more that i could try out but i've run out of options. In my opinion it appears to be a software problem.

markcarline

I just received one of these:
TeckNet® USB 3.0 10 Port Hub with 48W Power Adapter and 3ft USB 3.0 Cable [VIA VL812 Chipset]
from Amazon:
http://www.amazon.co.uk/gp/product/B00DCO9YVM/ref=oh_details_o00_s00_i00?ie=UTF8&psc=1
The manual says its a "Broway BW-U3038A" using a VIA VL812 chipset.

I sometimes see these "device descriptor read/64, error -71" error messages (like the ones above) but only when the PI is "back power" from the HUB via a USB to MicroUSB cable on USB hub 10, ports 1, 2 and 3 on the HUB seem to be fine. No matter what I try I can't get the PI to recognize ports 4 to 10 on the hub

When I do a "lsusb" it reports a device name of "2109:2812".

I tried the "fiq_split" but it seemed to crash during boot.

I'm happy to help run any diags etc.

Any ideas?

P33M P33M was assigned
slafferty

Seeing same behavior here...

Aug 2 2013 11:53:50
Copyright (c) 2012 Broadcom
version bbd9a1d2f00a5363141715936596950ddd1757e2 (clean) (release)
3.6.11+ #518 PREEMPT Fri Aug 2 11:39:53 BST 2013 armv6l
Fully updated Raspbian via n00bs
Anker uSpeed 3 10 port hub

The hub itself seems to ID properly and come up:

[    3.172395] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    3.283737] usb 1-1.2: New USB device found, idVendor=2109, idProduct=2812
[    3.302095] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.311049] usb 1-1.2: Product: USB2.0 Hub       
[    3.330677] hub 1-1.2:1.0: USB hub found
[    3.343449] hub 1-1.2:1.0: 4 ports detected
[    3.882287] usb 1-1.2.3: new high-speed USB device number 6 using dwc_otg
[    4.023890] usb 1-1.2.3: New USB device found, idVendor=2109, idProduct=2812
[    4.040872] usb 1-1.2.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    4.072031] usb 1-1.2.3: Product: USB2.0 Hub       
[    4.091861] hub 1-1.2.3:1.0: USB hub found
[    4.112369] hub 1-1.2.3:1.0: 4 ports detected
[    4.384210] usb 1-1.2.4: new high-speed USB device number 7 using dwc_otg
[    4.523798] usb 1-1.2.4: New USB device found, idVendor=2109, idProduct=2812
[    4.542117] usb 1-1.2.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    4.574856] usb 1-1.2.4: Product: USB2.0 Hub       
[    4.600659] hub 1-1.2.4:1.0: USB hub found
[    4.618790] hub 1-1.2.4:1.0: 4 ports detected

But plugging my devices into the hub results in the same outcome every time:

[    8.912268] usb 1-1.2.3.3: new full-speed USB device number 16 using dwc_otg
[    9.012211] usb 1-1.2.3.3: device descriptor read/64, error -71
[    9.212287] usb 1-1.2.3.3: device descriptor read/64, error -71
[    9.412270] usb 1-1.2.3.3: new full-speed USB device number 17 using dwc_otg
[    9.512282] usb 1-1.2.3.3: device descriptor read/64, error -71
[    9.712350] usb 1-1.2.3.3: device descriptor read/64, error -71
[    9.922267] usb 1-1.2.3.3: new full-speed USB device number 18 using dwc_otg
[   10.342020] usb 1-1.2.3.3: device not accepting address 18, error -71
[   10.442264] usb 1-1.2.3.3: new full-speed USB device number 19 using dwc_otg
[   10.862014] usb 1-1.2.3.3: device not accepting address 19, error -71
[   10.871093] hub 1-1.2.3:1.0: unable to enumerate USB device on port 3

Regardless of port on the hub, it always tries to assign two addresses, and then blows up with the unable to enumerate.

  • Plugging device direct into pi will not work, power draw too great.
  • Swapped out the USB 3.0 hub for an old 4 port USB 2.0 hub, devices work fine with the pi.
  • Moved the entire setup (devices and usb3 hub) to another system (desktop running debian), devices work fine.
  • Plugging some other random devices into the USB 3.0 works with the pi
  • Plugging the USB 3 hub into the pi, daisychaining the USB2 off the USB3, and plugging device into the USB2, does not work
  • Tried the "fiq_split" branch mentioned above, no luck

I'm away for a couple of days, but will try any debug or trial and error suggestions that anyone wants to throw out there. ;)

ghollingworth
slafferty

Here's the fun part (I have to laugh, or I'll cry)...

I bought mine July 19th from Amazon, they listed it as "Anker Uspeed USB 3.0 10-Port Hub with 12V 4A Power Adapter [Apple Style Aluminum Hub]" for $57. It's no longer on the site. If I go into my order history, it's still there, but clicking the item takes me to http://www.amazon.com/gp/product/B007ZWFKX8/ref=oh_details_o01_s00_i00?ie=UTF8&psc=1, but the 10port listed there appears to be different. The anker website doesn't seem to list it as a currently sold item anymore either, so I believe they've replaced it with the "9 port + 1 super mega charging port" version. :/

http://www.ianker.com/support-c11-g186.html is the exact device I have, but their tech specs leave much to be desired. :/

That said, I believe the device is OEM'd elsewhere, and I've seen it with multiple vendor names attached elsewhere (Aitech, Orico), but some seem to have the VL811 chipset, whereas what I have ID's as 2109:0812 seems to be a VIA VL812 chip from what I've been able to dig up online... (I believe the VL811 is an older variant)...

I did spy a firmware update for the VL812 that one provider is shopping around, I may plug this hub into my windows box and try that, see what happens... I hate to risk nuking a $60 hub, but if I can't use it the way I hoped (those devices, + the pi), then I'll be off to find a new solution anyway. ;)

ghollingworth
markcarline

As I mentioned above - I am happy to test and this one is the one I have:
http://www.amazon.co.uk/gp/product/B00DCO9YVM/ref=oh_details_o01_s00_i00?ie=UTF8&psc=1
Its much cheaper (at £21.97) so maybe a good hub to get USB3 working. The hub connection to the PI doesn't back power the PI so I had to use a microusb cable from the hub back into the PI to get it working. The odd thing is that the first 1-3 ports seem to work ok but then some of the other ports don't work.

Can people that have these usb hubs try each one of the ports?

I have a spare PI and happy to help test any new firmwares etc as needed.

Thanks guys !

Mark

James Crumpler

RPi B running Raspbian 3.9.11+

I have this usb 3.0 hub http://www.ianker.com/support-c11-g197.html with the same -71 issue.
I can send you the hub, 3 different cables i used for the host port, and my pi if you'd like for testing purposes. Or i will be more than happy to collaborate on this issue to get this solved.

As stated in my above post, no matter what 2.0 peripheral i plug into one of the 7 3.0 hub ports (not the charging ports), they will result as a "device descriptor read/64, error -71"
I've tried numerous combinations using:
a powered 2.0 7-port
http://www.amazon.com/Rosewill-Ports-Power-Adapter-RHB-320/dp/B003WM7RXG/ref=sr_1_2?s=electronics&ie=UTF8&qid=1375892141&sr=1-2&keywords=rosewill+7-port+hub

a non-powered 2.0 4-port
http://www.amazon.com/Belkin-USB-2-0-4-Port-Ultra-Mini/dp/B000Q8UAWY/ref=sr_1_1?s=electronics&ie=UTF8&qid=1375892204&sr=1-1&keywords=belkin+4+port

and a powered 3.0 7-port http://www.amazon.com/Release-Anker%C2%AE-Uspeed-7-Port-Charge-Only/dp/B00B7GAE98/ref=sr_1_1?s=electronics&ie=UTF8&qid=1375892226&sr=1-1&keywords=anker+7+port

Still the error populates whenever i try to plug a 2.0 device into the 3.0 hub. But the other 2.0 hubs work flawlessly.

ghollingworth
markcarline

Just to confirm - shall I send mine in also? Its based on the VIA VL812 Chipset so would imagine there are others effected also.

I can post tomorrow ?

James Crumpler

I really would like to do that, however the UPS shipping costs would exceed $100. Unfortunately I don't have that kind of money to throw around...
What i can do is give you my remote ssh login for analysis.
could you reply to me at slimjim2234@gmail.com?

markcarline

I can send my one in - I'm guessing its maybe a common issue with these USB3 / VIA chipsets.

I'll pop mine in the post tomorrow (i'm in the UK so post isn't anything to be worried about) and happy to help.

Mark

Update: I have wrapped up mine with a test SD card, cables etc and will post to you Gordon tomorrow.. Thanks!

slafferty

Just to rule it out, I upgraded the VL812's firmware to 8285, which was the latest I could find out in the wild... and same behavior still exists. :/

ghollingworth
P33M
Owner

We've received @markcarline's hub and I spent a while today investigating.

It seems that this hub is a 3-tier cascade of 4-port hubs. The last port on each is chained to the next hub, so 1-3 are on hub 1, 4-6 are on hub 2 and 7-10 are on hub 3.

Your packaged wifi dongle works a lot better in the first 3 ports, has trouble in normal operation in the next 3 and is unrecognised in the last 4. Transaction errors are apparent - from the USB analyser it looks like the downstream devices aren't receiving data properly.

markcarline

ok thanks @P33M - nice to know you got it.

P33M
Owner

So yes, your hub behaves badly.

The key is the number of cascaded hubs you have connected to the Pi, and/or the chipset manufacturer. The Pi starts to miss received packets (that the device sends, ACK for example) if you have more than a certain critical number of repeaters between the device and the Pi.

I can replicate this behaviour using 4 cascaded USB2.0 hubs (including the SMSC9512 hub). The Pi starts to ignore valid packets.

Your hub is definitely cascaded - you have 3x 4 port hubs chained to each other.

lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 29, If 0, Class=hub, Driver=hub/5p, 480M
        |__ Port 1: Dev 30, If 0, Class=vend., Driver=smsc95xx, 480M
        |__ Port 3: Dev 31, If 0, Class=HID, Driver=usbhid, 1.5M
        |__ Port 4: Dev 32, If 0, Class=hub, Driver=hub/4p, 480M
            |__ Port 4: Dev 34, If 0, Class=hub, Driver=hub/4p, 480M
               ** Last hub does not enumerate **
        |__ Port 5: Dev 33, If 0, Class=HID, Driver=usbhid, 1.5M

In your USB3.0 hub case, when I plugged it directly into a Model A, all 3 hubs would enumerate but devices would be broken in the last 4 ports. Devices were usable in 1-6 however. With the USB3.0 hub plugged into a model B (actually I use a SMSC evaluation board + model A) then only the first two hubs enumerate, and devices only work in the first 3 ports.

USB Spec says that up to 5 hubs can be cascaded and that a device or host must correctly respond with a 12-bit SYNC field. Hubs must also not nibble more than 4 bits of the SYNC field. I have a feeling that
a) your USB3.0 hub nibbles more than it should do when operating at USB2.0 speeds
b) The Pi's PHY is ignoring too many bits of the SYNC field when it's being received.

To bottom this out, we need to actually look at the datastream on an individual bit-level basis - the analyzer we have access to is packet-only at USB2.0 speeds.

P33M
Owner

@markcarline

I know what the root cause is, or at least the major contributing factors. I would like to introduce your hub + the Pi to a USB2.0 compliance testing tool (which is not in our possession and needs organising a field trip to go and use). Do you need the hub back urgently?

markcarline

@P33M - sure no problem and glad I can help. Just keep me updated on this thread with any news.

btw - This hub works fine when used in a USB3 port on my Windows 7 PC. I didn't however try it on a USB2 port and i'm wondering if that would have been a good test. Is it worth trying it on a USB2 port on a Windows 7 PC ?

Eggness

I've got the same issue and have been wracking my brain the last couple days trying to figure it out. I am using a model A with the latest build of Raspbian from raspberrypi.org, and a D-Link Hi-Speed USB 2.0 7-Port Powered Hub (DUB-H7).

I've opened up the hub to poke around and investigate further. (please excuse the ugly soldering job I did!)
pi1
pi2
pi3
pi4

I'm kind of learning this stuff as I go, so feel free to tell me if I'm wrong about something.

What I have figured out about my hub:

  • It appears to receive +5V and Ground signals from the Pi just fine
  • It seems it is not receiving Data- and Data+ correctly
  • Whether or not the AC adapter is plugged into the hub doesn't seem to make a difference
  • It does not appear to cascade like the hub of @markcarline (could definitely be wrong about this)
  • I tried to find a datasheet on the chip, but had little luck (I will dig deeper)
  • Works fine connected to my Windows 7 PC

Looking in to the software side of the things (not exactly my specialty) I found that some people have had similar issues in other versions of Linux for their PC's. (Ex: http://ubuntuforums.org/showthread.php?t=797789) The solution in these cases tends to be lowering the power consumption of the devices (doesn't seem to apply here), or altering the 'usbcore' parameters by running something like

 sudo echo Y > /sys/module/usbcore/parameters/old_scheme_first

or

 sudo echo -1 >/sys/module/usbcore/parameters/autosuspend

Since I barely know enough command line to get by I think I'd be more comfortable with someone else investigating these solutions further.

Let me know if there is anything else I can do to help!

P33M
Owner

Autosuspend support currently isn't compiled into the kernel, so it's not that.

sudo lsusb -t with the hub plugged in will tell you if there is indeed a cascade of 2x 4-port hubs inside that single IC (that would be really bad - a silicon copy-paste job).

markcarline

@P33M - Just wondered what the next steps are with this ?

Do you still need my hub etc ?

Thanks

Mark

P33M
Owner

In lieu of field trip we're going to get a protocol analyser hired. I will pick this issue up again next week - so much to do, so little time.

If you really need it back, then we can just buy our own.

markcarline

No it's ok keep it as long as you need it for this issue. Just glad to help with one very small part of the amazing PI story.
Mark

nimbos

Just curious if there's been any progress on this. I am in the same boat, same USB hub, etc.

Eivind Bøhler

I have an Orico P10-U3 that displays the exact same symptoms. I am also very curious if you've made any progress on finding out what stops these hubs from working with the Pi. Thanks!

P33M
Owner

I have now got the analyzer on an end-to-end analysis of the bits on-wire as they go through hubs.

  • USB2.0 hubs will not always drop 4 SYNC bits from the start of packet. The average value appears to be 2.6 bits per hub.
  • USB3.0 hubs, at least the VIA ones, appear to always drop 4 SYNC bits all the time.

This explains why only a very low number of cascaded USB3.0 hubs will work. At the present moment in time, we can only support a single USB3.0 hub chip plugged into the Pi (A or B). Cascaded USB3.0 hubs (as visible in lsusb -t) will not work.

The use of cascaded USB2.0 hubs is possible, but it is strongly recommended that a maximum of 2 cascaded hub chips on a model B/3 cascaded hub chips on model A is observed.

We are looking at the root cause; we may have to pass this up the food chain to Broadcom.

P33M
Owner

@markcarline

Your hub has been most useful. I've completed testing with it and so it's time I returned it.

In the notes you put in the package, you mentioned a USB-micro lead - which seems to have been absorbed into the pile of various ones on my desk.

Does it have any distinguishing characteristics?

markcarline

@P33M no its just a normal USB to MicroUSB type cable (thats used to "back" power the PI).

Glad to be of help & hope you find a solution in the long term.

Thanks!

Mark

P33M
Owner

An updated firmware has been pushed with a potential fix for daisy-chained hubs.

Please test to see if the issue is still present.

@markcarline your hub is in the post.

markcarline

@P33M great thanks! Is this fix for usb3 hubs? Shall I retest when I get it back? How can I update my pi to this new firmware?

P33M
Owner

I've tested with a daisy chain of 5x USB2.0 hubs. In theory, you should be able to use all the ports on your USB3.0 hub but failing that, at least the ports connected to the first 2 hub chips (1-6 in your case) should work.

imikey

I thought I'd chime in as I'm having the same issue with my rev. b pi and Anker USB 3.0 hub (http://www.amazon.com/Release-Anker%C2%AE-Uspeed-Charging-Adapter/dp/B005NGQWL2). It also appears to be 3 USB hubs daisy chained. I went ahead and installed the latest version of Raspbian and performed an rpi-update this evening. After rebooting and plugging in the hub, I receive the same error -71. I can post my log tomorrow if it'll be useful for the group.

P33M
Owner

lsusb -t, the full output of dmesg since boot would be useful. Could you also compare before and after? It would be interesting to know if you're still just getting errors on a device that's on the end of the chain.

imikey

Here is lsusb -t and dmesg BEFORE plugging in the hub. The log AFTER is posted as well:

root@minepeon:~# lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/3p, 480M
        |__ Port 1: Dev 3, If 0, Class=vend., Driver=smsc95xx, 480M
        |__ Port 3: Dev 4, If 0, Class=hub, Driver=hub/3p, 12M
            |__ Port 1: Dev 7, If 0, Class=HID, Driver=usbhid, 1.5M
            |__ Port 1: Dev 7, If 1, Class=HID, Driver=usbhid, 1.5M
root@minepeon:~# dmesg
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.6.11+ (dc4@dc4-arm-01) (gcc version 4.7.2 20120731 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) ) #541 PREEMPT Sat Sep 7 19:46:21 BST 2013
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: BCM2708
[    0.000000] cma: CMA: reserved 16 MiB at 1b000000
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 114688
[    0.000000] free_area_init_node: node 0, pgdat c0545b54, node_mem_map c05f0000
[    0.000000]   Normal zone: 896 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 113792 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 113792
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0xf bcm2708.serial=0xe2f57fff smsc95xx.macaddr=B8:27:EB:F5:7F:FF sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p3 rootfstype=ext4 rootwait
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 448MB = 448MB total
[    0.000000] Memory: 432220k/432220k available, 26532k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xdc800000 - 0xff000000   ( 552 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdc000000   ( 448 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc04ef844   (5023 kB)
[    0.000000]       .init : 0xc04f0000 - 0xc05111f0   ( 133 kB)
[    0.000000]       .data : 0xc0512000 - 0xc0546560   ( 210 kB)
[    0.000000]        .bss : 0xc0546584 - 0xc05ef738   ( 677 kB)
[    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:330
[    0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty1] enabled
[    0.000970] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[    0.060125] pid_max: default: 32768 minimum: 301
[    0.060618] Mount-cache hash table entries: 512
[    0.061442] Initializing cgroup subsys cpuacct
[    0.061498] Initializing cgroup subsys devices
[    0.061531] Initializing cgroup subsys freezer
[    0.061560] Initializing cgroup subsys blkio
[    0.061700] CPU: Testing write buffer coherency: ok
[    0.062021] hw perfevents: enabled with v6 PMU driver, 3 counters available
[    0.062160] Setting up static identity map for 0x3a5238 - 0x3a5294
[    0.063637] devtmpfs: initialized
[    0.075036] NET: Registered protocol family 16
[    0.081506] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.082543] bcm2708.uart_clock = 0
[    0.083906] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.083961] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.083997] mailbox: Broadcom VideoCore Mailbox driver
[    0.084085] bcm2708_vcio: mailbox at f200b880
[    0.084197] bcm_power: Broadcom power driver
[    0.084235] bcm_power_open() -> 0
[    0.084259] bcm_power_request(0, 8)
[    0.584943] bcm_mailbox_read -> 00000080, 0
[    0.584981] bcm_power_request -> 0
[    0.585005] Serial: AMBA PL011 UART driver
[    0.585131] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
[    0.914967] console [ttyAMA0] enabled
[    0.939183] bio: create slab <bio-0> at 0
[    0.944094] SCSI subsystem initialized
[    0.948162] usbcore: registered new interface driver usbfs
[    0.953752] usbcore: registered new interface driver hub
[    0.959342] usbcore: registered new device driver usb
[    0.965655] Switching to clocksource stc
[    0.969948] FS-Cache: Loaded
[    0.973107] CacheFiles: Loaded
[    0.988048] NET: Registered protocol family 2
[    0.993327] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    1.001059] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    1.007849] TCP: Hash tables configured (established 16384 bind 16384)
[    1.014449] TCP: reno registered
[    1.017702] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.023596] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.030238] NET: Registered protocol family 1
[    1.035113] RPC: Registered named UNIX socket transport module.
[    1.041160] RPC: Registered udp transport module.
[    1.045881] RPC: Registered tcp transport module.
[    1.050624] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.057712] bcm2708_dma: DMA manager at f2007000
[    1.062491] bcm2708_gpio: bcm2708_gpio_probe c051fdf8
[    1.067944] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[    1.077141] audit: initializing netlink socket (disabled)
[    1.082741] type=2000 audit(0.940:1): initialized
[    1.215477] VFS: Disk quotas dquot_6.5.2
[    1.219834] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.228910] FS-Cache: Netfs 'nfs' registered for caching
[    1.235565] NFS: Registering the id_resolver key type
[    1.240853] Key type id_resolver registered
[    1.245056] Key type id_legacy registered
[    1.249406] msgmni has been set to 876
[    1.255401] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.263232] io scheduler noop registered
[    1.267188] io scheduler deadline registered
[    1.271642] io scheduler cfq registered (default)
[    1.293773] Console: switching to colour frame buffer device 82x26
[    1.303904] kgdb: Registered I/O driver kgdboc.
[    1.310572] vc-cma: Videocore CMA driver
[    1.315890] vc-cma: vc_cma_base      = 0x00000000
[    1.321980] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    1.328683] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    1.344016] brd: module loaded
[    1.353425] loop: module loaded
[    1.358154] vchiq: vchiq_init_state: slot_zero = 0xdb000000, is_master = 0
[    1.367059] Loading iSCSI transport class v2.0-870.
[    1.374284] usbcore: registered new interface driver smsc95xx
[    1.381754] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.593941] Core Release: 2.80a
[    1.598362] Setting default values for core params
[    1.604498] Finished setting default values for core params
[    1.816419] Using Buffer DMA mode
[    1.821039] Periodic Transfer Interrupt Enhancement - disabled
[    1.828101] Multiprocessor Interrupt Enhancement - disabled
[    1.834930] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.840571] Dedicated Tx FIFOs mode
[    1.846299] dwc_otg: Microframe scheduler enabled
[    1.846716] dwc_otg bcm2708_usb: DWC OTG Controller
[    1.853026] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[    1.861627] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[    1.868440] Init: Port Power? op_state=1
[    1.873715] Init: Power Port (0)
[    1.878302] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.886504] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.895131] usb usb1: Product: DWC OTG Controller
[    1.901240] usb usb1: Manufacturer: Linux 3.6.11+ dwc_otg_hcd
[    1.908344] usb usb1: SerialNumber: bcm2708_usb
[    1.914942] hub 1-0:1.0: USB hub found
[    1.920130] hub 1-0:1.0: 1 port detected
[    1.925656] dwc_otg: FIQ enabled
[    1.925670] dwc_otg: NAK holdoff enabled
[    1.925679] dwc_otg: FIQ split fix enabled
[    1.925696] Module dwc_common_port init
[    1.925912] Initializing USB Mass Storage driver...
[    1.932381] usbcore: registered new interface driver usb-storage
[    1.939758] USB Mass Storage support registered.
[    1.945801] usbcore: registered new interface driver libusual
[    1.953170] mousedev: PS/2 mouse device common for all mice
[    1.960801] bcm2835-cpufreq: min=700000 max=700000 cur=700000
[    1.967958] bcm2835-cpufreq: switching to governor powersave
[    1.974928] bcm2835-cpufreq: switching to governor powersave
[    1.981881] cpuidle: using governor ladder
[    1.987214] cpuidle: using governor menu
[    1.992402] sdhci: Secure Digital Host Controller Interface driver
[    1.999825] sdhci: Copyright(c) Pierre Ossman
[    2.005463] sdhci: Enable low-latency mode
[    2.049949] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
[    2.060404] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
[    2.069843] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.082489] usbcore: registered new interface driver usbhid
[    2.089503] usbhid: USB HID core driver
[    2.099492] TCP: cubic registered
[    2.106311] Initializing XFRM netlink socket
[    2.114089] NET: Registered protocol family 17
[    2.120065] Indeed it is in host mode hprt0 = 00021501
[    2.129954] Key type dns_resolver registered
[    2.140126] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    2.159927] mmc0: new high speed SDHC card at address e624
[    2.170474] registered taskstats version 1
[    2.180115] mmcblk0: mmc0:e624 SU32G 29.7 GiB 
[    2.201142]  mmcblk0: p1 p2 p3
[    2.233639] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    2.246993] VFS: Mounted root (ext4 filesystem) on device 179:3.
[    2.257595] devtmpfs: mounted
[    2.262643] Freeing init memory: 132K
[    2.359832] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.367987] Indeed it is in host mode hprt0 = 00001101
[    2.580534] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[    2.588887] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.598454] hub 1-1:1.0: USB hub found
[    2.604435] hub 1-1:1.0: 3 ports detected
[    2.890055] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    3.020529] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    3.029049] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.049956] smsc95xx v1.0.4
[    3.114639] smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:f5:7f:ff
[    3.220253] usb 1-1.3: new full-speed USB device number 4 using dwc_otg
[    3.360097] usb 1-1.3: New USB device found, idVendor=413c, idProduct=1005
[    3.368623] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.399868] usb 1-1.3: Product: Dell Multimedia Pro Keyboard Hub
[    3.407504] usb 1-1.3: Manufacturer: Dell
[    3.427205] hub 1-1.3:1.0: USB hub found
[    3.440095] hub 1-1.3:1.0: 3 ports detected
[    3.730876] usb 1-1.3.1: new low-speed USB device number 5 using dwc_otg
[    3.841360] udevd[156]: starting version 175
[    3.859663] usb 1-1.3.1: New USB device found, idVendor=413c, idProduct=2011
[    3.882746] usb 1-1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.912949] usb 1-1.3.1: Product: Dell Multimedia Pro Keyboard
[    3.941526] usb 1-1.3.1: Manufacturer: Dell
[    3.976557] input: Dell Dell Multimedia Pro Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.0/input/input0
[    4.024024] hid-generic 0003:413C:2011.0001: input,hidraw0: USB HID v1.10 Keyboard [Dell Dell Multimedia Pro Keyboard] on usb-bcm2708_usb-1.3.1/input0
[    4.094375] input: Dell Dell Multimedia Pro Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.1/input/input1
[    4.126694] hid-generic 0003:413C:2011.0002: input,hidraw1: USB HID v1.10 Device [Dell Dell Multimedia Pro Keyboard] on usb-bcm2708_usb-1.3.1/input1
[    4.821070] bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at 0x20205000 (irq 79) (baudrate 100k)
[    5.010072] bcm2708_spi bcm2708_spi.0: master is unqueued, this is deprecated
[    5.120467] bcm2708_spi bcm2708_spi.0: SPI Controller at 0x20204000 (irq 80)
[    5.218564] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100k)
[    5.297431] Registered led device: led0
[    6.580073] usb 1-1.3.1: USB disconnect, device number 5
[    6.700114] usb 1-1.3: reset full-speed USB device number 4 using dwc_otg
[    7.120595] usb 1-1.3.1: new low-speed USB device number 6 using dwc_otg
[    7.263336] usb 1-1.3.1: New USB device found, idVendor=413c, idProduct=2011
[    7.287808] usb 1-1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    7.309855] usb 1-1.3.1: Product: Dell Multimedia Pro Keyboard
[    7.317543] usb 1-1.3.1: Manufacturer: Dell
[    7.351465] input: Dell Dell Multimedia Pro Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.0/input/input2
[    7.410443] hid-generic 0003:413C:2011.0003: input,hidraw0: USB HID v1.10 Keyboard [Dell Dell Multimedia Pro Keyboard] on usb-bcm2708_usb-1.3.1/input0
[    7.483661] input: Dell Dell Multimedia Pro Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.1/input/input3
[    7.535711] hid-generic 0003:413C:2011.0004: input,hidraw1: USB HID v1.10 Device [Dell Dell Multimedia Pro Keyboard] on usb-bcm2708_usb-1.3.1/input1
[    8.798694] Adding 249852k swap on /dev/mmcblk0p2.  Priority:-1 extents:1 across:249852k SS
[    9.139300] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[    9.771228] EXT4-fs (mmcblk0p3): re-mounted. Opts: errors=remount-ro
[   13.907200] usb 1-1.3.1: USB disconnect, device number 6
[   14.020109] usb 1-1.3: reset full-speed USB device number 4 using dwc_otg
[   14.450591] usb 1-1.3.1: new low-speed USB device number 7 using dwc_otg
[   14.581133] usb 1-1.3.1: New USB device found, idVendor=413c, idProduct=2011
[   14.599858] usb 1-1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   14.620362] usb 1-1.3.1: Product: Dell Multimedia Pro Keyboard
[   14.628008] usb 1-1.3.1: Manufacturer: Dell
[   14.667387] input: Dell Dell Multimedia Pro Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.0/input/input4
[   14.717609] hid-generic 0003:413C:2011.0005: input,hidraw0: USB HID v1.10 Keyboard [Dell Dell Multimedia Pro Keyboard] on usb-bcm2708_usb-1.3.1/input0
[   14.813182] input: Dell Dell Multimedia Pro Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.1/input/input5
[   14.859705] hid-generic 0003:413C:2011.0006: input,hidraw1: USB HID v1.10 Device [Dell Dell Multimedia Pro Keyboard] on usb-bcm2708_usb-1.3.1/input1
[   17.728992] NET: Registered protocol family 10
[   18.214505] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   18.820754] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   19.853644] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
[   19.870816] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
``
Here is the output AFTER plugging in the hub with one device attached:

root@minepeon:~# lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/3p, 480M
|__ Port 1: Dev 3, If 0, Class=vend., Driver=smsc95xx, 480M
|__ Port 2: Dev 8, If 0, Class=hub, Driver=hub/4p, 480M
|__ Port 4: Dev 9, If 0, Class=hub, Driver=hub/4p, 480M
|__ Port 4: Dev 10, If 0, Class=hub, Driver=hub/4p, 480M
|__ Port 3: Dev 4, If 0, Class=hub, Driver=hub/3p, 12M
|__ Port 1: Dev 7, If 0, Class=HID, Driver=usbhid, 1.5M
|__ Port 1: Dev 7, If 1, Class=HID, Driver=usbhid, 1.5M
root@minepeon:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.6.11+ (dc4@dc4-arm-01) (gcc version 4.7.2 20120731 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) ) #541 PREEMPT Sat Sep 7 19:46:21 BST 2013
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: BCM2708
[ 0.000000] cma: CMA: reserved 16 MiB at 1b000000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 114688
[ 0.000000] free_area_init_node: node 0, pgdat c0545b54, node_mem_map c05f0000
[ 0.000000] Normal zone: 896 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 113792 pages, LIFO batch:31
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 113792
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0xf bcm2708.serial=0xe2f57fff smsc95xx.macaddr=B8:27:EB:F5:7F:FF sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p3 rootfstype=ext4 rootwait
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 448MB = 448MB total
[ 0.000000] Memory: 432220k/432220k available, 26532k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xdc800000 - 0xff000000 ( 552 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xdc000000 ( 448 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc04ef844 (5023 kB)
[ 0.000000] .init : 0xc04f0000 - 0xc05111f0 ( 133 kB)
[ 0.000000] .data : 0xc0512000 - 0xc0546560 ( 210 kB)
[ 0.000000] .bss : 0xc0546584 - 0xc05ef738 ( 677 kB)
[ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:330
[ 0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty1] enabled
[ 0.000970] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[ 0.060125] pid_max: default: 32768 minimum: 301
[ 0.060618] Mount-cache hash table entries: 512
[ 0.061442] Initializing cgroup subsys cpuacct
[ 0.061498] Initializing cgroup subsys devices
[ 0.061531] Initializing cgroup subsys freezer
[ 0.061560] Initializing cgroup subsys blkio
[ 0.061700] CPU: Testing write buffer coherency: ok
[ 0.062021] hw perfevents: enabled with v6 PMU driver, 3 counters available
[ 0.062160] Setting up static identity map for 0x3a5238 - 0x3a5294
[ 0.063637] devtmpfs: initialized
[ 0.075036] NET: Registered protocol family 16
[ 0.081506] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.082543] bcm2708.uart_clock = 0
[ 0.083906] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.083961] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.083997] mailbox: Broadcom VideoCore Mailbox driver
[ 0.084085] bcm2708_vcio: mailbox at f200b880
[ 0.084197] bcm_power: Broadcom power driver
[ 0.084235] bcm_power_open() -> 0
[ 0.084259] bcm_power_request(0, 8)
[ 0.584943] bcm_mailbox_read -> 00000080, 0
[ 0.584981] bcm_power_request -> 0
[ 0.585005] Serial: AMBA PL011 UART driver
[ 0.585131] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
[ 0.914967] console [ttyAMA0] enabled
[ 0.939183] bio: create slab at 0
[ 0.944094] SCSI subsystem initialized
[ 0.948162] usbcore: registered new interface driver usbfs
[ 0.953752] usbcore: registered new interface driver hub
[ 0.959342] usbcore: registered new device driver usb
[ 0.965655] Switching to clocksource stc
[ 0.969948] FS-Cache: Loaded
[ 0.973107] CacheFiles: Loaded
[ 0.988048] NET: Registered protocol family 2
[ 0.993327] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 1.001059] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 1.007849] TCP: Hash tables configured (established 16384 bind 16384)
[ 1.014449] TCP: reno registered
[ 1.017702] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 1.023596] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 1.030238] NET: Registered protocol family 1
[ 1.035113] RPC: Registered named UNIX socket transport module.
[ 1.041160] RPC: Registered udp transport module.
[ 1.045881] RPC: Registered tcp transport module.
[ 1.050624] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.057712] bcm2708_dma: DMA manager at f2007000
[ 1.062491] bcm2708_gpio: bcm2708_gpio_probe c051fdf8
[ 1.067944] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[ 1.077141] audit: initializing netlink socket (disabled)
[ 1.082741] type=2000 audit(0.940:1): initialized
[ 1.215477] VFS: Disk quotas dquot_6.5.2
[ 1.219834] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.228910] FS-Cache: Netfs 'nfs' registered for caching
[ 1.235565] NFS: Registering the id_resolver key type
[ 1.240853] Key type id_resolver registered
[ 1.245056] Key type id_legacy registered
[ 1.249406] msgmni has been set to 876
[ 1.255401] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 1.263232] io scheduler noop registered
[ 1.267188] io scheduler deadline registered
[ 1.271642] io scheduler cfq registered (default)
[ 1.293773] Console: switching to colour frame buffer device 82x26
[ 1.303904] kgdb: Registered I/O driver kgdboc.
[ 1.310572] vc-cma: Videocore CMA driver
[ 1.315890] vc-cma: vc_cma_base = 0x00000000
[ 1.321980] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 1.328683] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 1.344016] brd: module loaded
[ 1.353425] loop: module loaded
[ 1.358154] vchiq: vchiq_init_state: slot_zero = 0xdb000000, is_master = 0
[ 1.367059] Loading iSCSI transport class v2.0-870.
[ 1.374284] usbcore: registered new interface driver smsc95xx
[ 1.381754] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.593941] Core Release: 2.80a
[ 1.598362] Setting default values for core params
[ 1.604498] Finished setting default values for core params
[ 1.816419] Using Buffer DMA mode
[ 1.821039] Periodic Transfer Interrupt Enhancement - disabled
[ 1.828101] Multiprocessor Interrupt Enhancement - disabled
[ 1.834930] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 1.840571] Dedicated Tx FIFOs mode
[ 1.846299] dwc_otg: Microframe scheduler enabled
[ 1.846716] dwc_otg bcm2708_usb: DWC OTG Controller
[ 1.853026] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[ 1.861627] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[ 1.868440] Init: Port Power? op_state=1
[ 1.873715] Init: Power Port (0)
[ 1.878302] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.886504] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.895131] usb usb1: Product: DWC OTG Controller
[ 1.901240] usb usb1: Manufacturer: Linux 3.6.11+ dwc_otg_hcd
[ 1.908344] usb usb1: SerialNumber: bcm2708_usb
[ 1.914942] hub 1-0:1.0: USB hub found
[ 1.920130] hub 1-0:1.0: 1 port detected
[ 1.925656] dwc_otg: FIQ enabled
[ 1.925670] dwc_otg: NAK holdoff enabled
[ 1.925679] dwc_otg: FIQ split fix enabled
[ 1.925696] Module dwc_common_port init
[ 1.925912] Initializing USB Mass Storage driver...
[ 1.932381] usbcore: registered new interface driver usb-storage
[ 1.939758] USB Mass Storage support registered.
[ 1.945801] usbcore: registered new interface driver libusual
[ 1.953170] mousedev: PS/2 mouse device common for all mice
[ 1.960801] bcm2835-cpufreq: min=700000 max=700000 cur=700000
[ 1.967958] bcm2835-cpufreq: switching to governor powersave
[ 1.974928] bcm2835-cpufreq: switching to governor powersave
[ 1.981881] cpuidle: using governor ladder
[ 1.987214] cpuidle: using governor menu
[ 1.992402] sdhci: Secure Digital Host Controller Interface driver
[ 1.999825] sdhci: Copyright(c) Pierre Ossman
[ 2.005463] sdhci: Enable low-latency mode
[ 2.049949] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
[ 2.060404] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
[ 2.069843] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.082489] usbcore: registered new interface driver usbhid
[ 2.089503] usbhid: USB HID core driver
[ 2.099492] TCP: cubic registered
[ 2.106311] Initializing XFRM netlink socket
[ 2.114089] NET: Registered protocol family 17
[ 2.120065] Indeed it is in host mode hprt0 = 00021501
[ 2.129954] Key type dns_resolver registered
[ 2.140126] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 2.159927] mmc0: new high speed SDHC card at address e624
[ 2.170474] registered taskstats version 1
[ 2.180115] mmcblk0: mmc0:e624 SU32G 29.7 GiB
[ 2.201142] mmcblk0: p1 p2 p3
[ 2.233639] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[ 2.246993] VFS: Mounted root (ext4 filesystem) on device 179:3.
[ 2.257595] devtmpfs: mounted
[ 2.262643] Freeing init memory: 132K
[ 2.359832] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.367987] Indeed it is in host mode hprt0 = 00001101
[ 2.580534] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[ 2.588887] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.598454] hub 1-1:1.0: USB hub found
[ 2.604435] hub 1-1:1.0: 3 ports detected
[ 2.890055] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 3.020529] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 3.029049] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.049956] smsc95xx v1.0.4
[ 3.114639] smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:f5:7f:ff
[ 3.220253] usb 1-1.3: new full-speed USB device number 4 using dwc_otg
[ 3.360097] usb 1-1.3: New USB device found, idVendor=413c, idProduct=1005
[ 3.368623] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.399868] usb 1-1.3: Product: Dell Multimedia Pro Keyboard Hub
[ 3.407504] usb 1-1.3: Manufacturer: Dell
[ 3.427205] hub 1-1.3:1.0: USB hub found
[ 3.440095] hub 1-1.3:1.0: 3 ports detected
[ 3.730876] usb 1-1.3.1: new low-speed USB device number 5 using dwc_otg
[ 3.841360] udevd[156]: starting version 175
[ 3.859663] usb 1-1.3.1: New USB device found, idVendor=413c, idProduct=2011
[ 3.882746] usb 1-1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.912949] usb 1-1.3.1: Product: Dell Multimedia Pro Keyboard
[ 3.941526] usb 1-1.3.1: Manufacturer: Dell
[ 3.976557] input: Dell Dell Multimedia Pro Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.0/input/input0
[ 4.024024] hid-generic 0003:413C:2011.0001: input,hidraw0: USB HID v1.10 Keyboard [Dell Dell Multimedia Pro Keyboard] on usb-bcm2708_usb-1.3.1/input0
[ 4.094375] input: Dell Dell Multimedia Pro Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.1/input/input1
[ 4.126694] hid-generic 0003:413C:2011.0002: input,hidraw1: USB HID v1.10 Device [Dell Dell Multimedia Pro Keyboard] on usb-bcm2708_usb-1.3.1/input1
[ 4.821070] bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at 0x20205000 (irq 79) (baudrate 100k)
[ 5.010072] bcm2708_spi bcm2708_spi.0: master is unqueued, this is deprecated
[ 5.120467] bcm2708_spi bcm2708_spi.0: SPI Controller at 0x20204000 (irq 80)
[ 5.218564] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100k)
[ 5.297431] Registered led device: led0
[ 6.580073] usb 1-1.3.1: USB disconnect, device number 5
[ 6.700114] usb 1-1.3: reset full-speed USB device number 4 using dwc_otg
[ 7.120595] usb 1-1.3.1: new low-speed USB device number 6 using dwc_otg
[ 7.263336] usb 1-1.3.1: New USB device found, idVendor=413c, idProduct=2011
[ 7.287808] usb 1-1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7.309855] usb 1-1.3.1: Product: Dell Multimedia Pro Keyboard
[ 7.317543] usb 1-1.3.1: Manufacturer: Dell
[ 7.351465] input: Dell Dell Multimedia Pro Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.0/input/input2
[ 7.410443] hid-generic 0003:413C:2011.0003: input,hidraw0: USB HID v1.10 Keyboard [Dell Dell Multimedia Pro Keyboard] on usb-bcm2708_usb-1.3.1/input0
[ 7.483661] input: Dell Dell Multimedia Pro Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.1/input/input3
[ 7.535711] hid-generic 0003:413C:2011.0004: input,hidraw1: USB HID v1.10 Device [Dell Dell Multimedia Pro Keyboard] on usb-bcm2708_usb-1.3.1/input1
[ 8.798694] Adding 249852k swap on /dev/mmcblk0p2. Priority:-1 extents:1 across:249852k SS
[ 9.139300] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[ 9.771228] EXT4-fs (mmcblk0p3): re-mounted. Opts: errors=remount-ro
[ 13.907200] usb 1-1.3.1: USB disconnect, device number 6
[ 14.020109] usb 1-1.3: reset full-speed USB device number 4 using dwc_otg
[ 14.450591] usb 1-1.3.1: new low-speed USB device number 7 using dwc_otg
[ 14.581133] usb 1-1.3.1: New USB device found, idVendor=413c, idProduct=2011
[ 14.599858] usb 1-1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 14.620362] usb 1-1.3.1: Product: Dell Multimedia Pro Keyboard
[ 14.628008] usb 1-1.3.1: Manufacturer: Dell
[ 14.667387] input: Dell Dell Multimedia Pro Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.0/input/input4
[ 14.717609] hid-generic 0003:413C:2011.0005: input,hidraw0: USB HID v1.10 Keyboard [Dell Dell Multimedia Pro Keyboard] on usb-bcm2708_usb-1.3.1/input0
[ 14.813182] input: Dell Dell Multimedia Pro Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.1/input/input5
[ 14.859705] hid-generic 0003:413C:2011.0006: input,hidraw1: USB HID v1.10 Device [Dell Dell Multimedia Pro Keyboard] on usb-bcm2708_usb-1.3.1/input1
[ 17.728992] NET: Registered protocol family 10
[ 18.214505] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 18.820754] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 19.853644] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
[ 19.870816] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 497.961448] usb 1-1.2: new high-speed USB device number 8 using dwc_otg
[ 498.084530] usb 1-1.2: New USB device found, idVendor=2109, idProduct=2812
[ 498.092525] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 498.100039] usb 1-1.2: Product: USB2.0 Hub

[ 498.106547] usb 1-1.2: Manufacturer: VIA Labs, Inc.

[ 498.118892] hub 1-1.2:1.0: USB hub found
[ 498.131788] hub 1-1.2:1.0: 4 ports detected
[ 498.431619] usb 1-1.2.4: new high-speed USB device number 9 using dwc_otg
[ 498.554628] usb 1-1.2.4: New USB device found, idVendor=2109, idProduct=2812
[ 498.562878] usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 498.570573] usb 1-1.2.4: Product: USB2.0 Hub

[ 498.577085] usb 1-1.2.4: Manufacturer: VIA Labs, Inc.

[ 498.589674] hub 1-1.2.4:1.0: USB hub found
[ 498.601836] hub 1-1.2.4:1.0: 4 ports detected
[ 498.901643] usb 1-1.2.4.4: new high-speed USB device number 10 using dwc_otg
[ 499.024684] usb 1-1.2.4.4: New USB device found, idVendor=2109, idProduct=2812
[ 499.033097] usb 1-1.2.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 499.040958] usb 1-1.2.4.4: Product: USB2.0 Hub

[ 499.047672] usb 1-1.2.4.4: Manufacturer: VIA Labs, Inc.

[ 499.060255] hub 1-1.2.4.4:1.0: USB hub found
[ 499.081716] hub 1-1.2.4.4:1.0: 4 ports detected
[ 670.899391] usb 1-1.2.1: new full-speed USB device number 11 using dwc_otg
[ 670.999394] usb 1-1.2.1: device descriptor read/64, error -71
[ 671.199419] usb 1-1.2.1: device descriptor read/64, error -71
[ 671.399468] usb 1-1.2.1: new full-speed USB device number 12 using dwc_otg
[ 671.499519] usb 1-1.2.1: device descriptor read/64, error -71
[ 671.699357] usb 1-1.2.1: device descriptor read/64, error -71
[ 671.899386] usb 1-1.2.1: new full-speed USB device number 13 using dwc_otg
[ 672.319190] usb 1-1.2.1: device not accepting address 13, error -71
[ 672.419508] usb 1-1.2.1: new full-speed USB device number 14 using dwc_otg
[ 672.839228] usb 1-1.2.1: device not accepting address 14, error -71
[ 672.847533] hub 1-1.2:1.0: unable to enumerate USB device on port 1

James Crumpler

I am ssh'd into my pi from work, but here's my hub lsusb -t and mesg

I have two hubs connected connected to the two different usb ports of the pi, they are not connected to eachother directly. one is a 4-port usb 2.0 belkin hub, the other is an anker 7-port usb 3.0 hub.

The 4-port has:
edimax wifi adapter
2.4 gz transmitter for one of those ipazzport mini keyboard mouse deals.

the 7-port has almost all of the ports used up with:
power usb for the pi
power usb for the beaglebone black
flash drive
wifi adapter (rosewill)
bluetooth dongle

in the dmesg, it successfully saw the beaglebone black and attemped to see the wifi adapter on the usb 3.0 hub, but the same -71 device descriptor still shows.
and lsusb doesn't populate any of these usb 3.0 hub connected devices.

it shows ipazzport about 3 times, this is because i moved it from the 2.0 hub to the 3.0 hub and back to the 2.0 hub to see if it worked, it did not work on the 3.0 hub.

if there is anything else i can display, i'll be more than happy to help. I cannot do the before and after because i am away from the pi at the moment.


root@carpi:/# lsusb                                                             
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 009: ID 1d6b:0104 Linux Foundation Multifunction Composite Gadget
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. 
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 005: ID 2109:2812  
Bus 001 Device 006: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wi
reless Adapter [Realtek RTL8188CUS]
Bus 001 Device 023: ID 0c45:7000 Microdia 
Bus 001 Device 008: ID 2109:2812 

root@carpi:~# lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/3p, 480M
        |__ Port 1: Dev 3, If 0, Class=vend., Driver=smsc95xx, 480M
        |__ Port 2: Dev 4, If 0, Class=hub, Driver=hub/4p, 480M
            |__ Port 2: Dev 6, If 0, Class=vend., Driver=rtl8192cu, 480M
            |__ Port 3: Dev 23, If 0, Class=HID, Driver=usbhid, 1.5M
            |__ Port 3: Dev 23, If 1, Class=HID, Driver=usbhid, 1.5M
        |__ Port 3: Dev 5, If 0, Class=hub, Driver=hub/4p, 480M
            |__ Port 1: Dev 8, If 0, Class=hub, Driver=hub/4p, 480M

Linux carpi 3.10.12+ #543 Sun Sep 15 14:43:38 BST 2013 armv6l

root@carpi:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.12+ (dc4@dc4-arm-01) (gcc version 4.7.2 201207
31 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) ) #543
 Sun Sep 15 14:43:38 BST 2013
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr
=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruc
tion cache
[    0.000000] Machine: BCM2708
[    0.000000] cma: CMA: reserved 16 MiB at 1b000000
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 114688
[    0.000000] free_area_init_node: node 0, pgdat c0680e8c, node_mem_map c075700
0
[    0.000000]   Normal zone: 896 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 114688 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag
es: 113792
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 b
cm2708_fb.fbheight=416 bcm2708.boardrev=0xe bcm2708.serial=0xcd987686 smsc95xx.m
acaddr=B8:27:EB:98:76:86 sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base
=0x1ec00000 vc_mem.mem_size=0x20000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115
200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 eleva
tor=deadline rootwait
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 448MB = 448MB total
[    0.000000] Memory: 430780k/430780k available, 27972k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xdc800000 - 0xff000000   ( 552 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdc000000   ( 448 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc05fdd00   (6104 kB)
[    0.000000]       .init : 0xc05fe000 - 0xc0641188   ( 269 kB)
[    0.000000]       .data : 0xc0642000 - 0xc0685888   ( 271 kB)
[    0.000000]        .bss : 0xc0685888 - 0xc0756868   ( 836 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:330
[    0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4
294967ms
[    0.000000] Switching to timer-based delay loop
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty1] enabled
[    0.001188] Calibrating delay loop (skipped), value calculated using timer fr
equency.. 2.00 BogoMIPS (lpj=10000)
[    0.001255] pid_max: default: 32768 minimum: 301
[    0.001774] Mount-cache hash table entries: 512
[    0.002642] Initializing cgroup subsys devices
[    0.002706] Initializing cgroup subsys freezer
[    0.002744] Initializing cgroup subsys blkio
[    0.002904] CPU: Testing write buffer coherency: ok
[    0.003002] ftrace: allocating 16829 entries in 50 pages
[    0.096708] Setting up static identity map for 0xc042fad8 - 0xc042fb34
[    0.098591] devtmpfs: initialized
[    0.111475] kworker/u2:0 (11) used greatest stack depth: 6924 bytes left
[    0.114784] NET: Registered protocol family 16
[    0.120791] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.126021] bcm2708.uart_clock = 0
[    0.137728] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.137799] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.137836] mailbox: Broadcom VideoCore Mailbox driver
[    0.137945] bcm2708_vcio: mailbox at f200b880
[    0.138497] bcm_power: Broadcom power driver
[    0.138559] bcm_power_open() -> 0
[    0.138590] bcm_power_request(0, 8)
[    0.639275] bcm_mailbox_read -> 00000080, 0
[    0.639316] bcm_power_request -> 0
[    0.639343] Serial: AMBA PL011 UART driver
[    0.639505] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
[    0.983545] console [ttyAMA0] enabled
[    0.993629] kworker/u2:0 (60) used greatest stack depth: 6884 bytes left
[    1.093984] kworker/u2:0 (237) used greatest stack depth: 6844 bytes left
[    1.111053] bio: create slab <bio-0> at 0
[    1.118971] SCSI subsystem initialized
[    1.125031] usbcore: registered new interface driver usbfs
[    1.131161] usbcore: registered new interface driver hub
[    1.137155] usbcore: registered new device driver usb
[    1.147724] Switching to clocksource stc
[    1.164165] FS-Cache: Loaded
[    1.167925] CacheFiles: Loaded
[    1.183811] kworker/u2:0 (308) used greatest stack depth: 6412 bytes left
[    1.227501] NET: Registered protocol family 2
[    1.232868] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    1.240068] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    1.246651] TCP: Hash tables configured (established 4096 bind 4096)
[    1.253132] TCP: reno registered
[    1.256393] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.262305] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.268976] NET: Registered protocol family 1
[    1.273988] RPC: Registered named UNIX socket transport module.
[    1.279947] RPC: Registered udp transport module.
[    1.284729] RPC: Registered tcp transport module.
[    1.289453] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.297190] bcm2708_dma: DMA manager at f2007000
[    1.302484] bcm2708_gpio: bcm2708_gpio_probe c0650670
[    1.308934] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000
000(512 MiB)
[    1.320884] audit: initializing netlink socket (disabled)
[    1.326458] type=2000 audit(1.100:1): initialized
[    1.512887] VFS: Disk quotas dquot_6.5.2
[    1.517694] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.530871] FS-Cache: Netfs 'nfs' registered for caching
[    1.539535] NFS: Registering the id_resolver key type
[    1.544775] Key type id_resolver registered
[    1.548980] Key type id_legacy registered
[    1.553889] msgmni has been set to 873
[    1.561196] io scheduler noop registered
[    1.565246] io scheduler deadline registered (default)
[    1.571275] io scheduler cfq registered
[    1.577220] BCM2708FB: allocated DMA memory 5b400000
[    1.582332] BCM2708FB: allocated DMA channel 0 @ f2007000
[    1.598469] Console: switching to colour frame buffer device 82x26
[    1.609560] kgdb: Registered I/O driver kgdboc.
[    1.617006] vc-cma: Videocore CMA driver
[    1.622389] vc-cma: vc_cma_base      = 0x00000000
[    1.628402] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    1.635081] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    1.666339] brd: module loaded
[    1.684116] loop: module loaded
[    1.689655] vchiq: vchiq_init_state: slot_zero = 0xdb000000, is_master = 0
[    1.699547] usbcore: registered new interface driver ax88179_178a
[    1.708006] usbcore: registered new interface driver smsc95xx
[    1.715757] usbcore: registered new interface driver cdc_ncm
[    1.722669] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.929733] Core Release: 2.80a
[    1.934097] Setting default values for core params
[    1.940065] Finished setting default values for core params
[    2.146883] Using Buffer DMA mode
[    2.151395] Periodic Transfer Interrupt Enhancement - disabled
[    2.158480] Multiprocessor Interrupt Enhancement - disabled
[    2.165319] OTG VER PARAM: 0, OTG VER FLAG: 0
[    2.170909] Dedicated Tx FIFOs mode
[    2.176263] dwc_otg: Microframe scheduler enabled
[    2.176500] dwc_otg bcm2708_usb: DWC OTG Controller
[    2.182768] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 
1
[    2.191318] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[    2.198133] Init: Port Power? op_state=1
[    2.203354] Init: Power Port (0)
[    2.207964] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.216140] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=
1
[    2.224774] usb usb1: Product: DWC OTG Controller
[    2.230803] usb usb1: Manufacturer: Linux 3.10.12+ dwc_otg_hcd
[    2.237973] usb usb1: SerialNumber: bcm2708_usb
[    2.245742] hub 1-0:1.0: USB hub found
[    2.250966] hub 1-0:1.0: 1 port detected
[    2.257172] dwc_otg: FIQ enabled
[    2.257198] dwc_otg: NAK holdoff enabled
[    2.257210] dwc_otg: FIQ split fix enabled
[    2.257240] Module dwc_common_port init
[    2.258133] usbcore: registered new interface driver usb-storage
[    2.266470] mousedev: PS/2 mouse device common for all mice
[    2.275209] bcm2835-cpufreq: min=700000 max=800000 cur=700000
[    2.282527] bcm2835-cpufreq: switching to governor powersave
[    2.289512] bcm2835-cpufreq: switching to governor powersave
[    2.296479] cpuidle: using governor ladder
[    2.301851] cpuidle: using governor menu
[    2.307530] sdhci: Secure Digital Host Controller Interface driver
[    2.315098] sdhci: Copyright(c) Pierre Ossman
[    2.320809] sdhci: Enable low-latency mode
[    2.371788] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platfor
m's DMA
[    2.382177] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
[    2.392260] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.399328] ledtrig-cpu: registered to indicate activity on CPUs
[    2.409787] kworker/u2:1 (547) used greatest stack depth: 6332 bytes left
[    2.419289] hidraw: raw HID events driver (C) Jiri Kosina
[    2.429506] usbcore: registered new interface driver usbhid
[    2.436581] usbhid: USB HID core driver
[    2.442354] TCP: cubic registered
[    2.447068] Initializing XFRM netlink socket
[    2.452780] NET: Registered protocol family 17
[    2.458726] Key type dns_resolver registered
[    2.464822] VFP support v0.3: implementor 41 architecture 1 part 20 variant b
 rev 5
[    2.475645] Indeed it is in host mode hprt0 = 00021501
[    2.553055] registered taskstats version 1
[    2.562306] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    2.570562] Waiting for root device /dev/mmcblk0p2...
[    2.624689] mmc0: new high speed SDHC card at address e624
[    2.632991] mmcblk0: mmc0:e624 SU16G 14.8 GiB 
[    2.643160]  mmcblk0: p1 p2
[    2.661863] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.670065] Indeed it is in host mode hprt0 = 00001101
[    2.757144] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. O
pts: (null)
[    2.768485] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.784337] devtmpfs: mounted
[    2.789819] Freeing unused kernel memory: 268K (c05fe000 - c0641000)
[    2.872771] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[    2.881224] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.893986] hub 1-1:1.0: USB hub found
[    2.900214] hub 1-1:1.0: 3 ports detected
[    3.099280] modprobe (566) used greatest stack depth: 5076 bytes left
[    3.202148] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    3.312659] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    3.312675] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber
=0
[    3.335138] smsc95xx v1.0.4
[    3.406692] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1
.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:98:76:86
[    3.512194] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    3.634377] usb 1-1.2: New USB device found, idVendor=05e3, idProduct=0608
[    3.643195] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber
=0
[    3.652267] usb 1-1.2: Product: USB2.0 Hub
[    3.660635] hub 1-1.2:1.0: USB hub found
[    3.668831] hub 1-1.2:1.0: 4 ports detected
[    3.772324] usb 1-1.3: new high-speed USB device number 5 using dwc_otg
[    3.893548] usb 1-1.3: New USB device found, idVendor=2109, idProduct=2812
[    3.902193] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber
=0
[    3.911095] usb 1-1.3: Product: USB 2.0 HUB
[    3.911095]       
[    3.962173] hub 1-1.3:1.0: USB hub found
[    3.968155] hub 1-1.3:1.0: 4 ports detected
[    4.082403] usb 1-1.2.2: new high-speed USB device number 6 using dwc_otg
[    4.194894] usb 1-1.2.2: New USB device found, idVendor=7392, idProduct=7811
[    4.203633] usb 1-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumb
er=3
[    4.213996] usb 1-1.2.2: Product: 802.11n WLAN Adapter
[    4.220591] usb 1-1.2.2: Manufacturer: Realtek
[    4.226502] usb 1-1.2.2: SerialNumber: 00e04c000001
[    4.362364] usb 1-1.2.3: new low-speed USB device number 7 using dwc_otg
[    4.454220] udevd[690]: starting version 175
[    4.485151] usb 1-1.2.3: New USB device found, idVendor=0c45, idProduct=7000
[    4.493861] usb 1-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumb
er=0
[    4.504331] usb 1-1.2.3: Product: iPazzPort
[    4.510006] usb 1-1.2.3: Manufacturer: RCMCU
[    4.566014] input: RCMCU iPazzPort as /devices/platform/bcm2708_usb/usb1/1-1/
1-1.2/1-1.2.3/1-1.2.3:1.0/input/input0
[    4.599355] hid-generic 0003:0C45:7000.0001: input,hidraw0: USB HID v1.11 Key
board [RCMCU iPazzPort] on usb-bcm2708_usb-1.2.3/input0
[    4.658961] input: RCMCU iPazzPort as /devices/platform/bcm2708_usb/usb1/1-1/
1-1.2/1-1.2.3/1-1.2.3:1.1/input/input1
[    4.722290] hid-generic 0003:0C45:7000.0002: input,hidraw1: USB HID v1.11 Mou
se [RCMCU iPazzPort] on usb-bcm2708_usb-1.2.3/input1
[    4.842194] usb 1-1.3.1: new high-speed USB device number 8 using dwc_otg
[    4.973796] usb 1-1.3.1: New USB device found, idVendor=2109, idProduct=2812
[    4.982907] usb 1-1.3.1: New USB device strings: Mfr=0, Product=1, SerialNumb
er=0
[    4.994022] usb 1-1.3.1: Product: USB 2.0 HUB
[    4.994022]       
[    5.015246] hub 1-1.3.1:1.0: USB hub found
[    5.041927] hub 1-1.3.1:1.0: 4 ports detected
[    5.352183] usb 1-1.3.1.2: new high-speed USB device number 9 using dwc_otg
[    5.483621] usb 1-1.3.1.2: New USB device found, idVendor=1d6b, idProduct=010
4
[    5.492828] usb 1-1.3.1.2: New USB device strings: Mfr=2, Product=3, SerialNu
mber=4
[    5.503971] usb 1-1.3.1.2: Product: BeagleBoneBlack
[    5.510603] usb 1-1.3.1.2: Manufacturer: Circuitco
[    5.517137] usb 1-1.3.1.2: SerialNumber: 5C-3213BBBK1370
[   10.601897] usb 1-1.3.1.2: can't set config #1, error -110
[   10.702149] usb 1-1.3.1.3: new full-speed USB device number 10 using dwc_otg
[   10.802178] usb 1-1.3.1.3: device descriptor read/64, error -71
[   10.933342] usbcore: registered new interface driver rtl8192cu
[   10.946889] modprobe (812) used greatest stack depth: 4664 bytes left
[   11.002175] usb 1-1.3.1.3: device descriptor read/64, error -71
[   11.202170] usb 1-1.3.1.3: new full-speed USB device number 11 using dwc_otg
[   11.312043] usb 1-1.3.1.3: device descriptor read/64, error -71
[   11.512037] usb 1-1.3.1.3: device descriptor read/64, error -71
[   11.712068] usb 1-1.3.1.3: new full-speed USB device number 12 using dwc_otg
[   12.131820] usb 1-1.3.1.3: device not accepting address 12, error -71
[   12.232068] usb 1-1.3.1.3: new full-speed USB device number 13 using dwc_otg
[   12.651799] usb 1-1.3.1.3: device not accepting address 13, error -71
[   12.660240] hub 1-1.3.1:1.0: unable to enumerate USB device on port 3
[   12.763563] usb 1-1.3.1.4: new high-speed USB device number 14 using dwc_otg
[   27.863363] usb 1-1.3.1.4: device descriptor read/64, error -110
[   43.062861] usb 1-1.3.1.4: device descriptor read/64, error -110
[   43.263841] usb 1-1.3.1.4: new high-speed USB device number 15 using dwc_otg
[   58.364018] usb 1-1.3.1.4: device descriptor read/64, error -110
[   73.563515] usb 1-1.3.1.4: device descriptor read/64, error -110
[   73.762505] usb 1-1.3.1.4: new high-speed USB device number 16 using dwc_otg
[   84.181876] usb 1-1.3.1.4: device not accepting address 16, error -110
[   84.282050] usb 1-1.3.1.4: new high-speed USB device number 17 using dwc_otg
[   94.701801] usb 1-1.3.1.4: device not accepting address 17, error -110
[   94.710135] hub 1-1.3.1:1.0: unable to enumerate USB device on port 4
[   97.146332] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   97.673212] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[  104.160585] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data 
may be corrupt. Please run fsck.
[  108.069244] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[  109.476066] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x5DE
1
[  111.325342] bcm2835-cpufreq: switching to governor ondemand
[  111.325376] bcm2835-cpufreq: switching to governor ondemand
[  115.620697] Adding 102396k swap on /var/swap.  Priority:-1 extents:2 across:5
07900k SS
[  224.841798] ifconfig (4216) used greatest stack depth: 4308 bytes left
[  358.058076] http (4254) used greatest stack depth: 4300 bytes left
[ 1084.091757] usb 1-1.2.3: USB disconnect, device number 7
[ 1150.688039] usb 1-1.3.3: new low-speed USB device number 18 using dwc_otg
[ 1150.777999] usb 1-1.3.3: device descriptor read/64, error -71
[ 1150.978024] usb 1-1.3.3: device descriptor read/64, error -71
[ 1151.177961] usb 1-1.3.3: new low-speed USB device number 19 using dwc_otg
[ 1151.267949] usb 1-1.3.3: device descriptor read/64, error -71
[ 1151.468006] usb 1-1.3.3: device descriptor read/64, error -71
[ 1151.668002] usb 1-1.3.3: new low-speed USB device number 20 using dwc_otg
[ 1152.087727] usb 1-1.3.3: device not accepting address 20, error -71
[ 1152.178068] usb 1-1.3.3: new low-speed USB device number 21 using dwc_otg
[ 1152.597723] usb 1-1.3.3: device not accepting address 21, error -71
[ 1152.598084] hub 1-1.3:1.0: unable to enumerate USB device on port 3
[ 1181.619099] usb 1-1.2.3: new low-speed USB device number 22 using dwc_otg
[ 1181.728840] usb 1-1.2.3: New USB device found, idVendor=0c45, idProduct=7000
[ 1181.728876] usb 1-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumb
er=0
[ 1181.728893] usb 1-1.2.3: Product: iPazzPort
[ 1181.728908] usb 1-1.2.3: Manufacturer: RCMCU
[ 1181.741133] input: RCMCU iPazzPort as /devices/platform/bcm2708_usb/usb1/1-1/
1-1.2/1-1.2.3/1-1.2.3:1.0/input/input2
[ 1181.746055] hid-generic 0003:0C45:7000.0003: input,hidraw0: USB HID v1.11 Key
board [RCMCU iPazzPort] on usb-bcm2708_usb-1.2.3/input0
[ 1181.757069] input: RCMCU iPazzPort as /devices/platform/bcm2708_usb/usb1/1-1/
1-1.2/1-1.2.3/1-1.2.3:1.1/input/input3
[ 1181.770087] hid-generic 0003:0C45:7000.0004: input,hidraw1: USB HID v1.11 Mou
se [RCMCU iPazzPort] on usb-bcm2708_usb-1.2.3/input1
[ 1323.228106] usb 1-1.2.3: USB disconnect, device number 22
[ 1326.793471] usb 1-1.2.3: new low-speed USB device number 23 using dwc_otg
[ 1326.903326] usb 1-1.2.3: New USB device found, idVendor=0c45, idProduct=7000
[ 1326.903360] usb 1-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumb
er=0
[ 1326.903379] usb 1-1.2.3: Product: iPazzPort
[ 1326.903393] usb 1-1.2.3: Manufacturer: RCMCU
[ 1326.914876] input: RCMCU iPazzPort as /devices/platform/bcm2708_usb/usb1/1-1/
1-1.2/1-1.2.3/1-1.2.3:1.0/input/input4
[ 1326.917147] hid-generic 0003:0C45:7000.0005: input,hidraw0: USB HID v1.11 Key
board [RCMCU iPazzPort] on usb-bcm2708_usb-1.2.3/input0
[ 1326.928743] input: RCMCU iPazzPort as /devices/platform/bcm2708_usb/usb1/1-1/
1-1.2/1-1.2.3/1-1.2.3:1.1/input/input5
[ 1326.935376] hid-generic 0003:0C45:7000.0006: input,hidraw1: USB HID v1.11 Mou
se [RCMCU iPazzPort] on usb-bcm2708_usb-1.2.3/input1
[ 3137.542227] sshd (4197) used greatest stack depth: 4244 bytes left
[34911.879678] git (8479) used greatest stack depth: 3968 bytes left
root@carpi:~# 
P33M
Owner

-ETOOMANYDEVICES

I suspected that USB3.0 hubs may still not work, but performance should at least be improved in terms of depth of hubs. I also note that some of the ones failing to enumerate are full- or low-speed devices. USB3.0 hubs definitely have "worse" behaviour than most USB2.0 hubs, and although 5x USB2.0 hubs now works properly it may well be that the improvement does not extend to 1x USB2.0 hub and 3x USB3.0 hubs.

  • Testing with a single device along with the USB3.0 hub, does it work when attached to e.g. the first 3 ports, the next 3 ports, the last 4 ports? All these hubs use a common 4-port chipset and cascade in various topologies. Correlate this with where the device pops up in lsusb -t

  • You can switch between before/after firmware by doing sudo rpi-update e3e89868ece21abe525dc181c431c8a8b5de58b8 and just plain sudo rpi-update. If your device works e.g. after 2 USB3.0 hubs, then is performance with this device better/worse before/after rpi-update?

  • Is the behaviour the same/different depending on device used? I.e. a low-speed keyboard or mouse vs a USB2.0 wlan dongle. Please also test this using before/after firmware.

imikey

I did a little testing and it appears that it's an issue with USB 1.1. devices connected to the USB 3.0 hub. I connected a USB 2.0 wifi dongle and several USB 3.0 flash drives and hard drives and they appear to enumerate properly. Anytime I plug in a 1.1 device (such as a keyboard or mouse), then the error 71 messages appear.

Just for reference, all the attached devices are recognized properly when I plug the hub into my macbook.

P33M
Owner

Yes USB1.1 devices are not going to be of any use if you plug them into a USB3.0 hub. We can't talk to a device behind a TT on a USB3.0 hub. If you plug a USB2.0 hub downstream of a USB3.0 hub, then low-speed devices work plugged into the USB2.0 hub.

For some reason, the hub refuses to acknowledge any start-split packets sent from the DWC core. It doesn't matter if it's connected to a model B or a model A, the hub just never responds with anything. The only difference I can see between what EHCI does and what the OTG core does is the inter-packet gap is larger at 176 bit-times versus 128 for EHCI. This is still within spec because the maximum is 192.

This is probably a hub firmware bug.

P33M
Owner

It appears that the PHY behaves poorly with packet decoding errors if we push it to accept 12 sync bits. I'm happy with an intermediate setting that allows the use of all 3 cascaded USB3.0 hub chips plugged into a model B (and have tested this with an Anker 3.0 hub model number 68ANHUB-B10A), but this requires further testing with pis that have previously seen increased error rates with the 12-bit sync fix.

USB1.1 devices plugged into a 3.0 hub on the Pi are not something a gpu firmware or driver change will fix.

P33M P33M closed this
James Crumpler

I can verify that this works perfectly, with a downstream 2.0 unpowered hub connected to a usb 3.0 hub.

/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/3p, 480M
|__ Port 1: Dev 3, If 0, Class=vend., Driver=smsc95xx, 480M
|__ Port 3: Dev 4, If 0, Class=hub, Driver=hub/4p, 480M
|__ Port 1: Dev 11, If 0, Class=hub, Driver=hub/4p, 480M
|__ Port 2: Dev 12, If 0, Class=hub, Driver=hub/4p, 480M
|__ Port 1: Dev 20, If 0, Class=vend., Driver=btusb, 12M
|__ Port 1: Dev 20, If 1, Class=vend., Driver=btusb, 12M
|__ Port 1: Dev 20, If 2, Class=vend., Driver=, 12M
|__ Port 1: Dev 20, If 3, Class=app., Driver=, 12M
|__ Port 2: Dev 18, If 0, Class=vend., Driver=rtl8192cu, 480M
|__ Port 3: Dev 19, If 0, Class=HID, Driver=usbhid, 1.5M
|__ Port 3: Dev 19, If 1, Class=HID, Driver=usbhid, 1.5M
|__ Port 4: Dev 22, If 0, Class=vend., Driver=rtl8192cu, 480

Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 012: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 2109:2812

Bus 001 Device 011: ID 2109:2812

Bus 001 Device 020: ID 0a5c:21e8 Broadcom Corp.
Bus 001 Device 018: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Bus 001 Device 019: ID 0c45:7000 Microdia
Bus 001 Device 022: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter

I still get some -71 errors but all the devices work flawlessly

popcornmix popcornmix referenced this issue from a commit
Dom Cobley firmware: Revert USB: MDIO sync bit detection fix try 2.
See: raspberrypi/linux#383

linux: Add AppleTalk module
See: raspberrypi/linux#386

firmware: audioplus: Try to get force_hdmi_open option working
See: http://forum.xbmc.org/showthread.php?tid=169674&pid=1511632&highlight=force_hdmi_open#pid1511632

userland: Userland #80 - fix for exposure setting
See: raspberrypi/userland#80

userland #64 Add support to set H264 profile
See: raspberrypi/userland#64
b4e35f4
popcornmix popcornmix referenced this issue from a commit
Dom Cobley firmware: Revert USB: MDIO sync bit detection fix try 2.
See: raspberrypi/linux#383

linux: Add AppleTalk module
See: raspberrypi/linux#386

firmware: audioplus: Try to get force_hdmi_open option working
See: http://forum.xbmc.org/showthread.php?tid=169674&pid=1511632&highlight=force_hdmi_open#pid1511632

userland: Userland #80 - fix for exposure setting
See: raspberrypi/userland#80

userland #64 Add support to set H264 profile
See: raspberrypi/userland#64

linux: bump to 3.10.13
1cdb179
Fabien Picarougne

I have a problem with a prolite t2735msc touchscreen monitor that seems similar to this thread pb. The monitor includes a touchscreen device and a webcam connected through a USB3 hub (inside the monitor).
When I plug the monitor onto the RPI, I have this messages :

[  290.900039] usb 1-1.2: new high-speed USB device number 11 using dwc_otg
[  291.003164] usb 1-1.2: New USB device found, idVendor=2109, idProduct=2812
[  291.003200] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  291.003216] usb 1-1.2: Product: USB2.0 Hub
[  291.003231] usb 1-1.2: Manufacturer: VIA Labs, Inc.
[  291.012023] hub 1-1.2:1.0: USB hub found
[  291.012423] hub 1-1.2:1.0: 4 ports detected
[  291.310153] usb 1-1.2.3: new high-speed USB device number 12 using dwc_otg
[  291.420227] usb 1-1.2.4: new full-speed USB device number 13 using dwc_otg
[  291.510152] usb 1-1.2.4: device descriptor read/64, error -71
[  291.710208] usb 1-1.2.4: device descriptor read/64, error -71
[  291.910241] usb 1-1.2.4: new full-speed USB device number 14 using dwc_otg
[  292.000253] usb 1-1.2.4: device descriptor read/64, error -71
[  292.200183] usb 1-1.2.4: device descriptor read/64, error -71
[  292.400162] usb 1-1.2.4: new full-speed USB device number 15 using dwc_otg
[  292.819981] usb 1-1.2.4: device not accepting address 15, error -71
[  292.910243] usb 1-1.2.4: new full-speed USB device number 16 using dwc_otg
[  293.330001] usb 1-1.2.4: device not accepting address 16, error -71
[  293.330300] hub 1-1.2:1.0: unable to enumerate USB device on port 4
[  293.580415] usb 1-1.2.3: new high-speed USB device number 17 using dwc_otg
[  294.021346] usb 1-1.2.3: New USB device found, idVendor=1bcf, idProduct=2281
[  294.021381] usb 1-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  294.021399] usb 1-1.2.3: Product: SPCA2281 Web Camera
[  294.021416] usb 1-1.2.3: Manufacturer: Sunplus IT Co
[  294.251670] uvcvideo: Found UVC 1.00 device SPCA2281 Web Camera  (1bcf:2281)
[  294.274529] input: SPCA2281 Web Camera  as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.3/1-1.2.3:1.0/input/input3
[  294.347564] usb_audio: Warning! Unlikely big volume range (=4096), cval->res is probably wrong.
[  294.347600] usb_audio: [5] FU [Mic Capture Volume] ch = 1, val = 0/4096/1

lsusb -t:
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/3p, 480M
        |__ Port 1: Dev 3, If 0, Class=vend., Driver=smsc95xx, 480M
        |__ Port 2: Dev 4, If 0, Class=hub, Driver=hub/4p, 480M
            |__ Port 3: Dev 6, If 0, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
            |__ Port 3: Dev 6, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
            |__ Port 3: Dev 6, If 2, Class=audio, Driver=snd-usb-audio, 480M
            |__ Port 3: Dev 6, If 3, Class=audio, Driver=snd-usb-audio, 480M

Web cam is well recognized but not the touchscreen device. When I set "dwc_otg.speed=1" in "cmdline.txt", it works fine (see dmesg :)

[   51.398132] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
[   51.500286] usb 1-1.2: Parent hub missing LPM exit latency info.  Power management will be impacted.
[   51.501309] usb 1-1.2: not running at top speed; connect to a high speed hub
[   51.506389] usb 1-1.2: New USB device found, idVendor=2109, idProduct=2812
[   51.506416] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   51.506433] usb 1-1.2: Product: USB2.0 Hub
[   51.506447] usb 1-1.2: Manufacturer: VIA Labs, Inc.
[   51.519532] hub 1-1.2:1.0: USB hub found
[   51.520256] hub 1-1.2:1.0: 4 ports detected
[   51.818264] usb 1-1.2.3: new full-speed USB device number 5 using dwc_otg
[   51.968220] usb 1-1.2.4: new full-speed USB device number 6 using dwc_otg
[   52.086249] usb 1-1.2.4: New USB device found, idVendor=0596, idProduct=053f
[   52.086281] usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   52.086297] usb 1-1.2.4: Product: 3M MicroTouch USB controller
[   52.086311] usb 1-1.2.4: Manufacturer: 3M
[   52.236572] input: 3M 3M MicroTouch USB controller as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.4/1-1.2.4:1.0/input/input0
[   52.242841] hid-multitouch 0003:0596:053F.0001: input,hiddev0,hidraw0: USB HID v1.10 Pointer [3M 3M MicroTouch USB controller] on usb-bcm2708_usb-1.2.4/input0
[   52.348438] usb 1-1.2.3: new full-speed USB device number 7 using dwc_otg
[   52.624739] usb 1-1.2.3: not running at top speed; connect to a high speed hub
[   52.742765] usb 1-1.2.3: New USB device found, idVendor=1bcf, idProduct=2281
[   52.742800] usb 1-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   52.742817] usb 1-1.2.3: Product: SPCA2281 Web Camera
[   52.742832] usb 1-1.2.3: Manufacturer: Sunplus IT Co
[   53.076835] media: Linux media interface: v0.10
[   53.102099] Linux video capture interface: v2.00
[   53.147598] uvcvideo: Found UVC 1.00 device SPCA2281 Web Camera  (1bcf:2281)
[   53.173877] input: SPCA2281 Web Camera  as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.3/1-1.2.3:1.0/input/input1
[   53.175412] usbcore: registered new interface driver uvcvideo
[   53.175437] USB Video Class driver (1.1.1)
[   53.317006] usb_audio: Warning! Unlikely big volume range (=4096), cval->res is probably wrong.
[   53.317040] usb_audio: [5] FU [Mic Capture Volume] ch = 1, val = 0/4096/1<6>[   53.326126] usbcore: registered new interface driver snd-usb-audio

lsusb -t :
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/3p, 12M
        |__ Port 1: Dev 3, If 0, Class=vend., Driver=smsc95xx, 12M
        |__ Port 2: Dev 4, If 0, Class=hub, Driver=hub/4p, 12M
            |__ Port 3: Dev 7, If 0, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 12M
            |__ Port 3: Dev 7, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 12M
            |__ Port 3: Dev 7, If 2, Class=audio, Driver=snd-usb-audio, 12M
            |__ Port 3: Dev 7, If 3, Class=audio, Driver=snd-usb-audio, 12M
            |__ Port 4: Dev 6, If 0, Class=HID, Driver=usbhid, 12M

the problem is that I need to use USB2 device simultaneously with this touchscreen. Do you know how I can solve my problem?
Thank's a lot in advance

P33M
Owner

The touchscreen is a full-speed device.

See #64 (comment) for why it does not work.

Fabien Picarougne

Sorry, but there is something I don't understand. In this case, I can't connect the touchscreen interface on a USB2 hub because it's done internally in the monitor. So where is the bug? A configuration in the kernel or something the RPI chip cannot do?
I point out that on the test I mentioned above, the only thing that was plugged into the RPI is the USB cable from the monitor.

P33M
Owner

Internally to the monitor, you have a USB3.0 hub with a number of non-removable peripherals connected - namely the touchscreen controller and the webcam. As you said, the webcam enumerates properly because USB3.0 hubs behave much the same as USB2.0 hubs when plugged into a USB2.0 bus. The same principle applies for issuing split transactions to talk to a low- or full-speed device connected to a USB3.0 hub.

As stated in my comment, we transmit a USB2.0-compliant request (verified using a protocol analyzer) to the hub to issue a split transaction to the low-speed device connected. It is ignored by the hub and it does not respond to the request at all. Given that virtually every USB2.0 hub out there responds correctly to our requests, the bug is within the VIA chipset.

Fabien Picarougne

Thank you for your answer.
But sorry again for my lack of understanding of USB programming but is it a solution to transmit (when a USB2 command fail) a USB1 command (as done with the option dwc_otg.speed=1)? Perhaps my question is stupid and the behavior of commands depends on the initial connection of the hub...

P33M
Owner

Only USB2.0 high-speed traffic is allowed on any USB2.0 bus. If you set dwc_otg.speed=1, the entire bus speed is dropped to USB1.1 full-speed which all USB2.0 devices (and by implication USB3.0 hubs) must support. The issue of asking the USB3.0 hub to perform split transactions goes away in this mode: The Pi simply talks directly to the device.

Annoyingly the maximum bandwidth in speed=1 mode is 12mbit/s - which dramatically limits the resolution that most webcams will operate at.

David

Hi everyone.
I run only USB1.1 devices on USB3 hubs on Rpi.
I have varified that adding dwc_otg.speed=1 to /boot/cmdline.txt (As suggested by fpicarougne)
does in-fact make my devices useable.
Asside from a lower buss speed (not important to me) is there anything else to be worried about? ie: stabiltiy?

silverdr

As stated in my comment, we transmit a USB2.0-compliant request (verified using a protocol analyzer) to the hub to issue a split transaction to the low-speed device connected. It is ignored by the hub and it does not respond to the request at all. Given that virtually every USB2.0 hub out there responds correctly to our requests, the bug is within the VIA chipset.

I just encountered the same problem as several people here and I still don't understand why the very same hub, with the very same set of devices plugged into it, doesn't exhibit the problem with any other computer. With the Pi - error -71...

Dominik Sennfelder

@SpiRaiL is the man. This worked for me instantly. Thanks

ghollingworth

@silverdr The only difference (and we've checked) is timing, we send it with a slightly longer delay (although still within the USB 2.0 spec). That is the only difference, and that's why it's a bug in the VIA chipset

Gordon

silverdr

@ghollingworth I see. But if we know how to work this bug around, wouldn't it be more.. productive to have it worked around. I might be missing something though.

P33M
Owner

Quoting myself:
"USB1.1 devices plugged into a 3.0 hub on the Pi are not something a gpu firmware or driver change will fix."

Since then, I've confirmed that it is indeed a bug with the VIA chipset (by substituting a different USB3.0 hub chip).

The workaround is to purchase a USB3.0 hub that integrates silicon from a different chip vendor, or get VIA to admit their spec noncompliance (no prizes for guessing which will be easier). SMSC/Microchip based USB3.0 hub IP works with the OTG port on the Pi, I have yet to see any other vendor USB3.0 hub silicon in interoperability tests with the Pi.

silverdr

Quoting ghollingworth "we send it with a slightly longer delay". I understand the word "we" as a keyword here. If "we" can send it with longer delay, can't "we" send it with a shorter delay? Unless there are hardware limitations in the game here, of course.

ghollingworth

No, the delay is a delay in hardware not software

silverdr

That explains, thank you.

James Crumpler

As P33M has stated before, the main issue appears to be a bug in the hub firmware.

I currently have an older Anker 7-port usb 3.0 hub (purchased July 2013) as specified in one of my earlier posts and have confirmed that a combination of a firmware upgrade on the hub and the raspberry pi (rpi-update) fixed the USB -71 issue. I no longer have usb 1.1, 2.0, or 3.0 errors. I can use any usb device all day long without troubles and have been doing so for almost a year. If you have purchased one of these USB hubs with the VIA 812 chipsets on or after October 2013 you should be in the clear. Otherwise attempt to install new firmware on your hub from this site: http://plugable.com/2013/10/30/plugable-usb-3-0-hub-firmware-upgrades2
My Anker hub worked perfectly fine with the plugable-branded firmware and fixed everything.

P33M
Owner

I have an Anker 7-port USB3.0 hub using VIA812 chipsets.

I tried both the Anker and Plugable update programs and they either crashed or didn't find the hub at all ... headdesk. I shall retry on a different machine with a different xHCI controller.

The firmware revision on my hub is 9801. It appears that unless you have a VIA812-B2 chipset then this firmware change is required - the firmware shipped by the Anker updater appears to be 8591. The Plugable updater appears to be 8581.

Thireus ☠

Just bought a Anker 7-port with VIA812-B2 chipset.
rpi-update was not enough; Adding dwc_otg.speed=1 to /boot/cmdline.txt works :)

P33M
Owner

For reference, can you post the output of lsusb -v with the hub plugged in?

Thireus ☠

Sure, here it is (with dwc_otg.speed=1 to /boot/cmdline.txt hack and NO plugged device):

lsusb -v

Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x0424 Standard Microsystems Corp.
  idProduct          0x9514 
  bcdDevice            2.00
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             5
  wHubCharacteristic 0x000d
    Per-port power switching
    Compound device
    Per-port overcurrent protection
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent      1 milli Ampere
  DeviceRemovable    0x02
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0103 power enable connect
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0103 power enable connect
   Port 5: 0000.0100 power
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         2 TT per port
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.12
  iManufacturer           3 Linux 3.12.33+ dwc_otg_hcd
  iProduct                2 DWC OTG Controller
  iSerial                 1 bcm2708_usb
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             1
  wHubCharacteristic 0x0008
    Ganged power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0103 power enable connect
Device Status:     0x0001
  Self Powered

Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0 
  bDeviceProtocol         1 
  bMaxPacketSize0        64
  idVendor           0x0424 Standard Microsystems Corp.
  idProduct          0xec00 
  bcdDevice            2.00
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol    255 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               1
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0 
  bDeviceProtocol         1 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 004: ID 2109:2812  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x2109 
  idProduct          0x2812 
  bcdDevice            b.e0
  iManufacturer           1 VIA Labs, Inc.         
  iProduct                2 USB2.0 Hub             
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x00e9
    Per-port power switching
    Per-port overcurrent protection
    Port indicators
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.1100 indicator power
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0103 power enable connect
Device Status:     0x0001
  Self Powered

Bus 001 Device 005: ID 2109:2812  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x2109 
  idProduct          0x2812 
  bcdDevice            b.e0
  iManufacturer           1 VIA Labs, Inc.         
  iProduct                2 USB2.0 Hub             
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x01e9
    Per-port power switching
    Per-port overcurrent protection
    Port indicators
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
Device Status:     0x0001
  Self Powered

The LED for USB PORT1 of the hub keeps blinking (I guess it is to say the hub is connected to a USB 2.0 port and not working at full speed).

  • WITHOUT the dwc_otg.speed=1 to /boot/cmdline.txt hack (no blinking LED). This is what happens in the logs:
Nov 25 19:08:44 raspberrypi kernel: [   42.542455] usb 1-1.4: new high-speed USB device number 4 using dwc_otg
Nov 25 19:08:44 raspberrypi kernel: [   42.645697] usb 1-1.4: New USB device found, idVendor=2109, idProduct=2812
Nov 25 19:08:44 raspberrypi kernel: [   42.645733] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Nov 25 19:08:44 raspberrypi kernel: [   42.645750] usb 1-1.4: Product: USB2.0 Hub             
Nov 25 19:08:44 raspberrypi kernel: [   42.645764] usb 1-1.4: Manufacturer: VIA Labs, Inc.         
Nov 25 19:08:44 raspberrypi kernel: [   42.654636] hub 1-1.4:1.0: USB hub found
Nov 25 19:08:44 raspberrypi kernel: [   42.655421] hub 1-1.4:1.0: 4 ports detected
Nov 25 19:08:44 raspberrypi kernel: [   42.952499] usb 1-1.4.4: new high-speed USB device number 5 using dwc_otg
Nov 25 19:08:44 raspberrypi kernel: [   43.066257] usb 1-1.4.4: New USB device found, idVendor=2109, idProduct=2812
Nov 25 19:08:44 raspberrypi kernel: [   43.066292] usb 1-1.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Nov 25 19:08:44 raspberrypi kernel: [   43.066308] usb 1-1.4.4: Product: USB2.0 Hub             
Nov 25 19:08:44 raspberrypi kernel: [   43.066323] usb 1-1.4.4: Manufacturer: VIA Labs, Inc.         
Nov 25 19:08:44 raspberrypi kernel: [   43.067377] hub 1-1.4.4:1.0: USB hub found
Nov 25 19:08:44 raspberrypi kernel: [   43.067741] hub 1-1.4.4:1.0: 4 ports detected

When I plug a device (device is NOT working):

Nov 25 19:08:51 raspberrypi kernel: [   49.762635] usb 1-1.4.1: new full-speed USB device number 6 using dwc_otg
Nov 25 19:08:51 raspberrypi kernel: [   50.252595] usb 1-1.4.1: new full-speed USB device number 7 using dwc_otg
Nov 25 19:08:52 raspberrypi kernel: [   50.742671] usb 1-1.4.1: new full-speed USB device number 8 using dwc_otg
Nov 25 19:08:52 raspberrypi kernel: [   51.252613] usb 1-1.4.1: new full-speed USB device number 9 using dwc_otg
  • WITH the hack dwc_otg.speed=1 to /boot/cmdline.txt hack:
Nov 25 19:06:22 raspberrypi kernel: [  439.498378] usb 1-1.4: new full-speed USB device number 7 using dwc_otg
Nov 25 19:06:22 raspberrypi kernel: [  439.599421] usb 1-1.4: Parent hub missing LPM exit latency info.  Power management will be impacted.
Nov 25 19:06:22 raspberrypi kernel: [  439.599905] usb 1-1.4: not running at top speed; connect to a high speed hub
Nov 25 19:06:22 raspberrypi kernel: [  439.602371] usb 1-1.4: New USB device found, idVendor=2109, idProduct=2812
Nov 25 19:06:22 raspberrypi kernel: [  439.602398] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Nov 25 19:06:22 raspberrypi kernel: [  439.602414] usb 1-1.4: Product: USB2.0 Hub             
Nov 25 19:06:22 raspberrypi kernel: [  439.602428] usb 1-1.4: Manufacturer: VIA Labs, Inc.         
Nov 25 19:06:22 raspberrypi kernel: [  439.610604] hub 1-1.4:1.0: USB hub found
Nov 25 19:06:22 raspberrypi kernel: [  439.611011] hub 1-1.4:1.0: 4 ports detected
Nov 25 19:06:22 raspberrypi kernel: [  439.948388] usb 1-1.4.4: new full-speed USB device number 8 using dwc_otg
Nov 25 19:06:22 raspberrypi kernel: [  440.099554] usb 1-1.4.4: Parent hub missing LPM exit latency info.  Power management will be impacted.
Nov 25 19:06:22 raspberrypi kernel: [  440.100036] usb 1-1.4.4: not running at top speed; connect to a high speed hub
Nov 25 19:06:22 raspberrypi kernel: [  440.102790] usb 1-1.4.4: New USB device found, idVendor=2109, idProduct=2812
Nov 25 19:06:22 raspberrypi kernel: [  440.102817] usb 1-1.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Nov 25 19:06:22 raspberrypi kernel: [  440.102834] usb 1-1.4.4: Product: USB2.0 Hub             
Nov 25 19:06:22 raspberrypi kernel: [  440.102849] usb 1-1.4.4: Manufacturer: VIA Labs, Inc.         
Nov 25 19:06:22 raspberrypi kernel: [  440.103985] hub 1-1.4.4:1.0: USB hub found
Nov 25 19:06:22 raspberrypi kernel: [  440.104456] hub 1-1.4.4:1.0: 4 ports detected

When I plug a device (device is working):

Nov 25 19:06:33 raspberrypi kernel: [  450.488523] usb 1-1.4.1: new full-speed USB device number 9 using dwc_otg
Nov 25 19:06:33 raspberrypi kernel: [  450.641386] usb 1-1.4.1: New USB device found, idVendor=1fc9, idProduct=0083
Nov 25 19:06:33 raspberrypi kernel: [  450.641424] usb 1-1.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 25 19:06:33 raspberrypi kernel: [  450.641471] usb 1-1.4.1: Product: VCOM Port
Nov 25 19:06:33 raspberrypi kernel: [  450.641489] usb 1-1.4.1: Manufacturer: NXP
Nov 25 19:06:33 raspberrypi kernel: [  450.641504] usb 1-1.4.1: SerialNumber: NXP-77
Nov 25 19:06:33 raspberrypi kernel: [  450.652003] cdc_acm 1-1.4.1:1.0: ttyACM0: USB ACM device

Model is Anker® AH221 USB 3.0 7-Port Hub. I haven't tried to plug USB 1.1 to it.
This USB Hub backfeeds the RPI (confirmed, the RPI doesn't boot).
Hope it helps.

Thireus ☠

Hi everyone,

Using the dwc_otg.speed=1 hack my Anker® AH221 USB 3.0 7-Port Hub device works well.

But I'm having a new issue now. I now have two of this Anker USB Hub, on which I have plugged 8 USB 2.0 devices in total. No matter how I arrange those 8 devices on those two hubs, I am not able to make my devices work together. It seems that the limit is 6 devices at the same time (if I plug one or two more, then all the already plugged devices stop working properly, by that I mean they connect/disconnect one after the other to keep a total of 6 simultaneous units working at the same time).

I have verified that this issue is not related to power usage, since this is not happening on my OSX system when I have those 2 Ankers and 8 devices connected to them (they work perfectly well on OSX).

Any idea why the Raspberry Pi cannot handle more than 6 simultaneous connected USB devices?

Edit: Sounds like this is the issue

  1. Single-TT USB hubs USB2.0 and 3.0 hubs have a mechanism for talking to Full- or Low-speed devices connected to their downstream ports called a Transaction Translator. This device buffers high-speed requests from the host (i.e. the Pi) and transmits them at Full- or Low-speed to the downstream device. Two configurations of hub are allowed by the USB specification: Single-TT (one TT for all ports) and Multi-TT (one TT per port). Because of the OTG hardware limitations, if too many Full- or Low-speed devices are plugged into a single-TT hub, unreliable operation of the devices may occur. It is recommended to use a Multi-TT hub to interface with multiple lower-speed devices. As a workaround, spread lower-speed devices out between the Pi's own USB port and the single-TT hub.
fdominguezr

Hi!

I'm having the same issues with a Raspberry Pi B+ running OpenELEC 5.0.0 (kernel Linux 3.17.7) with Kodi 14.0 and the CoolBox 7 ports Hub USB, it has 4 ports 3.0 and 3 ports 2.0, but it fail to deliver consistent compatibility even with 2.0 devices...

hub-usb-7-puertos

It can uses a WiFi dongle via a USB 2.0 hub port (but does not work in any 3.0 ports), but this hub does not work with an external HDD, nor with a wireless keyboard by USB. This USB hub also connects fine a usb memory stick at USB 2.0 and 3.0 ports.

I suspect it is because it uses chipset with famous ID 2109:2812...

USB devices conected right now are:

OpenELEC:/ # lsusb
Bus 001 Device 008: ID 059b:047a Iomega Corp. Select Portable Hard Drive
Bus 001 Device 007: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 001 Device 006: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 004: ID 2109:2812
Bus 001 Device 005: ID 062a:4101 Creative Labs
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Branches for USB devices are:

OpenELEC:/ # lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
|__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 4 80M
|__ Port 2: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 12 M
|__ Port 2: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 12 M
|__ Port 3: Dev 4, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 7, If 0, Class=Vendor Specific Class, Driver=rtl 8192cu, 480M
|__ Port 5: Dev 8, If 0, Class=Mass Storage, Driver=usb-storage, 480M

And lsusb -v gives for this device this information just in case it helps:

Bus 001 Device 010: ID 2109:2812
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x2109
idProduct 0x2812
bcdDevice 90.80
iManufacturer 1 VIA Labs, Inc.
iProduct 2 USB2.0 Hub
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 4
wHubCharacteristic 0x00e0
Ganged power switching
Ganged overcurrent protection
TT think time 32 FS bits
Port indicators
bPwrOn2PwrGood 50 * 2 milli seconds
bHubContrCurrent 100 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0503 highspeed power enable connect
Port 2: 0000.0100 power
Port 3: 0000.0100 power
Port 4: 0000.0100 power
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 42
bNumDeviceCaps 3
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000002
HIRD Link Power Management (LPM) Supported
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000e
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 1
Lowest fully-functional device speed is Full Speed (12Mbps)
bU1DevExitLat 4 micro seconds
bU2DevExitLat 231 micro seconds
Container ID Device Capability:
bLength 20
bDescriptorType 16
bDevCapabilityType 4
bReserved 0
ContainerID {2d207069-441e-de4c-8f73-78ec5964eca7}
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0001
Self Powered

Recap: I just wrote to CoolBox support giving all this information, let's see what they can do... If you have any idea please don't hesitate to tell me. Thanks! ;-)

Kind regards,
Francisco

David

Does anyone know if the new Pi 2 will still have this issue?

P33M
Owner

The USB phy is identical between BCM2835 and BCM2836.

Thireus ☠

@SpiRaiL, yes same issue with the Pi 2. :(

Álvaro Fernández Rojas Noltari referenced this issue from a commit
Dom Cobley firmware: Revert USB: MDIO sync bit detection fix try 2.
See: raspberrypi/linux#383

linux: Add AppleTalk module
See: raspberrypi/linux#386

firmware: audioplus: Try to get force_hdmi_open option working
See: http://forum.xbmc.org/showthread.php?tid=169674&pid=1511632&highlight=force_hdmi_open#pid1511632

userland: Userland #80 - fix for exposure setting
See: raspberrypi/userland#80

userland #64 Add support to set H264 profile
See: raspberrypi/userland#64
76e1cd3
Álvaro Fernández Rojas Noltari referenced this issue from a commit
Dom Cobley firmware: Revert USB: MDIO sync bit detection fix try 2.
See: raspberrypi/linux#383

linux: Add AppleTalk module
See: raspberrypi/linux#386

firmware: audioplus: Try to get force_hdmi_open option working
See: http://forum.xbmc.org/showthread.php?tid=169674&pid=1511632&highlight=force_hdmi_open#pid1511632

userland: Userland #80 - fix for exposure setting
See: raspberrypi/userland#80

userland #64 Add support to set H264 profile
See: raspberrypi/userland#64
5410112
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.