From owner-freebsd-acpi@FreeBSD.ORG Mon May 30 09:32:00 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 A6A1C16A41C for ; Mon, 30 May 2005 09:32:00 +0000 (GMT) (envelope-from takash-i@sophia.ac.jp) Received: from rockliff.cc.sophia.ac.jp (rockliff.cc.sophia.ac.jp [133.12.140.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67BB743D49 for ; Mon, 30 May 2005 09:31:59 +0000 (GMT) (envelope-from takash-i@sophia.ac.jp) Received: from heuvers.cc.sophia.ac.jp (heuvers [133.12.138.37]) by rockliff.cc.sophia.ac.jp (Postfix) with ESMTP id DD5D710E3E for ; Mon, 30 May 2005 18:31:58 +0900 (JST) Received: from [133.12.65.27] (koetoi [133.12.138.217]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id 9C8B819D37 for ; Mon, 30 May 2005 18:31:58 +0900 (JST) Message-ID: <429ADD9D.90506@sophia.ac.jp> Date: Mon, 30 May 2005 18:32:13 +0900 From: Takashi Inoue User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050420 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: cpufreq on 5.4R 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: Mon, 30 May 2005 09:32:00 -0000 Hi Friends, I'm using 5.4R on my ThinkPad X40 with Pentium M 1.0GHz. I have some questions. 1) I cannot find cpufreq.ko in 5.4R. Is it normal? "man cpufreq" shows manual of the framework. But I cannot use it. Is it correct on 5.4R? 2) If so, what should I do to reduce cpu frequency? Now, cpu frequency is always 1GHz even with very light cpu load. Therefore it is hot and noisy and it eats much power. Currently 5.4R is stupid OS at here, if I do nothing. 3) Does est and estctrl in ports works on 5.4R? I've installed and run them. But, frequency which est tells and sysctl -a dev.cpu.0.freq tells are different. I'm not sure but it seems that frequency is not changed. What is the relation between est(in ports) and cpufreq framework on 5.4R? Give me suggestions. Thanks. One good news. S3 suspend/resume is fine on X40 if I turn off apic. Cheers, Takashi From owner-freebsd-acpi@FreeBSD.ORG Mon May 30 11:01:48 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 C395116A41C for ; Mon, 30 May 2005 11:01:48 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EFBF43D5D for ; Mon, 30 May 2005 11:01:48 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4UB1mmN029922 for ; Mon, 30 May 2005 11:01:48 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4UB1lbe029917 for freebsd-acpi@freebsd.org; Mon, 30 May 2005 11:01:47 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 30 May 2005 11:01:47 GMT Message-Id: <200505301101.j4UB1lbe029917@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-acpi@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 30 May 2005 11:01:48 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/07/22] i386/54756 acpi ACPI suspend/resume problem on CF-W2 lapt o [2003/08/17] i386/55661 acpi ACPI suspend/resume problem on ARMADA M70 o [2003/08/20] kern/55822 acpi No ACPI power off with SMP kernel o [2003/08/27] kern/56024 acpi ACPI suspend drains battery while in S3 o [2003/09/03] i386/56372 acpi acpi don't work on TYAN tiger100 M/B f [2003/09/10] kern/56659 acpi ACPI trouble on IBM ThinkPad X31 f [2003/12/17] i386/60317 acpi FreeBSD 5.2rc1 doesn't boot with ACPI ena f [2004/03/02] kern/63666 acpi [acpi] Network card 3c575B do not work af o [2004/03/09] i386/64002 acpi acpi problem o [2004/05/27] i386/67273 acpi [hang] system hangs with acpi and Xfree o [2004/10/12] i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Arma o [2005/03/21] i386/79080 acpi acpi thermal changes freezes HP nx6110 o [2005/03/21] i386/79081 acpi ACPI suspend/resume not working on HP nx6 13 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2004/01/22] i386/61703 acpi ACPI + Sound + Boot = Reboot o [2004/03/17] kern/64365 acpi ACPI problems f [2004/05/25] i386/67189 acpi ACPI S3 reboot computer on Dell Latitude o [2004/05/28] kern/67309 acpi zzz reboot computer (ACPI S3) f [2004/06/23] i386/68219 acpi ACPI + snd_maestro3 problem o [2004/07/29] i386/69750 acpi Boot without ACPI failed on ASUS L5 o [2004/11/11] i386/73822 acpi acpi / thermal support o [2004/11/11] kern/73823 acpi acpi / power-on by timer support o [2004/11/17] kern/74030 acpi Unplugging AC causes battery % to stay lo o [2004/11/21] kern/74215 acpi [request] add ACPI headers to /usr/includ o [2005/05/09] kern/80815 acpi ACPI(pci_link) problem in 5.4-STABLE: TIM 11 problems total. From owner-freebsd-acpi@FreeBSD.ORG Mon May 30 16:58:30 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 A869716A41C; Mon, 30 May 2005 16:58:30 +0000 (GMT) (envelope-from markus@FreeBSD.org) Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1465F43D1F; Mon, 30 May 2005 16:58:30 +0000 (GMT) (envelope-from markus@FreeBSD.org) Received: from fwd16.aul.t-online.de by mailout08.sul.t-online.com with smtp id 1Dcnau-0007VE-02; Mon, 30 May 2005 18:58:28 +0200 Received: from ramses.kicks-ass.net (Zq0etZZCZesG7m+-bhx2dn8vQn6PaiLfe5oiKTmlmRrWB0107U4brt@[80.143.225.40]) by fwd16.sul.t-online.de with esmtp id 1Dcnaa-12Zk5g0; Mon, 30 May 2005 18:58:08 +0200 Received: from cheops.phoenix (cheops.phoenix [192.168.1.3]) by ramses.kicks-ass.net (Postfix) with ESMTP id 3EA5CB832; Mon, 30 May 2005 19:00:23 +0200 (CEST) From: Markus Brueffer To: freebsd-acpi@freebsd.org Date: Mon, 30 May 2005 18:57:09 +0200 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1704232.STgpkmBTov"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200505301857.20346.markus@FreeBSD.org> X-ID: Zq0etZZCZesG7m+-bhx2dn8vQn6PaiLfe5oiKTmlmRrWB0107U4brt@t-dialin.net X-TOI-MSGID: b3f8d559-d956-422b-b60b-a60a36d66d9a Cc: freebsd-mobile@freebsd.org Subject: 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: Mon, 30 May 2005 16:58:30 -0000 --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= =20 one in sys/dev/acpi_support and rebuild it. (sorry, no patch for 5.x for=20 now). Please mail me on failure and success and include the output of=20 # sysctl hw.acpi.ibm 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 Changes: =2D Relocation of the sysctl tree to hw.acpi.ibm and renaming of some sysct= ls =2D Support for more hotkeys by the hotkey sysctl (see manpage) =2D Improved support of ACPI events, disabled by default. You can enable it= by=20 setting the events sysctl to 1 (on my T41p there are now 24 different=20 keypress events that get reported) =2D write support for: volume, mute, brightness and thinklight =2D led(4) interface for the thinklight (thanks simon) =2D support for reading the fan status and speed =2D support for reading up to 8 thermal sensors Thanks in advance, Markus =2D-=20 Markus Brueffer =A0 =A0| GPG-Key: http://people.FreeBSD.org/~markus/markus.= asc markus@brueffer.de | FP: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4 markus@FreeBSD.org | FreeBSD: The Power to Serve! --nextPart1704232.STgpkmBTov Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCm0Xw1I0Qcnj4qNQRAvM5AJwJ5X3ZOGkmp0nwhGNkGFldi9J1eACfdDtF hjSJtuBG6jsOWMu1Tz/knGM= =dYYD -----END PGP SIGNATURE----- --nextPart1704232.STgpkmBTov-- From owner-freebsd-acpi@FreeBSD.ORG Mon May 30 19:34:35 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 9167C16A41C for ; Mon, 30 May 2005 19:34:35 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5499943D1F for ; Mon, 30 May 2005 19:34:35 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.50] (adsl-64-171-184-128.dsl.snfc21.pacbell.net [64.171.184.128]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j4UJYNZ6003467 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 30 May 2005 12:34:34 -0700 Message-ID: <429B6A8E.1070906@root.org> Date: Mon, 30 May 2005 12:33:34 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Takashi Inoue References: <429ADD9D.90506@sophia.ac.jp> In-Reply-To: <429ADD9D.90506@sophia.ac.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: cpufreq on 5.4R 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: Mon, 30 May 2005 19:34:35 -0000 Takashi Inoue wrote: > Hi Friends, > > I'm using 5.4R on my ThinkPad X40 with Pentium M 1.0GHz. > I have some questions. > > 1) I cannot find cpufreq.ko in 5.4R. Is it normal? > > "man cpufreq" shows manual of the framework. > But I cannot use it. Is it correct on 5.4R? > > 2) If so, what should I do to reduce cpu frequency? > > Now, cpu frequency is always 1GHz even with very light cpu load. > Therefore it is hot and noisy and it eats much power. > Currently 5.4R is stupid OS at here, if I do nothing. Only acpi_throttle is supported in the 5.4 version of cpufreq. I'm hoping to get an MFC of the -current version in soon although there are a couple nits I'd like to fix there first. > 3) Does est and estctrl in ports works on 5.4R? > > I've installed and run them. But, frequency which est tells and > sysctl -a dev.cpu.0.freq tells are different. > I'm not sure but it seems that frequency is not changed. > What is the relation between est(in ports) and > cpufreq framework on 5.4R? I'm not sure the port works properly with cpufreq. A better thing is to use the est.c from -current. Or just wait for MFC. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 01:55:30 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 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-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 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. From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 02:29:11 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 1CE3A16A41C for ; Tue, 31 May 2005 02:29:11 +0000 (GMT) (envelope-from takash-i@sophia.ac.jp) Received: from rockliff.cc.sophia.ac.jp (rockliff.cc.sophia.ac.jp [133.12.140.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id D376D43D1D for ; Tue, 31 May 2005 02:29:10 +0000 (GMT) (envelope-from takash-i@sophia.ac.jp) Received: from heuvers.cc.sophia.ac.jp (heuvers [133.12.138.37]) by rockliff.cc.sophia.ac.jp (Postfix) with ESMTP id EC6CD10E1A; Tue, 31 May 2005 11:29:09 +0900 (JST) Received: from [133.12.65.27] (koetoi [133.12.138.217]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id C40DD1A8F; Tue, 31 May 2005 11:29:09 +0900 (JST) Message-ID: <429BCC04.3080207@sophia.ac.jp> Date: Tue, 31 May 2005 11:29:24 +0900 From: Takashi Inoue User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050420 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-acpi@freebsd.org References: <429ADD9D.90506@sophia.ac.jp> <429B6A8E.1070906@root.org> In-Reply-To: <429B6A8E.1070906@root.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: cpufreq on 5.4R 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 02:29:11 -0000 Hi Nate, Thanks for your post. > Only acpi_throttle is supported in the 5.4 version of cpufreq. I'm > hoping to get an MFC of the -current version in soon although there > are a couple nits I'd like to fix there first. I see. I'll try the throttle. I hope your excelent works are MFCed to 5 soon. > I'm not sure the port works properly with cpufreq. A better thing is > to use the est.c from -current. Or just wait for MFC. I see. I'll also try cvsup current cpufreq when I have time. By the way, I cannot see the difference between est and ichss. Should I use est insted of ichss? ThinkPad X40 has an Intel i855GME chipset. I thought I can use either est or ichss and ichss is better. Maybe I'm confused. Cheers, Takashi From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 07:10:08 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 6E3B916A41C for ; Tue, 31 May 2005 07:10:08 +0000 (GMT) (envelope-from kjelderg@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10C9C43D58 for ; Tue, 31 May 2005 07:10:05 +0000 (GMT) (envelope-from kjelderg@gmail.com) Received: by rproxy.gmail.com with SMTP id i8so1680069rne for ; Tue, 31 May 2005 00:10:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fms/jD/lkgx39ndJ2ki4u2TX2YZQ4pGCRUrf1nHr6UmUGpUVRxcIxonXIWAeNZaORdXkR0OtCMwBtSRL0+DsOFWZbCKa4joyFN1pFwSl4vr3Q8JGLpNlCHCq/X8W+MF2YA4ArFEHi/gOPf+bmUwDg2yVt/rJl4i2H2Nw5sUyWpM= Received: by 10.38.101.64 with SMTP id y64mr1799950rnb; Tue, 31 May 2005 00:10:04 -0700 (PDT) Received: by 10.38.101.35 with HTTP; Tue, 31 May 2005 00:10:04 -0700 (PDT) Message-ID: Date: Tue, 31 May 2005 16:10:04 +0900 From: Eric Kjeldergaard To: Takashi Inoue In-Reply-To: <429BCC04.3080207@sophia.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <429ADD9D.90506@sophia.ac.jp> <429B6A8E.1070906@root.org> <429BCC04.3080207@sophia.ac.jp> Cc: freebsd-acpi@freebsd.org Subject: Re: cpufreq on 5.4R X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eric Kjeldergaard 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 07:10:08 -0000 2005/5/31, Takashi Inoue : =20 > I see. I'll also try cvsup current cpufreq when I have time. > By the way, I cannot see the difference between est and ichss. > Should I use est insted of ichss? ThinkPad X40 has an Intel i855GME > chipset. > I thought I can use either est or ichss and ichss is better. > Maybe I'm confused. I think EST is for Pentium-M and ichss for the other pentiums. --=20 If I write a signature, my emails will appear more personalised. From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 09:25:53 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 1A11916A41C; Tue, 31 May 2005 09:25:53 +0000 (GMT) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (svm.csie.ntu.edu.tw [140.112.90.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D07643D1D; Tue, 31 May 2005 09:25:52 +0000 (GMT) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (localhost [127.0.0.1]) by svm.csie.ntu.edu.tw (8.13.3/8.13.1) with ESMTP id j4V9Pp9G060785; Tue, 31 May 2005 17:25:51 +0800 (CST) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: (from rafan@localhost) by svm.csie.ntu.edu.tw (8.13.3/8.13.1/Submit) id j4V9PoGh060783; Tue, 31 May 2005 17:25:50 +0800 (CST) (envelope-from rafan) Date: Tue, 31 May 2005 17:25:50 +0800 From: Rong-En Fan To: Markus Brueffer Message-ID: <20050531092550.GA59763@svm.csie.ntu.edu.tw> References: <200505301857.20346.markus@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200505301857.20346.markus@FreeBSD.org> User-Agent: Mutt/1.5.9i Cc: freebsd-acpi@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 09:25:53 -0000 On Mon, May 30, 2005 at 06:57:09PM +0200, Markus Brueffer wrote: > Hi, > > 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 hw.acpi.ibm.initialmask: 2060 hw.acpi.ibm.availmask: 16777215 hw.acpi.ibm.events: 0 hw.acpi.ibm.eventmask: 2060 hw.acpi.ibm.hotkey: 2432 hw.acpi.ibm.lcd_brightness: 5 hw.acpi.ibm.volume: 6 hw.acpi.ibm.mute: 0 hw.acpi.ibm.thinklight: 0 hw.acpi.ibm.bluetooth: 0 hw.acpi.ibm.wlan: 0 hw.acpi.ibm.fan_rpm: 3516 hw.acpi.ibm.fan_status: 1 hw.acpi.ibm.thermal: 61 -1 55 39 41 -1 27 -1 It's few days' ago -current on IBM X31-IDV. Works good. I tried write to lcd_brightness, volume, thinklight and it works ! Thanks. But, seems that wlan's value is not correct. For example, after boot, wlan=1. I ifconfig ath0 up, sysctl wlan=0, wireless stills works. Does it supposed to work in that way? > - support for reading up to 8 thermal sensors Is there any reference that describes which sensor monitors what part of ThinkPad? Cheers, rafan. From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 10:26:34 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 184C116A41C; Tue, 31 May 2005 10:26:34 +0000 (GMT) (envelope-from markus@FreeBSD.org) Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CC2343D4C; Tue, 31 May 2005 10:26:33 +0000 (GMT) (envelope-from markus@FreeBSD.org) Received: from fwd32.aul.t-online.de by mailout07.sul.t-online.com with smtp id 1Dd3x9-0007yU-07; Tue, 31 May 2005 12:26:31 +0200 Received: from ramses.kicks-ass.net (TcEyCqZpreRR0xd0sdjXCITifEgV7nRE4MtytyeNTfWAS++PI48ZQW@[80.143.225.40]) by fwd32.sul.t-online.de with esmtp id 1Dd3wz-1R1AcS0; Tue, 31 May 2005 12:26:21 +0200 Received: from cheops.phoenix (cheops.phoenix [192.168.1.3]) by ramses.kicks-ass.net (Postfix) with ESMTP id 43E71B832; Tue, 31 May 2005 12:28:37 +0200 (CEST) From: Markus Brueffer To: freebsd-acpi@freebsd.org Date: Tue, 31 May 2005 12:25:34 +0200 User-Agent: KMail/1.8 References: <200505310155.KAA00994@axe-inc.co.jp> In-Reply-To: <200505310155.KAA00994@axe-inc.co.jp> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1475104.nWk98nXePS"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200505311225.40954.markus@FreeBSD.org> X-ID: TcEyCqZpreRR0xd0sdjXCITifEgV7nRE4MtytyeNTfWAS++PI48ZQW@t-dialin.net X-TOI-MSGID: 95405571-be1f-4773-a05a-7ca55553a2da Cc: 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 10:26:34 -0000 --nextPart1475104.nWk98nXePS Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 31 May 2005 03:55, takawata@jp.freebsd.org wrote: > In message <200505301857.20346.markus@FreeBSD.org>, Markus Brueffer wrote: > >In any case: Please send me your DSDT for further improvement of the > > driver=3D =3D20 > >(even if you run FreeBSD 5): > ># acpidump -t -d > name-system.asl > > http://www.init-main.com/acpi_tpkey/TPX31JHJ.asl Thanks! > >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. I tried to get the sysctls more in line with our other ACPI extras drivers,= =20 which all reside under hw.acpi. and hence the rename of e.g.=20 brightness->lcd_brightness and the relocation of the tree. Is there some=20 policy where such stuff belongs to? > > 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. Writing to the EC directly is nothing more that accessing the locations via= =20 acpi_SetInteger. While I would highly prefer the latter method, the problem= =20 is, that several places of the EC in the DSDT aren't even named or only=20 named on some models. Consider e.g. setting volume and mute. Here is a=20 snippet of a T41p DSDT: Device (EC) { [...] OperationRegion (ECOR, EmbeddedControl, 0x00, 0x0100) Field (ECOR, ByteAcc, NoLock, Preserve) { HDBM, 1, , 1, , 1, [...] HFSP, 8, , 6, <-- Volume HMUT, 1, <-- Mute Offset (0x31), HBRV, 8, <-- Brightness HWPM, 1, Volume doesn't have a name on any Thinkpad I have seen so far, Mute and=20 Brightness only on some. But the offset for directly accessing the EC is=20 always the same. > > 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. Thanks for testing. Markus =2D-=20 Markus Brueffer =A0 =A0| GPG-Key: http://people.FreeBSD.org/~markus/markus.= asc markus@brueffer.de | FP: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4 markus@FreeBSD.org | FreeBSD: The Power to Serve! --nextPart1475104.nWk98nXePS Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCnDuk1I0Qcnj4qNQRAm+pAJ0XyS9gsC+94gnJC0U77dl3KJtx8wCgiieJ /+8n/GFdlYf3P6hhDPvUHb8= =1xLV -----END PGP SIGNATURE----- --nextPart1475104.nWk98nXePS-- From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 10:46:50 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 8B0F116A41C; Tue, 31 May 2005 10:46:50 +0000 (GMT) (envelope-from markus@FreeBSD.org) Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF06243D1D; Tue, 31 May 2005 10:46:47 +0000 (GMT) (envelope-from markus@FreeBSD.org) Received: from fwd34.aul.t-online.de by mailout11.sul.t-online.com with smtp id 1Dd4Gj-00082C-05; Tue, 31 May 2005 12:46:45 +0200 Received: from ramses.kicks-ass.net (GiFdEmZOweFooczApVAQGNs4pq6h-sXc+3EAn7fE4SDWb-qCDNB0kx@[80.143.225.40]) by fwd34.sul.t-online.de with esmtp id 1Dd4GX-0EHiWu0; Tue, 31 May 2005 12:46:33 +0200 Received: from cheops.phoenix (cheops.phoenix [192.168.1.3]) by ramses.kicks-ass.net (Postfix) with ESMTP id 46ADAB83B; Tue, 31 May 2005 12:48:49 +0200 (CEST) From: Markus Brueffer To: Rong-En Fan Date: Tue, 31 May 2005 12:45:47 +0200 User-Agent: KMail/1.8 References: <200505301857.20346.markus@FreeBSD.org> <20050531092550.GA59763@svm.csie.ntu.edu.tw> In-Reply-To: <20050531092550.GA59763@svm.csie.ntu.edu.tw> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2195482.MjuMlfA5fq"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200505311245.53333.markus@FreeBSD.org> X-ID: GiFdEmZOweFooczApVAQGNs4pq6h-sXc+3EAn7fE4SDWb-qCDNB0kx@t-dialin.net X-TOI-MSGID: b00b819c-7636-4894-9260-a8807fc14260 Cc: freebsd-acpi@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 10:46:50 -0000 --nextPart2195482.MjuMlfA5fq Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 31 May 2005 11:25, Rong-En Fan wrote: > On Mon, May 30, 2005 at 06:57:09PM +0200, Markus Brueffer wrote: > > Hi, > > > > 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 > > hw.acpi.ibm.initialmask: 2060 > hw.acpi.ibm.availmask: 16777215 > hw.acpi.ibm.events: 0 > hw.acpi.ibm.eventmask: 2060 > hw.acpi.ibm.hotkey: 2432 > hw.acpi.ibm.lcd_brightness: 5 > hw.acpi.ibm.volume: 6 > hw.acpi.ibm.mute: 0 > hw.acpi.ibm.thinklight: 0 > hw.acpi.ibm.bluetooth: 0 > hw.acpi.ibm.wlan: 0 > hw.acpi.ibm.fan_rpm: 3516 > hw.acpi.ibm.fan_status: 1 > hw.acpi.ibm.thermal: 61 -1 55 39 41 -1 27 -1 > > It's few days' ago -current on IBM X31-IDV. Works good. > I tried write to lcd_brightness, volume, thinklight > and it works ! Thanks. Great, thanks for testing! > But, seems that wlan's value > is not correct. For example, after boot, wlan=3D1. > I ifconfig ath0 up, sysctl wlan=3D0, wireless stills > works. Does it supposed to work in that way? Yes, in theory it should work that way. I have copied this part from the ol= d=20 driver, but couldn't get it to work on my T41p. Now I'm still waiting for a= =20 report that reports success on that area. I'll probably set it to read-only= =20 until I figure out another way to set it (if there is any). > > - support for reading up to 8 thermal sensors > > Is there any reference that describes which sensor > monitors what part of ThinkPad? Not that I know of, since this might vary from model to model. But to quote= =20 the README of the linux driver: Thomas Gruber took his R51 apart and traced all six active sensors in his laptop (the location of sensors may vary on other models): 1: CPU 2: Mini PCI Module 3: HDD 4: GPU 5: Battery 6: N/A 7: Battery 8: N/A Markus =2D-=20 Markus Brueffer =A0 =A0| GPG-Key: http://people.FreeBSD.org/~markus/markus.= asc markus@brueffer.de | FP: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4 markus@FreeBSD.org | FreeBSD: The Power to Serve! --nextPart2195482.MjuMlfA5fq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCnEBh1I0Qcnj4qNQRAoi1AKDjKYnC21G87D/hKJbF6PF53v14YACZAW+a NYiLlex/RiP4JXrPeiHWRgk= =W3Z+ -----END PGP SIGNATURE----- --nextPart2195482.MjuMlfA5fq-- From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 12:05:59 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 63CCE16A41F; Tue, 31 May 2005 12:05:59 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E60E43D48; Tue, 31 May 2005 12:05:58 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j4VC5u4V000792; Tue, 31 May 2005 15:05:56 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 42294-18; Tue, 31 May 2005 15:05:55 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j4VC5tLo000788 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 31 May 2005 15:05:55 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.3/8.13.3) id j4VC6JJg004733; Tue, 31 May 2005 15:06:19 +0300 (EEST) (envelope-from ru) Date: Tue, 31 May 2005 15:06:18 +0300 From: Ruslan Ermilov To: Markus Brueffer Message-ID: <20050531120618.GB4568@ip.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4SFOXa2GPu3tIq4H" Content-Disposition: inline User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: freebsd-acpi@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 12:05:59 -0000 --4SFOXa2GPu3tIq4H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 30, 2005 at 06:57:09PM +0200, Markus Brueffer wrote: > I'm looking for testers for a mostly rewritten and enhanced version of th= e=20 > acpi_ibm (ACPI Thinkpad Extras) driver. >=20 > You can find it along with a first draft of the new manpage at: >=20 > http://people.freebsd.org/~markus/ibm/ >=20 > If you are running -CURRENT, simply replace the former driver with the ne= w=20 > one in sys/dev/acpi_support and rebuild it. (sorry, no patch for 5.x for= =20 > now). >=20 > Please mail me on failure and success and include the output of=20 > # sysctl hw.acpi.ibm >=20 I own the IBM ThinkPad 600X notebook. The acpi(4) and acpi_video(4) both work, but this beast doesn't even probe. Does anyone have an explanation why acpi_ibm doesn't get probed on this notebook? My devinfo has the IBM0068 device listed (see below), but for some reason this device doesn't get passed to the acpi_ibm's probe method. : nexus0 : legacy0 : npx0 : acpi0 : cpu0 pnpinfo _HID=3Dnone _UID=3D0 at handle=3D\_PR_.CPU0 : acpi_throttle0 : cpufreq0 : pci_link0 pnpinfo _HID=3DPNP0C0F _UID=3D1 at handle=3D\_SB_.LNKA : pci_link1 pnpinfo _HID=3DPNP0C0F _UID=3D2 at handle=3D\_SB_.LNKB : pci_link2 pnpinfo _HID=3DPNP0C0F _UID=3D3 at handle=3D\_SB_.LNKC : pci_link3 pnpinfo _HID=3DPNP0C0F _UID=3D4 at handle=3D\_SB_.LNKD : acpi_lid0 pnpinfo _HID=3DPNP0C0D _UID=3D0 at handle=3D\_SB_.LID0 : acpi_button0 pnpinfo _HID=3DPNP0C0E _UID=3D0 at handle=3D\_SB_.SLPB : unknown pnpinfo _HID=3DIBM0068 _UID=3D0 at handle=3D\_SB_.HKEY ^^^^^^^ : acpi_sysresource0 pnpinfo _HID=3DPNP0C01 _UID=3D0 at handle=3D\_SB_.M= BRM : pcib0 pnpinfo _HID=3DPNP0A03 _UID=3D0 at handle=3D\_SB_.PCI0 Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --4SFOXa2GPu3tIq4H Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCnFM6qRfpzJluFF4RAj+YAJ46j9uVAnTh9e+v/r5Re0+GjprZMACeJzUi 9PpeLpC7IDNmur3YNU03uas= =B3fo -----END PGP SIGNATURE----- --4SFOXa2GPu3tIq4H-- From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 14:30:16 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 E062B16A41C for ; Tue, 31 May 2005 14:30:16 +0000 (GMT) (envelope-from rushani@bl.mmtr.or.jp) Received: from wasley.bl.mmtr.or.jp (wasley.bl.mmtr.or.jp [210.228.173.142]) by mx1.FreeBSD.org (Postfix) with SMTP id EF2B943D54 for ; Tue, 31 May 2005 14:30:13 +0000 (GMT) (envelope-from rushani@bl.mmtr.or.jp) Received: (qmail 31007 invoked from network); 31 May 2005 23:30:08 +0900 Received: from unknown (HELO localhost) (210.153.208.176) by wasley.bl.mmtr.or.jp with SMTP; 31 May 2005 23:30:08 +0900 Date: Tue, 31 May 2005 23:29:33 +0900 (JST) Message-Id: <20050531.232933.115970943.rushani@bl.mmtr.or.jp> To: markus@FreeBSD.org From: Hideyuki KURASHINA In-Reply-To: <200505301857.20346.markus@FreeBSD.org> References: <200505301857.20346.markus@FreeBSD.org> X-URL: http://www.rushani.jp/ X-PGP-Public-Key: http://www.rushani.jp/rushani.asc X-PGP-Fingerprint: A052 6F98 6146 6FE3 91E2 DA6B F2FA 2088 439A DC57 X-RC5-72-Stats: http://stats.distributed.net/participant/psummary.php?project_id=8&id=432320 X-Mailer: Mew version 4.2.50 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@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 14:30:17 -0000 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). -- rushani From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 15:58:49 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 3F13916A41C; Tue, 31 May 2005 15:58:49 +0000 (GMT) (envelope-from randy@psg.com) Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1802943D1F; Tue, 31 May 2005 15:58:49 +0000 (GMT) (envelope-from randy@psg.com) Received: from localhost ([127.0.0.1] helo=roam.psg.com) by rip.psg.com with esmtp (Exim 4.50 (FreeBSD)) id 1Dd98i-0008XU-PE; Tue, 31 May 2005 15:58:48 +0000 Received: from [127.0.0.1] (helo=roam.psg.com.psg.com) by roam.psg.com with esmtp (Exim 4.51 (FreeBSD)) id 1Dd98h-0000OS-IE; Tue, 31 May 2005 05:58:47 -1000 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17052.35254.948203.799601@roam.psg.com> Date: Tue, 31 May 2005 05:58:46 -1000 To: Markus Brueffer References: <200505301857.20346.markus@FreeBSD.org> Cc: freebsd-acpi@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 15:58:49 -0000 quite current t41 > Please mail me on failure and success and include the output of > # sysctl hw.acpi.ibm # 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: 1312 hw.acpi.ibm.lcd_brightness: 7 hw.acpi.ibm.volume: 14 hw.acpi.ibm.mute: 1 hw.acpi.ibm.thinklight: 0 hw.acpi.ibm.bluetooth: 0 hw.acpi.ibm.wlan: 1 hw.acpi.ibm.fan_rpm: 2983 hw.acpi.ibm.fan_status: 1 hw.acpi.ibm.thermal: 45 45 31 50 33 -1 29 -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://rip.psg.com/~randy/name-system.asl randy From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 16:13:49 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 DF5E416A41C; Tue, 31 May 2005 16:13:49 +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 774F043D58; Tue, 31 May 2005 16:13:49 +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 j4VGDmms094188 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 31 May 2005 09:13:48 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <429C8E29.6090706@errno.com> Date: Tue, 31 May 2005 09:17:45 -0700 From: Sam Leffler User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050327) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rong-En Fan References: <200505301857.20346.markus@FreeBSD.org> <20050531092550.GA59763@svm.csie.ntu.edu.tw> In-Reply-To: <20050531092550.GA59763@svm.csie.ntu.edu.tw> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org, Markus Brueffer , 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:13:50 -0000 Rong-En Fan wrote: > On Mon, May 30, 2005 at 06:57:09PM +0200, Markus Brueffer wrote: > >>Hi, >> >>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 > > > hw.acpi.ibm.initialmask: 2060 > hw.acpi.ibm.availmask: 16777215 > hw.acpi.ibm.events: 0 > hw.acpi.ibm.eventmask: 2060 > hw.acpi.ibm.hotkey: 2432 > hw.acpi.ibm.lcd_brightness: 5 > hw.acpi.ibm.volume: 6 > hw.acpi.ibm.mute: 0 > hw.acpi.ibm.thinklight: 0 > hw.acpi.ibm.bluetooth: 0 > hw.acpi.ibm.wlan: 0 > hw.acpi.ibm.fan_rpm: 3516 > hw.acpi.ibm.fan_status: 1 > hw.acpi.ibm.thermal: 61 -1 55 39 41 -1 27 -1 > > It's few days' ago -current on IBM X31-IDV. Works good. > I tried write to lcd_brightness, volume, thinklight > and it works ! Thanks. > > But, seems that wlan's value > is not correct. For example, after boot, wlan=1. > I ifconfig ath0 up, sysctl wlan=0, wireless stills > works. Does it supposed to work in that way? I'm guessing "wlan" is tied to the RfKill gpio pin and making that work requires some minor glop in the ath driver (assuming you have an IBM minipci wireless card and that card is Atheros-based). Sam >>- support for reading up to 8 thermal sensors > > > Is there any reference that describes which sensor > monitors what part of ThinkPad? > > Cheers, > rafan. > > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > > 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 From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 17:14:58 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 00AB916A41C for ; Tue, 31 May 2005 17:14:57 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2AAD43D4C for ; Tue, 31 May 2005 17:14:57 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j4VHEtZ6014155 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 31 May 2005 10:14:56 -0700 Message-ID: <429C9B56.2000802@root.org> Date: Tue, 31 May 2005 10:13:58 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Takashi Inoue References: <429ADD9D.90506@sophia.ac.jp> <429B6A8E.1070906@root.org> <429BCC04.3080207@sophia.ac.jp> In-Reply-To: <429BCC04.3080207@sophia.ac.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: cpufreq on 5.4R 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 17:14:58 -0000 Takashi Inoue wrote: > Hi Nate, > > Thanks for your post. > >> Only acpi_throttle is supported in the 5.4 version of cpufreq. I'm >> hoping to get an MFC of the -current version in soon although there >> are a couple nits I'd like to fix there first. > > I see. I'll try the throttle. I hope your excelent works are MFCed to 5 > soon. acpi_throttle is compiled into acpi.ko so if you are using ACPI, you already have acpi_throttle available if your system supports it. >> I'm not sure the port works properly with cpufreq. A better thing is >> to use the est.c from -current. Or just wait for MFC. > > I see. I'll also try cvsup current cpufreq when I have time. > By the way, I cannot see the difference between est and ichss. > Should I use est insted of ichss? ThinkPad X40 has an Intel i855GME > chipset. > I thought I can use either est or ichss and ichss is better. > Maybe I'm confused. There were three versions of SpeedStep that are supported in -current. The oldest, SMI-based SS is present in 440bx parts and is supported by the smist driver. The next oldest is system IO based SS, which is an evolution of smist and is supported by the ichss driver. Both offer only two speeds, full speed and some lower rate (typically ~70% of full speed). Both are supported by the chipset alone with no CPU interaction. The newest, Pentium-M type SpeedStep, is accessed via MSRs and sometimes chipset-assisted system IO. It offers multiple speeds and steps both voltage and clocks, saving much more power. It is supported by the est driver. Both ichss and est capabilities are sometimes exported by the BIOS through ACPI Px states, supported by the acpi_perf driver. Enabling ACPI provides support for acpi_throttle and acpi_perf. Enabling cpufreq enables support for smist, ichss, and est. The OS should autoprobe and enable the best one supported by your system, in this order: acpi_perf > est > ichss > smist -- Nate From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 17:16:54 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 A940E16A41C; Tue, 31 May 2005 17:16:54 +0000 (GMT) (envelope-from markus@FreeBSD.org) Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09E2643D1F; Tue, 31 May 2005 17:16:54 +0000 (GMT) (envelope-from markus@FreeBSD.org) Received: from fwd25.aul.t-online.de by mailout07.sul.t-online.com with smtp id 1DdAM8-0004Qg-00; Tue, 31 May 2005 19:16:44 +0200 Received: from ramses.kicks-ass.net (Vaz0C6ZOoeFrKCw-TNhakj+jC6I0RECFF3ryWBX9sBHXr+qEio856h@[80.143.245.16]) by fwd25.sul.t-online.de with esmtp id 1DdAM4-1xNzXs0; Tue, 31 May 2005 19:16:40 +0200 Received: from cheops.phoenix (cheops.phoenix [192.168.1.3]) by ramses.kicks-ass.net (Postfix) with ESMTP id 8D8CCB83C; Tue, 31 May 2005 19:19:23 +0200 (CEST) From: Markus Brueffer To: freebsd-acpi@freebsd.org Date: Tue, 31 May 2005 19:15:28 +0200 User-Agent: KMail/1.8 References: <200505301857.20346.markus@FreeBSD.org> <20050531.232933.115970943.rushani@bl.mmtr.or.jp> <429C8E98.6000101@errno.com> In-Reply-To: <429C8E98.6000101@errno.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1671181.xVNXF5YW8V"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200505311915.37097.markus@FreeBSD.org> X-ID: Vaz0C6ZOoeFrKCw-TNhakj+jC6I0RECFF3ryWBX9sBHXr+qEio856h@t-dialin.net X-TOI-MSGID: ec7d3b4b-d5c6-4baa-b686-e0e925973108 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Sam Leffler , 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 17:16:54 -0000 --nextPart1671181.xVNXF5YW8V Content-Type: multipart/mixed; boundary="Boundary-01=_xuJnCBoZxz0IdAy" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_xuJnCBoZxz0IdAy Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 31 May 2005 18:19, Sam Leffler wrote: > 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... My T41p resumes fine and in fact the wlan LED doesn't work after resume=20 (didn't notice that before). The attached patch for if_ath.c fixes that for= =20 me. Markus =2D-=20 Markus Brueffer =A0 =A0| GPG-Key: http://people.FreeBSD.org/~markus/markus.= asc markus@brueffer.de | FP: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4 markus@FreeBSD.org | FreeBSD: The Power to Serve! --Boundary-01=_xuJnCBoZxz0IdAy-- --nextPart1671181.xVNXF5YW8V Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCnJu51I0Qcnj4qNQRAjZdAKCB02fWj/gYmVo4ThqEJgA0KBMlsQCZAaa+ J2elupiWuk9GjpMW/fU/OrQ= =z9mV -----END PGP SIGNATURE----- --nextPart1671181.xVNXF5YW8V-- From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 17:23:59 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 A28D416A41C; Tue, 31 May 2005 17:23:59 +0000 (GMT) (envelope-from markus@FreeBSD.org) Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EAF243D49; Tue, 31 May 2005 17:23:58 +0000 (GMT) (envelope-from markus@FreeBSD.org) Received: from fwd29.aul.t-online.de by mailout04.sul.t-online.com with smtp id 1DdAT1-0002JQ-05; Tue, 31 May 2005 19:23:51 +0200 Received: from ramses.kicks-ass.net (rPdycBZBge38UkfdOsfdkw85FTx4DGM9UcupdH8yeZ9HFHJNF0+GEA@[80.143.245.16]) by fwd29.sul.t-online.de with esmtp id 1DdASt-0sgX1k0; Tue, 31 May 2005 19:23:43 +0200 Received: from cheops.phoenix (cheops.phoenix [192.168.1.3]) by ramses.kicks-ass.net (Postfix) with ESMTP id 96827B83B; Tue, 31 May 2005 19:26:26 +0200 (CEST) From: Markus Brueffer To: freebsd-acpi@freebsd.org Date: Tue, 31 May 2005 19:22:34 +0200 User-Agent: KMail/1.8 References: <200505301857.20346.markus@FreeBSD.org> <429C8E98.6000101@errno.com> <200505311915.37097.markus@FreeBSD.org> In-Reply-To: <200505311915.37097.markus@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1668689.V4nbg7deRZ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200505311922.40288.markus@FreeBSD.org> X-ID: rPdycBZBge38UkfdOsfdkw85FTx4DGM9UcupdH8yeZ9HFHJNF0+GEA@t-dialin.net X-TOI-MSGID: 078bea5a-6b12-48fe-8c44-79d41ad85c4b Cc: Sam Leffler , 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 17:23:59 -0000 --nextPart1668689.V4nbg7deRZ Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 31 May 2005 19:15, Markus Brueffer wrote: > On Tuesday 31 May 2005 18:19, Sam Leffler wrote: > > Hideyuki KURASHINA wrote: [...] > > > 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... > > My T41p resumes fine and in fact the wlan LED doesn't work after resume > (didn't notice that before). The attached patch for if_ath.c fixes that > for me. Seems like the patch didn't make it to the list: http://people.freebsd.org/~markus/ibm/if_ath.c.diff Markus =2D-=20 Markus Brueffer =A0 =A0| GPG-Key: http://people.FreeBSD.org/~markus/markus.= asc markus@brueffer.de | FP: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4 markus@FreeBSD.org | FreeBSD: The Power to Serve! --nextPart1668689.V4nbg7deRZ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCnJ1g1I0Qcnj4qNQRAqsRAJ4xiNRfVmR7+8g5BVDH8aOaLhEcKQCfVyoB 9NxesI2B1Q9s4d0pg0UVfzQ= =0g7i -----END PGP SIGNATURE----- --nextPart1668689.V4nbg7deRZ-- From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 17:25:07 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 AC89E16A41C; Tue, 31 May 2005 17:25:07 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6736C43D1D; Tue, 31 May 2005 17:25:07 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j4VHP6Z6014321 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 31 May 2005 10:25:06 -0700 Message-ID: <429C9DB9.4070107@root.org> Date: Tue, 31 May 2005 10:24:09 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Markus Brueffer References: <200505310155.KAA00994@axe-inc.co.jp> <200505311225.40954.markus@FreeBSD.org> In-Reply-To: <200505311225.40954.markus@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@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 17:25:07 -0000 Markus Brueffer wrote: > On Tuesday 31 May 2005 03:55, takawata@jp.freebsd.org wrote: > >>In message <200505301857.20346.markus@FreeBSD.org>, Markus Brueffer wrote: >>>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. > > > I tried to get the sysctls more in line with our other ACPI extras drivers, > which all reside under hw.acpi. and hence the rename of e.g. > brightness->lcd_brightness and the relocation of the tree. Is there some > policy where such stuff belongs to? I do not have a problem with this matching other drivers. However, takawata-san is the author so perhaps he has a reason for this opinion. >>>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. > > Writing to the EC directly is nothing more that accessing the locations via > acpi_SetInteger. While I would highly prefer the latter method, the problem > is, that several places of the EC in the DSDT aren't even named or only > named on some models. Please do not read/write directly from EC space. A better way is to use the EC device methods I added recently. This uses proper locking for requests and will work concurrently with other EC users (say, cmbat): device_t dev; dev = devclass_get_device(devclass_find("acpi_ec"), 0); if (dev == NULL) error, EC not present -- check this during probe and fail if error error = ACPI_EC_WRITE(dev, address, buffer, len); or ACPI_EC_READ(). "address" is from 0-255 (8 bit addresses in EC space) and buffer is a pointer to data to write or read. > Consider e.g. setting volume and mute. Here is a > snippet of a T41p DSDT: > > Device (EC) > { > [...] > OperationRegion (ECOR, EmbeddedControl, 0x00, 0x0100) > Field (ECOR, ByteAcc, NoLock, Preserve) > { > HDBM, 1, > , 1, > , 1, > [...] > HFSP, 8, > , 6, <-- Volume > HMUT, 1, <-- Mute > Offset (0x31), > HBRV, 8, <-- Brightness > HWPM, 1, > > Volume doesn't have a name on any Thinkpad I have seen so far, Mute and > Brightness only on some. But the offset for directly accessing the EC is > always the same. The above method handles this. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 17:34:16 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 B83B216A41C; Tue, 31 May 2005 17:34:16 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78E8643D49; Tue, 31 May 2005 17:34:16 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j4VHYFZ6014434 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 31 May 2005 10:34:15 -0700 Message-ID: <429C9FDE.3060607@root.org> Date: Tue, 31 May 2005 10:33:18 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ruslan Ermilov References: <20050531120618.GB4568@ip.net.ua> In-Reply-To: <20050531120618.GB4568@ip.net.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org, Markus Brueffer , 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 17:34:17 -0000 Ruslan Ermilov wrote: > I own the IBM ThinkPad 600X notebook. The acpi(4) and acpi_video(4) > both work, but this beast doesn't even probe. > > Does anyone have an explanation why acpi_ibm doesn't get probed on > this notebook? My devinfo has the IBM0068 device listed (see below), > but for some reason this device doesn't get passed to the acpi_ibm's > probe method. > > : nexus0 > : legacy0 > : npx0 > : acpi0 > : cpu0 pnpinfo _HID=none _UID=0 at handle=\_PR_.CPU0 > : acpi_throttle0 > : cpufreq0 > : pci_link0 pnpinfo _HID=PNP0C0F _UID=1 at handle=\_SB_.LNKA > : pci_link1 pnpinfo _HID=PNP0C0F _UID=2 at handle=\_SB_.LNKB > : pci_link2 pnpinfo _HID=PNP0C0F _UID=3 at handle=\_SB_.LNKC > : pci_link3 pnpinfo _HID=PNP0C0F _UID=4 at handle=\_SB_.LNKD > : acpi_lid0 pnpinfo _HID=PNP0C0D _UID=0 at handle=\_SB_.LID0 > : acpi_button0 pnpinfo _HID=PNP0C0E _UID=0 at handle=\_SB_.SLPB > : unknown pnpinfo _HID=IBM0068 _UID=0 at handle=\_SB_.HKEY > ^^^^^^^ > : acpi_sysresource0 pnpinfo _HID=PNP0C01 _UID=0 at handle=\_SB_.MBRM > : pcib0 pnpinfo _HID=PNP0A03 _UID=0 at handle=\_SB_.PCI0 Add a line to acpi_ibm_probe at the start of the function: printf("acpi ibm probing %s\n", acpi_get_handle(dev)); See if \_SB.HKEY gets printed. Try both loading acpi_ibm on boot and after. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 17:37:17 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 ABBC016A422; Tue, 31 May 2005 17:37:17 +0000 (GMT) (envelope-from markus@FreeBSD.org) Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A95B43D54; Tue, 31 May 2005 17:37:17 +0000 (GMT) (envelope-from markus@FreeBSD.org) Received: from fwd26.aul.t-online.de by mailout06.sul.t-online.com with smtp id 1DdAfz-0003mp-01; Tue, 31 May 2005 19:37:15 +0200 Received: from ramses.kicks-ass.net (EIrbz0ZCgem3nSYYbWnFqS+6IDNJ76pGZsa8BfxPy8TaeX1WRAdI4v@[80.143.245.16]) by fwd26.sul.t-online.de with esmtp id 1DdAfk-0GP9uK0; Tue, 31 May 2005 19:37:00 +0200 Received: from cheops.phoenix (cheops.phoenix [192.168.1.3]) by ramses.kicks-ass.net (Postfix) with ESMTP id 79967B832; Tue, 31 May 2005 19:39:43 +0200 (CEST) From: Markus Brueffer To: freebsd-acpi@freebsd.org Date: Tue, 31 May 2005 19:35:47 +0200 User-Agent: KMail/1.8 References: <200505310155.KAA00994@axe-inc.co.jp> <200505311225.40954.markus@FreeBSD.org> <429C9DB9.4070107@root.org> In-Reply-To: <429C9DB9.4070107@root.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2077939.AlkrTepLxI"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200505311935.57158.markus@FreeBSD.org> X-ID: EIrbz0ZCgem3nSYYbWnFqS+6IDNJ76pGZsa8BfxPy8TaeX1WRAdI4v@t-dialin.net X-TOI-MSGID: 073fd072-bd83-4eea-b75a-698c5da124f7 Cc: 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 17:37:17 -0000 --nextPart2077939.AlkrTepLxI Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 31 May 2005 19:24, Nate Lawson wrote: > Markus Brueffer wrote: > > On Tuesday 31 May 2005 03:55, takawata@jp.freebsd.org wrote: > >>In message <200505301857.20346.markus@FreeBSD.org>, Markus Brueffer=20 wrote: [...] > >>>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. > > > > Writing to the EC directly is nothing more that accessing the locations > > via acpi_SetInteger. While I would highly prefer the latter method, the > > problem is, that several places of the EC in the DSDT aren't even named > > or only named on some models. > > Please do not read/write directly from EC space. A better way is to use > the EC device methods I added recently. This uses proper locking for > requests and will work concurrently with other EC users (say, cmbat): > > device_t dev; > > dev =3D devclass_get_device(devclass_find("acpi_ec"), 0); > if (dev =3D=3D NULL) > error, EC not present -- check this during probe and fail > if error > > error =3D ACPI_EC_WRITE(dev, address, buffer, len); > > or ACPI_EC_READ(). "address" is from 0-255 (8 bit addresses in EC > space) and buffer is a pointer to data to write or read. That's what I meant by "directly". The driver uses exactly that way. Markus =2D-=20 Markus Brueffer =A0 =A0| GPG-Key: http://people.FreeBSD.org/~markus/markus.= asc markus@brueffer.de | FP: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4 markus@FreeBSD.org | FreeBSD: The Power to Serve! --nextPart2077939.AlkrTepLxI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCnKB91I0Qcnj4qNQRAlBFAJ43YD6iNXpE/XqWrEwqQJw5Uru7mACfdTC9 AF9WdHkfLdlojhl/yIF1V7o= =Rlef -----END PGP SIGNATURE----- --nextPart2077939.AlkrTepLxI-- From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 17:57:38 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 6793316A41C; Tue, 31 May 2005 17:57:38 +0000 (GMT) (envelope-from yb@bashibuzuk.net) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DCFC43D4C; Tue, 31 May 2005 17:57:36 +0000 (GMT) (envelope-from yb@bashibuzuk.net) Received: from cc.bashibuzuk.net (pha75-4-82-66-87-70.fbx.proxad.net [82.66.87.70]) by postfix3-1.free.fr (Postfix) with ESMTP id 32EDA173510; Tue, 31 May 2005 19:57:35 +0200 (CEST) Received: from cc.bashibuzuk.net (localhost [127.0.0.1]) by cc.bashibuzuk.net (8.13.1/8.13.1) with ESMTP id j4VHvoKC001350; Tue, 31 May 2005 19:57:50 +0200 (CEST) (envelope-from yb@bashibuzuk.net) Received: (from yb@localhost) by cc.bashibuzuk.net (8.13.1/8.13.1/Submit) id j4VHvnjE001349; Tue, 31 May 2005 19:57:49 +0200 (CEST) (envelope-from yb@bashibuzuk.net) X-Authentication-Warning: cc.bashibuzuk.net: yb set sender to yb@bashibuzuk.net using -f Date: Tue, 31 May 2005 19:57:49 +0200 From: Yann Berthier To: Markus Brueffer Message-ID: <20050531175749.GA774@bashibuzuk.net> Mail-Followup-To: Markus Brueffer , freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org References: <200505301857.20346.markus@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200505301857.20346.markus@FreeBSD.org> X-Operating-System: FreeBSD 6.0-CURRENT User-Agent: Mutt/1.5.9i Cc: freebsd-acpi@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 17:57:38 -0000 On Mon, 30 May 2005, Markus Brueffer wrote: > 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). On a t42, current as of today > Please mail me on failure and success and include the output of > # 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: 2304 hw.acpi.ibm.lcd_brightness: 7 hw.acpi.ibm.volume: 10 hw.acpi.ibm.mute: 1 hw.acpi.ibm.thinklight: 0 hw.acpi.ibm.bluetooth: 1 hw.acpi.ibm.wlan: 1 hw.acpi.ibm.fan_rpm: 3647 hw.acpi.ibm.fan_status: 1 hw.acpi.ibm.thermal: 46 43 33 59 34 -1 30 -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://bashibuzuk.net/~yb/name-system.asl Thanks, - yann From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 18:37:55 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 9337616A41C; Tue, 31 May 2005 18:37:55 +0000 (GMT) (envelope-from fj@fj.batmule.dk) Received: from fj.batmule.dk (fj.dkuug.dk [195.215.30.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA49043D4C; Tue, 31 May 2005 18:37:54 +0000 (GMT) (envelope-from fj@fj.batmule.dk) Received: from fj.batmule.dk (localhost [127.0.0.1]) by fj.batmule.dk (8.12.9/8.12.9) with ESMTP id j4VIe5mX000995; Tue, 31 May 2005 20:40:06 +0200 (CEST) (envelope-from fj@fj.batmule.dk) Received: (from fj@localhost) by fj.batmule.dk (8.12.9/8.12.9/Submit) id j4VIe5Ad000985; Tue, 31 May 2005 20:40:05 +0200 (CEST) (envelope-from fj) Date: Tue, 31 May 2005 20:40:04 +0200 From: Flemming Jacobsen To: markus@freebsd.org Message-ID: <20050531184004.GA421@fj.batmule.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.8-STABLE i386 X-PGPkey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xDCC399C7 Cc: freebsd-acpi@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 18:37:55 -0000 Hi, Markus On Mon, 30 May 2005 18:57:09 +0200, Markus Brueffer said: > Please mail me on failure and success and include the output of > # sysctl hw.acpi.ibm hw.acpi.ibm.events: 0 hw.acpi.ibm.hotkey: 1312 hw.acpi.ibm.lcd_brightness: 1 hw.acpi.ibm.volume: 14 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: 0 hw.acpi.ibm.fan_status: 0 hw.acpi.ibm.thermal: 45 45 46 -1 -1 -1 -1 -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.batmule.dk/FreeBSD/X23-2662XXD.asl This is an X23, with -current as of 20050521. lcd_brightness works fine thinklight works fine Reading volume and mute works fine. Writing to volume and mute doesn't work. However setting volume to i.e. 5 and hitting the 'volume down' key will set the volume to 4 and lower the sound accordingly. Fan sysctls seem broken. fan_* reads as 0, but I can hear and feel the fan running. It has wlan builtin, but no indicators are available. Setting wlan to 0 doesn't affect the wi based wireless net. No bluetooth. Suspend will "crash" Xorg (even when display is switched to ttyv0). This also happened before upgrading acpi_ibm, but didn't happen with a kernel from early april. Regards Flemming -- Flemming Jacobsen Email: fj@batmule.dk ---=== If speed kills, Windows users may live forever. ===--- From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 19:43:59 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 508EB16A420 for ; Tue, 31 May 2005 19:43:59 +0000 (GMT) (envelope-from pawel.worach@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66F2743D49 for ; Tue, 31 May 2005 19:43:58 +0000 (GMT) (envelope-from pawel.worach@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so2056843rng for ; Tue, 31 May 2005 12:43:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=V4W+OH6jzLAf+eAD8jX3k11tGSsNiQEdkQgj7tzk9zajWkQ2275wn7x0iWHFaFRMJXN67ItMrrXsGDT60HfvSt/E46Gohz9R0fUizjyh03xEClcCR9wJ6+KSqHijrIR1/DEG0fC8Vqe7z8XKt598xVRziFN+dE+qkszTOU0B9/0= Received: by 10.38.153.45 with SMTP id a45mr7234362rne; Tue, 31 May 2005 12:43:57 -0700 (PDT) Received: from ?192.168.1.200? ([213.64.231.30]) by mx.gmail.com with ESMTP id k22sm226616rnb.2005.05.31.12.43.56; Tue, 31 May 2005 12:43:57 -0700 (PDT) Message-ID: <429CBE79.3060106@gmail.com> Date: Tue, 31 May 2005 21:43:53 +0200 From: Pawel Worach User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050526) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Markus Brueffer References: <200505301857.20346.markus@FreeBSD.org> In-Reply-To: <200505301857.20346.markus@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@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 19:43:59 -0000 Markus Brueffer wrote: > Please mail me on failure and success and include the output of > # sysctl hw.acpi.ibm hw.acpi.ibm.initialmask: 2060 hw.acpi.ibm.availmask: 16777215 hw.acpi.ibm.events: 0 hw.acpi.ibm.eventmask: 2060 hw.acpi.ibm.hotkey: 3352 hw.acpi.ibm.lcd_brightness: 7 <- works hw.acpi.ibm.volume: 5 <- works hw.acpi.ibm.mute: 0 <- works hw.acpi.ibm.thinklight: 0 <- works hw.acpi.ibm.bluetooth: 0 <- works hw.acpi.ibm.wlan: 1 <- seems to have no effect whatsoever hw.acpi.ibm.fan_rpm: 3580 hw.acpi.ibm.fan_status: 1 <- fan is running right now hw.acpi.ibm.thermal: 49 49 33 56 35 -1 31 -1 I really like the lcd_brightness write support, thank you! This is on a T41 2373-TG5 > 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://62.119.221.30/acpi/ -- Pawel From owner-freebsd-acpi@FreeBSD.ORG Tue May 31 21:43:10 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 4AA8D16A41C; Tue, 31 May 2005 21:43:10 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0586243D1D; Tue, 31 May 2005 21:43:09 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j4VLh8Z6017162 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 31 May 2005 14:43:08 -0700 Message-ID: <429CDA32.5040208@root.org> Date: Tue, 31 May 2005 14:42:10 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Markus Brueffer References: <200505310155.KAA00994@axe-inc.co.jp> <200505311225.40954.markus@FreeBSD.org> <429C9DB9.4070107@root.org> <200505311935.57158.markus@FreeBSD.org> In-Reply-To: <200505311935.57158.markus@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@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 21:43:10 -0000 Markus Brueffer wrote: > On Tuesday 31 May 2005 19:24, Nate Lawson wrote: > >>Markus Brueffer wrote: >> >>>On Tuesday 31 May 2005 03:55, takawata@jp.freebsd.org wrote: >>> >>>>In message <200505301857.20346.markus@FreeBSD.org>, Markus Brueffer > > wrote: > > [...] > > >>>>>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. >>> >>>Writing to the EC directly is nothing more that accessing the locations >>>via acpi_SetInteger. While I would highly prefer the latter method, the >>>problem is, that several places of the EC in the DSDT aren't even named >>>or only named on some models. >> >>Please do not read/write directly from EC space. A better way is to use >>the EC device methods I added recently. This uses proper locking for >>requests and will work concurrently with other EC users (say, cmbat): >> >> device_t dev; >> >> dev = devclass_get_device(devclass_find("acpi_ec"), 0); >> if (dev == NULL) >> error, EC not present -- check this during probe and fail >> if error >> >> error = ACPI_EC_WRITE(dev, address, buffer, len); >> >>or ACPI_EC_READ(). "address" is from 0-255 (8 bit addresses in EC >>space) and buffer is a pointer to data to write or read. > > > That's what I meant by "directly". The driver uses exactly that way. > > Markus > Thanks, that is the correct way. I didn't have time to review your patch. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 1 00:11:11 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 13AAE16A41C; Wed, 1 Jun 2005 00:11:11 +0000 (GMT) (envelope-from arne@rfc2549.org) Received: from dagobah.rfc1149.org (dagobah.rfc1149.org [217.160.170.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id A78D643D48; Wed, 1 Jun 2005 00:11:10 +0000 (GMT) (envelope-from arne@rfc2549.org) Received: from dsl-213-023-198-087.arcor-ip.net ([213.23.198.87] helo=kamino.rfc1149.org) by dagobah.rfc1149.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44 (FreeBSD)) id 1DdGp4-000HOa-Ms; Wed, 01 Jun 2005 02:11:07 +0200 Received: by kamino.rfc1149.org (Postfix, from userid 1001) id D9503408F; Wed, 1 Jun 2005 02:11:01 +0200 (CEST) From: Arne Schwabe To: Markus Brueffer In-Reply-To: <200505311245.53333.markus@FreeBSD.org> (Markus Brueffer's message of "Tue, 31 May 2005 12:45:47 +0200") References: <200505301857.20346.markus@FreeBSD.org> <20050531092550.GA59763@svm.csie.ntu.edu.tw> <200505311245.53333.markus@FreeBSD.org> Date: Wed, 01 Jun 2005 02:10:56 +0200 Message-ID: <86sm03os1b.fsf@kamino.rfc1149.org> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-RFC-Spam-Score: -1.1 (-) Cc: freebsd-acpi@freebsd.org, Rong-En Fan , 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: Wed, 01 Jun 2005 00:11:11 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable Markus Brueffer writes: >> > Please mail me on failure and success and include the output of >> > # sysctl hw.acpi.ibm >> >> hw.acpi.ibm.initialmask: 2060 >> hw.acpi.ibm.availmask: 16777215 >> hw.acpi.ibm.events: 0 >> hw.acpi.ibm.eventmask: 2060 >> hw.acpi.ibm.hotkey: 2432 >> hw.acpi.ibm.lcd_brightness: 5 >> hw.acpi.ibm.volume: 6 >> hw.acpi.ibm.mute: 0 >> hw.acpi.ibm.thinklight: 0 >> hw.acpi.ibm.bluetooth: 0 >> hw.acpi.ibm.wlan: 0 >> hw.acpi.ibm.fan_rpm: 3516 >> hw.acpi.ibm.fan_status: 1 >> hw.acpi.ibm.thermal: 61 -1 55 39 41 -1 27 -1 (I have an old kernel at the Moment, will add this later if needed) >> > - support for reading up to 8 thermal sensors >> >> Is there any reference that describes which sensor >> monitors what part of ThinkPad? > > Not that I know of, since this might vary from model to model. But to quo= te=20 > the README of the linux driver: > > Thomas Gruber took his R51 apart and traced all six active sensors in > his laptop (the location of sensors may vary on other models): > > 1: CPU > 2: Mini PCI Module > 3: HDD > 4: GPU > 5: Battery > 6: N/A > 7: Battery > 8: N/A I can confirm the first is the cpu and that 5 +7 are the main battery.=20 For my system 6 + 8 are for the second battery (ultrabay) My asl http://www.plaisthos.de/misc/kamino-t40p-2373-g3g.asl =2D-=20 compiling millions of tiny c-programs...done checking for a working configure script... not found --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCnP0Ve8+cMNS4zRcRAkS8AKDZP7bdCkN71r8G0xnf7tbr1NDvywCgsHKO HwT9wIkOgPZbU04St2LX2XM= =d8WK -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 1 11:29:25 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 5F9DF16A41C; Wed, 1 Jun 2005 11:29:25 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B28FA43D1D; Wed, 1 Jun 2005 11:29:24 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j51BTNBR091639; Wed, 1 Jun 2005 14:29:23 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 28800-06; Wed, 1 Jun 2005 14:29:22 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j51BTLRn091634 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Jun 2005 14:29:21 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.3/8.13.3) id j51BTkkn053638; Wed, 1 Jun 2005 14:29:46 +0300 (EEST) (envelope-from ru) Date: Wed, 1 Jun 2005 14:29:45 +0300 From: Ruslan Ermilov To: Nate Lawson Message-ID: <20050601112945.GI26337@ip.net.ua> References: <20050531120618.GB4568@ip.net.ua> <429C9FDE.3060607@root.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dMdWWqg3F2Dv/qfw" Content-Disposition: inline In-Reply-To: <429C9FDE.3060607@root.org> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: freebsd-acpi@FreeBSD.org, Markus Brueffer , 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: Wed, 01 Jun 2005 11:29:25 -0000 --dMdWWqg3F2Dv/qfw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 31, 2005 at 10:33:18AM -0700, Nate Lawson wrote: > Ruslan Ermilov wrote: > >I own the IBM ThinkPad 600X notebook. The acpi(4) and acpi_video(4) > >both work, but this beast doesn't even probe. > > > >Does anyone have an explanation why acpi_ibm doesn't get probed on > >this notebook? My devinfo has the IBM0068 device listed (see below), > >but for some reason this device doesn't get passed to the acpi_ibm's > >probe method. > > > >: nexus0 > >: legacy0 > >: npx0 > >: acpi0 > >: cpu0 pnpinfo _HID=3Dnone _UID=3D0 at handle=3D\_PR_.CPU0 > >: acpi_throttle0 > >: cpufreq0 > >: pci_link0 pnpinfo _HID=3DPNP0C0F _UID=3D1 at handle=3D\_SB_.LNKA > >: pci_link1 pnpinfo _HID=3DPNP0C0F _UID=3D2 at handle=3D\_SB_.LNKB > >: pci_link2 pnpinfo _HID=3DPNP0C0F _UID=3D3 at handle=3D\_SB_.LNKC > >: pci_link3 pnpinfo _HID=3DPNP0C0F _UID=3D4 at handle=3D\_SB_.LNKD > >: acpi_lid0 pnpinfo _HID=3DPNP0C0D _UID=3D0 at handle=3D\_SB_.LID0 > >: acpi_button0 pnpinfo _HID=3DPNP0C0E _UID=3D0 at handle=3D\_SB_.SLPB > >: unknown pnpinfo _HID=3DIBM0068 _UID=3D0 at handle=3D\_SB_.HKEY > > ^^^^^^^ > >: acpi_sysresource0 pnpinfo _HID=3DPNP0C01 _UID=3D0 at handle=3D\_SB= _.MBRM > >: pcib0 pnpinfo _HID=3DPNP0A03 _UID=3D0 at handle=3D\_SB_.PCI0 >=20 > Add a line to acpi_ibm_probe at the start of the function: >=20 > printf("acpi ibm probing %s\n", acpi_get_handle(dev)); >=20 acpi_get_handle() doesn't return "char *", and when using device_get_desc(), "null" is printed. > See if \_SB.HKEY gets printed. Try both loading acpi_ibm on boot and aft= er. >=20 Loading it on boot or after doesn't make any difference. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --dMdWWqg3F2Dv/qfw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCnZwpqRfpzJluFF4RAjAWAKCCMYcg4bTUFuUW0eVwt0fjS0LhUQCdF6PS EeD0/fz/2NMEBBs/TcGPdeM= =7Wo5 -----END PGP SIGNATURE----- --dMdWWqg3F2Dv/qfw-- From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 1 13:37:49 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 B5B1A16A41C for ; Wed, 1 Jun 2005 13:37:49 +0000 (GMT) (envelope-from rushani@bl.mmtr.or.jp) Received: from wasley.bl.mmtr.or.jp (wasley.bl.mmtr.or.jp [210.228.173.142]) by mx1.FreeBSD.org (Postfix) with SMTP id BD93B43D53 for ; Wed, 1 Jun 2005 13:37:48 +0000 (GMT) (envelope-from rushani@bl.mmtr.or.jp) Received: (qmail 16850 invoked from network); 1 Jun 2005 22:37:47 +0900 Received: from unknown (HELO localhost) (210.153.209.47) by wasley.bl.mmtr.or.jp with SMTP; 1 Jun 2005 22:37:47 +0900 Date: Wed, 01 Jun 2005 22:37:41 +0900 (JST) Message-Id: <20050601.223741.41633364.rushani@bl.mmtr.or.jp> To: markus@FreeBSD.org From: Hideyuki KURASHINA In-Reply-To: <200505311922.40288.markus@FreeBSD.org> References: <429C8E98.6000101@errno.com> <200505311915.37097.markus@FreeBSD.org> <200505311922.40288.markus@FreeBSD.org> X-URL: http://www.rushani.jp/ X-PGP-Public-Key: http://www.rushani.jp/rushani.asc X-PGP-Fingerprint: A052 6F98 6146 6FE3 91E2 DA6B F2FA 2088 439A DC57 X-RC5-72-Stats: http://stats.distributed.net/participant/psummary.php?project_id=8&id=432320 X-Mailer: Mew version 4.2.50 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: sam@errno.com, freebsd-acpi@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: Wed, 01 Jun 2005 13:37:49 -0000 Hi, >>> On Tue, 31 May 2005 19:22:34 +0200, Markus Brueffer said: > On Tuesday 31 May 2005 19:15, Markus Brueffer wrote: > > On Tuesday 31 May 2005 18:19, Sam Leffler wrote: > > > Hideyuki KURASHINA wrote: > > [...] > > > > > 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... > > > > My T41p resumes fine and in fact the wlan LED doesn't work after resume > > (didn't notice that before). The attached patch for if_ath.c fixes that > > for me. Same here. My X40 also resumes fine. > Seems like the patch didn't make it to the list: > > http://people.freebsd.org/~markus/ibm/if_ath.c.diff Your patch fixes the problem, too. Thanks! -- rushani From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 1 15:15:54 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 0338B16A41C; Wed, 1 Jun 2005 15:15:54 +0000 (GMT) (envelope-from oberman@es.net) Received: from postal2.es.net (postal2.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9576A43D53; Wed, 1 Jun 2005 15:15:51 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP (SSL) id IBA74465; Wed, 01 Jun 2005 08:15:50 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id B62CB5D07; Wed, 1 Jun 2005 08:15:50 -0700 (PDT) To: Markus Brueffer In-reply-to: Your message of "Mon, 30 May 2005 18:57:09 +0200." <200505301857.20346.markus@FreeBSD.org> Date: Wed, 01 Jun 2005 08:15:50 -0700 From: "Kevin Oberman" Message-Id: <20050601151550.B62CB5D07@ptavv.es.net> Cc: freebsd-acpi@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: Wed, 01 Jun 2005 15:15:54 -0000 > From: Markus Brueffer > Date: Mon, 30 May 2005 18:57:09 +0200 > Sender: owner-freebsd-acpi@freebsd.org > > 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 Success! (Except the expected things) This is a bit of an "Me, too", but I have not seen a report on a T30, so: > sysctl hw.acpi.ibm hw.acpi.ibm.initialmask: 2060 hw.acpi.ibm.availmask: 2252 hw.acpi.ibm.events: 0 hw.acpi.ibm.eventmask: 2060 hw.acpi.ibm.hotkey: 288 hw.acpi.ibm.lcd_brightness: 7 hw.acpi.ibm.volume: 9 hw.acpi.ibm.mute: 0 hw.acpi.ibm.thinklight: 0 hw.acpi.ibm.bluetooth: 0 hw.acpi.ibm.wlan: 0 hw.acpi.ibm.fan_rpm: 3738 hw.acpi.ibm.fan_status: 1 hw.acpi.ibm.thermal: 48 49 50 -1 32 31 26 28 I'm still trying to track down which thermal is which. Volume, lcd_brightness, mute, thinklight, fan_rpm, fan_status and thermal all work. As generally reported, wlan is non-functional. I think that this is simply that the FreeBSD wireless drivers don't have code to turn off the radio. I suspect that the BIOS is doing the right thing and FreeBSD is not (yet). > 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://home.comcast.net/~k.oberman/FreeBSD/T30.asl Thanks for doing all of this work. It looks great! -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-acpi@FreeBSD.ORG Thu Jun 2 10:06:21 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 3101416A41C; Thu, 2 Jun 2005 10:06:21 +0000 (GMT) (envelope-from arne@rfc2549.org) Received: from dagobah.rfc1149.org (dagobah.rfc1149.org [217.160.170.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id D144343D53; Thu, 2 Jun 2005 10:06:20 +0000 (GMT) (envelope-from arne@rfc2549.org) Received: from kamino.cs.upb.de ([131.234.20.130] helo=kamino.rfc1149.org) by dagobah.rfc1149.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44 (FreeBSD)) id 1Ddmaa-0005sc-Hj; Thu, 02 Jun 2005 12:06:18 +0200 Received: by kamino.rfc1149.org (Postfix, from userid 1001) id 63D774091; Thu, 2 Jun 2005 12:06:12 +0200 (CEST) From: Arne Schwabe To: "Kevin Oberman" In-Reply-To: <20050601151550.B62CB5D07@ptavv.es.net> (Kevin Oberman's message of "Wed, 01 Jun 2005 08:15:50 -0700") References: <20050601151550.B62CB5D07@ptavv.es.net> Date: Thu, 02 Jun 2005 12:06:12 +0200 Message-ID: <86psv5hy3v.fsf@kamino.rfc1149.org> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-RFC-Spam-Score: -2.6 (--) Cc: freebsd-acpi@freebsd.org, Markus Brueffer , 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: Thu, 02 Jun 2005 10:06:21 -0000 "Kevin Oberman" writes: > hw.acpi.ibm.initialmask: 2060 > hw.acpi.ibm.availmask: 2252 > hw.acpi.ibm.events: 0 > hw.acpi.ibm.eventmask: 2060 > hw.acpi.ibm.hotkey: 288 > hw.acpi.ibm.lcd_brightness: 7 > hw.acpi.ibm.volume: 9 > hw.acpi.ibm.mute: 0 > hw.acpi.ibm.thinklight: 0 > hw.acpi.ibm.bluetooth: 0 > hw.acpi.ibm.wlan: 0 > hw.acpi.ibm.fan_rpm: 3738 > hw.acpi.ibm.fan_status: 1 > hw.acpi.ibm.thermal: 48 49 50 -1 32 31 26 28 > > I'm still trying to track down which thermal is which. You could start by removing the batteries and see if that makes a difference. Arne -- compiling millions of tiny c-programs...done checking for a working configure script... not found From owner-freebsd-acpi@FreeBSD.ORG Thu Jun 2 18:30:08 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 174B916A41C; Thu, 2 Jun 2005 18:30:08 +0000 (GMT) (envelope-from oberman@es.net) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAC4E43D1D; Thu, 2 Jun 2005 18:30:07 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id IBA74465; Thu, 02 Jun 2005 11:30:06 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id C53535D07; Thu, 2 Jun 2005 11:30:06 -0700 (PDT) X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.0.4 To: Arne Schwabe In-reply-to: Your message of "Thu, 02 Jun 2005 12:06:12 +0200." <86psv5hy3v.fsf@kamino.rfc1149.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 02 Jun 2005 11:30:06 -0700 From: "Kevin Oberman" Message-Id: <20050602183006.C53535D07@ptavv.es.net> Cc: freebsd-acpi@freebsd.org, Markus Brueffer , 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: Thu, 02 Jun 2005 18:30:08 -0000 > From: Arne Schwabe > Date: Thu, 02 Jun 2005 12:06:12 +0200 > > "Kevin Oberman" writes: > > > > hw.acpi.ibm.initialmask: 2060 > > hw.acpi.ibm.availmask: 2252 > > hw.acpi.ibm.events: 0 > > hw.acpi.ibm.eventmask: 2060 > > hw.acpi.ibm.hotkey: 288 > > hw.acpi.ibm.lcd_brightness: 7 > > hw.acpi.ibm.volume: 9 > > hw.acpi.ibm.mute: 0 > > hw.acpi.ibm.thinklight: 0 > > hw.acpi.ibm.bluetooth: 0 > > hw.acpi.ibm.wlan: 0 > > hw.acpi.ibm.fan_rpm: 3738 > > hw.acpi.ibm.fan_status: 1 > > hw.acpi.ibm.thermal: 48 49 50 -1 32 31 26 28 > > > > I'm still trying to track down which thermal is which. > > You could start by removing the batteries and see if that makes a > difference. Sorry. I should have posted that the first value is the CPU. The fifth and seventh are the primary battery and the sixth and eighth are the second battery. The secondary battery values are only the battery and not the bay as I get -1 for 6 and 8 even when I have a disk drive plugged in. I have no idea where the two sensors are located, though. They are usually several degrees apart. So I have 5 values out of 8. One is not present (always -1). That leaves 2 "real" values to chase down. I'm guessing: CPU, MiniPCI, HDD, Unused, Battery1A, Battery2A, Battery1B, Battery2B. But I can;t be sure. This is just based on other reports. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634