Re: [patch 2/7] asus-laptop: add led support

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

 



On Thursday 25 January 2007 06:54, Corentin CHARY wrote:
> Add led support, using generic led class.
> Thomas Tuttle's patch <http://lkml.org/lkml/2006/7/6/247> was very usefull.
> We use hotk->status to store led status because it's very hard to find acpi method
> to get the right status...
> To reduce the code, I use a lot of macro (ASUS_LED, ASUS_LED_REGISTER, etc ...), because
> the code is the same for all leds ...
> 
> Signed-off-by: Corentin Chary <corentincj@xxxxxxxxxx>
>  Kconfig       |    1
>  asus-laptop.c |  146 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 147 insertions(+)
> ---
> 
> diff -Naur a/drivers/misc/asus-laptop.c b/drivers/misc/asus-laptop.c
...
> diff -Naur a/drivers/misc/Kconfig b/drivers/misc/Kconfig
> --- a/drivers/misc/Kconfig	2007-01-21 15:27:49.000000000 +0100
> +++ b/drivers/misc/Kconfig	2007-01-21 15:24:26.000000000 +0100
> @@ -74,6 +74,7 @@
>          depends on X86
>          depends on ACPI
>  	depends on EXPERIMENTAL && !ASUS_ACPI
> +	select LEDS_CLASS

Why isn't this depends on BACKLIGHT_CLASS_DEVICE
like msi-laptop?

>          ---help---
>  	  This is the new Linux driver for Asus laptops. It may also support some
>  	  MEDION, JVC or VICTOR laptops. It makes all the extra buttons generate
> 
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux