Re: PC keyboard driver

Andries.Brouwer@cwi.nl
Sun, 12 Sep 1999 01:57:34 +0200 (MET DST)


Benjamin Carter writes:

: I recently came into possession of a 97-key keyboard with Japanese
: markings on the keys. (The keys also have the standard
: qwerty-characters on them, with the exception of some of the meta-keys
: (there are 3 keys near the Alt keys on either side of the spacebar with
: only Japanese characters on them so I don't know what they are.)
: In any case, the keyboard sends out scancodes that work for all the main
: keys (backspace, letters and numbers, enter, shift), but the numeric
: keypad, Alt keys, and function keys don't work.
:
: I have run the board through showkey -s, so I know what all the
: scancodes this keyboard sends out.

Very good! I collect such info and would like to see your results.

: However, the F9 and F10 keys send out c0 and c1, respectively, so
: their key release events send out e0 and e1, confusing the keyboard driver.
: How would I go about changing this (or who should I talk to that might
: be able to do this?) I assume that simply ignoring prev_scancode would
: solve this (at the expense of breaking the escaped keys on a standard keyboard.)

Yes, exactly.

I am confused by your use of `so'.
Normally the release code is the make code with the high bit set.
Not some entirely different code. The make codes are not 60 and 61 hex?

Andries

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/