From owner-freebsd-acpi@FreeBSD.ORG Fri Jun 15 17:58:12 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1D861065674 for ; Fri, 15 Jun 2012 17:58:12 +0000 (UTC) (envelope-from iwasaki@jp.FreeBSD.org) Received: from locore.org (ns01.locore.org [218.45.21.227]) by mx1.freebsd.org (Postfix) with ESMTP id 5C7BB8FC19 for ; Fri, 15 Jun 2012 17:58:11 +0000 (UTC) Received: from localhost (celeron.v4.locore.org [192.168.0.10]) by locore.org (8.14.5/8.14.5/iwasaki) with ESMTP/inet id q5FHw4Rn099626 for ; Sat, 16 Jun 2012 02:58:04 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Date: Sat, 16 Jun 2012 02:58:04 +0900 (JST) Message-Id: <20120616.025804.48535013.iwasaki@jp.FreeBSD.org> To: freebsd-acpi@freebsd.org From: Mitsuru IWASAKI X-Mailer: Mew version 3.3 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [CFT] acpi_ibm event handler X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2012 17:58:12 -0000 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!