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 <waltd...@waltdnes.org>