Ubuntu – Remap keyboard Ubuntu 12.04; Asus Q500A

12.04acpiasuskeyboard

I have an Asus Q500A with win8 and Ubuntu 12.04 64 bit with linux kernel 3.8.0-32-generic. I am using gnome-panel, and xserver-xorg-lts-raring.

I have been experiencing problems with the keyboard short-cuts since I had a fresh install.

Fn+F10 is supposed to mute my system, but instead it will repeatedly press d. Fn+F11 is volume down, but it presses c. Fn+F12 is volume up, presses b repeatedly.

Other on-board short-cuts such as adjusting screen and led brightness work most of the time, but sometimes press other letters repeatedly. Also, sometimes my Ctrl gets held down for no reason. Everything works fine in windows. I have tried installing all recommends and did sudo dpkg-reconfigure -a (use caution with this command) to reconfigure all packages, which did not solve my problem.

I have tried using KeyTouch editor to edit keymaps, navigating to /usr/shar/x11/xkb/keymap when I try opening any of these files it says file contains no keyboard element.

I think If I were just able to remap my keyboard it might solve my issues, otherwise if anyone knows where I can get asus drivers for 12.04 please let me know.

Apparently I didn't have all repositories enabled. I executed the following commands and am trying the updates they give me. Getting linux_kernel 3.8.0-33 generic as well as a bunch of other packages:

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse"
sudo add-apt-repository "deb http://archive.canonical.com/ubuntu $(lsb_release -sc) partner"

I tried using keytouch along with keytouch-editor to set my extra function keys. It reads the keys when I press them, but then they don't function as I set them.

I tried using showkey -k and pressing the keys to see how they are read. I noticed the problem key combonations do not read as being released. Just pressed. The other keys do display released.

Best Answer

This sounds like an issue with the asus acpi kernel module, try running the latest version from ACPI for Asus Laptops and see if that fixes the issue. Additionally take a look in /etc/acpi/ folder and see if you have any asus specific scripts and settings there yet. Does xev show only the normal letters that were being repeated, or also the XF86 keyevents?

Related Question