Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2018 13:55:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        acpi@FreeBSD.org
Subject:   [Bug 229120] [acpi_ibm] [patch] Add support for newer Thinkpad models with id LEN0268
Message-ID:  <bug-229120-16045-ZZofBY7w9k@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229120-16045@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229120-16045@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229120

--- Comment #5 from Ali Abdallah <aliovx@gmail.com> ---
Hi Mat=C3=ADas,

The Fn buttons never changed the brightness automatically (even on old alre=
ady
supported Thinkpad models), instead it sends a userspace event to devctl, t=
hat
is populated by devd. The user typically runs a devd action to change the
brightness, and my patch does not change that, see man(4) acpi_ibm.=20

Instead, with the patch applied now you get devd events for FN-brightness
up/down.

!system=3DACPI subsystem=3DIBM type=3D\_SB_.PCI0.LPCB.EC__.HKEY notify=3D0x=
10
!system=3DACPI subsystem=3DIBM type=3D\_SB_.PCI0.LPCB.EC__.HKEY notify=3D0x=
11

then you can, via a devd action, change the brightness using for example
hw.acpi.video.lcd0.brightness. Other keys, which did not work without the
patch, now send devd events, such as FN-Wireless, FN-Mic.=20

For the brightness part, yes I think something should be done to make the=20
dev.acpi_ibm.0.lcd_brightness syscalls work again, will post here any progr=
ess.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229120-16045-ZZofBY7w9k>