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

2023-01-23 Thread RVP
On Mon, 23 Jan 2023, Valery Ushakov wrote: Does screenblank(8) work? You can force the screen off imeediately with screenblank -b and unblank with screenblank -u If you have DRMKMS enabled, then this actually works! The program is completely new to me, so thanks Uwe! -RVP

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

2023-01-23 Thread RVP
On Mon, 23 Jan 2023, Damien Boureille wrote: Thanks. I tried that, however this has dependencies on X, and even then, it wouldn't work. If you mean the dependency on libdrm, then that can be eliminated. The code just needs libpciaccess. I also tried blacklisting i915drmdkms, booting from b

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

2023-01-23 Thread Valery Ushakov
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

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

2023-01-23 Thread Damien Boureille
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 dis

Re: sending/receiving UTF-8 characters from terminal to program

2023-01-23 Thread r0ller
It seems that all my previously sent emails to say thanks got lost so I give it another try: thanks to all who got involved and helped me! Problem is solved :) Best regards, r0ller On 1/21/23 12:26 AM, RVP wrote: On Fri, 20 Jan 2023, Valery Ushakov wrote: On Fri, Jan 20, 2023 at 15:09:44 +