Hey Many!
I had issues with a wireless keyboard that was really easy to resolve but given
that it caused much head scratching here I thought someone might appreciate how
it was solved. Probably not but considering the lack of useful information
about it on the internet what the heck eh?
The problem here is the wireless keyboard has only one Alt key on the left side
of the keyboard and wasn't working for console switching (Alt-Fn, where n is
1-6 by default). Turns out that it is producing the keycode for AltGr (right
Alt key) instead of Alt which is normal for a left Alt key which physically it
is, not to mention the ONLY Alt key so one would expect it to be the keycode
for left Alt. kbd's showkeys confirmed that the keycode was indeed 100 rather
than the expected 56. Thus the solution in this case was to tack onto the end
of the /usr/share/keymaps/i386/qwerty/us.map.gz file the line 'keycode 100 =
Alt' and reload it with the command 'loadkeys us'. Lo and behold that worked
and console switching on a small wireless keyboard is good to go on bootup.
BTW a Møøse still bit my sister despite any rumours to the contrary.
Life is good,
Maurice
... Don't cry for me I have vi.
--- GNU bash, version 4.3.42(1)-release (x86_64-atom-linux-gnu)
* Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001.0)
|