public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Machine reboots immediately when suspended-to-disk
@ 2009-10-21  0:14 waltdnes
  2009-10-21  0:54 ` Albert Hopkins
  0 siblings, 1 reply; 7+ messages in thread
From: waltdnes @ 2009-10-21  0:14 UTC (permalink / raw
  To: Gentoo Users List

  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>



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-10-24 19:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-21  0:14 [gentoo-user] Machine reboots immediately when suspended-to-disk waltdnes
2009-10-21  0:54 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox