Neo as usb host and providing power to attached device

Eric Smith es at fruitcom.com
Mon Jul 18 01:24:38 CEST 2011


Hi 

Using:
Linux hackable1 2.6.29-rc3-hackable1 #2 PREEMPT Tue Sep 15 13:07:51 CEST 2009 armv4tl GNU/Linux

I am following instructions at 
http://wiki.openmoko.org/wiki/Neo1973_USB_host

So far this command seems to work:
root at hackable1:~# echo host > /sys/devices/platform/s3c-ohci/usb_mode

In order to provide power to the attached device wiki article
advises the following command:
echo 1 > /sys/devices/platform/neo1973-pm-host.0/hostmode

But I cannot see any file called hostmode in /sys/devices/platform
and FWIW;
root at hackable1:~# find  /sys/devices/platform/|egrep 'mode|host'
/sys/devices/platform/s3c-ohci/usb_host:usb_host1
/sys/devices/platform/s3c-ohci/usb_mode
/sys/devices/platform/s3c2440-sdi/mmc_host:mmc1

Thanks for advice on how to set the neo to provide power over usb.

-- 
- Eric Smith




More information about the community mailing list