Re: console-data: Broken powermac keymaps
On Mon, Apr 10, 2000 at 05:39:22PM +0200, Michael Schmitz wrote:
> > > IIRC keycode 0 is not a valid keycode even though it is used by a
> > > few m68k systems (there's been long rants on this on linux-kernel but the
> > > m68k people finally gave in and remapped keycode 0 to some unused one).
> > > I picked the 0 -> 90 remapping as keycode 90 didn't appear to be used. Do
> > > the Powermacs have trouble with that choice?
> >
> > Well, no, but the kernel does not implement it! Not on powerpc, at
> > least. Where is the code for this?
> The case 0: is missing from the corresponding function in mac_keyb.c.
> I forgot what special function of loadkeys keycode 0 was used for but
> perhaps it's not needed for powerpc. Suggestion: map both 0 and 90 to a.
> Such a keymap ought to work on both m68k and powerpc Macs. I really
> thought I just added 90 -> a and left 0 -> a in place for the original
> m68k Mac keymaps.
Obviously I don't want to introduce the back compatibility nightmare of
changing a console keycode right now. Can we have the attached, much
less intrusive patch added to console-data, please?
Dan
/--------------------------------\ /--------------------------------\
| Daniel Jacobowitz |__| SCS Class of 2002 |
| Debian GNU/Linux Developer __ Carnegie Mellon University |
| dan@debian.org | | dmj+@andrew.cmu.edu |
\--------------------------------/ \--------------------------------/
diff -uNr console-data-1999.08.29/debian/changelog console-data-1999.08.29-NMU/debian/changelog
--- console-data-1999.08.29/debian/changelog Sun Apr 9 01:32:43 2000
+++ console-data-1999.08.29-NMU/debian/changelog Sat Apr 8 20:04:54 2000
@@ -1,3 +1,9 @@
+console-data (1999.08.29-11.1) frozen; urgency=low
+
+ * NMU: Fix PowerMac 'a' key. Release critical!
+
+ -- Daniel Jacobowitz <dan@debian.org> Sat, 8 Apr 2000 20:04:05 -0400
+
console-data (1999.08.29-11) frozen; urgency=low
* Disabled debconf support for potato only (Downgrades release-critical
diff -uNr console-data-1999.08.29/keymaps/mac/mac-us-ext.kmap console-data-1999.08.29-NMU/keymaps/mac/mac-us-ext.kmap
--- console-data-1999.08.29/keymaps/mac/mac-us-ext.kmap Sun Aug 29 15:15:32 1999
+++ console-data-1999.08.29-NMU/keymaps/mac/mac-us-ext.kmap Sat Apr 8 20:01:43 2000
@@ -1,6 +1,7 @@
keymaps 0-2,4-5,8,12
strings as usual
compose as usual for "iso-8859-1"
+keycode 0 = +a +A Hex_A Control_a Control_a Meta_a Meta_Control_a
keycode 1 = s
keycode 2 = +d +D Hex_D Control_d Control_d Meta_d Meta_Control_d
keycode 3 = +f +F Hex_F Control_f Control_f Meta_f Meta_Control_f
diff -uNr console-data-1999.08.29/keymaps/mac/mac-us-std.kmap console-data-1999.08.29-NMU/keymaps/mac/mac-us-std.kmap
--- console-data-1999.08.29/keymaps/mac/mac-us-std.kmap Sun Aug 29 15:15:32 1999
+++ console-data-1999.08.29-NMU/keymaps/mac/mac-us-std.kmap Sat Apr 8 20:02:05 2000
@@ -1,6 +1,7 @@
keymaps 0-2,4-5,8,12
strings as usual
compose as usual for "iso-8859-1"
+keycode 0 = +a +A Hex_A Control_a Control_a Meta_a Meta_Control_a
keycode 1 = s
keycode 2 = +d +D Hex_D Control_d Control_d Meta_d Meta_Control_d
keycode 3 = +f +F Hex_F Control_f Control_f Meta_f Meta_Control_f
Reply to: