[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Hi Dave, I think your best bet is to contact Dell and let them know the problem. It's their BIOS that is broken. Not a great answer, I know, but we don't have any other choice. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. https://bugs.launchpad.net/bugs/481312 Title: Laptop suspends when I connect/disconnect AC -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
I have this problem. Running Ubuntu 10.10 on Dell Inspiron 700m. gnome- power-manager version is at version 2.32.0-0ubuntu1. dkandz@dkandz-Inspiron-700m:/var/log$ upower -d | grep lid lid-is-closed: yes lid-is-present: yes dkandz@dkandz-Inspiron-700m:/var/log$ (of course, my laptop lid was open) The workaround works, but it would be nice if new Ubuntu users (like myself) did not have to experience the problem, or discover the solution. What can I do to help? Thanks! -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. https://bugs.launchpad.net/bugs/481312 Title: Laptop suspends when I connect/disconnect AC -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Sorry, but there's no update. You can try the workaround listed in the description. -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
And now, what can I do to fix my gpm on UNR 10.02? Is there an update / fix for my system that I can download or an other solution yet? -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
** Changed in: gnome-power Importance: Unknown = Medium -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
This bug was fixed in the package gnome-power-manager - 2.30.1-1ubuntu3 --- gnome-power-manager (2.30.1-1ubuntu3) maverick; urgency=low [ Martin Pitt ] * Add 00git-initial-lid-status.patch: Do not assume the lid is open at boot. (LP: #481312) * debian/rules: Switch to --disable-hal, and drop hal Suggests in debian/control.in. [ Alberto Milone ] * Add 00git-kernel-backlight-interface.patch: - Backport PolicyKit code to access the kernel backlight interface so as to be able to use dim the backlight without hal also when the backlight is not exposed as an RandR property (e.g. in the radeon driver). -- Martin Pitt martin.p...@ubuntu.com Fri, 30 Jul 2010 18:42:57 +0200 ** Changed in: gnome-power-manager (Ubuntu) Status: Fix Committed = Fix Released -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Unfortunately a lot of BIOSes are broken and report a wrong lid status. The only reliable method of knowing the lid status is seeing it changing, so we shouldn't make g-p-m depend on the initially reported lid status. There's unfortunately not a lot upower could do about it. ** Changed in: upower (Ubuntu) Status: Confirmed = Invalid -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Pulled patch into packaging branch. ** Changed in: gnome-power-manager (Ubuntu) Status: Triaged = Fix Committed ** Changed in: gnome-power-manager (Ubuntu) Assignee: (unassigned) = Martin Pitt (pitti) -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
** Branch linked: lp:~ubuntu-desktop/gnome-power/ubuntu -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Hi David. I had already filed a bug (bug #561656), but it was under gnome-power-manager, so I have changed it to upower instead. Please let me know if there is any more information I can provide. -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
s-chriscollins: yes, please file a new report. It's better to have multiple, duplicate reports than one mixed report. Thank you! -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
** Tags added: patch -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
David, should I file a new bug report for my specific hardware as well? (HP Pavilion dv1550se laptop) -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
The commit is http://git.gnome.org/browse/gnome-power- manager/commit/?id=df44925b580ff0aa4a4f0619f3d50987c939506d and no, it's not in maverick yet. -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Marking Triaged. David, any idea of when we will have it? Still in Maverick? ** Changed in: gnome-power-manager (Ubuntu) Status: Confirmed = Triaged -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
I've reported # 597963 for upower. -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
** Changed in: gnome-power Status: New = Fix Released -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
I'm adding a new gpm.log. It triggers lid_battery set to suspend (The lid has been closed, and the ac adapter removed (and gconf is okay).) So if I've got this right I need to file a feature request with the upower package to please ignore broken lids. ** Attachment added: gnome-power-manager log http://launchpadlibrarian.net/50670571/gpm2.log -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
gpm-manager in gpm_manager_client_changed_cb() sometimes checks for on_battery, and sometimes checks for on_battery lid_is_closed. This patch makes it consistent (always check for on_battery lid_is_closed) Again: untested, sorry If this works, I'd like to get a little help with logging the feature request correctly to upower (or kernel acpi) assuming it's a bios bug. ** Patch added: gpm-manager.diff http://launchpadlibrarian.net/50675716/gpm-manager.diff -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Noticed it's marked as affecting upower already. -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Scott, Oliver: glad it worked out for you! Chris Collins: thanks for the report. I'll mention that upstream. Berend: your patch will work around the issue for your laptop, but it breaks functionality in g-p-m for working laptops so unfortunately it's not going to get put into the release. Since this has been shown to be hardware-dependent, I think we should split this report into hard-ware specific reports. Would you mind filing a new report with ubuntu-bug upower from Lucid? Please be clear about your specific laptop model in the new report, and post the new bug # in here. Thanks all for your patience. ** Bug watch added: GNOME Bug Tracker #622026 https://bugzilla.gnome.org/show_bug.cgi?id=622026 ** Also affects: gnome-power via https://bugzilla.gnome.org/show_bug.cgi?id=622026 Importance: Unknown Status: Unknown -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
** Changed in: gnome-power Status: Unknown = New -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
I tried the wrong version numbered one. (bad timing, download, dpkg -i), and now I had the exact opposite happen: The first time, nothing happens (not even popups saying charging) The second time, and all subsequent times: suspend. -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
My patched version should only have the following effect: when you plug in the machine, it should not execute the lid-closed action. It will probably still execute it when you unplug it (which is not really a bug in g-p-m, it's a bug in upower). So you all are saying that plugging it in still always results in lid-close action anyway? If so, I'll have to modify my patch to include more logging to figure out what's going wrong I guess. Berend: sorry about the version issue. The problem is that my version # was the same as the next one to be released by Ubuntu. You can do a force-downgrade, the package manager will warn you it's dangerous but in this case it should do no harm. -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
@Oliver I have a D150 also and had the same problem you are having until today. I just flashed a new BIOS (v1.13) and that seems to have fixed the issue of the netbook suspending when I disconnect the AC power. -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
David, on my system, the lid-closed event only triggers when I unplug the power, at the same instant the Battery Charging notification appears. When I plug the power back in, it acts as it should (screen gets brighter, no lid-closed event triggered). So, if your patch was to address the lid-closed event on power connect, then it seems to be fixed with your package on my system. It's just the power-disconnect that seems to be the problem (which you mentioned was upower's fault). -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
@Scott WOW! :-D Thank you for the advice Now lid-is-close is no, and changes when I actually close the lid! Also, the processor is now running at 1.66 GHz :-D i'm so happy :-D -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
On second thought, don't install the PPA version yet, I made a mistake in the version numbering. I'll re-upload soon. -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
OK, re-uploaded new packages with correct version numbers. -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
@David I just install your g-p-m (2.30.0-0ubuntu1ppa1) and tried the plug/unplug thing, and my laptop still acts like I close the lid :( I have, as Berend said (#40), my lid status always as close: dr...@hellboy:~$ cat /proc/acpi/button/lid/LID0/state state: closed dr...@hellboy:~$ upower -d | grep lid lid-is-closed: yes lid-is-present: yes btw the lid action never worked since 9.10 IIRC -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
The updated package doesn't work for me either. On my system, if I unplug the AC soon after booting up, it doesn't trigger the lid-closed event. However, if I close and open the lid, then trying to unplug the AC afterward will trigger the lid-close event. The lid-closed event will still sometimes be triggered by unplugging the AC cord even if I haven't closed the lid--just not right after booting up. This behavior was present with the previous version of gnome-power-manager and hasn't changed at all with the updated package (2.30.0-0ubuntu1ppa1). ** My System ** PC: HP Pavilion dv1550se laptop CPU: Intel(R) Pentium(R) M processor 1.60GHz RAM: 1GB DDR400 Video: Mobile 915GM/GMS/910GML Express Graphics Controller Sound: 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller OS: Ubuntu 10.04 i386 w/ all updates as of 6/19/2010 (including 2.6.32-22 kernel) -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
OK, attached. I'd guess lid_state is an uninitialised variable. I can't get the source from behind the proxy. Line: action: /apps/gnome-power-manager/buttons/lid_ac set to suspend (The lid has been closed on ac power.) ** Attachment added: gpm.log http://launchpadlibrarian.net/50529661/gpm.log -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
gpm-button.c/gpm_button_client_changed_cb() compares if (button-priv-lid_is_closed == lid_is_closed) return; gpm-button.c/gpm_button_class_init() adds struct GpmButtonPrivate but I can't find an equivalent of /* coldplug so we are in the correct state at startup */ g_object_get (manager-priv-client, on-battery, manager-priv-on_battery, NULL); -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
You can try the following patch. I can't apt-get -b source right now, so I can't test. ** Patch added: Potential fix http://launchpadlibrarian.net/50530902/lidinit.diff -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Hi Berend, thanks for the log! Pinpointed the problem. You're right that the problem is with lid_is_closed, but your patch isn't quite right. lid-is-closed is a property provided by upower and we can't modify it. The issue is that g-p-m /assumes/ the lid is open when it starts up, so the next time it notices that it's closed, it does the lid closed action. I'll work on a new patch. ** Changed in: gnome-power-manager (Ubuntu) Status: Incomplete = Confirmed -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
** Description changed: Binary package hint: gnome-power-manager I'm running Karmic on a laptop. When I'm running on battery and connect the AC cord, the laptop suspends. It suspedns also when on AC and I disconnect the power cord. This didn't happen in Jaunty or earlier. + + + + The underlying problem here is that upower always reports lid closed for + these particular laptops. What makes this worse is that g-p-m initially + assumes the lid is open, so it performs the lid closed action the first + time it notices that it's closed. + + WORKAROUND: change lid-closed action to Blank Screen in Power Management + properties. -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
** Also affects: upower (Ubuntu) Importance: Undecided Status: New ** Changed in: upower (Ubuntu) Status: New = Confirmed -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Anyone affected by the bug, please try my gnome-power-manager build in my PPA at https://launchpad.net/~dgtombs/+archive/ppa. Thanks! -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
** Attachment added: before a/c http://launchpadlibrarian.net/50488366/chunk.315 -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
This is all for Lucid: The lid is always closed. /proc/acpi/button/lid/LID/state is always closed. upower -d | grep lid always looks like: lid-is-closed: yes lid-is-present: yes I find that very interesting. If I set g-p-m to blank screen (choices [ blank | suspend | hibernate | shutdown ]) it blanks the screen. I then ran upower -d in an infinite loop, and ran diff on the results. Here's the results: chunk.315 -- just before plugin chunk.316 -- at plugin chunk.diff -- the whole diff. chunk.0 was empty. chunk.325 was also empty (during suspend) The stuff that changes: state: discharging - charging on-battery: yes - no energy rate percentage time to empty / time to full -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
** Attachment added: after a/c http://launchpadlibrarian.net/50488381/chunk.316 -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
** Patch added: history http://launchpadlibrarian.net/50488408/chunk.diff -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Ahah, I think we've found the underlying problem thanks to your help, then. :) I'm not quite sure why g-p-m only performs its lid-close operation when you plug/unplug, though. Can you perform the steps at https://wiki.ubuntu.com/DebuggingGNOMEPowerManager#Getting%20info%20from%20g-p-m and attach the log here? -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Here's a dbus log. If I run interface='org.freedesktop.PowerManagement' I get nothing. So I've attached my entire dbus log with the Jabber usernames sanitised. It only seems to happen the first time I connect A/C. Probably because afterwards it thinks the lid is closed. ** Attachment added: Empty DBUS power manager log http://launchpadlibrarian.net/50430411/dbus.powermanagement.log -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Full dbus log ** Attachment added: Full log http://launchpadlibrarian.net/50430482/sanitised.log -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Berend: very weird. Does the issue persist for you as well if you kill g-p-m? -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
If I kill gnome-power-manager it does not happen. Without gnome-power-manager: 1. boot without a/c 2. login 3. plug in a/c 4. screen stays dim, does not suspend. No popups. with gnome-power-manager 1. boot without a/c 2. login 3. plug in a/c 4. screen goes bright 4a. popup (battery charging; will take X minutes) (sometimes too slow) 5. suspends (takes a minute) 6. type on keyboard 7. un-suspends 8. screen is locked by screensaver Further a/c connect/disconnect: * no suspend. * popups about battery charging working as expected. * The screen does not dim. The desktop knows the cable is unplugged, because I get popups, but it doesn't take any action. When battery power gets very low it shuts down. The suspends are immediate. This is annoying when you've got powercuts or accidentally trip the cable. -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Once the A/C disconnect/reconnect has cycled, I can kill and restart gnome-power-manager, and the laptop does not suspend. -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
btw, if I kill gnome-power-manager, and run it as root (i.e. sudo), it runs perfectly. -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
-- scratch that last, I found the power button doesn't show the Shutdown window when I run g-p-m as root. -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Ahah, Berend I didn't see your comment about lid state before. What happens if you change the Lid Closed action in g-p-m to Nothing (or Blank Screen or whatever it says)? Also, please post the results of upower -d | grep lid (on Lucid, or devkit-power -d | grep lid on Karmic) for the following conditions: 1) Immediately after boot. 2) If possible, between plugging in AC (after notification) and the suspend. 3) After resume. If possible, please reproduce this information on Lucid or even Maverick, just to make sure we're using the latest available versions. -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Thanks, that's pretty weird that it's not telling you critical battery before suspending. Could you follow the instructions at https://wiki.ubuntu.com/DebuggingGNOMEPowerManager#Getting%20DBUS%20info to see which power management events your system is seeing when you plug in and unplug? Please attach the results here. Thanks! -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
@David there is no warning (at least in my AOD150) when I connect/disconnect AC, it just suspends. I think this bug looks similar to #421985. -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Oliver: Thanks for the feedback. Indeed it's similar to bug 421985, but he doesn't mention suspend when /plugging in/ AC there. What happens if you run killall gnome-power-manager first? Will the laptop still suspend? -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
David, I just tested it, As we all expected, the laptop doesn't suspend with I kill the gnome-power-manager first and then plug/unplug :-) -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
This is probably a duplicate of bug 531190, so I'm marking as such. Thanks for the report! ** Changed in: gnome-power-manager (Ubuntu) Status: New = Confirmed -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
I'm sorry, maybe I was being overzealous. Does gnome-power-manager warn you about critically low battery before it suspends? If so, then it is a duplicate. ** Changed in: gnome-power-manager (Ubuntu) Status: Confirmed = Incomplete -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
/proc/acpi/button/lid/LID/state reports closed when it should report open -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
FYI this bug prevails in Lucid Lynx -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
This bug is still an issue as of Ubuntu Lucid beta 2. I will run the apport-collect command to get additional info. ** My System ** PC: HP Pavilion dv1550se laptop CPU: Intel(R) Pentium(R) M processor 1.60GHz RAM: 1GB DDR400 Video: Mobile 915GM/GMS/910GML Express Graphics Controller Sound: 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller OS: Ubuntu 10.04 w/ all updates as of 4/12/10 (including 2.6.32-20 kernel) -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Never mind; I will only do so if asked. -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
I have similar problem. My Toshiba A205 freezes when I switch the power from AC to battery on Lucid and Karmic. I've tried to run live Knoppix with kernel 2.6.32 but it doesn't work. I did the same with live Hardy 2.6.24 and it works perfect. http://ubuntuforums.org/showthread.php?p=9039341#post9039341 -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Happens on a Sony Vaio W. The following Ubuntu Wiki says it's easily fixed, but it doesn't say how... https://wiki.ubuntu.com/HardwareSupport/Machines/Netbooks#Sony VAIO W Apport connect seems to hang (proxy issue?) so I'll attach .txt files manually... ** Attachment added: gnome-power-bugreport.txt http://launchpadlibrarian.net/40998473/gnome-power-bugreport.txt -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
Thanks for taking the time to report this bug and helping to make Ubuntu better. Could you please open a terminal and execute: apport-collect 481312 ? It will attach the necessary information to this report. Also you can submit more information for it by looking to https://wiki.ubuntu.com/DebuggingGNOMEPowerManager , Thanks in advance. ** Changed in: gnome-power-manager (Ubuntu) Status: New = Incomplete ** Changed in: gnome-power-manager (Ubuntu) Importance: Undecided = Low -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
I'm not the bug publisher, but this bug really annoys me, so I posted my Acer Aspire One D150 data here, hth. Thank you! -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 481312] Re: Laptop suspends when I connect/disconnect AC
I'm experiencing the same bug in a Acer Aspire One D150. How can I help to debug this issue? -- Laptop suspends when I connect/disconnect AC https://bugs.launchpad.net/bugs/481312 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs