Date: Fri, 17 Apr 2020 08:54:52 -0700 From: Colin Percival <cperciva@freebsd.org> To: Alexey Dokuchaev <danfe@freebsd.org> Cc: Oliver Pinter <oliver.pntr@gmail.com>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org> Subject: Re: svn commit: r360025 - head/sys/dev/acpica Message-ID: <c9a1df21-761c-a6a4-f097-7f14acdbda4b@freebsd.org> In-Reply-To: <20200417062636.GC24371@FreeBSD.org> References: <202004162156.03GLuqgw058432@repo.freebsd.org> <CAPjTQNEFpKXE6QQUdR5dh3eHtmcVXfqOHW9JvdrhtPNrhGN=kA@mail.gmail.com> <b8a9b1cf-720e-dc42-ccc3-fee0ff584bda@freebsd.org> <20200417062636.GC24371@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-04-16 23:26, Alexey Dokuchaev wrote: > On Thu, Apr 16, 2020 at 03:12:15PM -0700, Colin Percival wrote: >> On 2020-04-16 15:05, Oliver Pinter wrote: >>> On Thursday, April 16, 2020, Colin Percival <cperciva@freebsd.org >>> <mailto:cperciva@freebsd.org>> wrote: >>> Log: >>> Alert devd when acpi_video brightness changes >>> >>> Please add this to release notes! >> >> I considered that, but so far I don't have any evidence that other >> systems exist with the same half-working ACPI. Unless you're aware of >> people who are seeing the same "hw.apci.video.lcd0.brightness changes >> but thebacklight doesn't" syndrome? > > So this is more like a work-around for the problem which lies elsewhere: > something is missing in acpi_video(4) or perhaps we need a (nonexistent) > acpi_dell(4)? In this case, shouldn't it be disabled by default, or at > least be toggable since as you say, evidently just a minority of systems > exist with the same half-working ACPI? Having occasional extra messages coming through devctl(4) is harmless; by default devd will just drop them on the floor since there isn't anything configured to do with them. In an upcoming change to the graphics/intel-backlight port (if/when someone merges my patch into their github repo...) I'll be providing a configuration file which can be copied into /usr/local/etc/devd/ in order to hook these messages up to the intel-backlight utility. So... yes, for practical purposes this is disabled by default. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c9a1df21-761c-a6a4-f097-7f14acdbda4b>