echo host> /sys/devices/platform/musb_hdrc/mode
This forces the USB OTG port to act like a host, then once you have the cables sorted out, you can use external USB devices no problem.
-Sincerely,
Todd Pack
-------------- Original message ----------------------
From: dlamborg <dlam...@yahoo.com>
>
> Greetings,
>
> I've been having great success with my new beagle board so far. Thanks
> for all the great documentation and information. I have run into one
> snag and would like to know if anyone else has seen this problem.
>
> I've installed the Linux Angstrom distribution on a 2G SD/MMC card and
> it boots just fine thanks to the great instructions.
>
> I'm trying now to attach a USB mouse and keyboard through a powered
> hub and so far have had no luck getting the USB subsystem to recognize
> either of these devices. I've tried connecting only one device at a
> time without the hub and still get no response.
>
> I've taken care to use the USB mini-A to Standard-A connector
> recommended here:
> http://www.vernier.com/accessories/access.html?usb-mini&template=basic.html
>
> I've also used an ohm meter to make sure pins 4-5 are shorted as
> required for a USB OTG host.
>
> When Linux boots, the devices listed under /proc/bus/usb contain
> these:
>
> root@beagleboard:/proc/bus/usb# cat devices
>
> T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 3
> B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
> D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
> P: Vendor=0000 ProdID=0000 Rev= 2.06
> S: Manufacturer=Linux 2.6.22.1-omap1 ehci_hcd
> S: Product=OMAP-EHCI Host Controller
> S: SerialNumber=ehci-omap.0
> C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
> I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
>
> So it looks like there's an EHCI controller in my system. But no
> devices registered on the bus.
>