USB power to device

Hello everyone,

I just received beagleboard, thanks for producing nice little board.
The USB client/gadget is working fine but the host mode is not working.
I measured no +5V supply to USB device. Do I need USB hub with external
power supply? I tried external HDD/USB with its own power supply without success.

– dmesg –
Linux beagleboard 2.6.22.18-omap3 #26 Thu Jul 10 18:14:09 IST 2008 armv7l unknown

usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb_hdrc: version 2.2a/db-0.5.2, pio, host, debug=0
musb_hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine (X), bulk split (X),
HB-ISO Rx (X), HB-ISO Tx (X), SoftConn)
musb_hdrc: MHDRC RTL version 1.400
musb_hdrc: setup fifo_mode 4
musb_hdrc: 29/31 max ep, 15424/16384 memory
musb_hdrc: hw_ep 0shared, max 64
musb_hdrc: hw_ep 1tx, max 512
musb_hdrc: hw_ep 1rx, max 512
musb_hdrc: hw_ep 2tx, max 512
musb_hdrc: hw_ep 2rx, max 512
musb_hdrc: hw_ep 3tx, max 512
musb_hdrc: hw_ep 3rx, max 512
musb_hdrc: hw_ep 4tx, max 512
musb_hdrc: hw_ep 4rx, max 512
musb_hdrc: hw_ep 5tx, max 512
musb_hdrc: hw_ep 5rx, max 512
musb_hdrc: hw_ep 6tx, max 512
musb_hdrc: hw_ep 6rx, max 512
musb_hdrc: hw_ep 7tx, max 512
musb_hdrc: hw_ep 7rx, max 512
musb_hdrc: hw_ep 8tx, max 512
musb_hdrc: hw_ep 8rx, max 512
musb_hdrc: hw_ep 9tx, max 512
musb_hdrc: hw_ep 9rx, max 512
musb_hdrc: hw_ep 10tx, max 512
musb_hdrc: hw_ep 10rx, max 512
musb_hdrc: hw_ep 11tx, max 512
musb_hdrc: hw_ep 11rx, max 512
musb_hdrc: hw_ep 12tx, max 512
musb_hdrc: hw_ep 12rx, max 512
musb_hdrc: hw_ep 13tx, max 512
musb_hdrc: hw_ep 13rx, max 512
musb_hdrc: hw_ep 14shared, max 1024
musb_hdrc: hw_ep 15shared, max 1024
musb_hdrc: USB Host mode controller at c8800000 using PIO, IRQ 92
musb_hdrc musb_hdrc.0: MUSB HDRC host driver
musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
HOST mode, status 0, devctl 80 B

– cat /proc/bus/usb/devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
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.18-omap3 musb-hcd
S: Product=MUSB HDRC host driver
S: SerialNumber=musb_hdrc.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

Thank you,
Nathanan

In general, you should use a powered USB hub, but the board should supply ~100mA when configured properly. What mini-A-to-standard-A USB cable/adapter are you using? Can you provide the md5sum of the kernel image to make sure it is one that is compiled for host mode?

I will try another uImage , now i am using

c6093af44610048eb069ebd8a51cce7e uImage_USBHOST

My USB adaptor looks similar to this

http://www.ebest24.com/en/usb-plug-female-to-female-gender-changer-adapter-converter.html

bought in Thailand about 1 USD. pin 1,2,3,4 will roll to 4,3,2,1 at the other end.

Nathanan

2008/8/4 Jason Kridner <jkridner@gmail.com>

Now I understand why the female to female USB adapter is not work.

http://www.maxim-ic.com/appnotes.cfm?appnote_number=1822&CMP=WP-3

I have to wire the id pin in the miniA header to ground.

Nathanan.

2008/8/5 EMBES_Nathanan Srisa-ard <nathanan@embes.com>