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
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


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
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


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
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


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
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