FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Laptop

LinkBack Thread Tools
Old 01-20-2008, 05:59 PM
Damjan Vrencur
Default suspend2ram doesn't turn off the screen anymore on Thinkpad X31 after lenny upgrade


I'm using X31 with unstable and it works great.
The packages hibernate and uswsusp in fact work for me out of the box both for
suspending to disk (/usr/bin/hibernate) and to ram (/usr/bin/susp2mem).

> 1. I "echo mem > /sys/power/state" (i know this is deprecated, but this
> is how it always worked here)

> 2. The suspend process goes on normally (the screen turns off, the
> "moon led" flashes, and the laptop goes to sleep)
> 3. When the "moon led" goes solid (ie. the laptop is suspended), the
> screen *turns itself on* for some reason
> 4. When i resume, everything comes back to normal (X11 and everything
> comes back up)
> I suspect the problem is related to ACPI, as I've heard that part of
> 'testing' is in flux. Also the fact that the screen actually turns
> itself *off* while the laptop goes to sleep but really turns itself back
> up when the computer is really asleep is a dead giveaway: ACPI *must* be
> broken somewhere.
> I have tried upgrading Xorg to unstable (of course no effect), upgrading
> all the acpi* packages I could find (no effect). Also note that uswsusp
> and hibernate do not work on this laptop, last time I checked (ie. in
> sarge).
> I'd be happy to proceed to whatever required debugging to go through
> this problem, as I use this functionality a lot.
> Thanks for any pointers,
> A.
> PS: please CC me, i'm not on the list

Damjan Vrenčur <~> http://lmmri.fri.uni-lj.si/damjan/ <~> GPG key: C6A3146F
Old 01-21-2008, 08:53 AM
Damjan Vrencur
Default suspend2ram doesn't turn off the screen anymore on Thinkpad X31 after lenny upgrade


> I can't find susp2mem anywhere in Debian, any version:

Sorry, this was typo on my side.
I'm suspending to ram with /usr/sbin/s2ram which comes with uswsusp package.

> I noticed that hibernate-ram *does* work, but:
> a) it doesn't lock the screen in Gnome
> b) Gnome doesn't invoke hibernate-ram for some reason, but some hack
> around my "echo mem > /sys/power/state" (the effect is the same, ie.
> the screen remains lit when sleeping)
> So as a workaround I can type "hibernate-ram" in a terminal, but it's a
> really bad workaround since anyone that pops my laptop open get my full
> active session.

I'm using quite a different window manager (dwm) and don't know how to
configure Gnome corectly for suspending. I have a little script in my $PATH
which says:

sudo s2ram
exec slock;
and I run it when I want to suspend. Similary for hibernate (just replace
s2ram -> s2disk).

slock locks the screen after wakening-up.

Gnome doesn't suspend or hibernate for me "by clicking", but using s2ram and
s2disk work without problems.

Problably someone knows how to make Gnome suspend in a "user-friendly" way. I
would be interested to know, but I have no time (and no need) to investigate
furher in Gnome configuration.

Damjan Vrenčur <~> http://lmmri.fri.uni-lj.si/damjan/ <~> GPG key: C6A3146F

Thread Tools

All times are GMT. The time now is 11:57 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org