echo host > usb_mode gives Invalid argument

Mike (mwester) mwester at dls.net
Thu Nov 20 02:46:55 CET 2008


jidanni at jidanni.org wrote:
>>>>>> "TJL" == Timo Juhani Lindfors <timo.lindfors at iki.fi> writes:
> 
> TJL> jidanni at jidanni.org writes:
>>> Following http://wiki.openmoko.org/wiki/Neo1973_USB_host , doing
>>> for i in host device blabla
>>> do echo $i > /sys/devices/platform/s3c2410-ohci/usb_mode
>>> done
>>> will all produce
>>> bash: echo: write error: Invalid argument
>>> however the first two will do their actions and will be retained, as
>>> can be seen with cat on that file.
> 
> TJL> Yeah, this should be reported to bugs.openmoko.org probably?
> 
> I'll send this to openmoko-kernel mailing list instead.

This bug has been fixed for a while, and the patch was applied to the
"stable" branch as well.

Mike (mwester)



More information about the openmoko-kernel mailing list