USB connector not Mini-AB?
Andy Green
andy at openmoko.com
Mon Jul 21 11:24:28 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Somebody in the thread at some point said:
| On Monday 21 July 2008, Joerg Reisenweber wrote:
|> see:
|>
http://www.electronicproductonline.com/catalog/product_info.php?products_id
|> =1781 /j
|
| It mentions automatic mode switch from client to host. Is this
applicable to
| the Freerunner too?
We don't monitor ID pin yet to automate this, but we will. You need to
provide some magic sysfs poking by hand at the moment to push it between
host and device modes.
# tell the USB stack the USB socket is logically a host now
~ echo host > /sys/devices/platform/s3c2410-ohci/usb_mode
# get the Freerunner to provide 5V out on the USB socket
~ echo 1 > /sys/devices/platform/neo1973-pm-host.0/hostmode
set them to "device" and "0" to go back to being a USB gadget.
- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkiEVcYACgkQOjLpvpq7dMp+OwCePsmB3ST7Km6V7HM1OlmoWPQo
31YAnjv/5C/ZyY7HyTkGda/y7dV+QQ99
=nS1b
-----END PGP SIGNATURE-----
More information about the community
mailing list