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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

> But input-events should find it.  Does it?

Yes, it does:

22:24:50.255136: EV_KEY KEY_VENDOR pressed
22:24:50.255142: EV_SYN code=0 value=0
22:24:50.255144: EV_KEY KEY_VENDOR released
22:24:50.255146: EV_SYN code=0 value=0


PJ


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux