From owner-freebsd-mobile@FreeBSD.ORG Tue May 31 01:55:30 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6031616A41C; Tue, 31 May 2005 01:55:30 +0000 (GMT) (envelope-from takawata@axe-inc.co.jp) Received: from axe-inc.co.jp (axegw.axe-inc.co.jp [61.199.217.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A96543D55; Tue, 31 May 2005 01:55:29 +0000 (GMT) (envelope-from takawata@axe-inc.co.jp) Received: from localhost (localhost [127.0.0.1]) by axe-inc.co.jp (8.9.3+3.2W/3.7W) with SMTP id KAA00994; Tue, 31 May 2005 10:55:27 +0900 (JST) Message-Id: <200505310155.KAA00994@axe-inc.co.jp> X-Authentication-Warning: axegw.axe-inc.co.jp: localhost [127.0.0.1] didn't use HELO protocol To: Markus Brueffer From: takawata@jp.freebsd.org In-reply-to: Your message of "Mon, 30 May 2005 18:57:09 +0200." <200505301857.20346.markus@FreeBSD.org> Date: Tue, 31 May 2005 10:55:27 +0900 Sender: takawata@axe-inc.co.jp Cc: freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Call for testers: New acpi_ibm driver X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2005 01:55:30 -0000 In message <200505301857.20346.markus@FreeBSD.org>, Markus Brueffer wrote: >--nextPart1704232.STgpkmBTov >Content-Type: text/plain; > charset="iso-8859-1" >Content-Transfer-Encoding: quoted-printable >Content-Disposition: inline > >Hi, > >I'm looking for testers for a mostly rewritten and enhanced version of the= >=20 >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=20 ># sysctl hw.acpi.ibm hw.acpi.ibm.initialmask: 2060 hw.acpi.ibm.availmask: 2524 hw.acpi.ibm.events: 0 hw.acpi.ibm.eventmask: 2060 hw.acpi.ibm.hotkey: 308 hw.acpi.ibm.lcd_brightness: 7 hw.acpi.ibm.volume: 14 hw.acpi.ibm.mute: 0 hw.acpi.ibm.thinklight: 0 hw.acpi.ibm.bluetooth: 1 hw.acpi.ibm.wlan: 1 hw.acpi.ibm.fan_rpm: 0 hw.acpi.ibm.fan_status: 1 hw.acpi.ibm.thermal: 55 52 55 47 38 -1 27 -1 >In any case: Please send me your DSDT for further improvement of the driver= >=20 >(even if you run FreeBSD 5): ># acpidump -t -d > name-system.asl http://www.init-main.com/acpi_tpkey/TPX31JHJ.asl >Changes: > > Relocation of the sysctl tree to hw.acpi.ibm and renaming of some sysctls I don't think it a good thing. New device specific tree should not be introduced. > Support for more hotkeys by the hotkey sysctl (see manpage) > Improved support of ACPI events, disabled by default. You can enable it > by setting the events sysctl to 1 (on my T41p there are now 24 different >keypress events that get reported) > write support for: volume, mute, brightness and thinklight Is it ok to touch EC? I know the two way of impliment it. One is modifying RTC register, another is using SMI interface via ACPI control method. > 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 great.