Stopping atkbd.c flooding the logs on a Dell Laptop

For nearly a year now I have had the logs on my Dell Vostro 1000 flooded with messages like the following:

Oct 28 20:27:55 Dezza-Laptop kernel: [11152.694598] atkbd.c: Unknown key released (raw set 2, code 0xd5 on isa0060/serio0).

Oct 28 20:27:55 Dezza-Laptop kernel: [11152.694603] atkbd.c: Use 'setkeycodes e055 <keycode>' to make it known.

Despite trying various searches for the fault, and discovering it happened on other Dell laptops, such as the Inspiron, and also not just on Ubuntu, but also on Fedora (and presumably a few other distros), nothing I had tried had worked.

Finally I sent an email out to LULU and within a couple of hours I had a reply. It was really quite simple, and I don't know how I didn't think of it myself. Craig Shelly suggested that all I need do is 'setkeycodes e055 255' as this would set it to null and the heartbeats would be ignored.

This worked a treat, however there was one snag - on a reboot it would go away.

The way I fixed this is probably not the most sensible, or recommended, but I simply edited /etc/init.d/hotkey-setup and added a few lines at the start, so it read:

#!/bin/bash

#### Fix annoying log messages

setkeycodes e055 255

setkeycodes e00d 255

#### Done fixing log messages

--- rest of file---

This forced the commands to be executed at startup and my logs are now quiet.

Written by dezza on 2008-11-01 13:34:01.

Add Comment

Only Registered users can add comments. If you would like to register, please do so by clicking the register link to the left.