brightness adjust 3 steps from hard (Fn) keys

Bug #802276 reported by steubens
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
gnome-power
New
Medium
gnome-power-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

the brightness adjusts in 3 steps, i thought it was annoying but adjustable in gconf; finally investigated and saw it wasn't :]

if i echo 0 > /sys/module/video/parameters/brightness_switch_enabled it reduces one of the extra steps

if i killall gnome-power-manager i get no backlight adjustment, from my understanding its solely responsible, but i can't find the extra brightness event input, acpi_listen shows the video adjustment, as does input-events 4 (the video device)

X opens the video event device as an input but i don't know if that means g-p-m will see it as another event

hoping someone can tell me more about g-p-m and where it gathers events so i can finish investigating, or solve the bug outright :]

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: gnome-power-manager 2.32.0-2ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-10.44~lp793796b5-generic 2.6.38.5
Uname: Linux 2.6.38-10-generic x86_64
Architecture: amd64
Date: Sun Jun 26 14:12:11 2011
GnomeSessionIdleInhibited: Yes
GnomeSessionInhibitors: 1: AppId = Power Manager Inhibit Applet, Flags = 15, Reason = Manual inhibit
GnomeSessionSuspendInhibited: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: Hewlett-Packard Compaq Presario CQ60 Notebook PC
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-10-generic root=UUID=d332acb1-e554-4637-84fe-731b5e39212b ro quiet splash vt.handoff=7
SourcePackage: gnome-power-manager
UpgradeStatus: Upgraded to natty on 2011-03-17 (101 days ago)
dmi.bios.date: 12/15/2010
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.65
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 3612
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 09.67
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.65:bd12/15/2010:svnHewlett-Packard:pnCompaqPresarioCQ60NotebookPC:pvrPCID:rvnHewlett-Packard:rn3612:rvr09.67:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.name: Compaq Presario CQ60 Notebook PC
dmi.product.version: PCID
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
steubens (steubens) wrote :
Revision history for this message
steubens (steubens) wrote :

oh and from my investigation of g-p-m (and g-p-m --verbose) it's only setting it once on the output, and it's using xrandr to do it

consider me extra confused

Revision history for this message
steubens (steubens) wrote :

 - 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

i'm not sure why it shows 6, then 7 for the same adjustment

Changed in gnome-power:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-power-manager (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.