* keyboard scancode problems
@ 2006-10-26 18:03 Joost Gevers
0 siblings, 0 replies; 4+ messages in thread
From: Joost Gevers @ 2006-10-26 18:03 UTC (permalink / raw)
To: Linux kernel mailing list
Hello,
I've a laptop with 2 additional keys for the Euro and Dollar (Acer
TM8106).
When I press these keys, I get the following error:
atkbd.c: Unknown key pressed (translated set 2, code 0xb3 on
isa0060/serio0).
atkbd.c: Use 'setkeycodes e033 <keycode>' to make it known.
atkbd.c: Unknown key released (translated set 2, code 0xb3 on
isa0060/serio0).
atkbd.c: Use 'setkeycodes e033 <keycode>' to make it known.
When I use setkeycodes to link a keycode to a scancode, as shown below:
setkeycodes 0xb3 205
(I think that this is the same as:
setkeycodes e033 205
At least it gives identical results)
To make the key know as Euro key, I do the following:
loadkeys << "EOF"
keycode 205 = currency
EOF
This results in a the Euro sign on my console with
setfont lat0-16 -m 8859-15
Now my question:
When I do a showkey -s, I expect that when I press the Euro key, which
I
just linked to 0xb3 will be shown. But the following is the result:
showkey -s
kb mode was XLATE
press any key (program terminates after 10s of last keypress)...
0x9c
0xe0 0x25
0xe0 0xa5
What is the reason that the scancode which I set differs from what is
shown by showkey?
With kind regards
Joost Gevers
^ permalink raw reply [flat|nested] 4+ messages in thread
* Keyboard Scancode Problems
@ 2001-02-01 0:37 Udo A. Steinberg
2001-02-01 18:55 ` Pierre Rousselet
2001-02-02 7:11 ` Stefan Frank
0 siblings, 2 replies; 4+ messages in thread
From: Udo A. Steinberg @ 2001-02-01 0:37 UTC (permalink / raw)
To: Linux Kernel
Hi all,
With all the latest kernels (at least since 2.4.0-test12)
I have had occasional problems with a PS/2 keyboard when
switching back and forth between X and text consoles.
In most cases the problem occurs when switching from X to
a text console, which renders the keyboard totally unusable.
Pressing any key results in ^W ^E and other garbage.
Sometimes pressing Ctrl fixes the problem, other times not
even SysRq works.
The kernel logs the following stuff:
keyboard: unrecognized scancode (70) - ignored
keyboard: unrecognized scancode (66) - ignored
keyboard: unknown scancode e0 71
keyboard: unknown scancode e0 70
and so forth. I cannot reliably reproduce it though.
Can someone enlighten me whether this is a keyboard problem,
X problem or something wrong with the kernel's console stuff?
-Udo.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Keyboard Scancode Problems
2001-02-01 0:37 Keyboard Scancode Problems Udo A. Steinberg
@ 2001-02-01 18:55 ` Pierre Rousselet
2001-02-02 7:11 ` Stefan Frank
1 sibling, 0 replies; 4+ messages in thread
From: Pierre Rousselet @ 2001-02-01 18:55 UTC (permalink / raw)
To: Udo A. Steinberg; +Cc: Linux Kernel
"Udo A. Steinberg" wrote:
> keyboard: unrecognized scancode (70) - ignored
> keyboard: unrecognized scancode (66) - ignored
> keyboard: unknown scancode e0 71
> keyboard: unknown scancode e0 70
which key do you press to generate such scancodes ?
#showkey -s
--
------------------------------------------------
Pierre Rousselet <pierre.rousselet@wanadoo.fr>
------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Keyboard Scancode Problems
2001-02-01 0:37 Keyboard Scancode Problems Udo A. Steinberg
2001-02-01 18:55 ` Pierre Rousselet
@ 2001-02-02 7:11 ` Stefan Frank
1 sibling, 0 replies; 4+ messages in thread
From: Stefan Frank @ 2001-02-02 7:11 UTC (permalink / raw)
To: Linux Kernel
Hi Udo!
On Thu, 01 Feb 2001, Udo A. Steinberg wrote:
>
> Hi all,
>
> With all the latest kernels (at least since 2.4.0-test12)
> I have had occasional problems with a PS/2 keyboard when
> switching back and forth between X and text consoles.
>
> In most cases the problem occurs when switching from X to
> a text console, which renders the keyboard totally unusable.
> Pressing any key results in ^W ^E and other garbage.
> Sometimes pressing Ctrl fixes the problem, other times not
> even SysRq works.
>
> The kernel logs the following stuff:
>
> keyboard: unrecognized scancode (70) - ignored
> keyboard: unrecognized scancode (66) - ignored
> keyboard: unknown scancode e0 71
> keyboard: unknown scancode e0 70
>
> and so forth. I cannot reliably reproduce it though.
>
> Can someone enlighten me whether this is a keyboard problem,
> X problem or something wrong with the kernel's console stuff?
>
I had the same problem when upgrading from 2.4.0-test10 to 2.4.0,
altough my keyboard worked for about half a year without problems.
But, what a coincidence, it turned out to be a hardware problem. Two pins
of the PS/2 connector were moved inside the connector, thus they didn't
connect to the keyboard controller. I replaced the keyboard cable and
all is well. Did you try to replace the keyboard ?
Regards, Stefan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-10-26 18:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-26 18:03 keyboard scancode problems Joost Gevers
-- strict thread matches above, loose matches on Subject: below --
2001-02-01 0:37 Keyboard Scancode Problems Udo A. Steinberg
2001-02-01 18:55 ` Pierre Rousselet
2001-02-02 7:11 ` Stefan Frank
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox