Ubuntu: acpi_listen is not working the way it should



Question:

I want to get keymaps of the keys using acpi_listen for some keyboard layout issues. But when i run acpi_listen and press any alphabetical key, it will only display that letter(Suppose I press a it will display 'a' only, nothing else). ctrl, shift and other supporting keys are not even detected. I am using Ubuntu 14.04, hp-dv6 pavillion


Solution:1

According to Linux man page, acpid is the system-wide ACPI event catcher. acpi_listen is a simple shell-friendly tool which connects to acpid and listens for events. When an event occurs, acpi_listen will print it on stdout.

As far as i understand, the keys ctrl, shift are not event creating keys. fn keys coupled with up or down (for toggling brightness/volume for example) might give desired outputs.


Solution:2

acpi_listen is for observing cmds to the ACPI runtime, So if you where to say increase or decrease the brightness on your laptop you would see this.

  video/brightnessdown BRTDN 00000087 00000000  video/brightnessup BRTUP 00000086 00000000  

I'm not really sure which tool you should use for listening to general key presses, but I know it's not acpi_listen.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »