It is one more attempt to get Fn keys to volume up/down, brightness, etc. working. Those controls are simply not working in my non-branded ultrabook.
I want to detect them to modify /home/username/.config/openbox/lubuntu-rc.xml, as the following doesn't seem working:
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<command>amixer -q sset Master 3%+ unmute</command>
Neither xev nor xbindkeys nor keytouch are detecting when I press volumen up or brightness down, for example. The start/stop touchpad button is working, but is not detected by those applications either.
I also tried with dconf-editor as it is suggested here. next was already set to XF86AudioNext (and it is active)
Here, I read the following explanation:
Some laptop Fn key combinations are multimedia keys (appearing to the OS as ordinary keys with nonstandard codes), while others trigger ACPI events that eventually reach the OS, and some are just handled by the BIOS and never seen by the OS. The information paths are explained on the Hotkeys/Architecture page on the Ubuntu wiki, complete with diagrams.
If the OS can't see anything when you press the brightness keys, it could be because they're handled directly by the BIOS. The battle is not completely lost — it is in principle possible to hack the BIOS — but the difficulty level is considerably raised.
Any idea?
xevdoesn't report the keycodes for your keypresses, but does the kernel see the scancodes? You should be able to checkdmesgoutput and see messages likeUnknown key pressed (translated set 2, code 0xa0 on isa0060/serio0- alternately you might trysudo showkey --scancodes– James S. May 30 '14 at 19:41showkeyhas the same result thanxev,xbindkeysorkeytouch. I typeddmesg | grep -i 'key',dmesg | grep -i 'translated', etc: the result is empty. – chelder May 31 '14 at 17:10ctrl-alt-f1and the multimedia keys in the console. Then, I typedmesg | grep 'key'. The result is empty. Is it what you are asking me to do? – chelder Jun 01 '14 at 17:43