USB Host Mode for Wifi Card - help!
Andy Green
andy at openmoko.com
Sun Jul 20 20:42:09 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Somebody in the thread at some point said:
| When I boot the Neo, I execute the command: echo 1 >
| /sys/devices/platform/neo-1973-pm-host.0/hostmode
|
| Once I run the above command viola – my powered USB comes to life
| (although there is also a light that comes on to inform me that the
| Freerunner is charging it... Which seems to somewhat defeat the purpose
| of a powered USB hub a little :>/
There are two parts to host mode on Freerunner, logical and power. You
have found the power one which enables 5V @ 500mA out of the USB socket
(so you don't need a battery hub).
What you're missing is the bit that sets logical host mode in the USB
peripheral in the CPU:
~ echo host > /sys/devices/platform/s3c2410-ohci/usb_mode
This makes it "do the host thing" down the USB socket and enumerate your
WLAN device, etc.
- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkiDhwEACgkQOjLpvpq7dMpktQCgjxSvGZXrI6PC/bU99FAgWyNe
GqIAn3UvTTvoQNipDEXe+MdulZCW7qNh
=ZxlU
-----END PGP SIGNATURE-----
More information about the community
mailing list