[ibm-acpi-devel] [ltp] Re: CALL FOR TESTING: thinkpad-acpi BETA release 0.14-20070708

Henrique de Moraes Holschuh linux-thinkpad@linux-thinkpad.org
Mon, 16 Jul 2007 13:12:18 -0300


On Mon, 16 Jul 2007, Peter Jordan wrote:
> Henrique de Moraes Holschuh, 07/16/07 17:16:
> > On Mon, 16 Jul 2007, Peter Jordan wrote:
> >> Henrique de Moraes Holschuh, 07/15/07 22:19:
> >> $ cat /sys/bus/platform/devices/thinkpad_acpi/hotkey_mask
> >> 0x0000ffff
> > 
> > That mask will *NOT* enable any extended hotkeys.
> > 
> > That said, I need the output of hotkey_all_mask (not hotkey_mask) to know
> > what the firmware is reporting as its capabilities...
> > 
> 
> $ cat /sys/bus/platform/devices/thinkpad_acpi/hotkey_all_mask
> 0x00ffffff
> 
> >> With thinkpad-acpi v 0.15 all fn+f* hotkeys does not work too; but $xev
> >> find them.
> > 
> > That's because you probably configured the driver to enable the input device
> > by default.  Which does enable every active hotkey by default (unlike the
> > old behaviour), but routes them over to the input device.
> 
> And what can i do now?

Compile it with*out* THINKPAD_ACPI_INPUT_ENABLED, and do this to enable
hotkeys:

echo 1 > /sys/bus/platform/devices/thinkpad_acpi/hotkey_enable
cat /sys/bus/platform/devices/thinkpad_acpi/hotkey_recommended_mask > /sys/bus/platform/devices/thinkpad_acpi/hotkey_mask

And re-test :-) You are not enabling all hotkeys you want...

If you want to use THINKPAD_ACPI_INPUT_ENABLED, you need updated userspace.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh