RE: [PATCH] ibm-acpi-0.6 - ACPI driver for IBM ThinkPad laptops

From: Yu, Luming
Date: Thu Oct 21 2004 - 04:17:18 EST


>
>On Wed, Oct 20, 2004 at 11:18:08AM +0800, Yu, Luming wrote:
>>
>> I'm working on a generic hotkey driver, which will move configurable
>> stuff to user space.
>[snip]
>> 1. add a new hotkey:
>> echo "0 : _SB.VGA : _SB.VGA.LCD._BCM :0x86 : 0x86" >
>> /proc/acpi/ev_config
>
>How would user space know what devices and methods to use? In the
>kernel, you can use HIDs where available, or check for specific
>objects with acpi_get_handle(). Are you going to expose these to user
>space somehow?
>
>Boris
>

Wrt hotkey, there don't have any standard or well known method to
find out which acpi device and acpi methods are for which hotkey.
But, they are working in the similar way, which is achieving hotkey
function through acpi generic core.

So, at the first stage , I have to rely on user or vendor to supply
meaningful data, till we have standard auto-config method.

Thanks,
Luming

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/