[android] usb keyboard

Petr Vanek vanous at penguin.cz
Fri Nov 7 14:12:09 CET 2008


On Fri, 07 Nov 2008 10:36:37 +0000
Alastair Johnson <alastair at truebox.co.uk>
(AJ) wrote:

>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.


I don't think the numlock led lits up for me when connected to fr. i
will try this tonight if i get some time. if you get any other idea,
just post us, would be cool to figure this out
--
Petr Vanek





More information about the community mailing list