USB connector not Mini-AB?
andy at openmoko.com
Mon Jul 21 11:24:28 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Somebody in the thread at some point said:
| On Monday 21 July 2008, Joerg Reisenweber wrote:
|> =1781 /j
| It mentions automatic mode switch from client to host. Is this
| 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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the community