atkbd.c: Unknown key pressed/released appears in log files a lot

Bug #111024 reported by Memo
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Low
Tim Gardner
Jaunty
Invalid
Low
Tim Gardner

Bug Description

The following messages apear in both "messages" and "syslog" logs:

Pressing the RightSHIFT:
Apr 29 16:11:36 memo-desktop kernel: [ 1469.327507] atkbd.c: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
Apr 29 16:11:36 memo-desktop kernel: [ 1469.327513] atkbd.c: Use 'setkeycodes 62 <keycode>' to make it known.
Apr 29 16:11:36 memo-desktop kernel: [ 1469.429923] atkbd.c: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
Apr 29 16:11:36 memo-desktop kernel: [ 1469.429928] atkbd.c: Use 'setkeycodes 62 <keycode>' to make it known.

Pressing the LeftSHIFT:
Apr 29 16:12:08 memo-desktop kernel: [ 1500.830112] atkbd.c: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
Apr 29 16:12:08 memo-desktop kernel: [ 1500.830117] atkbd.c: Use 'setkeycodes 62 <keycode>' to make it known.
Apr 29 16:12:08 memo-desktop kernel: [ 1500.835309] atkbd.c: Unknown key pressed (translated set 2, code 0x92 on isa0060/serio0).
Apr 29 16:12:08 memo-desktop kernel: [ 1500.835313] atkbd.c: Use 'setkeycodes e012 <keycode>' to make it known.
Apr 29 16:12:08 memo-desktop kernel: [ 1500.968496] atkbd.c: Unknown key released (translated set 2, code 0x92 on isa0060/serio0).
Apr 29 16:12:08 memo-desktop kernel: [ 1500.968500] atkbd.c: Use 'setkeycodes e012 <keycode>' to make it known.
Apr 29 16:12:08 memo-desktop kernel: [ 1500.972107] atkbd.c: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
Apr 29 16:12:08 memo-desktop kernel: [ 1500.972111] atkbd.c: Use 'setkeycodes 62 <keycode>' to make it known.

Pressing the LeftALT:
Apr 29 16:12:40 memo-desktop kernel: [ 1532.468687] atkbd.c: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
Apr 29 16:12:40 memo-desktop kernel: [ 1532.468694] atkbd.c: Use 'setkeycodes 62 <keycode>' to make it known.
Apr 29 16:12:40 memo-desktop kernel: [ 1532.575722] atkbd.c: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
Apr 29 16:12:40 memo-desktop kernel: [ 1532.575728] atkbd.c: Use 'setkeycodes 62 <keycode>' to make it known.

Tags: cft-2.6.27
Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in recently. We were wondering if this is still an issue for you? Thanks in advance.

Revision history for this message
Brian Murray (brian-murray) wrote :

We are closing this bug report as it lacks the information, described in the previous comments, we need to investigate the problem further. However, please reopen it if you can give us the missing information and feel free to submit bug reports in the future.

Revision history for this message
Sense Egbert Hofstede (sense) wrote :

I get exactly the same error message every time I press a media key on my keyboard. The media keys do work though, so that's not the problem. But my error logs are filled with those messages, which can be quite annoying sometimes when you want to look for a problem.
My keyboard has no brand, or at least I don't know what brand it has.

Revision history for this message
Sense Egbert Hofstede (sense) wrote :

An additional comment: not all my media keys work out of the box, some of them require manual action, but the volume control, the music controls and some other keys do work. I haven't tested all of them yet.

Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it, because your description doesn't yet have enough information.
Please include as attachments the following additional information, if you have not already done so, as required by the Ubuntu Kernel Team:
1. Please include the output of the command 'uname -a' in your next response. It should be one, long line of text which includes the exact kernel version you're running, as well as the CPU architecture.
2. Please run the command 'dmesg > dmesg.log' and attach the resulting file 'dmesg.log' to this bug report.
For your reference, the full description of procedures for kernel-related bug reports is available at https://wiki.ubuntu.com/KernelTeamBugPolicies . Thanks in advance!

Revision history for this message
Sense Egbert Hofstede (sense) wrote :

The output of uname -a:

Linux nott 2.6.24-19-generic #1 SMP Wed Jun 4 15:10:52 UTC 2008 x86_64 GNU/Linux

Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Low
status: Incomplete → Triaged
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Andrei Kouznetsov (andrei-kouznetsov) wrote :

Hello, guys.

I have exactly the same problem.
To reproduce:
Open gedit with a text file. Press SHIFT+Right and wait. After some time as text being selected the selection gets replaced by some symbols and dmesg reads
...
[123054.560783] atkbd.c: Unknown key released (translated set 2, code 0xe0 on isa0060/serio0).
[123054.560795] atkbd.c: Use 'setkeycodes e060 <keycode>' to make it known.

uname -r prints
2.6.27-7-generic

I am using Ubuntu 8.10. All updates have been installed.

Revision history for this message
Andrei Kouznetsov (andrei-kouznetsov) wrote :

uname -a gives
Linux and-laptop 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:20 UTC 2008 i686 GNU/Linux

Revision history for this message
Memo (memo-cj-ro) wrote :

Thought to give back some inputs.

When i reported this bug i was using a very cheap keyboard, something around 2eur piece of crap. Had some issues in Windows XP also, as in some applications, pressing right or left SHIFT key would send an E or e code to the application. That was pretty annoying and i said it might have to do with the keyboard itself rather than with the OS (be it windows or linux).

Changing the keyboard to a better quality keyboard (MS branded) solved the problem. So i think Microsoft does some quality things after all, and is not software for sure. :)

