Here's the fdi file to disable evdev from grabbing the device:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.keys">
      <match key="info.product" contains="ThinkPad Extra Buttons">
        <merge key="input.x11_driver" type="string"></merge>
      </match>
    </match>
  </device>
</deviceinfo>

put it in for instance /etc/hal/fdi/policy/thinkpad.fdi and restart hal
& X. Now the battery & hibernate buttons work. Events are then sent
directly to hald? Also, for the radio-button to work I need to have
acpid running.

With the above hack the battery key generates keycode 241 and not 244
like with evdev..

-- 
Hotkeys no longer working in Intrepid on Thinkpads
https://bugs.launchpad.net/bugs/267682
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to