[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2017-10-26 Thread Bug Watch Updater
** Changed in: linux
   Status: In Progress => Fix Released

** Changed in: linux
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/306310

Title:
  Resume (from memory) goes back to sleep automatically

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-power/+bug/306310/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2010-01-14 Thread Przemysław Kulczycki
Possibly related bug in Karmic: bug 492649

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-12-20 Thread Bug Watch Updater
** Changed in: linux
   Status: Confirmed => In Progress

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-12-02 Thread Jerry Quinn
I see this behavior on my Asus 1000HA with Karmic installed and
2.6.31-15.  I get it perhaps one in three wakeups from sleep.  It gets
as far as showing me an X screen then goes back to sleep.  The second
wakeup then works as expected.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-12-01 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/acpi-support

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-10-16 Thread Jeffrey Baker
Yep, recently started seeing this again on ThinkPad X61 Tablet after not
seeing it for months.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-10-15 Thread Elie Charest
acpi_listen  doesn't show anything but the original lid event:

$ acpi_listen 
button/lid LID0 0080 0006

I'm going to try the fix for bug 425411.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-10-15 Thread Martin Pitt
Please see bug 425411 for a related karmic bug.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-10-15 Thread Martin Pitt
Please also see bug 425411 for a related karmic bug.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-10-15 Thread sanktnelson
this regression in Karmic has hit me also. Unfortunately I have not been
able to reliably reproduce it, so it seems slightly different from the
previous issue.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-10-14 Thread Elie Charest
I'm running current Karmic on a Dell Mini 10v.

The problem is intermittent - in fact, I've been trying to reproduce it
for an hour. Now that I *need* for it to happen, of course, it's not...
:-/

I can tell, however, that the system runs fine after waking up a second
time. I remember it happening at lunch, i.e. when I open my laptop after
more than 12 hours of it being off. I'll keep acpi_listen running and
see if it happens tomorrow, then post the output here - or actually open
a new bug with apport...I assume the package handling suspend/resume is
still called gnome-power-manager?

(BTW didn't know about acpi_listen, cool little utility! It would have
been handy to debug the more serious suspend/resume problems I had with
my previous laptop...)

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-10-14 Thread Steve Langasek
Elie, please show the output of acpi_listen running across a
suspend/resume test when you get the dual suspend.  Also, you may want
to open a new bug report, since this bug has been fixed for some time
and no one has reported any recurrences of it.

What kind of laptop is this on?

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-10-14 Thread Elie Charest
I seem to be having this problem with Karmic... :-(

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-05-19 Thread Joakim Lundborg
I don't have this problem since Jaunty (Lenovo ThinkPad X300)

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-04-26 Thread Matija Polajnar
Seems to be fixed for me in Jaunty.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-03-07 Thread Milan
Martin: upstream marked the bug as obsolete because it should be fixed
in current 2.26 g-p-m (as you said, HAL events are not listened to now).
Since we ship 2.24, they don't bother about our bugs...

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-03-07 Thread Martin Pitt
Steve, I'm just porting our patches to 2.25.91. Is that gnome-power-
manager patch still relevant with the recent ACPI? Why was the upstream
task marked invalid? Without the acpi-support goo, the change should be
relevant to upstream as well?

Anyway, new g-p-m now uses DeviceKit-power, so it wouldn't listen to hal
events at all any more. Thus I drop the patch for now, and we'll see how
it goes. Andy, if you notice that this issue returns in Karmic (or if
you enable the ubuntu-desktop PPA with the new g-p-m), please speak up
here.

Thanks! Martin

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-02-11 Thread Andy Whitcroft
@Steve -- confirmed that with both of these fixes (hal and gnome-power-
manager) my thinkpad T30 which was triple suspending now suspends
exactly once from the button.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-02-08 Thread Launchpad Bug Tracker
This bug was fixed in the package gnome-power-manager - 2.24.2-2ubuntu1

---
gnome-power-manager (2.24.2-2ubuntu1) jaunty; urgency=low

  [ Ted Gould ]
  * Merge from Debian experimental.
  * Remove 20_fix_precentage_closures.patch as already applied upstream.
  * Merge in the mactel changes.  See mactel changelog entries below.
  * Remove 02_cast_align.patch as it only hides the problem and doesn't fix
  * Remove 13_bugreport_bin_sh.patch as it conflicts with the Debian added
07-bugreport-shebang.patch patch.
  * Remove 26_check_for_active_session.patch as it should no longer be
required with the upstream changes.
  * debian/rules: don't disable policy-kit

  [ Steve Langasek ]
  * debian/control: point Vcs-Bzr at current branch.
  * Drop debian/patches/70_relibtoolize.patch in favor of
76_autoreconf.patch
  * debian/patches/14_inhibit_tool.patch,
debian/patches/17_icon_cache.patch: split out the changes to
Makefile.in, so we can handle these as a batch in 76_autoreconf.patch
  * Refresh 76_autoreconf.patch for the above changes
  * 95_dont_listen_for_suspend_X_key.patch: handle 'suspend' via hal only,
the same as we already do for 'hibernate', eliminating a double-suspend
on ThinkPads.  LP: #306310.

gnome-power-manager (2.24.2-2) experimental; urgency=low

  * Switch to quilt to manage patches; build-depend on quilt.
  * 02_cast_align.patch: new patch. Use memcpy instead of casting
pointers with incompatible alignments. Closes: #510011.
  * 70_relibtoolize.patch: re-run the autotools on top of the source to
avoid the rpath issue.
  * Pass -O1 -z defs --as-needed to the linker.

gnome-power-manager (2.24.2-1) experimental; urgency=low

  * New upstream release
  * debian/patches/02-ups-invalid-free.patch
- Removed, fixed upstream
  * debian/patches/03-system-policy.patch
- Updated
  * debian/patches/04-graph-labels.patch
- Removed, fixed upstream
  * debian/patches/05_translation_crash.patch
- Removed, fixed upstream
  * debian/patches/06-bugreport-debian.patch
- Updated
  * debian/patches/08-desktop-bugreport-path.patch
- Updated

gnome-power-manager (2.24.0-1mactel4) unstable; urgency=low

  * Fix light sensor scaling

gnome-power-manager (2.24.0-1mactel3) unstable; urgency=low

  * Nonlinear stepping for smooth dimming
  * Patch trimming for upstream

gnome-power-manager (2.24.0-1mactel2) unstable; urgency=low

  * Mixed signed/unsigned problem in gpm-brightness-xrandr fixed.
LP: #289520

gnome-power-manager (2.24.0-1mactel1) unstable; urgency=low

  * The gpm-brightness-xrandr smooth brightness function does not take
the number of brightness levels into account. On recent Macbooks,
this leads to some 2 brightness-set calls on startup, an
activity that takes about one and a half minute. During this time,
gpm is not responsive. This patch introduces scaled stepping,
which fixes the problem. LP: #289520

 -- Steve LangasekSat, 07 Feb 2009
09:17:32 -0500

** Changed in: gnome-power-manager (Ubuntu Jaunty)
   Status: Confirmed => Fix Released

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-02-04 Thread Martin Pool
I split that out to bug 325191.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-02-03 Thread Martin Pool
After I logged out of my gnome session, the keyboard worked ok at the
login screen and in the next session.

I suspended the machine again and I did get the double-resume, but I did
not have trouble with my keyboard on this attempt.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-02-03 Thread Martin Pool
As of today's Jaunty updates, I'm getting one additional suspend
cycle, and after coming back from suspend I experienced this behaviour
which I'm assuming is related:

After pressing Fn a second time to wake up, I got the gnome screen
lock dialog.  I tried to type into it but I didn't see anything when I
pressed keys.  Ctrl-Alt-F1 to switch to a text console didn't work.
However, the mouse did still respond, and I could click Cancel to
remove the dialog. When I clicked the mouse, it came back, and I still
couldn't type.

I then pressed Switch user, and got a login screen which _did_ respond
to keyboard input.  I typed in my username and password, and it
returned me to my original desktop.  However, the keyboard is still
not working in any application.

By sshing in I can see there is a traceback (not an oops?) in the
kernel log, see attached.


** Attachment added: "dmesg"
   http://launchpadlibrarian.net/21971282/dmesg

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-02-02 Thread Steve Langasek
Based on discussion with apw, reopening this task since it appears that
gnome-power-manager is responding to both an X key event and a hal event
when it shouldn't do so.

** Changed in: gnome-power-manager (Ubuntu)
   Status: Invalid => Confirmed

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-02-02 Thread Geir Ove Myhr
I just updated the acpi-support package to 0.117, and the computer now
only goes back to sleep once (same as when acpid was stopped before).

I also only get one event from `lshal -m`:
11:46:09.220: computer_logicaldev_input_3 condition ButtonPressed = sleep

I'm attaching the full output of `lshal -m` when it goes to sleep,
wakes up for a moment and wakes up permanently, in case this is
useful.

Would it be right to reopen this bug for gnome-power-manager?

Geir Ove


** Attachment added: "lshal-m-2cycles.txt"
   http://launchpadlibrarian.net/21905209/lshal-m-2cycles.txt

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-02-02 Thread Steve Langasek
On Mon, Feb 02, 2009 at 01:33:32PM -, Chris Bainbridge wrote:
> With it stopped I get:
> keycode 150 = (keysym 0x1008ff2f, XF86Sleep), state = 0x0
> keycode 150 = (keysym 0x1008ff2f, XF86Sleep), state = 0x0

This is the expected behavior; one of these is the KeyPress event, the other
is the KeyRelease event.

> I wonder if it is possible that these two events (press and release)
> both get mapped onto XF86Sleep keycode events, generating two suspend
> calls?

AIUI, the remaining issue is that gnome-power-manager is responding both to
the X keypress and the hal event.  (I.e., look at the output of 'lshal -m'.)
It's not clear to me why this affects some systems and not other.

For me, lshal -m shows:

17:05:11.878: computer_logicaldev_input_4 condition ButtonPressed =
sleep

and no other events when hitting Fn+F4.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-02-02 Thread Launchpad Bug Tracker
This bug was fixed in the package acpi-support - 0.117

---
acpi-support (0.117) jaunty; urgency=low

  * Drop acpi_fakekey translations for keys that are correctly handled
in the kernel input layer:
- events/ibm-sleepbtn (LP: #306310)
- events/ibm-lockbtn, thinkpad-lockorbattery.sh
- events/ibm-hibernatebtn
- events/lenovo-lockbtn
- events/ibm-videobtn
- events/thinkpad-mute, always-mute.sh
- events/thinkpad-volume-down
- events/thinkpad-volume-up (LP: #51537)
- events/thinkpad-thinklight, thinkpad-thinklight.sh
- events/tosh-brightness-up
- events/tosh-brightness-down, toshbright.sh
- events/tosh-mute
- events/tosh-sleep
- events/sony-hibernate
- events/sony-brightness-up, events/sony-brightness-down, sonybright.sh
- events/thinkpad-brightness-down, events/thinkpad-brightness-up,
  thinkpad-brightness-up.sh, thinkpad-brightness-down.sh
  * Also drop events/thinkpad-zoom, thinkpad-zoom.sh because this key
isn't working correctly with or without this script and should be
fixed up in hal.
  * debian/control: document Vcs-Bzr for the package.

 -- Steve LangasekMon, 02 Feb 2009
14:28:38 +0100

** Changed in: acpi-support (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-02-02 Thread Chris Bainbridge
I also get two resume cycles rather than three when acpid is stopped.

With acpid running I got:
$ xev | sed -n 's/^.*state \([0-9].*\), keycode *\([0-9]\+\) *\(.*\), 
.*$/keycode \2 = \3, state = \1/p'
keycode 150 = (keysym 0x1008ff2f, XF86Sleep), state = 0x0
keycode 150 = (keysym 0x1008ff2f, XF86Sleep), state = 0x0
keycode 150 = (keysym 0x1008ff2f, XF86Sleep), state = 0x0
keycode 150 = (keysym 0x1008ff2f, XF86Sleep), state = 0x0

With it stopped I get:
keycode 150 = (keysym 0x1008ff2f, XF86Sleep), state = 0x0
keycode 150 = (keysym 0x1008ff2f, XF86Sleep), state = 0x0

# input-events 8
/dev/input/event8
   bustype : BUS_HOST
   vendor  : 0x1014
   product : 0x5054
   version : 16641
   name: "ThinkPad Extra Buttons"
   phys: "thinkpad_acpi/input0"
   bits ev : EV_SYN EV_KEY EV_MSC

waiting for events
13:31:12.184303: EV_KEY KEY_SLEEP pressed
13:31:12.184320: EV_SYN code=0 value=0
13:31:12.184325: EV_KEY KEY_SLEEP released
13:31:12.184328: EV_SYN code=0 value=0
timeout, quitting

I wonder if it is possible that these two events (press and release)
both get mapped onto XF86Sleep keycode events, generating two suspend
calls?

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-02-01 Thread Matija Polajnar
Geir is right: Intrepid falls back to sleep only once, so that's why
with stopped acpid the problem is fixed for me.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-31 Thread Jeffrey Baker
I'm with Geir Ove Myhr.  The committed fix takes me from 3 to 2 cycles
(bravo, Steve!) but that's still one too many.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-31 Thread Geir Ove Myhr
I should add that I'm running an updated Jaunty.
acpi-support: 0.116
acpid: 1.0.6-9ubuntu4
hal: 0.5.12~rc1+git20090120-0ubuntu1
gnome-power-manager: 2.24.0-0ubuntu14

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-31 Thread Marc Jauvin
Stoping acpid before suspend fixes this for me as well on Intrepid
(Thinkpad T61).

Thanks!

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-31 Thread Milan
Great work, Steve! These days you seem to be tackling a major power
management bug every week - good to know they won't keep rotting like
many others did before.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-31 Thread Matija Polajnar
"Idea verification" seems to work for me, so I eagerly wait for yout
patch to come through! Thank you!

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-31 Thread Steve Langasek
> 15:12:41.659: computer_logicaldev_input_3 condition ButtonPressed = sleep
> 15:12:41.690: platform_i8042_i8042_KBD_port_logicaldev_input condition 
> ButtonPressed = sleep

I think this is an acpi-support bug (i.e., this bug is caused by acpi-
support being here at all) - acpi-support is set up to synthesize a
'sleep' key event when pressing Fn+F4, but the kernel already handles
synthesizing this event, so we end up with *two* hal sleep events
showing up on two different input devices.

Whether the hal events are what g-p-m or kpowersave should be listening
for is a separate question - but we definitely shouldn't be emitting two
sleep events for one key press.

Conveniently, it happens that I've already committed a fix for this to
the acpi-support bzr branch, and will upload soon.  In the meantime,
users can verify that this fixes the problem by running 'sudo
/etc/init.d/acpid stop' and then suspending with Fn+F4.

** Changed in: hal (Ubuntu)
   Status: New => Invalid

** Changed in: acpi-support (Ubuntu)
Sourcepackagename: linux => acpi-support
 Assignee: Andy Whitcroft (apw) => Steve Langasek (vorlon)
   Status: In Progress => Fix Committed

** Changed in: gnome-power
   Status: New => Invalid

** Changed in: gnome-power-manager (Ubuntu)
   Status: New => Invalid

** Changed in: pm-utils (Ubuntu)
   Status: New => Invalid

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-31 Thread Matija Polajnar
I also see this issue with Intrepid on Thinkpad R52. I'm not sure when
it appeared (with update to Intrepid or later). For me, changing the
"lock on suspend" option has no effect; computer "resuspends" regardless
of that setting.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-31 Thread Marc Jauvin
* I'm using Intrepid Ibex on a Thinkpad T61, and I found that if you run
gconf-editor and "uncheck" the following option:

   apps->gnome-power-manager->lock->suspend

The problem will happen when suspend is triggered from fn-f4 (not from
the user switcher applet).

But it never happens if this option is checked (lock screen when
suspending).

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-31 Thread Chris Bainbridge
This also occurs in KDE with kpowersave on Thinkpad T42p in both
Intrepid and Jaunty. It does not occur when selecting Suspend in
Shutdown menu, only when using fn-f4 hotkey.

I thought it might be something to do with ACPI event processing
discussed in bug 267682 ie. the suspend event gets delivered and
processed more than once by different handlers, but I haven't confirmed
this.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-29 Thread Milan
"in 2-27 - gnome-power-manager will stop listening to HAL for button
events": to me this can mean that in previous releases, HAL events can
interfere. Anyway it's just a hint, I just implied that maybe Richard
knows more about the current bug.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-28 Thread Alan Pope
Richard talks about GPM 2.27, Ubuntu Jaunty is on 2.24..0

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-28 Thread Milan
Andy: Have you read this recent post by Richard Hughes [1]?
"all the multimedia buttons come up through both X and HAL. g-p-m has to filter 
the second button, and mostly this works well": maybe 'mostly' is the problem 
here. :-)

1: http://blogs.gnome.org/hughsie/2009/01/28/gnome-power-manager-and-
buttons/

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-28 Thread Martin Pool
As of yesterday's Jaunty, this problem has got worse: I now see the
behaviour if I just close the laptop lid, whereas previously it only
happened from Fn-F4.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-27 Thread Andy Whitcroft
I am suspicious that the XF86Sleep event may have started to be
recognised as part of updating the XKeySymDB as part of fixing the
XF86Battery key support in bug #281134.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-24 Thread Andy Whitcroft
I believe they are two keys.  So we are specifically getting two events
from Hal and one via X.  This does not look like a kernel issue to my
eye.

** Also affects: hal (Ubuntu)
   Importance: Undecided
   Status: New

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-24 Thread Andy Whitcroft
This log contains these two lines, before all of the suspend/resume
cycles:

15:12:41.659: computer_logicaldev_input_3 condition ButtonPressed = sleep
15:12:41.690: platform_i8042_i8042_KBD_port_logicaldev_input condition 
ButtonPressed = sleep

Need to figure out if these are two different keys or not.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-24 Thread Andy Whitcroft
Attached is my lshal --monitor output from a single suspend press, but
with three suspend/resume cycles.

** Attachment added: "LOG.hal"
   http://launchpadlibrarian.net/21596829/LOG.hal

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-24 Thread Andy Whitcroft
If I am understanding my log on the previous comment correctly then we
receive two HAL events and an Xevent for the single key-press.
Specifically we receive a HAL event, then an Xevent, and then a second
HAL event:

TI:13:33:22 TH:0x9b13640FI:gpm-button.c FN:hal_device_condition_cb,430
 - condition=ButtonPressed, details=sleep
TI:13:33:22 TH:0x9b13640FI:gpm-button.c FN:emit_button_pressed,374
 - emitting button-pressed : sleep
TI:13:33:22 TH:0x9b13640FI:gpm-manager.c
FN:button_pressed_cb,1020
 - Button press event type=sleep

TI:13:33:47 TH:0x9b13640FI:gpm-button.c 
FN:gpm_button_filter_x_events,122
 - Key 150 mapped to HAL key suspend
TI:13:33:47 TH:0x9b13640FI:gpm-manager.c
FN:button_pressed_cb,1020
 - Button press event type=suspend

TI:13:34:08 TH:0x9b13640FI:gpm-button.c FN:hal_device_condition_cb,430
 - condition=ButtonPressed, details=sleep
TI:13:34:08 TH:0x9b13640FI:gpm-button.c FN:emit_button_pressed,374
 - emitting button-pressed : sleep
TI:13:34:08 TH:0x9b13640FI:gpm-manager.c
FN:button_pressed_cb,1020
 - Button press event type=sleep

Need to understand where all of these are coming from.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-24 Thread Andy Whitcroft
Attached is a full verbose log from gnome-power-manager.

** Attachment added: "gnome-power-manager verbose log"
   http://launchpadlibrarian.net/21595489/LOG.sample

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-24 Thread Andy Whitcroft
I can confirm this bug on my Thinkpad T30 laptop, suspending from the
user-switcher menu is fine, only suspends via the FN-suspend button are
affected.

Testing with the gnome-power-manager running --no-daemon I get the
following logs:


# user-switcher suspend

** (gnome-power-manager:30826): WARNING **: Suspend failed without error
message


# FN-suspend

** (gnome-power-manager:30826): WARNING **: Suspend failed without error
message

** (gnome-power-manager:30826): WARNING **: DBUS timed out, but
recovering

** (gnome-power-manager:30826): WARNING **: Suspend failed without error
message


# FN-suspend #2  

** (gnome-power-manager:30826): WARNING **: DBUS timed out, but
recovering

** (gnome-power-manager:30826): WARNING **: Suspend failed without error
message

** (gnome-power-manager:30826): WARNING **: Suspend failed without error
message

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-24 Thread Andy Whitcroft
@sanktnelson -- can you confirm that you avoid this issue if you use the
user-switcher to suspend.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-24 Thread Andy Whitcroft
** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium
 Assignee: (unassigned) => Andy Whitcroft (apw)
   Status: New => In Progress

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2009-01-11 Thread sanktnelson
is this any closer to resolution? I can reproduce it too, and it's very
annoying. (Thinkpad x61t, intrepid)

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2008-12-30 Thread Milan
Have a look at bug 149665, which is a long story and may have reappeared
recently.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2008-12-29 Thread Geir Ove Myhr
Ok, I should have checked the Redhat bug report as well.

I can also confirm this bug on a Compaq nx7400 using a Jaunty alpha-2
LiveCD. In contrast to my Thinkpad, it stays awake after the second
resume (the thinkpad only stays awake after the third resume).

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2008-12-29 Thread Noel J. Bergman
> It seems to be a Lenovo Thinkpad specific problem

No -- in the bug report at RedHat, Greg Orlowski reported that "[his]
laptop is a Dell D600."

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2008-12-25 Thread Geir Ove Myhr
I have marked bug 307977 and bug 307986 as duplicates of this bug, and
added the packages that those bugs were reported against. It seems to be
a Lenovo Thinkpad specific problem, since Noel has a T61p (from the
attached HalComputerInfo.txt), Marc has a X200s and Jeffrey has a X61
Tablet. I can also confirm on a X61 Tablet using a Jaunty alpha-2
LiveCD.

Btw, I also have a problem with suspend from the menu (bug 311362),
maybe you can comment there if you are experiencing/not experiencing the
same (maybe it's LiveCD specific).

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2008-12-25 Thread Geir Ove Myhr
** Also affects: pm-utils (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: gnome-power-manager (Ubuntu)
   Importance: Undecided
   Status: New

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2008-12-25 Thread Geir Ove Myhr
** Tags added: jaunty resume suspend

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2008-12-21 Thread Bug Watch Updater
** Changed in: linux
   Status: Unknown => Confirmed

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2008-12-21 Thread Jorge O. Castro
** Also affects: linux via
   https://bugzilla.redhat.com/show_bug.cgi?id=475585
   Importance: Unknown
   Status: Unknown

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2008-12-10 Thread Noel J. Bergman
Based on what we've seen regarding the differential behavior between
hotkey and command initiated suspend, I cannot claim that Intrepid
actually would behave any differently, given that Bug 267682 and Bug
217504 prevent hot key suspend in Intrepid.

** Description changed:

  Upon resuming from suspend-to-RAM, the system will start to wake, and
  will immediately go back to sleep.  If I cycle it one or two times more,
  it will stay awake.  I have reproduced this exact behavior with Jaunty
- on the new kernel as well as on Fedora 10, so it is not specific to
- Ubuntu.  I do not believe that it is nvidia driver related, or at least
- not version specific, because I have reproduced this on Fedora 10 with
- versions of the driver that work perfectly with Intrepid (q.v.,
- https://bugzilla.redhat.com/show_bug.cgi?id=475585).
+ on the new kernel as well as on Fedora 10
+ (https://bugzilla.redhat.com/show_bug.cgi?id=475585), so it is not
+ specific to Ubuntu.
+ 
+ It has been observed that this happens when suspending via hotkey but
+ not when suspending command (details in comments, below).
  
  As a conjecture, it is behaving as if due to some race condition it has
  not yet cleared  that it has a suspend event, so it immediately re-
  processes the suspend upon waking.
  
  ProblemType: Bug
  Architecture: amd64
  DistroRelease: Ubuntu 9.04
  NonfreeKernelModules: nvidia
  Package: linux-image-2.6.28-2-generic 2.6.28-2.3
  ProcCmdLine: root=UUID=ac4ccc70-26e3-44dd-a6cf-715d1226eeb4 ro quiet
  ProcEnviron:
   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.28-2.3-generic
  SourcePackage: linux

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2008-12-09 Thread Noel J. Bergman
Following up on Greg Orlowski's comment in
https://bugzilla.redhat.com/show_bug.cgi?id=475585#c6, I checked
something that leads me to really wonder about the keyboard handling.

If I suspend with the Fn-F4 hotkey, I go through the aforementioned
redundant cycling before the system stays awake.  But If I do:

 # pm-suspend

instead, the system behaves as desired.  Likewise, if I suspend from the
Gnome Fast User Switch Applet 2.24.0, everything works properly.  So it
appears to be only when suspending via the hotkey that this problem
occurs.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2008-12-09 Thread Noel J. Bergman
As a test, I killed gnome-power-manager, and started it up again in a
window with --no-daemon so that I could see the results.  I then did a
suspend, woke it up, woke it up again.  Saw the output, and decide to
suspend again.  Did so, and then had to wake it up three times, with the
third one being the charm.

Here is the result:



[EMAIL PROTECTED]:~#  gnome-power-manager --no-daemon#  gnome-power-manager
--no-daemon

** (gnome-power-manager:11454): WARNING **: DBUS error: Could not get owner of 
name 'org.gnome.ScreenSaver': no such name
** (gnome-power-manager:11454): DEBUG: proxy is NULL, maybe the daemon 
responsible for org.gnome.ScreenSaver is not running?

- MANUALLY SUSPENDED HERE -

** (gnome-power-manager:11454): WARNING **: DBUS timed out, but
recovering

** (gnome-power-manager:11454): WARNING **: Suspend failed without error
message

** (gnome-power-manager:11454): WARNING **: Suspend failed without error
message

- MANUALLY SUSPENDED AGAIN HERE -

** (gnome-power-manager:11454): WARNING **: Suspend failed without error
message

** (gnome-power-manager:11454): WARNING **: Suspend failed without error
message

** (gnome-power-manager:11454): WARNING **: Suspend failed without error
message



Notice the output: "Suspend failed without error message".  Suspend
worked each time, but it is interesting that there is one copy of that
message for each sleep that happens.  The first one is the one I
initiate, and the subsequent ones are the automatic cycling.

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2008-12-09 Thread Noel J. Bergman
http://bugzilla.gnome.org/show_bug.cgi?id=559238

** Changed in: gnome-power
   Importance: Unknown => Undecided
 Bugwatch: GNOME Bug Tracker #559238 => None
   Status: Unknown => New

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2008-12-09 Thread Noel J. Bergman
This bug in upstream is also similar, except that my scenario has
nothing to do with hibernate:
http://bugzilla.gnome.org/show_bug.cgi?id=486138

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2008-12-09 Thread Noel J. Bergman
I added the reference to an upstream defect in gnome-power-manager
because Matt Garrett, whom I respect, seems to believe that it is gnome-
power-manager related, and reading all of the open defects against
gnome-power-manager in upstream, I found one that described the
behavior.  Keep in mind that I do not have this  problem with either
Hardy or Intrepid, just Fedora 10 and Jaunty.

** Bug watch added: GNOME Bug Tracker #559238
   http://bugzilla.gnome.org/show_bug.cgi?id=559238

** Also affects: gnome-power via
   http://bugzilla.gnome.org/show_bug.cgi?id=559238
   Importance: Unknown
   Status: Unknown

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2008-12-09 Thread Noel J. Bergman
** Description changed:

  Upon resuming from suspend-to-RAM, the system will start to wake, and
  will immediately go back to sleep.  If I cycle it one or two times more,
  it will stay awake.  I have reproduced this exact behavior with Jaunty
  on the new kernel as well as on Fedora 10, so it is not specific to
  Ubuntu.  I do not believe that it is nvidia driver related, or at least
- not version specific, because I have reproduced this on Fedora with
- versions of the driver that work perfectly with Intrepid.
+ not version specific, because I have reproduced this on Fedora 10 with
+ versions of the driver that work perfectly with Intrepid (q.v.,
+ https://bugzilla.redhat.com/show_bug.cgi?id=475585).
  
  ProblemType: Bug
  Architecture: amd64
  DistroRelease: Ubuntu 9.04
  NonfreeKernelModules: nvidia
  Package: linux-image-2.6.28-2-generic 2.6.28-2.3
  ProcCmdLine: root=UUID=ac4ccc70-26e3-44dd-a6cf-715d1226eeb4 ro quiet
  ProcEnviron:
   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.28-2.3-generic
  SourcePackage: linux

** Description changed:

  Upon resuming from suspend-to-RAM, the system will start to wake, and
  will immediately go back to sleep.  If I cycle it one or two times more,
  it will stay awake.  I have reproduced this exact behavior with Jaunty
  on the new kernel as well as on Fedora 10, so it is not specific to
  Ubuntu.  I do not believe that it is nvidia driver related, or at least
  not version specific, because I have reproduced this on Fedora 10 with
  versions of the driver that work perfectly with Intrepid (q.v.,
  https://bugzilla.redhat.com/show_bug.cgi?id=475585).
+ 
+ As a conjecture, it is behaving as if due to some race condition it has
+ not yet cleared  that it has a suspend event, so it immediately re-
+ processes the suspend upon waking.
  
  ProblemType: Bug
  Architecture: amd64
  DistroRelease: Ubuntu 9.04
  NonfreeKernelModules: nvidia
  Package: linux-image-2.6.28-2-generic 2.6.28-2.3
  ProcCmdLine: root=UUID=ac4ccc70-26e3-44dd-a6cf-715d1226eeb4 ro quiet
  ProcEnviron:
   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.28-2.3-generic
  SourcePackage: linux

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306310] Re: Resume (from memory) goes back to sleep automatically

2008-12-08 Thread Noel J. Bergman

** Attachment added: "BootDmesg.txt"
   http://launchpadlibrarian.net/20308036/BootDmesg.txt

** Attachment added: "CurrentDmesg.txt"
   http://launchpadlibrarian.net/20308037/CurrentDmesg.txt

** Attachment added: "Dependencies.txt"
   http://launchpadlibrarian.net/20308038/Dependencies.txt

** Attachment added: "HalComputerInfo.txt"
   http://launchpadlibrarian.net/20308039/HalComputerInfo.txt

** Attachment added: "Lspci.txt"
   http://launchpadlibrarian.net/20308040/Lspci.txt

** Attachment added: "Lsusb.txt"
   http://launchpadlibrarian.net/20308041/Lsusb.txt

** Attachment added: "ProcCpuinfo.txt"
   http://launchpadlibrarian.net/20308042/ProcCpuinfo.txt

** Attachment added: "ProcInterrupts.txt"
   http://launchpadlibrarian.net/20308043/ProcInterrupts.txt

** Attachment added: "ProcModules.txt"
   http://launchpadlibrarian.net/20308044/ProcModules.txt

-- 
Resume (from memory) goes back to sleep automatically
https://bugs.launchpad.net/bugs/306310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs