Hi,
With some help from the #oe folks a little while ago I've been tweaking the keymap for my C1000 running OZ/Opie 3.5.3. My modifications are:
* Enable right shift key
* Remap the two japanese keys near the bottom left of the keyboard: the left one is mapped to tilde and the right one is mapped to / (slash). I found this to be helpful when typing directories.
* 'Home' key mapped to F12 so it works in Opie
* Scroll switch on the side (used in portrait mode) is mapped to up and down and the "Ok" key is mapped to 'Return' and the "Cancel" key is mapped to Escape
Unfortunately I still haven't gotten the on/off button to work... I tried mapping it to F34 which seems to be the 'Power' key in qte, but that didn't work. In the meantime I've mapped the 'mail' key in the Buttons applet to the suspend call which works just fine.
I've attached my 'full-keys' output. In order to install the keymap you need to have the console-utils ipk installed. In order to install that ipk you'll have to enable force-overwrite since it includes a couple binaries that will replace the busybox version (chvt is one, can't remember the others). You can always relink those binaries to busybox if you have problems.
And finally, I modified my /etc/init.d/bootmisc.sh and added a call to loadkeys which loads up the keymap before opie is started (anytime you change the keymap you must restart opie). That addition:
if test -e /home/root/full-keys
then
/usr/bin/loadkeys /home/root/full-keys
fi
Someday I'll generate a config that can be used as a patch to the kernel, I just haven't quite gotten there yet.
Hope this is helpful for folks...
jason