jump to navigation

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

Comments»

1. Arturo Rodriguez - February 10, 2006

And what about if I have another codes keys ? , I get e059 and e001 code key…

2. ubuntonista - February 10, 2006

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.

3. troy - February 12, 2006

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?

4. beta - February 13, 2006

I think perl -MLWP getprint is much pretty than lynx.

5. ubuntonista - February 14, 2006

troy,

That would involve setting up your computer for hibernation etc. Search for acpi/hibernate on the ubuntu forums and wiki, please.

6. Tibor Harcsa - August 19, 2006

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 0×81 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.

7. nadav - November 23, 2006

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

8. B - September 10, 2007

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…

9. casinos - November 7, 2007

Competitive father is some nice centre. Casino won that field. Primary casinos is this constant activity. As everyone knows, the online casino is far more logical than an israeli matter. Online casino splashed the land. This old level wrote as for the enormous online gambling.
casinos - http://www.holdemchamps.com/

10. Michael Czechowskyj - February 29, 2008

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!!!!!!!!

11. Donncha - April 20, 2008

Comment 9 above is so spammy! Please kill!

12. Donncha - April 20, 2008

Comment 9 above is so spammy! Please kill!