Re: [beagleboard] USB Host not working on Debian BeagleBone

2,461 views
Skip to first unread message

Robert Nelson

unread,
Dec 22, 2012, 8:53:20 PM12/22/12
to beagl...@googlegroups.com
On Sat, Dec 22, 2012 at 11:18 AM, Kevin Smith <third...@gmail.com> wrote:
>
> 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....

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

Kevin Smith

unread,
Dec 23, 2012, 3:07:42 PM12/23/12
to beagl...@googlegroups.com
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
 
Regards,

--
Robert Nelson
http://www.rcn-ee.com/

--
For more options, visit http://beagleboard.org/discuss



Robert Nelson

unread,
Dec 23, 2012, 5:16:53 PM12/23/12
to Beagle Board

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

Kevin Smith

unread,
Dec 24, 2012, 8:38:17 AM12/24/12
to beagl...@googlegroups.com
On Sun, Dec 23, 2012 at 4:16 PM, Robert Nelson <robert...@gmail.com> wrote:

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


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

Kevin Smith

unread,
Dec 29, 2012, 10:06:53 AM12/29/12
to beagl...@googlegroups.com
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!

Robert Nelson

unread,
Dec 29, 2012, 10:17:51 AM12/29/12
to beagl...@googlegroups.com
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..

Floof

unread,
Dec 29, 2012, 3:35:51 PM12/29/12
to beagl...@googlegroups.com
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?  

Robert Nelson

unread,
Dec 29, 2012, 7:47:58 PM12/29/12
to beagl...@googlegroups.com
On Sat, Dec 29, 2012 at 2:35 PM, Floof <jaz...@gmail.com> wrote:
> 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..

Floof

unread,
Dec 31, 2012, 5:08:32 AM12/31/12
to beagl...@googlegroups.com
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?
Reply all
Reply to author
Forward
0 new messages