[beagleboard] USB Host not working on Debian BeagleBone

Hi Kevin,

Please confirm which usb port your attempting to connect the usb hub
too as there is two, but only one is wired to allow external devices
to be plugged in.. And it isn't the OTG port, which is only power or
using the BeagleBone as a downstream device from a PC it's plugged
into....

Regards,

I have installed Debian on my BeagleBone per the ELinux Instructions, and
everything went great. I am now trying to connect a hub to the USB host
port and having trouble.

The BeagleBone is powered with a wall adaptor, so I believe it has
sufficient power. When I connect the hub to the port (without hub external
power), the power light on the hub does not come on. When I connect the hub
to my PC in the same manner, the light does come on. I also do not see the
hub appear in lsusb:

Before:

lsusb

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

After:

lsusb

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

(It does appear in lsusb on my PC).
When I power the hub externally, I still do not see it appear in lsusb. I
tried unplugging the USB0 (OTG) port to see if that made a difference, but
it does not seem to.

I notice that the config in /proc/config.gz has:

CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y

CONFIG_USB_EHCI_HCD is not set

CONFIG_USB_OHCI_HCD is not set

I’m not sure what the USB_ARCH options mean… is this sufficient for using
the USB host? I have also tried a flash drive that works on other machines,
and it does not appear in lsusb either. Any ideas what I might be doing
wrong?

Hi Kevin,

Please confirm which usb port your attempting to connect the usb hub
too as there is two, but only one is wired to allow external devices
to be plugged in… And it isn’t the OTG port, which is only power or
using the BeagleBone as a downstream device from a PC it’s plugged
into…

Hi Robert,

I am using the USB A port, which is labeled “USB Host” on the silkscreen.

I did use the Mini B (OTG) port to initially connect to my PC to get a terminal. This worked with no problems. I am not using this port for the hub, though.

I addition, I rebooted to the Angstrom SD card that came with the BeagleBoard and it recognizes the hub when it is plugged into the USB A port. This indicates to me that my problems in Debian aren’t due to any kind of hardware problem.

Thanks,
Kevin

Okay… Try again with the hub plugged in before you apply power to the device…

That works, thanks! What’s the next step?

I would like this to dynamically detect the USB device on connection. I would expect it to at least show up in lsusb when the device is plugged in. What do I need to do to get this working?

Thanks!

Leave your usb hub connected with at-least one device plugged in at
ALL times from the moment you powered it up..

Well tell the musb driver is fixed..

Regards,

Hello,

I too am trying to connect a USB wifi adapter. Plugged in before powered on, it does not come on. Using the “lsusb” command freezes the console.

I have tried editing “config” in “config.gz” to include:

CONFIG_USB_EHCI_HCD is not set

CONFIG_USB_OHCI_HCD is not set

but I cannot save the changes. I am still somewhat new to Linux. I tried deleting the original config file and replacing it with the new one, but that too does not work. What am I doing wrong?

Hello,

I too am trying to connect a USB wifi adapter. Plugged in before powered on,
it does not come on. Using the "lsusb" command freezes the console.

I have tried editing "config" in "config.gz" to include:

# CONFIG_USB_EHCI_HCD is not set
# CONFIG_USB_OHCI_HCD is not set

Well, neither of those options matter for the BeagleBone, as the usb
is already selected via "MUSB" option..

but I cannot save the changes. I am still somewhat new to Linux. I tried
deleting the original config file and replacing it with the new one, but
that too does not work. What am I doing wrong?

Just changing the .config doesn't actually change anything, you also
need to rebuild the kernel with that config change..

Regards,

Ok so I’ve rebuilt the kernel with OHCI and EHCI enabled and successfully installed it to the SDcard. However, the light on the wifi adapter still does not come on. And the “lsusb” command also does not work; it simply hangs when I use it. What could be causing the problem?