Take a look at this file :-
/etc/default/acpi-support, a few things are important there.
Make sure LID_SLEEP=true.
If it has been commented, uncomment it.
I use the knoppix 6.4.4 cd edition installed on usb stick.
When I run pm-suspend it correctly suspends, if I run /etc/acpi/suspend.sh it correctly suspends but when I close my laptop's lid it doesn't work.
any suggestions?
Take a look at this file :-
/etc/default/acpi-support, a few things are important there.
Make sure LID_SLEEP=true.
If it has been commented, uncomment it.
It works, thank you
When running with an external monitor (like I do almost all the time), you don't want it to suspend when you close the lid - so I don't think this default should be called a bug.
Intel Core i7-4790K SR219 4.00GHZ 4Th Gen Used Desktop Processor CPU FCLGA1150
$64.99
Intel Core i5-6500 6th GEN Quad-Core 3.2GHz FCLGA 1151 CPU Processor SR2L6
$23.99
Intel Core i7 CPU Processors, I7 2600, i7 3770, i7 4770, i7 4790
$28.99
Intel Core i7-3770 Desktop Processor (3.4 GHz, 4 Cores, LGA 1155) Ivy Bridge
$29.99
Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...
$373.99
Intel Core i7-8700 3.20 GHz CPU Processor SR3QS
$92.00
AMD Ryzen 7 7800X3D 4.2GHz 8 Core 16 Thread Gaming Desktop Processor Used
$289.99
Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc...
$305.99
Intel Core i7-13700KF - 13th Gen Raptor Lake 16-Core (8P+8E) Desktop CPU Proc...
$289.99
INTEL CORE I5-8600 PROCESSOR | 3.10GHZ | SR3X0
$59.99