Feature #815
Disable Laptop Screen From Going Blank When Lid Closes on FreeBSD
Description
This is a guide on how I disabled my laptop screen from going blank when closing the screen lid.
- Enable the acpi video driver at boot:
echo 'acpi_video_load="YES"' >> /boot/loader.conf
- Edit the devd config file:
vi /etc/devd.conf
- Then add the following to the end of the file:
#Added to fix issue with LCD staying blank after close/re-open. #Lid switch notify 0 { match "system" "ACPI"; match "subsystem" "Lid"; match "notify" "0x00"; action "sysctl hw.acpi.video.lcd0.active=0"; }; notify 0 { match "system" "ACPI"; match "subsystem" "Lid"; match "notify" "0x01"; action "sysctl hw.acpi.video.lcd0.active=1"; };
- Then add the following to the end of the file:
- Reboot the system to apply the changes:
reboot
Resources¶
Updated by Daniel Curtis over 8 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100