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