Unknown Key Pressed… error February 10, 2006
Posted by Carthik in bugsquashing, ubuntu.trackback
When I do a $dmesg
, which, by the way shows me the log of system messages and errors and such, I get the following two lines, repeated over and over, ad inifinitum:
[4314715.415000] atkbd.c: Unknown key pressed (translated set 2, code 0xaa on isa0060/serio0).
[4314715.415000] atkbd.c: Use ‘setkeycodes e02a <keycode>’ to make it known.
I figured out that this bug happens because on some machines (laptops) the keyboard key with the code “e02a” is for the hibernate key.
The most unobstrusive way to work around the problem might be to edit the /usr/share/hotkey-setup/generic.hk
file and commenting out, or deleting the offending line that says:
setkeycodes e02a 256
and then restarting the hotkey-setup service by doing a:
$sudo /etc/init.d/hotkey-setup restart
And what about if I have another codes keys ? , I get e059 and e001 code key…
Arturo,
It is safe to remove that too from the file I mentioned. If those keycodes are not in the file, then you need to figure out since you may have a real problem.
is there a way to just make that code do what its supposed to do? I.e., put the PC into some kinda hybernate mode?
I think perl -MLWP getprint is much pretty than lynx.
troy,
That would involve setting up your computer for hibernation etc. Search for acpi/hibernate on the ubuntu forums and wiki, please.
to Arturo Rodriguez’s problem:
The following problem appears in Debian too, and Ubuntu is a Debian based system, even if hotkeys are not installed
Aug 19 02:13:40 localhost kernel: atkbd.c: Unknown key released (translated set 2, code 0x81 on isa0060/serio0).
Aug 19 02:13:40 localhost kernel: atkbd.c: Use ‘setkeycodes e001 ‘ to make it known.
Aug 19 02:13:47 localhost kernel: atkbd.c: Unknown key pressed (translated set 2, code 0xd9 on isa0060/serio0).
Aug 19 02:13:47 localhost kernel: atkbd.c: Use ‘setkeycodes e059 ‘ to make it known.
assigning keys to actions…
open up the file /usr/share/hotkey-setup/key-constants and see what key code to use for the pressed key and set it up in the generic.hk file
like this…
setkeycodes e059 $KEY_MAIL
Does anybody know what the equivalent to /usr/share/hotkey-setup/generic.hk is in Fedora 7 (or any Fedora Core in general)? I am having the same issues in Fedora 7 and it doesn’t use the hotkey-setup functionality…
I have a problem getting ubuntu to start. I have a dual boot system with windows xp however my ubuntu comes up first and usually i scroll down and select windows when necessary. I have an error which shows up when I start GRUB loading stage1.5. please wait… then GRUB and underneath ERROR 17
I do not know what a GRUB is or what the code stands for but I have family pictures on this drive and I need to get past this error and be able to access windows xp HELP!!!!!!!!
is there a way to just make that code do what its supposed to do? I.e., put the PC into some kinda hybernate mode?
I think perl -MLWP getprint is much pretty than lynx.
I turned on my inspiron 1501 with ubuntu installed and the following lines keep scrolling: atkbd.c: Use ‘setkeycodes e00d ‘ to make it known. Unknown key pressed ( translated set 2, code 0x8d on isa0060/serio0). What is this problem and how do I fix it?
antalya ev ilaçlama