GPM Icon locks up on AC Status change

Bug #274197 reported by Chorca
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: gnome-power-manager

Since I installed Intrepid Alpha 6 on my Dell Latitude D510 (i915 chipset) I've had issues with the GPM icon in the tray. It seems that when a power-related event happens, (Unplug/plug AC power, and at login,) the tray icon locks up for approx 1 minute, 22 seconds. Clicking has no response, no tooltip window shows when hovered over. Brightness controls operate, but the OSD for brightness does not display.
After the requisite 1 minute, 22 seconds, the brightness OSD suddenly shows up if brightness has been adjusted during the hung period, and the icon then shows the correct status. I've checked HAL with lshal -m, and the events are instantaneous there; the screen brightness toggle when plugging/unplugging mains works properly as well.

I'm not sure what is being queried here, but it seems to be hanging on some sort of action; it only happens on AC plug/unplug, not on battery remove/insert.

Using 2.6.27-4-generic kernel.

Revision history for this message
Chorca (chorca) wrote :

Checked after latest updates, issue still occurring. I've attached a screenshot of the desktop that shows what happens when unplugging the AC Adaptor from the laptop. The tooltip in the corner and the garbled box at the bottom are stuck there for approx. 1 minute.

Revision history for this message
dgf (dgf) wrote :

I do have the same issue. Especially the OSD-Box in the middle of screen is annoying. I got a Sony Vaio SZ2M-B laptop with Centrino Duo chipset.

Chorca (chorca)
Changed in gnome-power-manager:
status: New → Confirmed
Revision history for this message
Chorca (chorca) wrote :

The latest update to GPM seems to have solved the issue. My icon in the bar isn't showing the same icon that is displayed in the window when you click on the bar icon, but that may be another problem.

Revision history for this message
Chorca (chorca) wrote :

Spoke too soon. The issue is still there, happens upon unplugging AC after logging in.

Revision history for this message
Chorca (chorca) wrote :

Issue is still in Beta release.

Revision history for this message
Chorca (chorca) wrote :

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.

Revision history for this message
Phillip Susi (psusi) wrote :

Intrepid has reached end of life. Do you still have this issue on 12.04 or later?

Changed in gnome-power-manager (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gnome-power-manager (Ubuntu) because there has been no activity for 60 days.]

Changed in gnome-power-manager (Ubuntu):
status: Incomplete → Expired
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.