From owner-freebsd-acpi@FreeBSD.ORG Sun Jun 17 18:07:53 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A21A3106566B for ; Sun, 17 Jun 2012 18:07:53 +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 48C6E8FC0A for ; Sun, 17 Jun 2012 18:07:52 +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 q5HI7hZe010249; Mon, 18 Jun 2012 03:07:44 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Date: Mon, 18 Jun 2012 03:07:25 +0900 (JST) Message-Id: <20120618.030725.95800960.iwasaki@jp.FreeBSD.org> To: kob6558@gmail.com From: Mitsuru IWASAKI In-Reply-To: References: <20120616.025804.48535013.iwasaki@jp.FreeBSD.org> <4FDBE1BA.3070204@gmail.com> 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 Cc: freebsd-acpi@freebsd.org Subject: Re: [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: Sun, 17 Jun 2012 18:07:53 -0000 Hi, > Brightness can be adjusted using "acpi_call -p '\VBRC' -i n" (where n > is 0-15). acpi_call must be installed from ports. But this command > sets absolute brightness, so it can't raise or lower the brightness > unless you have the current value and I don't know how to get that. > This is the case on my T520. X61 has the same problem. There are 2 video device object in ACPI namespace, \_SB.PCI0.VID (vgapci attached but brightness control doesn't work) and \_SB.PCI0.AGP.VID (has VBRC method but no driver attached because of wrong _ADR). The custom DSDT with the following patches and acpi_video(4) now can adjust brightness level :) http://people.freebsd.org/~iwasaki/acpi/tpx61.asl.diff If you want to make the custom DSDT, I can help you. Thanks!