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.
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$80.39
Kingston KC600 1 TB Solid State Drive - 2.5" Internal - SATA (SATA/600)
$60.00
Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot
$73.29
Seagate ST1000DX001 1TB 3.5" Desktop Hybrid SSHD Solid-State Hybrid Drive
$33.38
CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD
$9.00
1TB HDD/SSD 2.5" SATA Hard Drive for Laptop with Win 10/Win 11 Pro Pre-installed
$19.99
Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive
$67.99
HP MM1000GBKAL 1TB 2.5" 6Gb/s 7.2K RPM SATA Hard Drive P/N: 614829-003 Tested
$14.99
Samsung - 990 980 970 PRO & EVO 4TB 2TB 1 TB Internal PCle Gen 4x4 NVMe M.2SSD
$320.00
Internal HDD SATA 3.5" 250GB-2TB Hard Drive with Legacy Windows 11 Pro Installed
$29.15