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

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

10. porno sikiş - September 27, 2010

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?

11. sex sikiş - September 28, 2010

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

12. Jonhdoe - October 20, 2010

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?

13. antalya böcek ilaçlama - August 8, 2011

antalya ev ilaçlama


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 548 other followers

%d bloggers like this: