From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 16:15:43 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 736E416A41C; Tue, 31 May 2005 16:15:43 +0000 (GMT) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15BFB43D49; Tue, 31 May 2005 16:15:43 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.91] (sam@[66.127.85.91]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j4VGFdms094211 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 31 May 2005 09:15:41 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <429C8E98.6000101@errno.com> Date: Tue, 31 May 2005 09:19:36 -0700 From: Sam Leffler User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050327) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hideyuki KURASHINA References: <200505301857.20346.markus@FreeBSD.org> <20050531.232933.115970943.rushani@bl.mmtr.or.jp> In-Reply-To: <20050531.232933.115970943.rushani@bl.mmtr.or.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org, markus@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Call for testers: New acpi_ibm driver 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: Tue, 31 May 2005 16:15:43 -0000 Hideyuki KURASHINA wrote: > Hi, Markus > > >>>>On Mon, 30 May 2005 18:57:09 +0200, Markus Brueffer said: > > >>I'm looking for testers for a mostly rewritten and enhanced version of the >>acpi_ibm (ACPI Thinkpad Extras) driver. >> >>You can find it along with a first draft of the new manpage at: >> >>http://people.freebsd.org/~markus/ibm/ >> >>If you are running -CURRENT, simply replace the former driver with the new >>one in sys/dev/acpi_support and rebuild it. (sorry, no patch for 5.x for >>now). >> >>Please mail me on failure and success and include the output of >># sysctl hw.acpi.ibm > > > I built kernel as of today, my X40 shows: > > hw.acpi.ibm.initialmask: 2060 > hw.acpi.ibm.availmask: 2524 > hw.acpi.ibm.events: 0 > hw.acpi.ibm.eventmask: 2060 > hw.acpi.ibm.hotkey: 1312 > hw.acpi.ibm.lcd_brightness: 7 > hw.acpi.ibm.volume: 0 > hw.acpi.ibm.mute: 0 > hw.acpi.ibm.thinklight: 0 > hw.acpi.ibm.bluetooth: 0 > hw.acpi.ibm.wlan: 1 > hw.acpi.ibm.fan_rpm: 4285 > hw.acpi.ibm.fan_status: 1 > hw.acpi.ibm.thermal: 48 43 47 40 25 -1 32 -1 > > >>In any case: Please send me your DSDT for further improvement of the driver >>(even if you run FreeBSD 5): >># acpidump -t -d > name-system.asl > > > http://www.rushani.jp/tmp/TPX40_2371-GDE.asl > > >>- write support for: volume, mute, brightness and thinklight >>- led(4) interface for the thinklight (thanks simon) >>- support for reading the fan status and speed >>- support for reading up to 8 thermal sensors > > > Works fine. I cannot find any regression compared with previous > one. Nice work! > > BTW, wlan LED only works before suspend, that is, it won't blink after > suspend (this is same behavior as before). I haven't been able to make suspend-resume work correctly on my t42p but if the wlan LED is the same one controlled by the ath driver then you might check the suspend-resume logic in the driver to make sure it re-enables the gpio pin. I thought it did but given that I can't resume properly it's hard to test... Sam