Tiny Core Base > TCB Talk
exittc with suspend support
Roberto A. Foglietta:
--- Quote from: tobiaus on April 07, 2009, 04:27:21 PM ---
--- Quote from: robang on April 07, 2009, 10:49:16 AM ---it would be useful also if the battery discharge completely during the suspend time.
--- End quote ---
it would be useful as an option... i'd be pretty angry if the distro i used started guessing things like that. so long as it's all off unless you opt-in, okay.
--- End quote ---
Yes, it is an option like in "reboot" and "shutdown".
Roberto A. Foglietta:
--- Quote from: jpeters on April 07, 2009, 09:27:18 PM ---I just use:
echo -n "mem" > /sys/power/state
I don't know if that works for all machines.
--- End quote ---
I will use it if s2ram is not present on the system, but s2ram has more options.
Roberto A. Foglietta:
--- Quote from: jpeters on April 07, 2009, 09:27:18 PM ---I just use:
echo -n "mem" > /sys/power/state
I don't know if that works for all machines.
--- End quote ---
I does not work for me:
--- Code: ---tc@box:~/$ sudo echo -n "mem" > /sys/power/state
sh: can't create /sys/power/state: Permission denied
tc@box:~/$ cat /sys/power/state
standby mem disk
--- End code ---
^thehatsrule^:
Your redirect does not have root privs (ie use a root session)
jpeters:
--- Quote from: ^thehatsrule^ on April 09, 2009, 11:14:12 PM ---Your redirect does not have root privs (ie use a root session)
--- End quote ---
Yes...you can place the suspend script in /root and run it from there. (eg, sudo /root/suspend )
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version