[Bug 719076] New: No backlight at boot with 11.4 and 12.1m5 on laptop with Mobile Intel GM45 Express Chipset
https://bugzilla.novell.com/show_bug.cgi?id=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c0 Summary: No backlight at boot with 11.4 and 12.1m5 on laptop with Mobile Intel GM45 Express Chipset Classification: openSUSE Product: openSUSE 12.1 Version: Milestone 5 Platform: i686 OS/Version: openSUSE 11.4 Status: NEW Severity: Critical Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: Druonysus@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=451827) --> (http://bugzilla.novell.com/attachment.cgi?id=451827) lsmod output while booted in 11.4 live KDE image with "nomodeset" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:6.0.2) Gecko/20100101 Firefox/6.0.2 I have an eMachines E525 laptop with a Mobile Intel® GM45 Express Chipset. When trying to boot openSUSE 11.4 to 12.1 Milestone 5 live or full install images the backlight on my screen goes stops working during the boot of the graphical environment. If i enter "nomodeset" as a kernel boot parameter the boot process seems to freeze for about 5 minutes and then finally boots into the graphical environment but with a fuzzy/out of focus look. This bug has kept me from upgrading from 11.3... I am sure I'm not the only one out there. Reproducible: Always Steps to Reproduce: 1. insert 11.4 or 12.1 live or full install media 2. do not enter anything as a kernel parameter 3. watch as the backlight turns off Actual Results: with a black screen there is not much you can do. I have been able to boot using "nomodeset" kernel parameter but have not installed due to lack of fix for this issue. Expected Results: boot normally with the backlight activated hardware info: http://www.linlap.com/wiki/acer+emachines+e525 Possibly related bugs: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/772050 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/765438 https://bugzilla.kernel.org/show_bug.cgi?id=31522 http://www.linuxquestions.org/questions/slackware-14/%5Bsolved%5D-brightness... openSUSE forums post: http://forums.opensuse.org/english/get-technical-help-here/install-boot-logi... Video showing the bug and a suggested workaround: http://youtu.be/4EMgU82jkNo -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c1 Roger Luedecke <roger.luedecke@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |roger.luedecke@gmail.com --- Comment #1 from Roger Luedecke <roger.luedecke@gmail.com> 2011-09-20 07:51:29 UTC --- There was some discussion on the factory mailing list regarding a failsafe option for LiveCD and the YaST installer to help users resolve issues like this with Intel and NVidia cards. This I think gives extra impetus to the request for that feature. I have not been able to find a related openFATE feature to post though. -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c2 Michael Chang <mchang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jlee@suse.com, | |mchang@suse.com --- Comment #2 from Michael Chang <mchang@suse.com> 2011-09-20 09:11:40 UTC --- Hi Drew, Have you tried specifying brokenmodules in kernel command line that will let linuxrc blacklist i915 driver for installation [1] ? brokenmodules=i915 I am not sure any other drivers require i915 had to add or not, you might have to check this if this not simply work on you .. [1] http://en.opensuse.org/SDB:Linuxrc#p_brokenmodules -- 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.
brokenmodules=i915 Btw, this option works only with installation media but not with liveCD. The
https://bugzilla.novell.com/show_bug.cgi?id=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c3 --- Comment #3 from Michael Chang <mchang@suse.com> 2011-09-20 09:31:07 UTC --- (In reply to comment #2) purpose for doing this is on read-only media we are not able to persist data across boot and you will lost your modifications on files like /etc/modprobe.d/blacklist. :) -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c4 Bruno Friedmann <bruno@ioda-net.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bruno@ioda-net.ch --- Comment #4 from Bruno Friedmann <bruno@ioda-net.ch> 2011-09-26 11:52:36 UTC --- Hi Drew. To blacklist one or several modules on boot you can use on the grub line blacklist=i915 perhaps adding also the following nomodeset video=intel_legacy,1024x768-24@60 (adapt the resolution to your screen accordly) -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c5 --- Comment #5 from Bruno Friedmann <bruno@ioda-net.ch> 2011-09-26 11:56:57 UTC --- Oh and try one of the new iso 301 or more recent for factory. kernel is now at 3.1.0-rc6 which should contain upstream fixes too. -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c6 --- Comment #6 from Drew Adams <Druonysus@gmail.com> 2011-10-03 06:01:02 UTC --- (In reply to comment #5)
Oh and try one of the new iso 301 or more recent for factory. kernel is now at 3.1.0-rc6 which should contain upstream fixes too.
Well I just got done trying out 12.1 Beta1 and the backlight still goes out during boot. I guess the 3.0 kernel didn't fix that. I tried all the kernel boot peramiter you told me to try Bruno. None of them worked. "nomodeset" works but everything looks like crap. Any other ideas? -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c7 --- Comment #7 from Drew Adams <Druonysus@gmail.com> 2011-10-03 06:29:29 UTC --- *perimeters -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flag| |SHIP_STOPPER- -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c8 --- Comment #8 from Drew Adams <Druonysus@gmail.com> 2011-11-07 02:47:31 UTC --- here is the lsmod output of my working 11.3 install: Module Size Used by ip6t_LOG 5182 6 xt_tcpudp 2107 2 xt_pkttype 912 3 ipt_LOG 5119 6 xt_limit 1673 12 vmsync 3186 0 vmblock 11234 1 af_packet 19192 4 snd_pcm_oss 47343 0 snd_mixer_oss 16449 1 snd_pcm_oss snd_seq 57105 0 snd_seq_device 6566 1 snd_seq edd 8720 0 mperf 1255 0 ip6t_REJECT 4311 3 nf_conntrack_ipv6 18225 4 ip6table_raw 1187 1 xt_NOTRACK 816 4 ipt_REJECT 2152 3 xt_state 1162 8 iptable_raw 1246 1 iptable_filter 1418 1 ip6table_mangle 1588 0 nf_conntrack_netbios_ns 1318 0 nf_conntrack_ipv4 8691 4 nf_conntrack 73918 5 nf_conntrack_ipv6,xt_NOTRACK,xt_state,nf_conntrack_netbios_ns,nf_conntrack_ipv4 nf_defrag_ipv4 1201 1 nf_conntrack_ipv4 ip_tables 12172 2 iptable_raw,iptable_filter ip6table_filter 1359 1 ip6_tables 13508 4 ip6t_LOG,ip6table_raw,ip6table_mangle,ip6table_filter x_tables 16414 16 ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,ip6table_raw,xt_NOTRACK,ipt_REJECT,xt_state,iptable_raw,iptable_filter,ip6table_mangle,ip_tables,ip6table_filter,ip6_tables fuse 66260 1 loop 14417 0 dm_mod 72580 0 arc4 1281 2 ecb 1967 2 snd_hda_codec_realtek 235723 1 snd_hda_intel 24822 8 ath9k 76908 0 ath9k_common 3037 1 ath9k snd_hda_codec 98336 2 snd_hda_codec_realtek,snd_hda_intel snd_hwdep 5990 1 snd_hda_codec snd_pcm 86800 5 snd_pcm_oss,snd_hda_intel,snd_hda_codec mac80211 243960 2 ath9k,ath9k_common snd_timer 21318 4 snd_seq,snd_pcm uvcvideo 60843 0 ath9k_hw 233234 2 ath9k,ath9k_common snd 64734 22 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer iTCO_wdt 9926 0 videodev 39358 1 uvcvideo sr_mod 14351 0 ath 8743 2 ath9k,ath9k_hw sg 27412 0 cdrom 37760 1 sr_mod cfg80211 155823 4 ath9k,ath9k_common,mac80211,ath v4l1_compat 14629 2 uvcvideo,videodev pcspkr 1614 0 i2c_i801 9949 0 joydev 9391 0 iTCO_vendor_support 2570 1 iTCO_wdt soundcore 7013 1 snd battery 9698 0 rfkill 17106 1 cfg80211 atl1c 34263 0 snd_page_alloc 7817 2 snd_hda_intel,snd_pcm ac 3051 0 wmi 7467 0 xfs 932294 3 exportfs 3814 1 xfs sd_mod 36851 5 usbhid 44717 0 hid 68690 1 usbhid uhci_hcd 25788 0 ahci 36862 4 i915 309510 3 drm_kms_helper 29179 1 i915 libata 185875 1 ahci ehci_hcd 53482 0 drm 177690 4 i915,drm_kms_helper i2c_algo_bit 5668 1 i915 rtc_cmos 10994 0 rtc_core 17653 1 rtc_cmos rtc_lib 2441 1 rtc_core i2c_core 26763 6 videodev,i2c_i801,i915,drm_kms_helper,drm,i2c_algo_bit video 21141 1 i915 button 5417 1 i915 intel_agp 27571 2 i915 usbcore 192503 5 uvcvideo,usbhid,uhci_hcd,ehci_hcd output 2031 1 video scsi_mod 159273 4 sr_mod,sg,sd_mod,libata fan 3539 0 thermal 17293 0 processor 40343 1 thermal_sys 14735 4 video,fan,thermal,processor hwmon 2060 1 thermal_sys -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c9 --- Comment #9 from Drew Adams <Druonysus@gmail.com> 2011-11-07 09:46:02 UTC --- I think I am starting to get somewhere... I am using a 12.1 Live KDE RC2 image on a USB flash drive. if I put "acpi_osi=Linux" as a boot parameter my backlight still stops working but if I use the Fn+Left-key (brightness control down... oddly enough), I can cause the brightness to go up on my screen. Once booted I have checked the value in /sys/class/backlight/acpi_video0/brightness and it is set to 0 (in 11.3 this is set to 9)... I figure I can do an install of 12.1 and change this value to 9. Here is the output of lsmod | grep video uvcvideo 71364 0 videodev 94691 1 uvcvideo i2c_core 34010 6 videodev,i2c_i801,i915,drm_kms_helper,drm,i2c_algo_bit video 19101 1 i915 thermal_sys 20200 3 thermal,processor,video usbcore 190567 7 uvcvideo,usbhid,usb_storage,uas,uhci_hcd,ehci_hcd (posing this from 12.1 KDE Live RC2 right now... it looks amazing! -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c10 --- Comment #10 from Drew Adams <Druonysus@gmail.com> 2011-11-08 19:01:20 UTC --- UPDATE: I have installed 12.1 RC2 on the laptop! I changed the value in /sys/class/backlight/acpi_video0/brightness to 9 but it still boots without backlight both if I use and don't use "acpi_osi=Linux" at boot... The only difference is that if I use "acpi_osi=Linux" I can brighten the screen once the backlight turns off. I'm still looking for some way to fix this issue. -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c11 --- Comment #11 from Rajko Matovic <rajko@opensuse.org> 2011-11-09 00:22:39 UTC --- Workaround: echo 9 > /sys/class/backlight/acpi_video0/brightness will not persist over reboot. Try to put that command in: /etc/init.d/boot.local Please report does it work this way. Also, taking that "acpi_osi=Linux" brings improvement, it seems that BIOS turns some features off for unknown operating systems. -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c12 Joey Lee <jlee@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |Druonysus@gmail.com --- Comment #12 from Joey Lee <jlee@suse.com> 2011-11-09 09:01:59 UTC --- Hi Drew, Could you please attach acpidump file on this bug? Just need: acpidump > acpidump.dat Then, please attach acpidump.dat file. I want to check with the standard _BCM method not work on this machine. Thank's -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c13 --- Comment #13 from Drew Adams <Druonysus@gmail.com> 2011-11-09 11:20:22 UTC --- Created an attachment (id=461146) --> (http://bugzilla.novell.com/attachment.cgi?id=461146) acpidump this is the info from acpidump -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c14 Rajko Matovic <rajko@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|Druonysus@gmail.com | --- Comment #14 from Rajko Matovic <rajko@opensuse.org> 2011-11-09 13:35:36 UTC --- Remove NEEDINFO. Attachment is in previous comment. -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c15 Joey Lee <jlee@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |Druonysus@gmail.com --- Comment #15 from Joey Lee <jlee@suse.com> 2011-11-10 03:31:35 UTC --- (In reply to comment #13)
Created an attachment (id=461146) --> (http://bugzilla.novell.com/attachment.cgi?id=461146) [details] acpidump
this is the info from acpidump
First, I need point out here have 2 issues: a. backlight didn't enable when system boot b. Brightness control function keys (Fn+left/right) don't work unless add acpi_osi=Linux The first issue related KMS and i915 driver, the second issue is a BIOS problem. I am focus on the SECOND issue. After traced DSDT, on this eMachines E525 machine, Fn+right (brightness up) emit _Q12 event, and Fn+left (brightness left) emit _Q11 event. When BIOS detected OS is Vista, it emit 0x86 to notify LCD or DD02 device, acpi VGA driver evaluate LCD/DD02's _BCM to change brightness. In _BCM, it write brightness level value to EC's BRTS register, unfortunately, looks like the EC firmware didn't change brightness level. Method (_BCM, 1, NotSerialized) { Divide (Arg0, 0x0A, Local0, Local1) Decrement (Local1) Store (Local1, ^^^^LPC.EC0.BRTS) # write value to BRTS register of EC } But, why add acpi_osi=Linux works for brightness key? Because in DSDT, any other non-Vista OS will direct touch BCLP register of VGA to change brightness. In AINT: If (LEqual (Arg0, One)) /* write BCLP */ { Add (Arg1, One, Arg1) Store (Divide (Multiply (Arg1, 0xFF), 0x0A, ), BCLP) Or (BCLP, 0x80000000, BCLP) Store (0x02, ASLC) } This is a BIOS issue: The LCD panel's brightness control lined to VGA chip but BIOS write value to EC register but not VGA register in _BCM method. Does brightness control function key (Fn+right/left) works before openSUSE 11.4? Does it work on openSUSE 11.3? -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c Michael Chang <mchang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #461146|video/mpeg |application/octet-stream mime type| | -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c16 Drew Adams <Druonysus@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|Druonysus@gmail.com | --- Comment #16 from Drew Adams <Druonysus@gmail.com> 2011-11-10 06:12:37 UTC --- the brightness controls did NOT work under 11.3... but it booted with the brightness at full level and I never worried about it. I knew before buying the laptop that the brightness controls didn't work because it was documented on linlap.com (see http://www.linlap.com/wiki/acer+emachines+e525). The website documented a workaround but I never tried it as I just never cared as I can't even remember the last time I even wanted to dim my brightness. However, as of 11.4 the backlight stopped working all together and as a result I never got to run 11.4 on the laptop. -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c17 --- Comment #17 from Joey Lee <jlee@suse.com> 2011-11-10 08:24:11 UTC --- (In reply to comment #16)
the brightness controls did NOT work under 11.3... but it booted with the brightness at full level and I never worried about it. I knew before buying the laptop that the brightness controls didn't work because it was documented on linlap.com (see http://www.linlap.com/wiki/acer+emachines+e525). The website documented a workaround but I never tried it as I just never cared as I can't even remember the last time I even wanted to dim my brightness. However, as of 11.4 the backlight stopped working all together and as a result I never got to run 11.4 on the laptop.
OK, thank's for your reply. The brightness control key not work is BIOS issue, only one solution is use acpi_osi=Linux to workaround it and it only for function key. So, in Comment#11, even we try to set brightness level through /sys/class/backlight/acpi_video0/brightness, I don't think it works because the _BCM behind acpi_video0 is broken. Simply say, we cann't workaround original issue by access acpi_video0/brightness because it broken. (BIOS problem) Back to our original issue: a. backlight didn't enable when system boot I thought this issue related to i915's combination mode. Michael Chang have experience on it. -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c18 Michael Chang <mchang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |Druonysus@gmail.com --- Comment #18 from Michael Chang <mchang@suse.com> 2011-11-10 10:06:40 UTC --- (In reply to comment #17)
I thought this issue related to i915's combination mode. Michael Chang have experience on it.
This issue is much like i915 kms regression from 2.6.38-rc8 (bko#31522). No good fix to it so far as it is firmware(bios) related (As I know this regression only reported on ACER laptops, not seen on any other model so far). Well .. to workaround it is possible by accessing the LPBC register directly instead of through ACPI (it also access LPBC but somewhat in a complicated path..). Let me know how the commands work on your side ? $ su $ setpci -s $(lspci | grep -i vga | cut -d" " -f1) F4.B=22 $ setpci -s $(lspci | grep -i vga | cut -d" " -f1) F4.B=66 $ setpci -s $(lspci | grep -i vga | cut -d" " -f1) F4.B=AA $ setpci -s $(lspci | grep -i vga | cut -d" " -f1) F4.B=FF Your back-light should should be at max level when set F4.B=FF 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c19 --- Comment #19 from Michael Chang <mchang@suse.com> 2011-11-18 03:09:55 UTC --- Drew, Would you please give this kernel boot parameter [1] a try ? video.use_bios_initl_backlight=0 [1] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=... 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c20 --- Comment #20 from Drew Adams <Druonysus@gmail.com> 2011-11-19 22:52:05 UTC --- (In reply to comment #18)
(In reply to comment #17)
I thought this issue related to i915's combination mode. Michael Chang have experience on it.
This issue is much like i915 kms regression from 2.6.38-rc8 (bko#31522). No good fix to it so far as it is firmware(bios) related (As I know this regression only reported on ACER laptops, not seen on any other model so far).
Well .. to workaround it is possible by accessing the LPBC register directly instead of through ACPI (it also access LPBC but somewhat in a complicated path..).
Let me know how the commands work on your side ?
$ su $ setpci -s $(lspci | grep -i vga | cut -d" " -f1) F4.B=22 $ setpci -s $(lspci | grep -i vga | cut -d" " -f1) F4.B=66 $ setpci -s $(lspci | grep -i vga | cut -d" " -f1) F4.B=AA $ setpci -s $(lspci | grep -i vga | cut -d" " -f1) F4.B=FF
Your back-light should should be at max level when set F4.B=FF
Thanks.
Hey Michael, sorry I didn't get back with the responses to this sooner. I have been busy with job interviews and such... real life just got in the way and I didn't have a lot of time to sit down and try the solutiona and respond properly. When I did finally try these commands: each one changed the brightness of my screen to different levels and the last command turned the backlight all the way OFF. Once the last command was entered, the backlight was off but I could still turn it back up with the Fn+left key (labeled as brightness down). The fist command (setpci -s $(lspci | grep -i vga | cut -d" " -f1) F4.B=22) didn't change the brightness of my screen at all. It stayed at max brightness... Or near as I could tell. Maybe the bios is interpreting these values backwards? Is that possible? Thanks for the help. Sorry again for the late response. -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c21 --- Comment #21 from Michael Chang <mchang@suse.com> 2011-11-22 09:25:21 UTC --- (In reply to comment #20)
The fist command (setpci -s $(lspci | grep -i vga | cut -d" " -f1) F4.B=22) didn't change the brightness of my screen at all. It stayed at max brightness... Or near as I could tell. Maybe the bios is interpreting these values backwards? Is that possible?
Thanks for the info. It's very helpful. I think it's possible because of you has proved it ;) I think a patch like below would be able to deal with your problem (and break other people's). Would you mind to help testing it? I could provide repository to install kernel packages that contains the patch. If the result is positive, I would add your laptop in the quirk list and try to upstream it. force-reversed-lpbc.patch : Index: linux-3.1-bnc_719076/drivers/gpu/drm/i915/intel_panel.c =================================================================== --- linux-3.1-bnc_719076.orig/drivers/gpu/drm/i915/intel_panel.c +++ linux-3.1-bnc_719076/drivers/gpu/drm/i915/intel_panel.c @@ -207,10 +207,13 @@ u32 intel_panel_get_backlight(struct drm val >>= 1; if (is_backlight_combination_mode(dev)){ + u8 reversed_lpbc = 1; u8 lbpc; val &= ~1; pci_read_config_byte(dev->pdev, PCI_LBPC, &lbpc); + if (reversed_lpbc) + lbpc = 0xff - lbpc; val *= lbpc; } } @@ -238,9 +241,12 @@ static void intel_panel_actually_set_bac if (is_backlight_combination_mode(dev)){ u32 max = intel_panel_get_max_backlight(dev); + u8 reversed_lpbc = 1; u8 lbpc; lbpc = level * 0xfe / max + 1; + if (reversed_lpbc) + lbpc = 0xff - lbpc; level /= lbpc; pci_write_config_byte(dev->pdev, PCI_LBPC, lbpc); } -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c22 --- Comment #22 from Michael Chang <mchang@suse.com> 2011-11-23 07:13:12 UTC --- Drew, FWIW. I finished the test kernel package, you could follow the instruction here and test. $ zypper ar http://download.opensuse.org/repositories/home:/michael-chang:/branches:/ope... kernel-bnc719076 $ zypper in -r kernel-bnc719076 kernel-default And don't forget to edit /etc/zypp/zypp.conf to allow multiple kernel version installed. multiversion = provides:multiversion(kernel) Please take your time and looking forward to hear any update for this. :) -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c23 Drew Adams <Druonysus@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|Druonysus@gmail.com | --- Comment #23 from Drew Adams <Druonysus@gmail.com> 2011-11-24 01:46:23 UTC --- (In reply to comment #22)
Drew,
FWIW. I finished the test kernel package, you could follow the instruction here and test.
$ zypper ar http://download.opensuse.org/repositories/home:/michael-chang:/branches:/ope... kernel-bnc719076 $ zypper in -r kernel-bnc719076 kernel-default
And don't forget to edit /etc/zypp/zypp.conf to allow multiple kernel version installed.
multiversion = provides:multiversion(kernel)
Please take your time and looking forward to hear any update for this. :)
I added the repo (after changing /etc/zypp/zypp.conf as you has mentioned) and then installed the new test kernel... .. once reboot after selecting the new kernel from the GRUB menu openSUSE begins to load, the screen flickers (this is where the backlight normally turns off) and the backlight stays on but the screen goes black and the OS seems to stop loading (we never get to the point where Geeko's eyes starts moving). I tried letting it sit for a bit but nothing changes and the openSUSE never finishes loading. But on the plus side the backlight stays on! :) -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c24 --- Comment #24 from Drew Adams <Druonysus@gmail.com> 2011-11-24 06:58:57 UTC --- I started looking around on emachines' website to see if they have some BIOS update or something. When I select my computer under their support section, and go to the BIOS tab, they have a bunch of things listed (the support page for my model is: http://support.gateway.com/us/en/emac/product/default.aspx?tab=1&modelId=1257). Under the BIOS tab they have a download that's title is "Fixes CCFL panel brightness abnormal in the darkest level." and was posted to their site on 08/23/2010. Does anyone think this might fix the issue? -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c25 --- Comment #25 from Michael Chang <mchang@suse.com> 2011-11-24 08:00:09 UTC --- (In reply to comment #24)
08/23/2010. Does anyone think this might fix the issue?
The description sounds promising to me. I would suggest you give it a try. This is a right decision because the root cause is on bios side and impossible to have general fix in kernel. Wish you have good luck with the new bios. :) -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c26 --- Comment #26 from Michael Chang <mchang@suse.com> 2011-11-24 08:23:23 UTC --- (In reply to comment #23)
... once reboot after selecting the new kernel from the GRUB menu openSUSE begins to load, the screen flickers (this is where the backlight normally turns
I think the flicking is due to kernel mode setting and should be fine.
off) and the backlight stays on but the screen goes black and the OS seems to stop loading (we never get to the point where Geeko's eyes starts moving). I tried letting it sit for a bit but nothing changes and the openSUSE never finishes loading. But on the plus side the backlight stays on! :)
No idea why the patch would lead to such serious side effect .. I suspect this might be *other* kernel issue? Can't know the kernel I built the patch against is same with yours .. it would be great if you could provide the changelog info of your kernel $ rpm -q --changelog <your kernel package> If you are still willing to test a bit, try to use the kernel flavor same with yours, for eg like kernel-desktop. Above is all up to you, hope bios had fixed the issue. :) -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c27 --- Comment #27 from Drew Adams <Druonysus@gmail.com> 2011-11-25 02:29:04 UTC --- Created an attachment (id=464007) --> (http://bugzilla.novell.com/attachment.cgi?id=464007) Kernel changelog on kernel-default-3.1.0-1.2.1.i586 this is the output of the command "rpm -q --changelog kernel-default-3.1.0-1.2.1.i586" -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c28 --- Comment #28 from Drew Adams <Druonysus@gmail.com> 2011-11-25 02:40:04 UTC --- (In reply to comment #25)
(In reply to comment #24)
08/23/2010. Does anyone think this might fix the issue?
The description sounds promising to me. I would suggest you give it a try. This is a right decision because the root cause is on bios side and impossible to have general fix in kernel. Wish you have good luck with the new bios. :)
Well after I downloaded the file from eMachines site and unrared it, It turns out that the tool they give to flash the BIOS is Windows only and wont run under Wine or DOSbox. I guess I won't be upgrading the BIOS. -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c Michael Chang <mchang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #464007|video/mpeg |application/octet-stream mime type| | -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c29 --- Comment #29 from Michael Chang <mchang@suse.com> 2011-11-25 07:37:59 UTC --- (In reply to comment #27)
this is the output of the command "rpm -q --changelog kernel-default-3.1.0-1.2.1.i586"
Looks like your default kernel is same with the patch based on => the patch crashes the kernel .. Try to check the code a little more and still no idea why the kernel would crash. You could either remove vga=0x317 boot option OR hit "ESC" during boot splash to disable it then see where the kernel hangs. -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c30 Tamás Németh <nice@titanic.nyme.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nice@titanic.nyme.hu --- Comment #30 from Tamás Németh <nice@titanic.nyme.hu> 2011-11-30 10:57:01 UTC --- Isn't this bug related to this one: https://bugzilla.novell.com/show_bug.cgi?id=727978 ? -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c31 --- Comment #31 from Michael Chang <mchang@suse.com> 2012-03-16 07:24:27 UTC --- Drew, Kernel upstream recently had patch arrived to deal with such hardware, maintain them in quirks of invert brightness and treat them differently with normal one. Maybe new kernel would fix your issue (if merged to stable), if not check whether your hardware is on the quirk list. Thanks. ====== Mark the Acer Aspire 5734Z that this machines requires the module to invert the panel backlight brightness value after reading from and prior to writing to the PCI configuration space. Signed-off-by: Carsten Emde <C.E...@osadl.org> http://groups.google.com/group/linux.kernel/browse_thread/thread/76785099b22238a6/5fdf77d1461fecb5?show_docid=5fdf77d1461fecb5&pli=1 -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel-maintainers@forge.pr |eich@suse.com |ovo.novell.com | -- 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=719076 https://bugzilla.novell.com/show_bug.cgi?id=719076#c32 Bruno Friedmann <bruno@ioda-net.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #32 from Bruno Friedmann <bruno@ioda-net.ch> 2013-10-02 08:19:23 UTC --- As 12.1 is out of maintenance, I close the bug. Feel free to reopen with changing openSUSE version if this is stil reproducible -- 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