Thanks. I tried that, however this has dependencies on X, and even then, it wouldn't work. I also tried blacklisting i915drmdkms, booting from both BIOS and UEFI, and using genfb instead of acpivga.
So far the best I found is to unplug the LVDS cable from the motherboard and use an external display instead. It could be more handy but at least I can turn off the display now. D.B. > On 17 Jan 2023, at 23:13, RVP <r...@sdf.org> wrote: > > On Thu, 29 Dec 2022, Damien Boureille wrote: > >> I'm running NetBSD 9.3-amd64 GENERIC on a Dell Precision M4600 (Sandy >> Bridge) mobile workstation, used as a server. >> >> Closing the lid will not turn off the backlight, which conducts and builds >> up heat inside the case. >> [...] >> I'm using an i915 chipset: >> >> # pcictl pci0 list >> 000:00:0: Intel Sandy Bridge (mobile) Host Bridge (host bridge, revision >> 0x09) >> 000:02:0: Intel Sandy Bridge (mobile) GT2+ Integrated Graphics Device (VGA >> display, revision 0x09) >> (...) >> > > Since you have an Intel card, you can install the `intel_backlight' > package, and call it in the `/etc/powerd/scripts/lid_switch' script. > > -RVP >