LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 03-09-2023, 07:30 PM   #1
Jofto
Member
 
Registered: Dec 2022
Posts: 111

Rep: Reputation: 0
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.

Last edited by Jofto; 03-10-2023 at 06:46 PM.
 
Old 03-10-2023, 12:18 PM   #2
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
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.
 
Old 03-10-2023, 06:44 PM   #3
Jofto
Member
 
Registered: Dec 2022
Posts: 111

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by goumba View Post
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.
 
Old 03-13-2023, 07:34 AM   #4
Mike_Walsh
Member
 
Registered: Jul 2017
Location: King's Lynn, UK
Distribution: Nowt but Puppies....
Posts: 660

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
@ 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.

Last edited by Mike_Walsh; 03-13-2023 at 07:38 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does Bionicpup32*8.0 have a suspend option? Jofto Puppy 1 05-16-2023 09:30 AM
Updating Error [The repository 'https://packages.elementary.io/appcenter bionic Release' does not have a Release file." crujones4 Linux - Software 6 01-30-2021 10:36 AM
this ppa does not support bionic - any workaround? anon091 Linux - Software 5 01-16-2019 12:48 AM
Bash does not suspend/cancel pm-suspend theKbStockpiler Linux - General 1 11-05-2012 02:37 PM
[SOLVED] Suspend problem - suspend sometimes does a logout taylorkh Linux - Hardware 4 06-24-2010 04:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 06:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration