XF4, SysRq, VT, mouse buttons, Keymaps and all that

Gabriel Paubert paubert at iram.es
Thu Apr 19 02:10:02 EST 2001

On Wed, 18 Apr 2001, Franz Sirl wrote:

> At 15:39 18.04.2001, Gabriel Paubert wrote:
> >If somebocy is going to touch the input layer, I would like the raw
> >keyboard mode to stay raw. Right now in some configuration combinations
> >there is no difference between raw and medium-raw (used by X). They both
> >return medium-raw keycodes, I can't get to the scancodes.
> Which config combinations? Which keys? PMAC, CHRP or PREP? ADB, USB or PS2
> keyboard?

Can't test for one week (I'm at the telescope until next Tuesday). But
this affected basically all the keys on a PMAC G4 with standard (latest)
Apple USB keyboard.

AFAIR compiling with CONFIG_ADB off butchered everything: CONFIG_MAC_HID
was Y in .config but there was no mac_hid in /proc/sys/dev and the
keyboard was crazy.

> Additionally note that XF 4.0.99 and later only will use MEDIUMRAW if you
> give "Option CustomKeycodes".

Didn't know, so X is going to use raw ?

But now raw means cooked ?

> God, I'll be *really* glad when the 2.5 kernel is started and support for
> ADB keycodes, the MEDIUMRAW mode and mouse button emulation in the kernel
> will be gone forever...

Fine for most of these, but how do you get to the raw scancodes if you
want them ? I mean raw byte for byte from the hardware, anything else
cannot be called raw in my opinion.

Do we need a new mode for this (crude?) or did I miss the way to get at
the scancodes ?


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

More information about the Linuxppc-dev mailing list