Re: Check for ACPI backlight support otherwise use vendor ACPIdrivers - version 2

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

 



Am Freitag, den 01.08.2008, 09:28 +0800 schrieb Zhang Rui:
> > 
> > BTW. the DRDY detection (for IGD) works ... now I have to find the IGD
> > patches ... couldn't find them on the list and the version of
> > linux-next
> > I tried didn't contain anything which looked like it.
> You can get them here.
> http://cgit.freedesktop.org/mesa/drm/diff/?id=dfd441cf964f20e4a761cb8490d7cd82cf32e7b9
> 
> don't know if this is the latest version, cc Matthew and Jessie.

I tried, but was quite entirely unsuccessful in applying the patch to a
recent linux-next so for now the only solution for me is (since Thomas
patch disables a functional fujitsu-laptop backlight control in favor of
a non-functional acpi_video backlight control) to blacklist:

--- video_detect.c      2008-07-31 17:20:59.540059897 +0200
+++ video_detect.c      2008-08-01 10:42:06.817046615 +0200
@@ -157,6 +159,11 @@ long acpi_video_get_capabilities(acpi_ha
                 *              ACPI_VIDEO_BACKLIGHT_DMI_VENDOR;
                 *}
                 */
+               if (dmi_name_in_vendors("FUJITSUSIEMENS") && 
+                                dmi_name_in_vendors("LIFEBOOKS6410")) {
+                       acpi_video_support |=
+                               ACPI_VIDEO_BACKLIGHT_DMI_VENDOR;
+               }
        } else {
                status = acpi_bus_get_device(graphics_handle, &tmp_dev);
                if (ACPI_FAILURE(status)) {


Peter


--
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