Re: newer xfree86 4.0.1 patches
flat view
From: Franz Sirl <hidden>
Date: 2000-09-07 12:42:51
At 11:53 07.09.00, Geert Uytterhoeven wrote:
On Wed, 6 Sep 2000, Olaf Hering wrote:quoted
There is also a keycode file for ps/2 based machines like PReP and CHRP, called "powerpcps2". It is a workaround, the arrow keys and the page up/down block are dead as example. I guess it is a kernel bug.So prefixed scancodes don't work? Sounds familiar. I guess this has something to do with the X server putting the keyboard in RAW mode (send raw scancodes, including prefixes) instead of MEDIUMRAW mode (send keycodes, 1 code for each key pres/release) or vice versa.
My xf4 work I did for the linux keycodes support fixes that. It's a configurable option now (well, in 4.0.2 I hope). XkbModel "macintosh_old" or XkbKeycodes "macintosh" for ADB keycodes/MEDIUMRAW mode, everything else is Linux keycodes/RAW mode, or, if it can open the sysctl /proc/sys/dev/mac_hid/keyboard_sends_linux_keycodes, it tries to autodetect. This will make PReP and CHRP users with PS2 keyboards happy I hope :-). On my TODO list, I still have to make chrp_setup.c and prep_setup.c use machid_init_hw() and friends in machid.c. Franz. ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/