Bug 26352 - backlight control does not works
Summary: backlight control does not works
Status: CLOSED NOTOURBUG
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: ykzhao
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-31 12:03 UTC by Sachin Garg
Modified: 2017-07-24 23:08 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
lspci (1.58 KB, text/plain)
2010-01-31 12:03 UTC, Sachin Garg
no flags Details
dmesg (40.23 KB, text/plain)
2010-01-31 12:04 UTC, Sachin Garg
no flags Details
xorg.log (37.27 KB, application/octet-stream)
2010-01-31 13:53 UTC, Sachin Garg
no flags Details
acpidump of NV59 (239.41 KB, text/plain)
2010-03-09 22:26 UTC, Sachin Garg
no flags Details

Description Sachin Garg 2010-01-31 12:03:33 UTC
Created attachment 32951 [details]
lspci

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

kernel-2.6.33-0.25.rc6.git0.fc13.x86_64
xorg-x11-drv-intel-2.10.0-2.fc13.x86_64


[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]#
Comment 1 Sachin Garg 2010-01-31 12:04:08 UTC
Created attachment 32952 [details]
dmesg
Comment 2 Sachin Garg 2010-01-31 13:53:17 UTC
Created attachment 32955 [details]
xorg.log
Comment 3 Jesse Barnes 2010-02-05 15:17:56 UTC
Sounds like an ACPI bug, Yakui please reassign or close as necessary.
Comment 4 Sachin Garg 2010-02-16 21:28:18 UTC
any updates ?
Comment 5 ykzhao 2010-03-09 21:25:03 UTC
(In reply to comment #4)
> any updates ?
> 
Sorry for the late response.

Can you confirm whether the backlight can be adjusted by using the following interface?
   > echo xx >/sys/class/backlight/acpi_video0/brightness


Will you please also attach the output of acpidump on your box? The acpidump can be obtained by using pm_tools(20071116), which can be downloaded from:
    >http://www.lesswatts.org/projects/acpi/utilities.php

Thanks.
Comment 6 Sachin Garg 2010-03-09 22:26:00 UTC
Created attachment 33914 [details]
acpidump of NV59
Comment 7 Sachin Garg 2010-03-09 22:27:08 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > any updates ?
> > 
> Sorry for the late response.
> 
> Can you confirm whether the backlight can be adjusted by using the following
> interface?
>    > echo xx >/sys/class/backlight/acpi_video0/brightness
> 

This does not work. Brightness always stays to maximum
> 
> Will you please also attach the output of acpidump on your box? The acpidump
> can be obtained by using pm_tools(20071116), which can be downloaded from:
>     >http://www.lesswatts.org/projects/acpi/utilities.php
> 
> Thanks.
> 
I have attached the output to the bug


Thanks.
Comment 8 ykzhao 2010-03-09 22:51:32 UTC
(In reply to comment #6)
> Created an attachment (id=33914) [details]
> acpidump of NV59
> 
thanks for the so quick response.

After checking the ACPIdump on this box it seems that the brightness issue is related with the BIOS. The brightness is adjusted by using "_BCM" object, which is defined as the following:
   >  Method (_BCM, 1, NotSerialized)
        {
        If (^^^LPCB.EC0.BNCM)
            {
                If (^^^LPCB.EC0.ACST)
                {
                    Store (Local1, ^^^LPCB.EC0.BNAC)
                }
                Else
                {
                    Store (Local1, ^^^LPCB.EC0.BNDC)
                }
            }
            Else
            {
                Store (Local1, ^^^LPCB.EC0.BNAC)
            }
        }

     The expected brightness value is written to the internal register of Embedded controller(EC). But unfortunately the brightness can't be adjusted by EC.

From me it seems that this is a BIOS bug rather the graphics bug.

thanks.
    Yakui

Comment 9 Michael Fu 2010-05-05 01:53:02 UTC
mark as notourbug per last comment from yakui


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.