How to suspend Dell e6400 laptop?
Are you booting and running Puppy from a USB drive.
USB Flash drive or hard drive?
I remember something about suspend made to not work if running from a USB drive.
This code is in suspend.sh
USB Flash drive or hard drive?
I remember something about suspend made to not work if running from a USB drive.
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)
Invoking suspend with the echo command bypasses that USB check. The 1 second delay 'seems' like something is sending an interrupt that the kernel interprets as a power button press. I don't have any hardware that behaves in this manner so it's a bit of a 'thought experiment' for me. Doing that echo command and then entering dmesg in terminal and then looking at the final lines of the output (after a line that contains "suspend entry" in my system) might shed some light on what the kernel is doing. I'll attach those lines from my system doing a normal suspend and wake as an example. When you're ready to call a halt say so, otherwise I'm still puzzled.
@ally Thanks for the check. I replied but must have just previewed and slept. How are you booting?
@ally Thanks for the check. I replied but must have just previewed and slept. How are you booting?
- Attachments
-
- dmesg_suspend.gz
- dmesg output for a working suspend. False gz, remove to view.
- (2.22 KiB) Downloaded 122 times
Pups currently in kennel :D Older LxPupSc and X-slacko-4.4 for my users; LxPupSc, LxPupSc64 and upupEF for me. All good pups indeed, and all running savefiles for look'n'feel only. Browsers, etc. solely from SFS.
@marv
grub4dos
Code: Select all
kernel /xenial64_7.5/vmlinuz psubdir=xenial64_7.5 pmedia=atahd pfix=fsck intel_pstate=disable acpi_osi="!Windows 2012"
the question should not be if you boot from a USB drive. the script exits if ANY USB MEDIA mounted!bigpup wrote:Are you booting and running Puppy from a USB drive.
USB Flash drive or hard drive?
I remember something about suspend made to not work if running from a USB drive.
This code is in suspend.shCode: 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