[android] usb keyboard

Alastair Johnson alastair at truebox.co.uk
Fri Nov 7 11:36:37 CET 2008


Petr Vanek wrote:
> I am thinking of connecting a usb keyboard to android on fr simply by
> calling in the init.rc:
> 
> ifconfig usb0
> down echo "host" > /sys/devices/platform/s3c2410-ohci/usb_mode
> echo "1" > /sys/devices/platform/neo1973-pm-host.0/hostmode 
> 
> we can turn in back to device mode in the terminal application (in dev
> tools, if it works...)
> 
> my usb keyboard is not around now, but has anybody tried this yet?

I added it in /init.rc but it didn't work. The keyboard powers up, so it 
looks like host mode is working, but I don't get any input in the 
terminal app. Also NumLock etc.don't light their respective LEDs.




More information about the community mailing list