Laptop suspend works w/ Tahr 6.0 CD but not USB install
Laptop suspend works w/ Tahr 6.0 CD but not USB install
I was originally booting my old Sony Vaio VGN-T150 into the live CD of Tahr 6.0 (tahr-6_0-CE_noPAE.iso) on a USB stick created with Unetbootin, where closing the lid would successfully put the netbook into suspend mode. However, I have now installed Tahr 6.0 to a USB stick and upgraded it to 6.0.2, but subsequently suspend doesn't seem to work: it doesn't suspend when the lid is closed, and I have installed the PupShutdown 3.0 pet and the Suspend to RAM option there does nothing. Pressing the power button and clicking Suspend similarly does nothing. Is there some diagnostics I can run to find out why this feature is not working on the installed version?
Last edited by 3guesses on Wed 08 Jan 2020, 20:00, edited 1 time in total.
You are using some of the versions of Tahrpup that still had bugs.
The final release version is Tahrpup 6.0.5
You should be able to install Tahrpup 6.0.5 and use the old Tahrpup save, you now use, with it.
It may be because Tahrpup is running from a USB flash drive.
How the save is handled is different than a live CD.
Because the save could be in the process of being written to, at any time.
Suspend would mess it up.
So, suspend is deactivated for USB flash drive operations.
This code is in suspend.sh
The final release version is Tahrpup 6.0.5
You should be able to install Tahrpup 6.0.5 and use the old Tahrpup save, you now use, with it.
It may be because Tahrpup is running from a USB flash drive.
How the save is handled is different than a live CD.
Because the save could be in the process of being written to, at any time.
Suspend would mess it up.
So, suspend is deactivated for USB flash drive operations.
This code is in suspend.sh
Code: Select all
# do not suspend if usb media mounted
USBS=$(probedisk2|grep '|usb' | cut -d'|' -f1 )
for USB in $USBS
do
mount | grep -q "^$USB" && rm -f "$LOCKFILE" && exit 0
done
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
OK, thanks very much, that's very useful. I was prompted by Puppy Package Manager (I think) to upgrade to either 6.0.2 or 6.0.1 - how do I go to 6.0.5? And I take it that doing so still won't allow me to suspend the netbook if 6.0.5 is installed to a USB memory stick?bigpup wrote:You are using some of the versions of Tahrpup that still had bugs.
The final release version is Tahrpup 6.0.5
You should be able to install Tahrpup 6.0.5 and use the old Tahrpup save, you now use, with it.
It may be because Tahrpup is running from a USB flash drive.
How the save is handled is different than a live CD.
Because the save could be in the process of being written to, at any time.
Suspend would mess it up.
So, suspend is deactivated for USB flash drive operations.
This code is in suspend.sh
Code: Select all
# do not suspend if usb media mounted USBS=$(probedisk2|grep '|usb' | cut -d'|' -f1 ) for USB in $USBS do mount | grep -q "^$USB" && rm -f "$LOCKFILE" && exit 0 done
I assume you have Tahrpup installed as a frugal or live USB install using a save.
Make a copy of the save, for backup, to make sure you have it.
On another device, like a hard drive, another USB drive, etc.... would be best.
Iso is here:
http://distro.ibiblio.org/puppylinux/pu ... 20-6.0-CE/
Note:
There is a Tahrpup 6.0.6, but it was not fully tested. It may have bugs.
The best way to update to 6.0.5 is to download the Tahrpup 6.0.5 iso.
Do a frugal or live install with it.
Copy the old save into the exact location as this Tahrpup 6.0.5 install.
When you boot it, the save should be converted to one for 6.0.5 and used.
Yes. still no suspend, booting from a USB.
Make a copy of the save, for backup, to make sure you have it.
On another device, like a hard drive, another USB drive, etc.... would be best.
Iso is here:
http://distro.ibiblio.org/puppylinux/pu ... 20-6.0-CE/
Note:
There is a Tahrpup 6.0.6, but it was not fully tested. It may have bugs.
The best way to update to 6.0.5 is to download the Tahrpup 6.0.5 iso.
Do a frugal or live install with it.
Copy the old save into the exact location as this Tahrpup 6.0.5 install.
When you boot it, the save should be converted to one for 6.0.5 and used.
Yes. still no suspend, booting from a USB.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Many pups still have "do not suspend if usb media mounted" on or about line 29 of /etc/acpi/actions/suspend.sh (or /etc/acpi/suspend.sh ); comment out that block and usb installation should suspend fine. Also at end of script, make sure <rm -f "$LOCKFILE> has a quote to end the command (missing in several pups).
If you do what Dry Falls suggests.
I strongly suggest you setup the save to never save at a set time.
Only save when the save icon is clicked or you shutdown.
I strongly suggest you setup the save to never save at a set time.
Only save when the save icon is clicked or you shutdown.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)