[Bug 578578] New: Bright control not working at all with Acer Extensa 5635Z
http://bugzilla.novell.com/show_bug.cgi?id=578578 http://bugzilla.novell.com/show_bug.cgi?id=578578#c0 Summary: Bright control not working at all with Acer Extensa 5635Z Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: mjh@kabelmail.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.0) Gecko/20100115 SUSE/3.6.0-1.2 Firefox/3.6 Forked off from bug 549994. In contrast to 549994, backlight control works neither via Function keys (Fn+LEFT/RIGHT) nor via command line (proc, sys, xrandr). Command line solutions store the value, but they have no effect on the display. Tt keeps rather bright - probably at maximum backlight capacity. Reproducible: Always Steps to Reproduce: 1. echo 10 > /proc/acpi/video/GFX0/.../brightness 2. echo 8 > /sys/devices/virtual/backlight/acpi_video0/brightness 3. xrandr --output LVDS1 --set BACKLIGHT 9 Actual Results: Values are taken over as they were set. But without visual effect. Expected Results: Change in backlight brightness. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=578578 http://bugzilla.novell.com/show_bug.cgi?id=578578#c Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel-maintainers@forge.pr |trenn@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=578578 http://bugzilla.novell.com/show_bug.cgi?id=578578#c1 Thomas Renninger <trenn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |mjh@kabelmail.de --- Comment #1 from Thomas Renninger <trenn@novell.com> 2010-08-05 13:43:57 UTC --- Sorry for the long delay... What graphics card and what X server is used? Best is if you retry with openSUSE 11.3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=578578 http://bugzilla.novell.com/show_bug.cgi?id=578578#c2 Matthias Hanisch <mjh@kabelmail.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|mjh@kabelmail.de | --- Comment #2 from Matthias Hanisch <mjh@kabelmail.de> 2010-08-05 22:30:21 UTC --- Meanwhile I upgraded to 11.3. It shows the same behavior. The brightness control keys (Fn-LEFT/RIGHT) cause a value increment/decrement in /sys/class/backlight/acpi_video0/brightness. But, the it has no effect on the (physical) screen brightness. Current workaround: monitor the value above and set the brightness directly with setpci -s 00:02.0 F4.B=$value where $value is between 00 and FF, based on the brightness values above from 0 to 9. Graphics card: Intel GMA 4500 X Server: Hmmm... rpm -qf /usr/bin/Xorg gives xorg-x11-server-7.5_1.8.0-9.4.x86_64 what else do you want to know? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=578578 http://bugzilla.novell.com/show_bug.cgi?id=578578#c Matthias Hanisch <mjh@kabelmail.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Kernel |Kernel AssignedTo|trenn@novell.com |kernel-maintainers@forge.pr | |ovo.novell.com Product|openSUSE 11.2 |openSUSE 11.3 OS/Version|openSUSE 11.2 |openSUSE 11.3 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=578578 http://bugzilla.novell.com/show_bug.cgi?id=578578#c3 Thomas Renninger <trenn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |ASSIGNED CC| |trenn@novell.com Severity|Normal |Minor --- Comment #3 from Thomas Renninger <trenn@novell.com> 2010-08-06 15:40:46 UTC --- Yep, it was already discussed that a PCI config based backlight interface should be added to the Intel graphics kernel driver as fall back if no other (video.ko or one of the native laptop drivers) cannot serve it. But nobody did the work yet. If you see an update somewhere mainline, I'd be glad to backport it. I'll ping here if I see news on a list, please do the same. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=578578 http://bugzilla.novell.com/show_bug.cgi?id=578578#c Thomas Renninger <trenn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel-maintainers@forge.pr |trenn@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=578578 http://bugzilla.novell.com/show_bug.cgi?id=578578#c4 --- Comment #4 from Matthias Hanisch <mjh@kabelmail.de> 2010-08-06 21:25:11 UTC --- Yes, will do. The solution/workaround I am currently using, is described in detail at http://www.opensuse-forum.de/bildschirmhelligkeit-einstellen-extensa-5635z-d... Just to complete the current status. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=578578 https://bugzilla.novell.com/show_bug.cgi?id=578578#c5 --- Comment #5 from Matthias Hanisch <mjh@kabelmail.de> 2011-08-23 22:41:22 UTC --- I noticed activity on this issue. I still use the same workaround in openSUSE 11.4 with kernel 2.6.37 and 2.6.39. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=578578 https://bugzilla.novell.com/show_bug.cgi?id=578578#c6 Michael Chang <mchang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jlee@novell.com --- Comment #6 from Michael Chang <mchang@novell.com> 2011-08-24 05:53:16 UTC --- Hi Matthias, Yes. This is related with "Intel backlight combination mode", that is the backlight brightness level can be changed via LPBC (that is the PCI configuration register your workaround uses) OR i915's BLC_PWM_CTL register. As far as I know, we have to access both registers at the same time to guarantee a reasonable dynamic backlight range (The LPBC is acts a multiplier of 255 with BLC_PWM_CTL value). This combination mode is used on older Intel graphics and yours is fall into this category (GMA4500 is used in Montevina platform, we ever came across similar issue on this hardware). For modern Intel graphics, the LPBC register was obsoleted. I also CC Joey Lee as he is maintainer of ACER acpi/wmi driver. This might also be an ACPI issue as these function keys would trigger SCI events (Q event) to execute corresponding ACPI method (Q method) an change the backlight (via the opregion or whatever means) in it. First, it would be good if you could help to provide dmesg while your are changing the backlight, whith following kernel command-line parameter. drm.debug=0x02 I would suggest a step, for example ..like $ dmesg -c $ xrandr --output LVDS1 --set BACKLIGHT 6 $ xrandr --output LVDS1 --set BACKLIGHT 9 $ dmesg > /tmp/xrandr-backlight.log Thanks. :) Thanks. :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=578578 https://bugzilla.novell.com/show_bug.cgi?id=578578#c7 --- Comment #7 from Matthias Hanisch <mjh@kabelmail.de> 2011-08-25 00:20:32 UTC --- Hi Michael, there is nothing printed in the second dmesg call, when I do the steps you suggested. This was on a openSUSE "Kernel of the Day" 2.6.39-32-desktop. If I start my workaround again, I get the following messages: [ 216.191194] [drm:intel_opregion_asle_intr], non asle set request?? [ 220.234915] [drm:intel_opregion_asle_intr], non asle set request?? To verify the command line option pingu:~ # cat /proc/cmdline root=... resume=... splash=silent quiet vga=0x317 drm.debug=0x02 Do not hesitate to ask if you need more information. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=578578 https://bugzilla.novell.com/show_bug.cgi?id=578578#c8 --- Comment #8 from Michael Chang <mchang@novell.com> 2011-08-25 03:12:23 UTC --- Thanks. To me that nothing printed is reasonable as this implies that drm driver didn't perform any real brightness setting in respond of attempting to set it. This is weird but possible, there's breakage of something in the middle of the process in prior of driver was asked to set a value. :) I think we can rule out combination mode as it didn't take place and focus on the ACPI issue. From your log that's Intel opRegion bios relies on in order to communicate with vga driver (a memory region when you write some value, an interrupt is trigger automatically to notice vga driver to fetch the value and do something (like change brightness) accordingly). Would you please help to dump the ACPI for debugging? $ acpidump > acpidump.hex And attach the acpidump.hex .. Thanks a lot. :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=578578 https://bugzilla.novell.com/show_bug.cgi?id=578578#c9 --- Comment #9 from Matthias Hanisch <mjh@kabelmail.de> 2011-08-25 21:01:22 UTC --- Created an attachment (id=447787) --> (http://bugzilla.novell.com/attachment.cgi?id=447787) ACPI Dump Thanks for all that detailed explanations. Here is the ACPI dump. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=578578 https://bugzilla.novell.com/show_bug.cgi?id=578578#c10 Joey Lee <jlee@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |mjh@kabelmail.de --- Comment #10 from Joey Lee <jlee@suse.com> 2011-08-31 04:16:17 UTC --- Could you please try to add acpi_osi="Linux" kernel parameter to /boot/grub/menu.lst? like the following: kernel /boot/vmlinuz-2.6.32.29-0.3-pae root=/dev/disk/by-id/ata-WDC_WD1200BEVS-08UST0_WD-WXC608060890-part2 resume=/dev/disk/by-id/ata-WDC_WD1200BEVS-08UST0_WD-WXC608060890-part1 splash=silent showopts vga=0x317 acpi_osi="Linux" <==== add here Then, reboot your machine try to echo a number to acpi video brightness node: echo 4 > /sys/class/backlight/acpi_video0/brightness Looks it works or not. If yes, that means your machine have incomplete _BCM function support by EC firmware. Does your machine's brightness control works fine before ? or ALWAYS fail ? What is your original OS when you bought in this machine? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=578578 https://bugzilla.novell.com/show_bug.cgi?id=578578#c11 Matthias Hanisch <mjh@kabelmail.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|mjh@kabelmail.de | --- Comment #11 from Matthias Hanisch <mjh@kabelmail.de> 2011-09-14 03:36:41 UTC --- First, sorry for the long delay. Yes, the option acpi_osi="Linux" helps in both kernels I am using. This is 2.6.37.6-0.5-desktop and 2.6.39-32-desktop! In detail: - the "echo" command above changed the brightness - the shortcut keys for brightness change work - the power management changed the brightness when I disconnected from power I am quite sure, that I tried also with ACPI options (don't remember which one) when I faced that problem first (around 2009/2010), but at that time nothing helped. To your questions: Brightness control never worked on that laptop. But I directly installed openSUSE on it. The laptop was shipped without a "real" OS. Linpus Linux was installed by default, which I deleted immediately after one test startup. Thank you very much for that information! If this is the suggested workaround, this would be absolutely ok for me. Everything works as expected until now. I'll leave this option enabled and report if it causes any side effects. If you need additional info for more investigations or to improve the ACPI driver in handling poor firmware, do not hesitate to ask. Again, thank you for your support. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=578578 https://bugzilla.novell.com/show_bug.cgi?id=578578#c12 --- Comment #12 from Joey Lee <jlee@suse.com> 2011-09-14 10:19:25 UTC --- (In reply to comment #11)
First, sorry for the long delay. Yes, the option acpi_osi="Linux" helps in both kernels I am using. This is 2.6.37.6-0.5-desktop and 2.6.39-32-desktop!
In detail: - the "echo" command above changed the brightness - the shortcut keys for brightness change work - the power management changed the brightness when I disconnected from power
Great!
I am quite sure, that I tried also with ACPI options (don't remember which one) when I faced that problem first (around 2009/2010), but at that time nothing helped.
To your questions: Brightness control never worked on that laptop. But I directly installed openSUSE on it. The laptop was shipped without a "real" OS. Linpus Linux was installed by default, which I deleted immediately after one test startup.
Thank you very much for that information! If this is the suggested workaround, this would be absolutely ok for me. Everything works as expected until now. I'll leave this option enabled and report if it causes any side effects.
If you need additional info for more investigations or to improve the ACPI driver in handling poor firmware, do not hesitate to ask.
Again, thank you for your support.
On some Acer machine, their BIOS ship OS with acpi_osi="Linux", but it's not a good idea because nobody tested the "Linux path" in BIOS, even Acer's ODM also didn't do the job. That's why kernel acpi team choice suggest avoid to use acpi_osi=Linux. If the osi Linux parameter works fine to you, like you said, we should test the machine after use this parameter, e.g. suspend to RAM or suspend to Disk. If everything works fine, then that's good! But, we will not to add this parameter to kernel for the default. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=578578 https://bugzilla.novell.com/show_bug.cgi?id=578578#c13 --- Comment #13 from Joey Lee <jlee@suse.com> 2011-09-14 10:25:46 UTC --- Again, this is a machine that have EC firmware problem to handle the brightness level. If the EC firmware works fine, then don't need add acpi_osi=Linux: Method (_BCM, 1, NotSerialized) { If (LEqual (BOWN, Zero)) { Store (Subtract (Divide (Arg0, 0x0A, ), One), Local0) Store (Local0, BRTN) Acquire (^^^^LPCB.EC0.MUT1, 0xFFFF) Store (Local0, ^^^^LPCB.EC0.BLVL) /* write EC register, but not work */ Release (^^^^LPCB.EC0.MUT1) If (LEqual (OSYS, 0x03E8)) /* Linux */ { Store (Multiply (Add (Local0, One), 0x18), Local1) If (LGreater (Local1, 0xFF)) { Store (0xFF, Local1) } Store (Local1, ^^^^GFX0.LBES) /* direct touch video register */ } If (LLess (OSYS, 0x07D6)) /* Windows XP */ { If (LEqual (^^^^^WMID.BAEF, One)) { Sleep (0xC8) Store (0x05, ^^^^^WMID.WMIQ) Notify (WMID, 0x80) } } } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=578578 https://bugzilla.novell.com/show_bug.cgi?id=578578#c14 --- Comment #14 from Michael Chang <mchang@suse.com> 2011-09-14 10:47:03 UTC --- (In reply to comment #13)
Again, this is a machine that have EC firmware problem to handle the brightness level. If the EC firmware works fine, then don't need add acpi_osi=Linux:
To verify it we might need to install Windows (better be Windows 7) on it and see if brightness works. But It's not worth for doing it IMO. :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=578578 https://bugzilla.novell.com/show_bug.cgi?id=578578#c15 --- Comment #15 from Matthias Hanisch <mjh@kabelmail.de> 2011-09-14 18:23:56 UTC --- Sorry, that's too much. I would do almost everything to help you, but not installing Windows :). Seriously, even if I would like to try that, I have no Microsoft license available at home anyway. All computers running Linux here. About running with this option enabled: I didn't face any problems during this day. Suspend to ram works for sure. Battery handling looks also good. Laptop temperature is normal, so the fan still seems to work. Don't know what else I should monitor. I even have the impression that WLAN re-activation after suspend works better now. This is also a problem on this laptop. I understand that you don't want to enable that option in general. Maybe this should be just documented somewhere (hardware compatibility list?) that it can be found by a poor soul with the same problem. Again, thank you guys, you made my day. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=578578 https://bugzilla.novell.com/show_bug.cgi?id=578578#c16 Thomas Renninger <trenn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WONTFIX --- Comment #16 from Thomas Renninger <trenn@novell.com> 2011-09-15 10:12:46 UTC --- Hm, on kernel bugzilla, there is the additional "resolved documented" state for bugs which would be nice for this one as well. If I understood Joey Lee correctly there is a Windows brightness driver which more and more OEMs are using to which we are not 100% compatible. As there fortunately is an easy workaround, I resolve the bug. If there is a more general problem with brightness interfaces (on this one without acpi_osi=Linux on others this might not work), this sounds as it should get discussed on the acpi or x86_platform mailing list or in a bugzilla.kernel.org bug with the goal to get things work mainline. I could imagine there are similar bugs there where you could attach your acpidump output as another example and offer testing if you want to help. Maybe it helps that someone finds what's missing on Linux and can get fixed/tested if the kernel guy does not have such HW. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=578578 https://bugzilla.novell.com/show_bug.cgi?id=578578#c17 --- Comment #17 from Joey Lee <jlee@suse.com> 2011-09-15 12:11:53 UTC --- (In reply to comment #16)
Hm, on kernel bugzilla, there is the additional "resolved documented" state for bugs which would be nice for this one as well.
If I understood Joey Lee correctly there is a Windows brightness driver which more and more OEMs are using to which we are not 100% compatible. As there fortunately is an easy workaround, I resolve the bug.
Yes, more and more acer machine applied WDDM driver, the spec is here: http://msdn.microsoft.com/en-us/windows/hardware/gg487382.aspx Unfortunately, acer's ODM didn't fully follow this microsoft's spec, because the _BCM must works per this spec's definition.
If there is a more general problem with brightness interfaces (on this one without acpi_osi=Linux on others this might not work), this sounds as it should get discussed on the acpi or x86_platform mailing list or in a bugzilla.kernel.org bug with the goal to get things work mainline.
I could imagine there are similar bugs there where you could attach your acpidump output as another example and offer testing if you want to help. Maybe it helps that someone finds what's missing on Linux and can get fixed/tested if the kernel guy does not have such HW.
Linux Kernel bugzilla still crash, the following is a comment I added in upstream kernel bugzilla, for reference: Unfortunately, this is a BIOS bug because the standard _BCM doesn't work on this machine! You are not the first one, please see: https://bugzilla.kernel.org/show_bug.cgi?id=36322#c22 and https://bugzilla.kernel.org/show_bug.cgi?id=35622#c23 Acer Travelmate 5760 and Acer Aspire 5750G have the same problem like your machine. Microsoft have a new brightness control spec for Windows Vista and Windows 7: http://msdn.microsoft.com/en-us/windows/hardware/gg487382.aspx The problem is: On windows Vista or 7, WDDM driver will control brightness but not through _BCM. In the spec, OEM still need keep the _BCM works fine for compliance with Linux or XP or any other OS doesn't have WDDM driver. But, Acer's OEM didn't follow it, and Acer also didn't follow spec to test machine. I already sent many email to Acer PM, but they didn't response me. :-( Could you please give me your Packard Bell Notebook mode name? And please file a bug on bugzilla.kernel.org? Even I have no solution at this moment... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=578578 https://bugzilla.novell.com/show_bug.cgi?id=578578#c18 --- Comment #18 from Joey Lee <jlee@suse.com> 2011-09-15 12:15:51 UTC --- (In reply to comment #14)
(In reply to comment #13)
Again, this is a machine that have EC firmware problem to handle the brightness level. If the EC firmware works fine, then don't need add acpi_osi=Linux:
To verify it we might need to install Windows (better be Windows 7) on it and see if brightness works. But It's not worth for doing it IMO. :)
Install Windows might not be work, because we need Acer's windows 7 preload image, not just install a standard windows 7. At least download the Windows 7 video driver from acer website and install it. Then compare the brightness control function before acer's driver installed and after. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=578578 https://bugzilla.novell.com/show_bug.cgi?id=578578#c19 --- Comment #19 from Joey Lee <jlee@suse.com> 2011-09-15 12:18:59 UTC --- (In reply to comment #15)
Sorry, that's too much. I would do almost everything to help you, but not installing Windows :). Seriously, even if I would like to try that, I have no Microsoft license available at home anyway. All computers running Linux here.
Yes, I thought you don't need do that, we will have other chance to test and confirm the problem is from Linux didn't have WDDM driver. Thank's for your test and help to confirm the workaround. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com