Can anyone explain how keyboards are handled on the Z? I understand that there are two levels of keymapping, and apparently xmodmap is layered on top of the basic keymapping. But there must be something else going on, as well.
I recently reverted my C1000 back to pdaxrom b3. My USB keyboard worked well enough in b4 that I haven't bothered spending a lot of time trying to perfect it. But b3 is mismapped enough that I really need to change some things.
One thing I noticed is that my keyboard can take on one of two underlying mappings. One corresponds to the Z keyboard and is nearly usable. But sometimes it is mapped like a standard US 101 keyboard, which is quite different from the keycodes assigned to the Z keyboard. It seems that I get the "standard" mapping if the Z discovers both the mouse and the keyboard at the same time. If the Z is awake and I plug in the keyboard first, the USB keyboard picks up similar keycodes to the Z keyboard.
So, if I do get the USB keyboard working, but the Z goes to sleep... I'd need to pull out the mouse before I wake it or the keymapping will change and become unusable. Does anyone know what controls this?
Also, I'm testing a simple script to use xmodmap to remap the keyboard so that I can switch between the Z keyboard and the USB. But when I try switching back to the Z from the USB mapping, it doesn't completely switch back. I'm telling it to map to the akita.xmodmap, because I'm pretty sure this is the default mapping and the file contents look right. This doesn't seem to be working, however. Am I doing something obviously wrong? A reboot corrects the situation, but I'm not sure where to start looking to find whatever got changed. Is it possible that it's the lower level keymapping (would this be kernel level?) that is changed at this point?
In the past I've tried a couple of things to change the keymapping, including some of the stuff from this thread. No luck so far, but I'm determined to get it working this time.
Thanks.