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.
HP ProLiant BL460c Gen9 Blade 2x E5-2690v4 2.6GHz =28 Cores 32GB P246 650FLB
$223.00
DELL PEM640 POWEREDGE M640 BLADE SERVER
$539.95
Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W
$399.00
Sun Microsystems Blade 100 Workstation UltraSPARC-IIe 500MHz 256MB Server No HDD
$95.00
HP ProLiant BL460c Gen9 Blade Server Intel Xeon E5-2698 v3 - 512GB RAM
$255.61
Dell PowerEdge M620 Blade Server 2x 10C E5-2690v2 64GB Ram 2x 600GB 10k HDD
$125.00
Google Search Appliance - Dell PowerEdge R710 x2 Xeon X5690 192GB Memory 6TB HDD
$529.99
Dell PowerEdge M520 Blade Server Xeon E5-2403 NO HDD NO RAM
$40.00
DELL PowerEdge M630 Blade 2x E5-2680v4 2.4GHz =28 Cores 128GB H330 2x10Gb X520
$275.00
DELL POWEREDGE M630 BLADE 2x 12 CORE E5-2690 v3 2.6GHz 24X16GB 384GB RAM NO HDD
$399.00