Created attachment 2806 backtrace This bug has been reported on Ubuntu Launchpad as: https://bugs.launchpad.net/bugs/498715 From the launchpad report: When I start my laptop usually the screen brightness is set to minimum. I have xfce4-power-manager running in e17. However trying to increase the screen brightness using the function keys fails. Running xfce4-power-manager --no-daemon in a terminal gives the following output: (xfce4-power-manager:2106): xfce4-power-manager-WARNING **: could not map keysym 1008ffa8 to keycode and pressing one of the brightness function keys results in a segfault . However after setting the brightness manually via: echo 7 >/sys/class/backlight/sony/brightness xfce4-power-manager works fine and setting the brightness works. Backtrace attached. Description: Ubuntu 9.10 Release: 9.10 $apt-cache policy xfce4-power-manager xfce4-power-manager: Installed: 0.8.4-1ubuntu1 Candidate: 0.8.4-1ubuntu1 Version table: *** 0.8.4-1ubuntu1 0 500 http://au.archive.ubuntu.com karmic/universe Packages 100 /var/lib/dpkg/status
Created attachment 2811 Check brightness icon index Thanks for the report, please try out the attached patch, but if possible, build the power manager with --enable-debug=full, this will help me a lot.
Since i don't have xubuntu, i can't provide a full debug build, i think instead of just saying "Please read the developers comments on the xfce bugzilla, they need some information", you can attach for him/her a full debug build for karmic, and tell him to attach it with gdb, then i will have a helpful back-trace, like that you will be helping me/him/her to solve this issue and improve the software. Still waiting for news...
(In reply to comment #2) > Still waiting for news... Any news on this? i really need to release a bug fix version, but i would like to make sure that this bug is fixed first.
Hi I'm the original bug submitter on launchpad. Sorry for the delay I somehow missed the status update on the launchpad bug. I rebuild xfce4-power-manager with your patch and --enable-debug=full. I don't see a segfault anymore however changing the brightness still does not work until I've once set the brightness manually (echo 7 > /sys/class/backlight/sony/brightness). Attached are the output when running xfce4-power-manager --no-daemon and pressing the brightness change buttons, once when it is not working and the second after I manually set the brightness and it is working. Hope this helps you to track this down. Cheers Jochen
Created attachment 2854 debug output when setting brightness fails
Created attachment 2855 debug output when after setting brightness manually and it works with xfce4-power-manager
(In reply to comment #6) > Created an attachment (id=2855) [details] > debug output when after setting brightness manually and it works with > xfce4-power-manager Please note that this bug is coming from HAL reporting wrong brightness level, but i added a work around of this problem with 0.8.5 which is just release, please try it out and report back.