[maemo-users] USB keyboard on n800?

From: Matt Emson memsom at interalpha.co.uk
Date: Sun Sep 28 01:49:08 EEST 2008
This should get you started...

Get what the mode is currently set:
cat /sys/devices/platform/musb_hdrc/mode)

Turn off the onscreen kbd: 
gconftool-2 -t bool -s /system/osso/af/keyboard-attached true 

Turn on the onscreen kbd - this is important as is sometimes doesn't happen -though it should: 
gconftool-2 -t bool -s /system/osso/af/keyboard-attached false 

Set host mode:
echo host > /sys/devices/platform/musb_hdrc/mode 

Set regular mode:
echo peripheral > /sys/devices/platform/musb_hdrc/mode 

Correct the kbd map (this does UK/GB):
setxkbmap -layout gb,us 


 
----- Original message -----
> On Wed, Nov 07, 2007 at 10:29:25AM +0100, Frantisek Dufka wrote:
> > drfredc at drfredc.com wrote:
> > > Hmm...  Thanks for the info.  I think I've got the adapter, somewhere,
> > > maybe.  I recall something like it coming with my USB HDTV thingy so one
> > > could extend the thingy further from a noisy laptop or computer.
> > >
> > > Do you suppose a "keyboard" kernel would have to be reflashed and/or
> > > rewritten when the next OS update comes out? 
> >
> > Next OS update (the 2008 one) has usb host mode support built-in so you
> > may just wait few weeks for much easier way. But still, someone
> > experienced with flashing kernel and using insmod command can have it
> > running right now.
>
> I flashed my n800 with Diablo.  Does this too have usb host mode support
> built in?  Do I have to do somthing to activate it?  I managed to
> connect my Alphasmart keyboard physically with some cables and a
> female-to-female adapter, but the n800 is ignoring me when I open the
> notes utility.
>
> -- hendrik
>
> >
> > >
> > > Outside of linking to another USB port, do you have any idea of what
> > > other devices might/does the n800s USB port work with?
> > >
> >
> > Anything that has kernel driver in 2.6.18 linux kernel (or 2.6.21 for
> > OS2008) which means lots of stuff :-)
> >
> > Frantisek
> > _______________________________________________
> > maemo-users mailing list
> > maemo-users at maemo.org
> > https://lists.maemo.org/mailman/listinfo/maemo-users
> _______________________________________________
> maemo-users mailing list
> maemo-users at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-users


More information about the maemo-users mailing list