On 5/27/07, Finn Thain <[EMAIL PROTECTED]> wrote:
On Sat, 26 May 2007, Joel Ewy wrote: > Hmm. As I recall, there is another layout (or was in XFree86 4.x) for > the Mac called something like "macintosh_old". I believe this was for > the older, small ADB keyboards that didn't have Function keys. It > sounds like you're using a full-sized keyboard, but it might tell us > something if you try out the other layout. I think macintosh_old is for old kernels (or newer kernels that have been configured to send ADB keycodes -- but I've never seen one, since powerpc and m68k switched to linux keycodes years ago).
actually, no, we just switched. that is why when upgrading to 2.6 from 2.2 i had to run "loadkeys us" before which i got garbage characters at the console. it was exactly the situation where described in your reference. so we are switching now, because we (mac 68k) skipped 2.4 kernels, right ? but your reference is helpful. I think somehow something is still confused. I too saw the reference that macintosh_old [1] means prior to extendedII kb that had no function keys. that was the kb with the adb cord you plugged in on one side of the kb and the mouse on the other, that had a color apple on the top. the reference Finn gives could be updated and corrected for 68k mac and put in our port pages. if we get it straight. i tried loadkeys today with mac-usb-us, which is in usr/share/keymaps/i386/qwerty (just type loadkeys mac-usb-us). it appears to be the same as just "us" though. anyway my hunch is that the problem is in console keymap not in X. I will keep investigating. i think i might try building my kernel with the adb turned on. I think mainstreaming support is not right. the pc keyboards do not fit. if you want to see this with graphics try the xkeycap program. but that obviously has not been updated for macs since like 1998. ughh. some people were surprised that powerbooks as late as g4 titantium had adb keyboards. the things you learn in linux... whoops, looks you guys beat me to it. both finn's 20 and christians 21 have CONFIG_MAC_ADBKEYCODES=y so according to finn's reference i should try booting with kernel option keyboard_sends_linux_keycodes=1 at least until i get a new kernel with adbkeycodes unset... (can't try it now just yet, ASAP though)
More here http://www.debian.org/ports/powerpc/keycodes -f
[1] it was actually std or standard. found in xkeycaps and also in /usr/share/keymaps/macintosh. note also that parts of mac-us keymap there are missing which seems to be an aborted attempt to give macs a matched keyboard not a warped pc map that has missing and extra keys. but I think that the map to use is mac-usb-[country_code]. Brian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]