After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 655534 - one press of hard (Fn) brightness key changes backlight brightness 3 steps
one press of hard (Fn) brightness key changes backlight brightness 3 steps
Status: RESOLVED OBSOLETE
Product: gnome-power-manager
Classification: Deprecated
Component: gnome-power-manager
2.32.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-07-28 19:55 UTC by steubens
Modified: 2020-11-06 20:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description steubens 2011-07-28 19:55:32 UTC
i *think* i only see g-p-m trying to set the backlight once, but it goes to level 6 then level 7 in the log below:

TI:12:30:20	TH:0xce80a0	FI:gpm-button.c	FN:gpm_button_filter_x_events,121
 - Key 233 mapped to key brightness-up
TI:12:30:20	TH:0xce80a0	FI:gpm-button.c	FN:gpm_button_emit_type,81
 - emitting button-pressed : brightness-up
TI:12:30:20	TH:0xce80a0	FI:gpm-manager.c	FN:gpm_manager_button_pressed_cb,922
 - Button press event type=brightness-up
TI:12:30:20	TH:0xce80a0	FI:gpm-backlight.c	FN:gpm_backlight_button_pressed_cb,451
 - Button press event type=brightness-up
TI:12:30:20	TH:0xce80a0	FI:gpm-brightness.c	FN:gpm_brightness_trust_cache,565
 - using cache for value 50 (probably okay)
TI:12:30:20	TH:0xce80a0	FI:gpm-brightness.c	FN:gpm_brightness_foreach_screen,537
 - using resource 0xda5070
TI:12:30:20	TH:0xce80a0	FI:gpm-brightness.c	FN:gpm_brightness_foreach_resource,491
 - resource 1 of 6
TI:12:30:20	TH:0xce80a0	FI:gpm-brightness.c	FN:gpm_brightness_output_up,393
 - hard value=6, min=0, max=10
TI:12:30:20	TH:0xce80a0	FI:gpm-brightness.c	FN:gpm_brightness_foreach_resource,491
 - resource 2 of 6
TI:12:30:20	TH:0xce80a0	FI:gpm-brightness.c	FN:gpm_brightness_foreach_resource,491
 - resource 3 of 6
TI:12:30:20	TH:0xce80a0	FI:gpm-brightness.c	FN:gpm_brightness_foreach_resource,491
 - resource 4 of 6
TI:12:30:20	TH:0xce80a0	FI:gpm-brightness.c	FN:gpm_brightness_foreach_resource,491
 - resource 5 of 6
TI:12:30:20	TH:0xce80a0	FI:gpm-brightness.c	FN:gpm_brightness_foreach_resource,491
 - resource 6 of 6
TI:12:30:20	TH:0xce80a0	FI:gpm-brightness.c	FN:gpm_brightness_foreach_screen,537
 - using resource 0xda5070
TI:12:30:20	TH:0xce80a0	FI:gpm-brightness.c	FN:gpm_brightness_foreach_resource,491
 - resource 1 of 6
TI:12:30:20	TH:0xce80a0	FI:gpm-brightness.c	FN:gpm_brightness_output_get_percentage,333
 - hard value=7, min=0, max=10
TI:12:30:20	TH:0xce80a0	FI:gpm-brightness.c	FN:gpm_brightness_output_get_percentage,335
 - percentage 70
TI:12:30:20	TH:0xce80a0	FI:gpm-brightness.c	FN:gpm_brightness_foreach_resource,491
 - resource 2 of 6
TI:12:30:20	TH:0xce80a0	FI:gpm-brightness.c	FN:gpm_brightness_foreach_resource,491
 - resource 3 of 6
TI:12:30:20	TH:0xce80a0	FI:gpm-brightness.c	FN:gpm_brightness_foreach_resource,491
 - resource 4 of 6
TI:12:30:20	TH:0xce80a0	FI:gpm-brightness.c	FN:gpm_brightness_foreach_resource,491
 - resource 5 of 6
TI:12:30:20	TH:0xce80a0	FI:gpm-brightness.c	FN:gpm_brightness_foreach_resource,491
 - resource 6 of 6
TI:12:30:20	TH:0xce80a0	FI:gpm-backlight.c	FN:gpm_backlight_button_pressed_cb,480
 - emitting brightness-changed : 70
TI:12:30:20	TH:0xce80a0	FI:gpm-backlight-kbd.c	FN:gpm_backlight_kbd_button_pressed_cb,367
 - Button press event type=brightness-up

what really blows my mind is that the above doesn't change, but i can echo 0 > /sys/module/video/parameters/brightness_switch_enabled and one of the extra adjustments doesn't occur, if i kill g-p-m entirely no adjustment occurs, i can't find the other source or thing accounting for the last extra step

i started with this bug at launchpad but nobody has looked at it at all, https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/802276

i found lots of troubleshooting steps for finding the source of problems for backlights and suspend not working at all, but none for when it malfunctions, say; having too many adjustments for each change :]
Comment 1 steubens 2011-07-28 19:58:39 UTC
fwiw gnome-power has no bug supervisor to contact on launchpad, if anyone could fill the role it would be great :]
Comment 2 P Liu 2012-01-10 13:58:59 UTC
This bug has been existed for years. Also see Gnome Bug 579224.
Xfce4-power-manager has a key which can disable the brightness adjustment feature. See Xfce Bug 7541. I hope Gnome can have this feature soon so at least we can manually fix the problem.
Comment 3 Tad Fisher 2012-07-24 03:20:09 UTC
I can verify this behavior occurs on Gnome 3.4 on a Thinkpad X200s.
Comment 4 André Klapper 2020-11-06 20:14:02 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports in Bugzilla which have not seen updates for many years.

If you can still reproduce this issue in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/gnome-power-manager/-/issues/

Thank you for reporting this issue and we are sorry it could not be fixed.