On Mit, 2002-03-20 at 13:33, [EMAIL PROTECTED] wrote: > on 20/03/2002 06:40, Michel Dänzer at [EMAIL PROTECTED] wrote: > > > On Mit, 2002-03-20 at 10:38, [EMAIL PROTECTED] wrote: > >> on 14/03/2002 04:20, Eric Lemoine at [EMAIL PROTECTED] wrote: > >> > >>>>> With > >>>>> > >>>>> XkbRules xfree86 > >>>>> XkbModel macintosh > >>>>> XkbLayout fr_new > >>>>> > >>>>> my keyboard is still screwed up. By adding XkbKeycodes macintosh > >>>>> everything works fine. > >>>> > >>>> So you seem to be still using ADB keycodes and need XkbModel > >>>> macintosh_old. > >>> > >>> You're right. My ibook2 uses ADB keycodes. macintosh_old solved > >>> all my keyboard problems. > >> > >> I'm having some ADB keyboard problems too. I have these settings in > >> xf86config-4. But first, just so u folks know where I'm coming from now, > >> here's my new set-up: upgraded to woody, and I've nearly completed > >> compiling > >> the 2.4.18 kernel that I d/led from the debian archives - note: in the > >> README it says that a patch was applied. is that the patch that _needed to > >> be applied cuz something was missing? I'm "stuck" in mac OS right now cuz > >> my > >> X isn't working. (I didn't know it was that easy to compile a kernel... :-) > >> > >> Ok, I have xkb set to macintosh_old, with xfree86 as a keyboard protocol, > >> and 3-button emu (F11 and F12 as buttons 2 and 3). I have the > >> "dev/mac_hid/keyboard_sends_linux_keycodes = 1". I had that funky _ssj > >> thing > >> happen - it was fun to fix though, since I knew what was up :). > > > > macintosh_old is for _ADB_ keycodes (as the X server debconf interface > > explains...). You use Linux keycodes and thus need "XkbModel" > > "macintosh". > > > Well, I should have mentioned this, but I'm using an ADB keyboard, not USB > ;). Oh wait a minute, do you mean if I use the keyboard_sends_linux_keycodes > = 1 setting in sysctl.conf for console, I have to set the XkbModel to > macintosh, and not macintosh_old?
Bingo. Better yet, disable support for ADB keycodes entirely in your kernel, they will disappear in 2.5. > If so, then I'm really confused, cuz all the docs I've read say use the > _old model in XF86Config-4. You probably think 'ADB keyboard' implies 'ADB keycodes', which isn't true. The point of Linux keycodes is to have the same keycodes with any keyboard. -- Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer XFree86 and DRI project member / CS student, Free Software enthusiast