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