Wishing good luck to the rest of you, and remember, is not always the best thing to do everything to solve every issue that might appear with every piece of crap hardware out there. Sometimes replacing the hardware seems a cheaper solution than putting in hours of hard work to solve it in software.

Best regards,
Memo

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
marco.pallotta (marco-pallotta) wrote :

The same messages (but with different keycodes) appear in my acer laptop when pressing keys that doesn't run and are not assignable through keyboard shortcuts utility. I think a solution to this could be displaying a gui to the user every time this message appears in the log files to help the user to customize keys that don't run out-of-the-box. It could be a great usability option to make Ubuntu more user-friendy.

In the meanwhile, is there a way to solve by hand the issue?

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Please try the Jaunty LiveCD. There have been some recent updates for Acer laptops.

Changed in linux (Ubuntu Jaunty):
assignee: nobody → Tim Gardner (timg-tpi)
status: Triaged → In Progress
Revision history for this message
Steve Langasek (vorlon) wrote :

The original submitter reported that this was a hardware problem with a glitchy keyboard generating keycodes that it shouldn't. I'm therefore closing this bug as invalid. Marco, if you are still seeing this bug on your Acer with the jaunty release candidate, please open a new bug with the exact log messages you're seeing.

Changed in linux (Ubuntu Jaunty):
status: In Progress → Invalid
Revision history for this message
Matt Keys (mk6032) wrote :

I have a fresh install of 9.04 with all the latest updates. I use a "Microsoft Wireless Natural Multimedia Keyboard/Mouse".

Here's a picture of it:
http://www.microsoft.com/hardware/mouseandkeyboard/productdetails.aspx?pid=014

I am also getting a LOT of these messages in syslog/messages, but the keyboard and mouse work fine. The volume, play, stop, next, previous, and mute buttons work fine on the keyboard. I have not tested the other buttons.

matt@alpha:~$ tail /var/log/syslog
May 10 09:43:38 alpha kernel: [312833.380300] atkbd.c: Unknown key released (translated set 2, code 0x81 on isa0060/serio0).
May 10 09:43:38 alpha kernel: [312833.380303] atkbd.c: Use 'setkeycodes e001 <keycode>' to make it known.
May 10 09:43:40 alpha kernel: [312835.580604] atkbd.c: Unknown key pressed (translated set 2, code 0xd9 on isa0060/serio0).
May 10 09:43:40 alpha kernel: [312835.580607] atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known.
May 10 09:43:43 alpha kernel: [312838.277904] atkbd.c: Unknown key pressed (translated set 2, code 0xd9 on isa0060/serio0).
May 10 09:43:43 alpha kernel: [312838.277907] atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known.
May 10 09:43:49 alpha kernel: [312843.988290] atkbd.c: Unknown key pressed (translated set 2, code 0xd9 on isa0060/serio0).
May 10 09:43:49 alpha kernel: [312843.988293] atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known.
May 10 09:43:55 alpha kernel: [312850.528319] atkbd.c: Unknown key pressed (translated set 2, code 0xd9 on isa0060/serio0).
May 10 09:43:55 alpha kernel: [312850.528322] atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known.
matt@alpha:~$ tail /var/log/messages
May 10 09:43:43 alpha kernel: [312838.277904] atkbd.c: Unknown key pressed (translated set 2, code 0xd9 on isa0060/serio0).
May 10 09:43:43 alpha kernel: [312838.277907] atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known.
May 10 09:43:49 alpha kernel: [312843.988290] atkbd.c: Unknown key pressed (translated set 2, code 0xd9 on isa0060/serio0).
May 10 09:43:49 alpha kernel: [312843.988293] atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known.
May 10 09:43:55 alpha kernel: [312850.528319] atkbd.c: Unknown key pressed (translated set 2, code 0xd9 on isa0060/serio0).
May 10 09:43:55 alpha kernel: [312850.528322] atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known.
May 10 09:44:00 alpha kernel: [312855.126386] atkbd.c: Unknown key pressed (translated set 2, code 0xd9 on isa0060/serio0).
May 10 09:44:00 alpha kernel: [312855.126389] atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known.
May 10 09:44:04 alpha kernel: [312859.290680] atkbd.c: Unknown key pressed (translated set 2, code 0xd9 on isa0060/serio0).
May 10 09:44:04 alpha kernel: [312859.290683] atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known.
matt@alpha:~$

matt@alpha:~$ uname -a
Linux alpha 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 x86_64 GNU/Linux

Is there a way to disable these messages?

Revision history for this message
Michalxo (michalxo) wrote :

I am getting this error on Karmic Alpha 5, freshly update. One of my multimedia keys stopped working.
 atkbd.c: Unknown key released (translated set 2, code 0x94 on isa0060/serio0).
 atkbd.c: Use 'setkeycodes e014 <keycode>' to make it known.

I was trying to add 'setkeycodes e014 0x94' into /etc/rc.local but it's still not working. Am I doing something wrong?
Thanks

Revision history for this message
Michalxo (michalxo) wrote :

I am getting this error on Karmic Alpha 5, freshly update. One of my multimedia keys stopped working.
 atkbd.c: Unknown key released (translated set 2, code 0x94 on isa0060/serio0).
 atkbd.c: Use 'setkeycodes e014 <keycode>' to make it known.

I was trying to add 'setkeycodes e014 0x94' into /etc/rc.local but it's still not working. Am I doing something wrong?
Thanks

Linux calypso 2.6.31-10-generic #30-Ubuntu SMP Tue Sep 8 12:32:38 UTC 2009 x86_64 GNU/Linux

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.