LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Puppy (https://www.linuxquestions.org/questions/puppy-71/)
-   -   Does Bionic 32 have a suspend option? (https://www.linuxquestions.org/questions/puppy-71/does-bionic-32-have-a-suspend-option-4175722883/)

Jofto 03-09-2023 07:30 PM

Does Bionic 32 have a suspend option?
 
[SOLVED]I am learning Linux, running a Bionic 32 USB live bootable on a flash stick. Would like to have the system suspended instead of shutdown. Do not find the suspend option. Does it have one or a substitute?
Thanks.

goumba 03-10-2023 12:18 PM

Can't answer your specific question, but I did want to let you know that suspending while using a live USB can be flaky. There's no guarantee your ports are going to be properly powered back up, or enumerated in the same order. You'll end up crashing on resume, it's happened to me often in the past. I think you'd be better off just shutting it down completely.

Jofto 03-10-2023 06:44 PM

Quote:

Originally Posted by goumba (Post 6416753)
Can't answer your specific question, but I did want to let you know that suspending while using a live USB can be flaky. There's no guarantee your ports are going to be properly powered back up, or enumerated in the same order. You'll end up crashing on resume, it's happened to me often in the past. I think you'd be better off just shutting it down completely.

Thank you.
All right. The start time is about 80 seconds. Not bad at all.

Mike_Walsh 03-13-2023 07:34 AM

@ goumba :-

A 'Puppy on a stick" is NOT the same thing as a standard Live session. Nothing like. For a start, there's persistence.....and a Puppy-on-a-stick is, in fact, running in its intended, natural environment. Though your point about ports not being enumerated IS well-taken; we use a udev-rules based utility to ensure things are always re-mounted at the same mount-points.

@jofto :-

Very few Puppies have suspend built-in, OOTB. But it's simple to set up. Create a small script called 'suspend.sh' - or something similar - and edit it to read as follows:-

Code:

#!/bin/sh
#
echo -n mem > /sys/power/state

Make sure it's executable - right-clk->Properties; tick the 'Exec' checkboxes down the bottom>Refresh->OK. Now, clicking on that script will suspend your system. Hitting any key on the keyboard will wake it up again.

Don't ask me how to make that work when you close a laptop lid! I don't know, because I always use a desktop. Totally different procedure, and doesn't involve setting stuff up in the BIOS and/or messing-around with ACPI settings.....

Why don't you join us over at the Puppy forums? That's the best place to ask Puppy-related questions.


Mike. :hattip:


All times are GMT -5. The time now is 08:37 AM.