Summary: | Powerdevil doesn't update brightness slider state when changing brightness by acpi hotkeys | ||
---|---|---|---|
Product: | [Unmaintained] solid | Reporter: | Kamil Neczaj <kneczaj> |
Component: | powermanagement-daemon | Assignee: | Dario Freddi <drf> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | daniel.rocher, highwaystar.ru, neitzke, remur, sznurek, vmatare+kdebug, wstephenson |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Tests Solid's signals for brightness and AC Adapter status. |
Description
Kamil Neczaj
2009-03-24 01:06:35 UTC
Same for me (KDE 4.2.2, Arch Linux, Acer Aspire 5315). I turned out, that Solid can't get current brightness level (Solid::Control::PowerManager::brightness() always returns 0), but HAL can (dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer_backlight org.freedesktop.Hal.Device.LaptopPanel.GetBrightness returns good value). I can set brightness by PowerDevil's slider, and it changes automaticly when I'm setting a new profile. Is this fixed in 4.3? Created attachment 32821 [details]
Tests Solid's signals for brightness and AC Adapter status.
Ok, upper one was bug in my distro - now Solid reports good brightness, but it doesn't delivers signal brightnessChanged when I'm changing brightness by ACPI keys or PowerDevil applet. I sent small test program. Still in kde 4.2.87 I have Asus A6JC notebook works for me now with 4.3 For me doesn't. I've same problem (KDE4.3, Ubuntu 9.10, ASPIRE 5735Z). I tested your little program : Solid reports good brightness, but it doesn't delivers signal brightnessChanged when I'm changing brightness by PowerDevil's slider. change brightness works: - With plasma_applet_battery - When I change profile *** This bug has been confirmed by popular vote. *** I use an alternative solution (Its not very good, but it's works): http://rocher.daniel.free.fr/wiki/wakka.php?wiki=KdeBrightness Confirmed on openSUSE 11.2. This bug unfortunately is a mixture of stuff from ACPI and HAL and it's still hard to say if the brightnessChanged signal is actually delivered. There should be also a duplicate of this one around This is not in most recent kernels, so currently powerdevil has no chance of beeing notified unless it polls the brightness level itself http://thread.gmane.org/gmane.linux.acpi.devel/40383 Should be fixed with UPower backend in 4.6 |