On Thu, Dec 09, 2004 at 07:10:58AM -0600, Hugo Vanwoerkom wrote: > >>Hi. I have an IBM thinkpad and I installed Debian on it and got a > >>daemon called sleepd -- however it wants a command to actually put the > >>machine to sleep. Its default was apm -s which of course never worked > >>because the machine is an acpi machine. > >> > >>Any suggestions will be appreciated. > >> > >Maybe you want to have a look at this: > >http://softwaresuspend.berlios.de/ > Anyone with experience of using this vs. the 2.6 native option?
i just use the native 2.6 swsusp and acpi with my r40. for the command, i just coded a little script that ultimately calls: echo 4 > /proc/acpi/sleep and i've added bits along the way, like resetting the clock, disabling laptop mode, etc. here's most my script: #!/bin/sh chvt 12 # since i like to watch /etc/init.d/laptop-mode stop /etc/init.d/hwclock.sh stop echo 4 > /proc/acpi/sleep /etc/init.d/hwclock.sh start /etc/init.d/laptop-mode start -- ____________________}John Flinchbaugh{______________________ | [EMAIL PROTECTED] http://www.hjsoft.com/~glynis/ | ~~Powered by Linux: Reboots are for hardware upgrades only~~
signature.asc
Description: Digital signature