[Bug 404627] New: Changing Notebook backlight fails if kpowersave is running
https://bugzilla.novell.com/show_bug.cgi?id=404627 User grf-chz@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=404627#c4 Summary: Changing Notebook backlight fails if kpowersave is running Product: openSUSE 11.0 Version: Final Platform: 32bit OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: KDE3 AssignedTo: kde-maintainers@suse.de ReportedBy: grf-chz@gmx.de QAContact: qa@suse.de Found By: --- If kpowersave is running and I'm trying to change the brightness of the backlight with Fn-buttons the backlight brightness changes in a chaotic way and the result is undefined (mostly the maximum value). If kpowersave is not running, the Fn-buttons work as expected. The brightness will be set also to maximum during each kernel start. Setting the backlight using "xbacklight" works, also if kpowersave is running. Content of my kpowersaverc: [Acoustic] blankSs=false brightnessPercent=48 disableDPMS=true disableNotifications=false enableBrightness=false specPMSettings=false specSsSettings=false [General] AlreadyStarted=true Autostart=false [Notification Messages] systemtrayquitKPowersave=false [Performance] blankSs=false brightnessPercent=47 disableDPMS=true disableNotifications=false disableSs=false enableBrightness=false powerOffAfter=110 specPMSettings=false standbyAfter=90 suspendAfter=100 [Powersave] autoDimm=false autoDimmSchemeBlacklistEnabled=false disableDPMS=true disableNotifications=false enableBrightness=false specPMSettings=false specSsSettings=false [Presentation] blankSs=false brightnessPercent=50 disableNotifications=false enableBrightness=false specPMSettings=false specSsSettings=false Some Information about my Hardware: HP Compaq 6510b lspci output: 00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c) 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c) 00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03) 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03) 00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03) 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03) 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03) 00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03) 00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03) 00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03) 00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03) 00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3) 00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03) 00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03) 00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03) 02:04.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b6) 02:04.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 02) 10:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) 18:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02) lshal output (only regarding backlight): udi = '/org/freedesktop/Hal/devices/computer_backlight' info.capabilities = {'laptop_panel'} (string list) info.category = 'laptop_panel' (string) info.interfaces = {'org.freedesktop.Hal.Device.LaptopPanel'} (string list) info.parent = '/org/freedesktop/Hal/devices/computer' (string) info.product = 'Generic Backlight Device' (string) info.subsystem = 'backlight' (string) info.udi = '/org/freedesktop/Hal/devices/computer_backlight' (string) laptop_panel.access_method = 'general' (string) laptop_panel.num_levels = 11 (0xb) (int) linux.hotplug_type = 2 (0x2) (int) linux.subsystem = 'backlight' (string) linux.sysfs_path = '/sys/devices/virtual/backlight/acpi_video0' (string) org.freedesktop.Hal.Device.LaptopPanel.method_argnames = {'brightness_value', ''} (string list) org.freedesktop.Hal.Device.LaptopPanel.method_execpaths = {'hal-system-lcd-set-brightness', 'hal-system-lcd-get-brightness'} (string list) org.freedesktop.Hal.Device.LaptopPanel.method_names = {'SetBrightness', 'GetBrightness'} (string list) org.freedesktop.Hal.Device.LaptopPanel.method_signatures = {'i', ''} (string list) grep . /sys/class/backlight/* -R gives: /sys/class/backlight/acpi_video0/bl_power:0 /sys/class/backlight/acpi_video0/brightness:6 /sys/class/backlight/acpi_video0/actual_brightness:6 /sys/class/backlight/acpi_video0/max_brightness:10 -- 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=404627
Lubos Lunak
https://bugzilla.novell.com/show_bug.cgi?id=404627
User dgege1@hotmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=404627#c1
Georges A.K.
https://bugzilla.novell.com/show_bug.cgi?id=404627
User dkukawka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=404627#c2
Danny Kukawka
https://bugzilla.novell.com/show_bug.cgi?id=404627
User dgege1@hotmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=404627#c3
--- Comment #3 from Georges A.K.
https://bugzilla.novell.com/show_bug.cgi?id=404627
User grf-chz@gmx.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=404627#c4
--- Comment #4 from Michael Mueller
https://bugzilla.novell.com/show_bug.cgi?id=404627
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=404627#c5
Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=404627
User grf-chz@gmx.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=404627#c6
--- Comment #6 from Michael Mueller
https://bugzilla.novell.com/show_bug.cgi?id=404627
User grf-chz@gmx.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=404627#c7
--- Comment #7 from Michael Mueller
https://bugzilla.novell.com/show_bug.cgi?id=404627
User grf-chz@gmx.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=404627#c8
--- Comment #8 from Michael Mueller
https://bugzilla.novell.com/show_bug.cgi?id=404627
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=404627#c9
Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=404627
User dkukawka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=404627#c10
--- Comment #10 from Danny Kukawka
https://bugzilla.novell.com/show_bug.cgi?id=404627
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=404627#c11
Thomas Renninger
I don't see a reason why dcdbas should not handle brightness It violates the spec. All others are following up the Vista implementation. Also they are doing this in a very ugly way...
Hmm, but it is a nice example for my blacklist. Are you sure about:
The dcdbas module is needed on all dell machines (and only there) to change everything that has to do with bios as e.g. brightness The driver itself states that it must only be loaded on PowerEdge servers. Anyway, I'll integrate that the video.ko driver does keep it's fingers away from brightness/display stuff on dell machines.
Btw. The dcdbas stuff has nothing to do with the HP problem. Yes, I know.
-- 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=404627
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=404627#c12
Thomas Renninger
No, the problem was that the backlight was simultaneously being altered by two pieces of code. kpowersave is doing the backlight control via hal (I assume), and hal should simply not provide the Dell backlight control on systems that have ACPI video backlight control. There's no need to have this policy in the kernel. Do you know Dells working with the video.ko driver?
Presumably the Inspiron 640M, since otherwise there's no way that that bug could trigger.
If you tell me video.ko, best with an IGD device and without one is working there, it can be removed. Even then talking with dcdbas developers how to inform their user space app first is a good idea.
The userspace app that needs fixing is hal. I'm already working on that.
As Dell is cooking their own soup here and the dcdbas driver was reported to work correctly with ACPI brightness functions in BIOS it is ok to blacklist Dells here until the first test reports are coming in telling us that video.ko is actually working correctly there. Testing will be easy via boot param.
No, really, let's just fix the problem properly. -- 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=404627
User grf-chz@gmx.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=404627#c13
--- Comment #13 from Michael Mueller
participants (1)
-
bugzilla_noreply@novell.com