From: waltdnes@waltdnes.org
To: Gentoo Users List <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] Machine reboots immediately when suspended-to-disk
Date: Tue, 20 Oct 2009 20:14:12 -0400 [thread overview]
Message-ID: <20091021001411.GA4883@waltdnes.org> (raw)
I've enabled suspend-to-disk in the kernel. When I issue the command
"echo disk > /sys/power/state", it suspends but *IMMEDIATELY* reboots
and comes back up again. The session restores properly from the swap
drive, so at least that part works. What can I do to keep it sleeping
until I power up again?
The major non-standard items with my system are that
1) I've set the short button-press on the power-button as a panic escape
to kick me to VT1, rather than reboot.
2) I've disabled {CTRL-ALT-DEL}, because I've hit it once too often at
home after becoming used to it on Windows at work... grrrrr
A relatively minor nuisance is due to the fact I combine "vga=6" in
/etc/lilo.conf with "CONSOLEFONT="lat1-10"" in /etc/conf.d/consolefont.
"vga=6" defaults to 8-pixel-high font on 640 pixels across by 480 pixels
high. This gives 60 rows of text, but is unreadable. Switching over to
a 10-pixel-high font gives a nicer, more readable, 48-row display.
After coming back from its very short suspend, the machine comes back
up with a 640 pixel x 480 scanline display as per "vga=6". It also
remembers that I have 48 lines on my text consoles. But it gives the
full 60 row display, with the bottom dozen rows not being used. I can
straighten this out by manually issuing the command...
"setfont /usr/share/consolefonts/lat1-10". Is there a script file that
can be set up to execute only after a resume?
--
Walter Dnes <waltdnes@waltdnes.org>
next reply other threads:[~2009-10-21 0:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-21 0:14 waltdnes [this message]
2009-10-21 0:54 ` [gentoo-user] Machine reboots immediately when suspended-to-disk Albert Hopkins
2009-10-21 11:46 ` Mick
2009-10-21 21:22 ` waltdnes
2009-10-23 8:04 ` [gentoo-user] " Peter Weilbacher
2009-10-24 1:37 ` waltdnes
2009-10-24 19:10 ` Peter Weilbacher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091021001411.GA4883@waltdnes.org \
--to=waltdnes@waltdnes.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox