USB-Hub-Problems

So far, I used my Beaglbone Black mainly as a little homewebserver. So far I only used a flash-drive on the USB-Port, but now trying to wire it to my Screen I need a hub to use keyboard and mouse. However, I can’t get it to work in this configuration. I tried various Hubs (powered and non-powered) and some linuxes(including Ångström from “BBB-eMMC-flasher-2013.06.20.img.xz” and Debian from http://s3.armhf.com/debian/wheezy/bone/debian-wheezy-7.0.0-armhf-3.8.13-bone20.img.xz), but all got me the same result:

At best the hub “works” when the system reboots (as can be seen by lsusb), without any device plugged in. But the moment I plug something in, the hub get’s “killed” and won’t wake up anymore. Resetting the Port whether by switching it off or by “cat /dev/bus/usb/001/001 > /dev/null” (which worked for thumbdrives) wont help. Syslog on Debian got me this (no clue where to find the infos under Ångström):

Jul 6 15:45:26 monkey-bone kernel: [ 130.081265] usb usb1: usb wakeup-resume
Jul 6 15:45:26 monkey-bone kernel: [ 130.081363] usb usb1: usb auto-resume
Jul 6 15:45:26 monkey-bone kernel: [ 130.081415] hub 1-0:1.0: hub_resume
Jul 6 15:45:26 monkey-bone kernel: [ 130.089475] hub 1-0:1.0: port 1: status 0507 change 0004
Jul 6 15:45:26 monkey-bone kernel: [ 130.089625] hub 1-0:1.0: state 7 ports 1 chg 0002 evt 0000
Jul 6 15:45:26 monkey-bone kernel: [ 130.102487] usb 1-1: usb wakeup-resume
Jul 6 15:45:26 monkey-bone kernel: [ 130.102654] usb 1-1: finish resume
Jul 6 15:45:31 monkey-bone kernel: [ 135.102704] usb 1-1: khubd timed out on ep0in len=0/2
Jul 6 15:45:31 monkey-bone kernel: [ 135.102757] usb 1-1: retry with reset-resume
Jul 6 15:45:31 monkey-bone kernel: [ 135.208354] usb 1-1: reset high-speed USB device number 2 using musb-hdrc
Jul 6 15:45:36 monkey-bone kernel: [ 140.218186] usb 1-1: khubd timed out on ep0in len=0/64
Jul 6 15:45:41 monkey-bone kernel: [ 145.218342] usb 1-1: khubd timed out on ep0in len=0/64
Jul 6 15:45:46 monkey-bone kernel: [ 150.218499] usb 1-1: khubd timed out on ep0in len=0/64
Jul 6 15:45:47 monkey-bone kernel: [ 150.323998] usb 1-1: device descriptor read/64, error -110

This goes on seven or eight times, before the system gives up. Anybody got a clue how to fix this?

Before I forget: My BBB is of revision 5A5, if this is any hardware-concern.

Hi,

the same thing is happening here. My powered hub which works well on all my other computers seems to be recognized when I plug it into the BBB. But when I plug in one of my usb sound cards the led on the hub goes out and the kernel says things very similar to Thorsten’s.

Revision is A5B

http://circuitco.com/support/index.php?title=BeagleBone_Black_Accessories#USB_HUBS

Power the board via the DC power connector. USB is not enough power to a power a HUB. You can use USB power with a powered HUB as long as they share the same ground.

Gerald

http://circuitco.com/support/index.php?title=BeagleBone_Black_Accessories#USB_HUBS

Anybody got a clue where to get the Inland-Hubs in Europe? I can find some Hubs which look very similar, but not exact this brand (actually their name makes it quite impossible to google it in my own country, kinda like they were named “shipment” in english: I get millions on millions of hits which have nothing to do with the hubs).

The other hubs I can find, but they are a little big for my tastes (paying half the price of the BBB, for a product I will only use to a half of it’s ports).

Power the board via the DC power connector. USB is not enough power to a power a HUB. You can use USB power with a powered HUB as long as they share the same ground.

My board is powered by the DC power connector. Some of the USB-Hubs had their own power supply as well (which was used). In these cases they were plugged into the same multisocket. Does this qualify as same ground?

Looking for same ground, I even got the board to powered, powered by the hub it was connecting to (one cable to the mini-usb, one to the normal-size usb-port). While this setup made me somewhat uncomfortable, I think I can’t get much more “same ground” than this. However, same results on this as well.

I think I found the culprit: I always had the same 5V/2A-Powersupply in use. Using a different supply (5V/4A) now and it works quite well. I don’t think it’s the 2 additional amperes, but rather that the other power supply is not as stable as it should be.

HUBs do not like noisy power supplies. Especially switchers.

Gerald

The issue is that the BeagleBone doesn’t want to see that +5v. I think when you send that +5v in it actually overloads the board and it shuts down the usb port. I have the inland 7 port powered usbhub and it was really easy to fix this by putting a small piece of masking tape over the +5v pin on the usb connector before plugging it into the beagleboard. It worked for me instantly after I did that.

Here is a picture of the pinout. Just cover the +5v. The other option would be to get a short usb jumper and cut the red wire out of it.

http://atmega32-avr.com/wp-content/uploads/2012/11/USB-pinout.jpg