As I understand, you want your screen to turn off when the lid is closed and back again after opening the lid?
Under root privilege:
#sysctl hw.acpi.reset_video=1
Now close the lid and open it again, the light should be back.
For permanent setting:
# echo "hw.acpi.reset_video=1" >> /etc/sysctl.conf
|