Re: [PATCH] asus-wmi: control backlight power through WMI, not ACPI

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

 



On Mon, May 21, 2012 at 2:56 AM, Zhang Rui <rui.zhang@xxxxxxxxx> wrote:
> On 五, 2012-05-18 at 09:53 +0200, Corentin Chary wrote:
>> Len, Zhang, you may have an advice on that:
>> - vendor backlight interface provides a working "power" file
>> - generic backlight interface does not
>> - hardware send a notification when the user press the LCD toogle key
>>
>> Solutions:
>> - Use acpi_video=vendor by default (adding a blacklist in ACPI code)
>
> yes, I agree.

Got a patch comming for that, will let drivers tell video_detect.c
that vendor backlights should be prioritized, thus making
acpi_video_register() works correctly when called later, and allowing
to put the blacklist outside of video_detect.c.

>
>> - Handle the key in the driver instead of letting userspace do it
>
> well, I don't know.
> when using acpi_video=vendor, what action is taken in userspace after
> pressing the key?

Currently probably nothing in most case (except by gnome maybe ?). But
what should be done is updating the
/sys/class/backlight/asus-wmi/power file.

-- 
Corentin Chary
http://xf.iksaif.net
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux