Bug 15513 - LCD Brightness cannot be controlled on Gateway NV5927U
Summary: LCD Brightness cannot be controlled on Gateway NV5927U
Status: CLOSED DUPLICATE of bug 19342
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Video (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Zhang Rui
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-11 00:04 UTC by Sachin Garg
Modified: 2010-12-09 21:59 UTC (History)
5 users (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments
acpidump (239.41 KB, text/plain)
2010-03-11 00:04 UTC, Sachin Garg
Details
dmesg (40.23 KB, text/plain)
2010-03-11 00:05 UTC, Sachin Garg
Details
lspci (1.58 KB, text/plain)
2010-03-11 00:05 UTC, Sachin Garg
Details
Xorg.0.log (37.27 KB, text/plain)
2010-03-11 00:05 UTC, Sachin Garg
Details
dmi output of NV59 (13.53 KB, text/plain)
2010-03-11 00:07 UTC, Sachin Garg
Details
xrandr properties (2.20 KB, text/plain)
2010-03-12 17:35 UTC, Kyle
Details
output of /sys/class/backlight/acpi_video0/ (519 bytes, text/plain)
2010-03-15 22:38 UTC, Sachin Garg
Details
custom DSDT (450.42 KB, application/octet-stream)
2010-06-22 09:08 UTC, Zhang Rui
Details
dmesg (41.19 KB, text/plain)
2010-06-25 01:22 UTC, Sachin Garg
Details

Description Sachin Garg 2010-03-11 00:04:37 UTC
Created attachment 25465 [details]
acpidump

I have gateway NV59. But I cannot control the backlight of the LCD. It
always stays to the maximum.


[root@sachin-laptop acpi_video0]# cat
/sys/class/backlight/acpi_video0/actual_brightness
0
[root@sachin-laptop acpi_video0]# cat
/sys/class/backlight/acpi_video0/brightness
0
[root@sachin-laptop acpi_video0]# cat
/sys/class/backlight/acpi_video0/max_brightness
9
[root@sachin-laptop acpi_video0]#


I have also created the bug with Intel gfx Bug 26352. But they think it is BIOS issue.
Comment 1 Sachin Garg 2010-03-11 00:05:10 UTC
Created attachment 25466 [details]
dmesg
Comment 2 Sachin Garg 2010-03-11 00:05:35 UTC
Created attachment 25467 [details]
lspci
Comment 3 Sachin Garg 2010-03-11 00:05:56 UTC
Created attachment 25468 [details]
Xorg.0.log
Comment 4 Sachin Garg 2010-03-11 00:07:48 UTC
Created attachment 25469 [details]
dmi output of NV59
Comment 5 Kyle 2010-03-12 17:32:38 UTC
I am suffering the same problems on an Acer Aspire 5740-6491.  I reported the issue to acer-wmi, but it may not be a problem there.

kyle@noumena /sys/class/backlight/acpi_video0 $ cat brightness 
2
kyle@noumena /sys/class/backlight/acpi_video0 $ cat actual_brightness 
2
kyle@noumena /sys/class/backlight/acpi_video0 $ cat max_brightness 
9
Comment 6 Kyle 2010-03-12 17:35:52 UTC
Created attachment 25486 [details]
xrandr properties

Can modify the values of /sys/class/backlight/acpi_video0/brightness using xrandr, but it does not change the brightness of the screen.
Comment 7 Zhang Rui 2010-03-15 06:35:21 UTC
please attach the output of "ls -l /sys/class/backlight/acpi_video0/"
Comment 8 Sachin Garg 2010-03-15 22:38:37 UTC
Created attachment 25536 [details]
output of  /sys/class/backlight/acpi_video0/
Comment 9 Zhang Rui 2010-03-16 01:03:55 UTC
and the output of "cat /sys/class/backlight/acpi_video0/device/path"
Comment 10 Sachin Garg 2010-03-16 03:16:53 UTC
(In reply to comment #9)
> and the output of "cat /sys/class/backlight/acpi_video0/device/path"

[sachin@fedora-rawhide ~]$ sudo cat /sys/class/backlight/acpi_video0/device/path
\_SB_.PCI0.GFX0.DD02
Comment 11 Zhang Rui 2010-03-16 03:20:00 UTC
okay, now we are sure this is a duplicate of bug #15528.

let's look at this issue in that bug report.

*** This bug has been marked as a duplicate of bug 15528 ***
Comment 12 Sachin Garg 2010-05-09 15:29:51 UTC
Opening the bug since other bug fix didn't fixed my issue.
Comment 13 Zhang Rui 2010-05-20 08:34:36 UTC
As Kyle in bug #15528 upgrade his BIOS before adding this boot option,
please upgrade your BIOS and see if it helps.
Comment 14 Sachin Garg 2010-05-20 15:46:33 UTC
unfortunately there is no bios update for my laptop. Kyle's laptop was Acer but mine is Gateway
Comment 15 Joydeep 2010-06-04 17:36:08 UTC
I have acer 5740 and suffering from the same problem; can't control brightness when running Linux.
Comment 16 Kyle 2010-06-04 17:45:40 UTC
(In reply to comment #15)
> I have acer 5740 and suffering from the same problem; can't control
> brightness
> when running Linux.

See this bug report. The discussion here solved the problem for my machine.

https://bugzilla.kernel.org/show_bug.cgi?id=15528
Comment 17 Joydeep 2010-06-05 04:33:05 UTC
Thanks Kyle,

I have already tried that before posting here. I have compiled 2.6.34 kernel with the modification

`````````````````````
             DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
                     DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T500"),
                },
        },
       
######## added part #############
        {
        .callback = dmi_enable_osi_linux,
        .ident = "Acer Aspire 5740",
        .matches = {
                     DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
                     DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5740"),
        },
       },
########### end ####################
     {}
};

```````````````````````

applied at  drivers/acpi/blacklist.c 

and also add acpi_osi="Linux" option at grub entry. But I can't control the brightness after the grub stage. If I completely disable the acpi; xwindow just hang the system ( driver intel) where vesa still works with a poor resolution and missing all the acpi features like battery monitor etc... Do I need to upgrade my BIOS or miss something else ?
Comment 18 Joydeep 2010-06-05 05:19:20 UTC
Thanks Kyle,

I have already tried that before posting here. I have compiled 2.6.34 kernel with the modification

`````````````````````
             DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
                     DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T500"),
                },
        },
       
######## added part #############
        {
        .callback = dmi_enable_osi_linux,
        .ident = "Acer Aspire 5740",
        .matches = {
                     DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
                     DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5740"),
        },
       },
########### end ####################
     {}
};

```````````````````````

applied at  drivers/acpi/blacklist.c 

and also add acpi_osi="Linux" option at grub entry. But I can't control the brightness after the grub stage. If I completely disable the acpi; xwindow just hang the system ( driver intel) where vesa still works with a poor resolution and missing all the acpi features like battery monitor etc... Do I need to upgrade my BIOS or miss something else ?
Comment 19 Joydeep 2010-06-05 05:20:49 UTC
Oh! extremely sorry for the double post.
Comment 20 Zhang Rui 2010-06-07 06:47:40 UTC
To: joydeep@infoservices.in

Yes, you need to upgrade your BIOS first.
Comment 21 Joydeep 2010-06-08 03:31:06 UTC
Thanks Zhang :-)

I have upgraded the BIOS to 1.22 and the brightness control is working !! I have though noticed that startx every time starts the graphical mode with maximum  brightness. Is there any way to instruct startx or via xorg.conf to recognize already set brightness ?

with best wishes
Comment 22 Zhang Rui 2010-06-08 06:28:31 UTC
I don't know.
The ACPI video driver set the backlight to the value when it's booted.
Maybe there are some user space apps. that change the backlight but that's beyond my scope.
Comment 23 Joydeep 2010-06-08 14:21:25 UTC
No problem, at-least my brightness control is working fine. Thanks to all of you.
Comment 24 Zhang Rui 2010-06-22 09:08:09 UTC
Created attachment 26896 [details]
custom DSDT

sachin,
please try the custom DSDT attached.
Comment 25 Sachin Garg 2010-06-25 01:21:47 UTC
Unfortunately this does not work .. I have attached the dmesg log
Comment 26 Sachin Garg 2010-06-25 01:22:41 UTC
Created attachment 26934 [details]
dmesg
Comment 27 ykzhao 2010-09-20 07:01:02 UTC
Will you please try the following boot option and see whether it is helpful?
  > acpi_osi="!Linux" acpi_osi="!Windows 2006" acpi_osi="!Windows 2009"

Thanks
Comment 28 Sachin Garg 2010-09-20 22:17:08 UTC
(In reply to comment #27)
> Will you please try the following boot option and see whether it is helpful?
>   > acpi_osi="!Linux" acpi_osi="!Windows 2006" acpi_osi="!Windows 2009"
> 
> Thanks

No it does not work.

Thanks
Comment 29 Joydeep 2010-09-21 06:41:49 UTC
Same here, More over with those settings, brightness fn keys are not working any more.

Thanks
Comment 30 Zhang Rui 2010-09-27 03:12:28 UTC
Joydeep, you don't need to try that.

Sachin, I give up my efforts on enabling the ACPI backlight control for this Gateway laptop as this really looks like a BIOS problem rather than Linux/ACPI bug.

I'll mark this bug as a duplicate of bug #14216. and let's see if there is any other way to control the backlight or not.

*** This bug has been marked as a duplicate of bug 14216 ***
Comment 31 Sachin Garg 2010-09-29 14:27:31 UTC
I am sorry for reopening but I just came back from vacation.

I don't agree this is duplicate of bug 14216. Since the workaround given in the bug does not work in my case.

Also if this was a BIOS bug why backlight is working fine in Windows 7 ? Also if I pass "acpi=off" during the boot backlight works in Linux.

Thanks,
Sachin.
Comment 32 Zhang Rui 2010-09-30 05:30:11 UTC

*** This bug has been marked as a duplicate of bug 19342 ***

Note You need to log in before you can comment on or make changes to this bug.