Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jul 2024 00:58:34 +0300
From:      Anton Shepelev <anton.txt@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: Need help controlling laptom display brightness via sysctl
Message-ID:  <20240705005834.4c7983ea29da3af8f8e36718@gmail.com>
References:  <20240704010029.75608a4e49205eb38a6034be@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I wrote:

> I need your help in setting up the brightness control on
> HP 15-b0xx laptop via sysctl.

I was infored that this ability has been discountinued in
favour of the backlight utility, so I gave up and wrote the
following devd rule:

notify 10
{	match  "system"    "ACPI"          ;
	match  "subsystem" "Video"         ;
	match  "type"      "brightness"    ;
	action "/usr/bin/backlight $notify";  };

This changes brightness by tiny 1/100 steps, but this is
by desing of the HP engineers...

References:
1. https://man.freebsd.org/cgi/man.cgi?query=devd.conf
2. https://www.davidschlachter.com/misc/freebsd-acpi_video-thinkpad-display-brightness




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240705005834.4c7983ea29da3af8f8e36718>