On Monday 21 July 2008, Andy Green wrote: > 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.
This is the bit I was interested in. Is the ID resistor value standardised? I know we have 47k for the >1A charger and for the Y cable. > 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. _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community