NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD 9.3 amd64 won't turn off display backlight



On Thu, Dec 29, 2022 at 21:48:46 +0100, Damien Boureille wrote:

> # wsconsctl -d -w backlight=0
> wsconsctl: WSDISPLAYIO_PARAM_BACKLIGHT: Inappropriate ioctl for device
> 
> # sysctl -a | grep acpi.acpi
> hw.acpi.acpiout1.brightness = 50
> hw.acpi.acpivga0.bios_switch = 1
> 
> This works fine but only dims the display:
> # sysctl -w hw.acpi.acpiout1.brightness=0
> 
> No other relevant variable seems available in sysctl.


Does screenblank(8) work?  You can force the screen off imeediately
with

  screenblank -b

and unblank with

  screenblank -u

Trying it from an ssh session first might be a prudent thing to do, or
be ready to type the second command blindly :)

-uwe


Home | Main Index | Thread Index | Old Index