Bug 496975
Summary: | gnome-power-manager: "Cannot get laptop panel brightness" | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andrew McNabb <amcnabb> | ||||||||
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | low | ||||||||||
Version: | 15 | CC: | chkr, collura, daduke, goriccardo, itamar, kernel-maint, luca.botti, mclasen, nick.steeves, nori.f, oliver.clark, ralph, richard | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | i386 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | kernel-2.6.40.6-0.fc15 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2011-10-05 23:58:29 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
Andrew McNabb
2009-04-21 21:22:52 UTC
(In reply to comment #0) > Please let me know if there is any other information I can provide. The output of gnome-power-bugreport.sh and xbacklight please. Thanks. Created attachment 340751 [details]
output from gnome-power-bugreport.sh
xbacklight reported "No outputs have backlight property". Right, so neither HAL or X show a backlight device. GNOME Power Manager just can't do anything in this case. Do you have any /sys/class/backlight entries? Nope. The directory is empty. I suppose that means this is a kernel issue, right? Should this bug be reassigned to a different component? Since there are no /sys/class/backlight entries, it doesn't appear to be a problem with gnome-power-manager. Moving this to the kernel side Same here. I'm using the Samsung NC10 with newest BIOS update (v.07CA). Worked fine with Fedora 10. Same for me - no more control with latest kernel. History is - installed from preview live cd with usb key, all working (not tried the applet, though). In latest updates no more backlight adjustment (also the fn+cursor keys do not work). Always the samsung nc10 Just another me too. The brightness control never worked for me with Fedora 11, I installed from the i386 Preview Release install DVD via an optical drive. Both the brightness applet and fn + up/down have not worked with the kernel that came with the DVD (2.6.29.1-102.fc11.i686.PAE) or the latest (2.6.29.2-126.fc11.i686.PAE). As with the others this is a Samsung NC10 running BIOS version 07CA. Fedora 10 can control the backlight correctly. same here. This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping When I add the 'nomodeset vga=0x315' to my boot parameters (or to grub.conf) I can change my backlight again with the Fn and cursor up and down keys. Kernel: 2.6.29.4-167.fc11.i686.PAE Laptop: Samsung NC10 NB While backlight is now changeable again when booting with nomodeset, /sys/class/backlight is still empty and all /proc/acpi/video/GFX0/DD0?/brightness entries still show <not supported>. I've got the same problem on my NC10, it worked on F10 and broke after upgrade to F11. Some workarounds are described here: http://fedoraforum.org/forum/showthread.php?p=1226482 The backlight control should now work with kernel mode setting once you have updated to the latest BIOS release version 11CA. Oliver, that's a good workaround and I'll definitely do it. Unfortunately, it doesn't really fix the bug because things used to work with older BIOS releases. Thanks for the tip. i have up to date bios on toshiba L355D-S7901 and it doenst work for me either. worked fine with f10 but fails now with f11. correction to comment-18. comments were more for https://bugzilla.redhat.com/show_bug.cgi?id=524090 https://bugzilla.redhat.com/show_bug.cgi?id=500936 for me the slider worked but not well: where slider changes brightness but forgets its settings after reboot. This message is a reminder that Fedora 11 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 11. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '11'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 11's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 11 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping please change this to fc12 as it STILL doesnt work. kernel-2.6.32.11-99.fc12 (x86_64) (yes this bug line is originally classified i386) Created attachment 426925 [details]
output of gnome-power-bugreport.sh
Fedora 13 with kernel 2.6.33.5-124.fc13.i686.PAE, g-p-m 2.30.1 and hal 0.5.14 gives me this error. I have a Lenovo T61p laptop with the nouveau driver. The video card is a "NVIDIA GPU Quadro FX 570M (G84GL) at PCI:1:0:0 (GPU-0)". When I open the gnome panel brightness applet, the slider sticks at 100%, and when it closes, the applet shows a red circle with a slash and says "Cannot get laptop panel brightness". I just switched from Fedora 8, and it was working under Fedora 8 with nvidia's driver.
If I right-click on the applet and open the About window, and then left-click on the applet, the slider works temporarily while the About window is open.
I also can change the brightness at a command line with "echo # > /sys/devices/virtual/backlight/acpi_video0/brightness" (where # is 0 to 15).
William
williambader
woot. looking like fedora core 14 beta (kde and gnome) find and correctly remember the brightness as set from system-power_management menu item to access the gnome-power-manager. (though i haven't tried the gnome-panel applet brightness control) thanks for the fix. This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 12's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Still doesn't work in F13, but I haven't tried F14 yet. This is an update for the status of samsung-backlight in F15. I'm using Fuduntu, which is, unless I am mistaken, the F15 kernel built for F14. The way I usually make the backlight of my Samsung n150 work, is by compiling and installing the samsung_backlight kernel module. I'm not sure where I originally found it, but it's GPL: * Copyright (C) 2009 Greg Kroah-Hartman (gregkh) * Copyright (C) 2009 Novell Inc. * Modified 2010 Kobelkov Sergey (sergeyko81) The trouble is, whatever mechanism xbacklight and GPM use causes the screen to wildly blink whenever they try to change the backlight value. I've heard rumours that samsung_backlight.c-related code is being worked on for including into linux-2.6.39, as a platform driver. Would it be possible to work out the issues in the current code and/or get the 2.6.39 platform driver into a state which is suitable for backporting to F15? Thanks! Created attachment 489622 [details]
Tarball of relevant logs
Tarball of relevant logs with and without samsung_backlight.ko loaded. Dmesg didn't provide any clues. Xorg.0.log reported
(EE) intel(0): failed to open /sys/class/backlight/samsung/actual_brightness for backlight control: No such file or directory
when the module is not loaded.
Confirmed to still not work with F15 Beta1 Live Desktop. Linux-2.6.38.2-9.fc15.i686. I have build the out-of-tree samsung-backlight module against this kernel. Expected behaviour is: Backlight changes. Observed behavior is: OSD shows that the key-presses are being correctly registered; however, the backlight remains constant. The backlight on this Samsung n150 cannot be controlled through ACPI. It can be changed with setpci, or with the samsung-backlight module, which also (I assume) pokes PCI device 00:02.0 directly. Linux-2.6.38.2 still does not support this. The NC10 support was added in the 2.6.39 kernel and should be included in the latest 2.6.40 F15 updates (commit 2d70b73a) The n150 support was fixed in the 3.1 kernel and is likely to be present in the upcoming F16 Beta (commit 78a7539b) I've started a scratch build of an F15 kernel with commit 78a7539b backported. Those of you with Samsung NC10 and n150 machines, please test when you get a chance (and it finishes building): http://koji.fedoraproject.org/koji/taskinfo?taskID=3382450 using this kernel, I can confirm that the brightness shortcut keys are now working on the NC10. Good job. thanks, -Christian (In reply to comment #30) > I've started a scratch build of an F15 kernel with commit 78a7539b backported. > Those of you with Samsung NC10 and n150 machines, please test when you get a > chance (and it finishes building): > > http://koji.fedoraproject.org/koji/taskinfo?taskID=3382450 Thank you for testing. I've committed the patch to the Fedora git repo and it will be included in the next kernel build. kernel-2.6.40.6-0.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/kernel-2.6.40.6-0.fc15 Package kernel-2.6.40.6-0.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing kernel-2.6.40.6-0.fc15' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/kernel-2.6.40.6-0.fc15 then log in and leave karma (feedback). kernel-2.6.40.6-0.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |