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

From: Borislav Deianov
Date: Wed Oct 20 2004 - 21:58:07 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
-
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/