Went ahead and did some diagnosing as per the Debugging GPM wiki
article. I started GPM in verbose mode and set it to log to a file. I'm
posting the file as an attachment, as well as the relative event lines
in the comment here.

This is what happens when the AC is unplugged:

TI:23:50:41     TH:0x9fb9640    FI:gpm-brightness-xrandr.c      
FN:gpm_brightness_xrandr_foreach_resource,375
 - resource 1 of 4
TI:23:50:41     TH:0x9fb9640    FI:gpm-brightness-xrandr.c      
FN:gpm_brightness_xrandr_foreach_resource,375
 - resource 2 of 4
TI:23:50:41     TH:0x9fb9640    FI:gpm-brightness-xrandr.c      
FN:gpm_brightness_xrandr_output_set,322
 - percent=100, absolute=15125
TI:23:50:41     TH:0x9fb9640    FI:gpm-brightness-xrandr.c      
FN:gpm_brightness_xrandr_output_set,324    <---- AC Unplugged, GPM icon locks, 
brightness changes stop being shown on OSD, corrupted graphic appears on screen.
 - hard value=7563, min=0, max=15125
TI:23:51:23     TH:0x9fb9640    FI:gpm-brightness-xrandr.c      
FN:gpm_brightness_xrandr_foreach_resource,375    <---- GPM Icon changes, 
brightness OSD appears if changed while locked, corrupted graphic disappears.
 - resource 3 of 4
TI:23:51:23     TH:0x9fb9640    FI:gpm-brightness-xrandr.c      
FN:gpm_brightness_xrandr_foreach_resource,375
 - resource 4 of 4
TI:23:51:23     TH:0x9fb9640    FI:gpm-backlight.c      
FN:gpm_backlight_brightness_evaluate_and_set,456
 - emitting brightness-changed : 100
TI:23:51:23     TH:0x9fb9640    FI:gpm-profile.c        
FN:ac_adaptor_changed_cb,632
 - on AC
TI:23:51:23     TH:0x9fb9640    FI:gpm-info.c   FN:gpm_info_event_log,579
 - Adding 0 to the event log


The LCD backlighting changes the moment AC is unplugged and it will toggle even 
if AC is replugged while GPM is locked up, so HAL is operating properly, GPM 
seems to be what's locking for some reason. I'll do whatever I can to help out 
discover where the problem is.

** Attachment added: "gpm.debug.log.txt"
   http://launchpadlibrarian.net/18519545/gpm.debug.log.txt

-- 
GPM Icon locks up on AC Status change
https://bugs.launchpad.net/bugs/274197
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to