I'm having the same problem using Linux Mint 13 (based on Ubuntu 12.04) with a Compaq nc6000.
Lid state /proc/acpi/button/lid/C139/status is always set to "open", but if I hibernate (pm-hibernate) and wake-up, lid button works correctly.
acpi_listen shows in both cases (with and without hibernating) the lid events:
button/lid C139 00000080 00000048
The last number is increased in each event.
In each event, /etc/acpi/lid.sh is called. This script checks /proc/acpi/button/lid/*/state and acts in consecuence.
I'm having the same problem using Linux Mint 13 (based on Ubuntu 12.04) with a Compaq nc6000.
Lid state /proc/acpi/ button/ lid/C139/ status is always set to "open", but if I hibernate (pm-hibernate) and wake-up, lid button works correctly.
acpi_listen shows in both cases (with and without hibernating) the lid events:
button/lid C139 00000080 00000048
The last number is increased in each event. button/ lid/*/state and acts in consecuence.
In each event, /etc/acpi/lid.sh is called. This script checks /proc/acpi/