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/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229120

--- Comment #5 from Ali Abdallah <aliovx@gmail.com> ---
Hi Matías,

The Fn buttons never changed the brightness automatically (even on old already
supported Thinkpad models), instead it sends a userspace event to devctl, that
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. 

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

!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPCB.EC__.HKEY notify=0x10
!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPCB.EC__.HKEY notify=0x11

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. 

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

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

help

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