I have a fresh installation of Hardy with the latest updates installed on a Dell Inspiron 6400 laptop. The brightness settings (Fn+Up/Down) work although they seem to skip a level each time.
'/proc/acpi/video/VID/LCD/brightness' tells me that it supports brightness levels 12, 24, 36, 48, 60, 72, 84 and 100. Without gnome-power-manager running pressing Fn+Up will transition up into each level and back down again smoothly.
When gnome-power-manager is running increasing the brightness from 12 I can only get levels 36, 60, 84 and 100. Decreasing the levels from 100 I only get 72, 48, 24 and 12. Running gnome-power-manager with the verbose option shows that when I press the brightness-up button once it is recorded twice. I ran gnome-power-manager in a debugger thinking it was a timing issue and it still happened.
I have included the output from pressing the brightness-up button (Fn+Up) once below. This only happens when gnome-power-manager is running and did not happen using Feisty. I have looked at the code and I cannot see why the button event is triggered twice, I don't have any experience of the code but if you can give me any ideas of where to start I can look into this myself.
Binary package hint: gnome-power-manager
I have a fresh installation of Hardy with the latest updates installed on a Dell Inspiron 6400 laptop. The brightness settings (Fn+Up/Down) work although they seem to skip a level each time.
'/proc/ acpi/video/ VID/LCD/ brightness' tells me that it supports brightness levels 12, 24, 36, 48, 60, 72, 84 and 100. Without gnome-power-manager running pressing Fn+Up will transition up into each level and back down again smoothly.
When gnome-power-manager is running increasing the brightness from 12 I can only get levels 36, 60, 84 and 100. Decreasing the levels from 100 I only get 72, 48, 24 and 12. Running gnome-power-manager with the verbose option shows that when I press the brightness-up button once it is recorded twice. I ran gnome-power-manager in a debugger thinking it was a timing issue and it still happened.
I have included the output from pressing the brightness-up button (Fn+Up) once below. This only happens when gnome-power-manager is running and did not happen using Feisty. I have looked at the code and I cannot see why the button event is triggered twice, I don't have any experience of the code but if you can give me any ideas of where to start I can look into this myself.
Thanks!
[hal_device_ condition_ cb] gpm-button.c:391 (00:11:48): condition= ButtonPressed, details= brightness- up pressed] gpm-button.c:335 (00:11:48): emitting button-pressed : brightness-up screensaver. c:167 (00:11:48): Button press event type=brightness-up _lcd_get_ hw] gpm-brightness- lcd.c:116 (00:11:48): GetBrightness returned level: 0 _lcd_set_ hw] gpm-brightness- lcd.c:155 (00:11:48): Setting 1 of 7 _lcd_up] gpm-brightness- lcd.c:362 (00:11:48): emitting brightness-changed (14) changed_ cb] gpm-backlight.c:755 (00:11:48): Need to display backlight feedback value 14 display_ value] gpm-feedback- widget. c:144 (00:11:48): Displaying 0.140000 on feedback widget changed_ cb] gpm-backlight.c:759 (00:11:48): emitting brightness-changed : 14 condition_ cb] gpm-button.c:391 (00:11:48): condition= ButtonPressed, details= brightness- up pressed] gpm-button.c:335 (00:11:48): emitting button-pressed : brightness-up screensaver. c:167 (00:11:48): Button press event type=brightness-up _lcd_get_ hw] gpm-brightness- lcd.c:116 (00:11:48): GetBrightness returned level: 1 _lcd_set_ hw] gpm-brightness- lcd.c:155 (00:11:48): Setting 2 of 7 _lcd_up] gpm-brightness- lcd.c:362 (00:11:48): emitting brightness-changed (28) changed_ cb] gpm-backlight.c:755 (00:11:48): Need to display backlight feedback value 28 display_ value] gpm-feedback- widget. c:144 (00:11:48): Displaying 0.280000 on feedback widget changed_ cb] gpm-backlight.c:759 (00:11:48): emitting brightness-changed : 28 auto_decrement] gpm-refcount.c:77 (00:11:50): refcount now: 1 auto_decrement] gpm-refcount.c:74 (00:11:50): zero, so sending REFCOUNT_ZERO close_window] gpm-feedback- widget. c:134 (00:11:50): Closing feedback widget
[emit_button_
[button_pressed_cb] gpm-manager.c:999 (00:11:48): Button press event type=brightness-up
[button_pressed_cb] gpm-srv-
[button_pressed_cb] gpm-backlight.c:563 (00:11:48): Button press event type=brightness-up
[gpm_brightness
[gpm_brightness
[gpm_brightness
[brightness_
[gpm_feedback_
[gpm_refcount_add] gpm-refcount.c:100 (00:11:48): refcount now: 1
[gpm_refcount_add] gpm-refcount.c:101 (00:11:48): non zero, so sending REFCOUNT_ADDED
[brightness_
[button_pressed_cb] gpm-info.c:698 (00:11:48): Button press event type=brightness-up
[hal_device_
[emit_button_
[button_pressed_cb] gpm-manager.c:999 (00:11:48): Button press event type=brightness-up
[button_pressed_cb] gpm-srv-
[button_pressed_cb] gpm-backlight.c:563 (00:11:48): Button press event type=brightness-up
[gpm_brightness
[gpm_brightness
[gpm_brightness
[brightness_
[gpm_feedback_
[gpm_refcount_add] gpm-refcount.c:100 (00:11:48): refcount now: 2
[gpm_refcount_add] gpm-refcount.c:101 (00:11:48): non zero, so sending REFCOUNT_ADDED
[brightness_
[button_pressed_cb] gpm-info.c:698 (00:11:48): Button press event type=brightness-up
[gpm_refcount_
[gpm_refcount_
[gpm_feedback_