Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2012 02:58:04 +0900 (JST)
From:      Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
To:        freebsd-acpi@freebsd.org
Subject:   [CFT] acpi_ibm event handler
Message-ID:  <20120616.025804.48535013.iwasaki@jp.FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Hi,

I've noticed that brightness up/down keys on my Thinkpad X61 doesn't
work.  Checking DSDT of X61, many changes were found comparing with
older Thinkpad (eg. X41).  So I made the patches against acpi_ibm(4)
as a workaround so that devd(8) events are handled by event handler in
acpi_ibm(4).

the patches at:
http://people.freebsd.org/~iwasaki/acpi/acpi_ibm-20120615.diff

With the following sysctl setting, now brightness control is working :)

sysctl dev.acpi_ibm.0.events=1
sysctl dev.acpi_ibm.0.handlerevents='0x04 0x10 0x11'

Thanks!



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