[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 18:08:26 -0300


On Mon, 16 Jul 2007, Peter Jordan wrote:
> Henrique de Moraes Holschuh, 07/16/07 21:44:
> > On Mon, 16 Jul 2007, Peter Jordan wrote:
> >> Peter Jordan, 07/16/07 19:08:
> >>> Henrique de Moraes Holschuh, 07/16/07 18:12:
> >>>> On Mon, 16 Jul 2007, Peter Jordan wrote:
> >>>>> Henrique de Moraes Holschuh, 07/16/07 17:16:
> >>>>> $ cat /sys/bus/platform/devices/thinkpad_acpi/hotkey_all_mask
> >>>>> 0x00ffffff
> >>>>>
> >>>>> 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.
> >>>>
> >>>
> >>> Ok, with "THINKPAD_ACPI_INPUT_ENABLED NOT SET" and "cat
> >>> /sys/bus/platform/devices/thinkpad_acpi/hotkey_recommended_mask >
> >>> /sys/bus/platform/devices/thinkpad_acpi/hotkey_mask" input-utils finds
> >>> all keys without fn+f4, fn+f10, the volume keys, and the thinklight key,
> >>> but all keys work fine.
> >>>
> >>> let me know if i can give you any other information.
> >>>
> >>> btw: /proc/acpi/ibm/volume says "level <level> (<level> is 0-15)" but
> >>> the range on my R60 is 0 to 14.
> >>>
> >> followup:
> >> acpid does not find the thinkvantage key
> > 
> > It won't, unless you remap it to KEY_UNKOWN or KEY_RESERVED. 
> 
> How?

HAL fdi file, or using input-kbd.

-- 
  "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