From owner-freebsd-acpi@FreeBSD.ORG Mon Jun 6 02:48: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 7BDA816A41C for ; Mon, 6 Jun 2005 02:48:11 +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 5BD4843D4C for ; Mon, 6 Jun 2005 02:48:11 +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 for ; Sun, 05 Jun 2005 19:48:10 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 45FE95D08 for ; Sun, 5 Jun 2005 19:48:10 -0700 (PDT) To: freebsd-acpi@freebsd.org Date: Sun, 05 Jun 2005 19:48:10 -0700 From: "Kevin Oberman" Message-Id: <20050606024810.45FE95D08@ptavv.es.net> Subject: Minor sleep (S#) regression on IBM T30 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, 06 Jun 2005 02:48:11 -0000 I just noticed that sleep (S3) and resume have broken just a bit on current. I don't know if the recent graphics console patches or the updates to acpi_ibm or something else is responsible. Since I don't often use suspend, it may have happened as long as two months ago. The problem is that the back-light no longer turns on when the system is resumes. I can get it to turn of trivially by switching to a different vty, so it's not a big thing, but it is a slight regression. Any ideas of what I could check? I am running the acpi_ibm patches and using a high resolution VESA graphics console mode (1400x1050x16) on the syscons screens as well as jhb's acpi_video_dpms patch. -- 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 Mon Jun 6 03:26:24 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 3A66516A41C for ; Mon, 6 Jun 2005 03:26:24 +0000 (GMT) (envelope-from nate@root.org) Received: from ylpvm01.prodigy.net (ylpvm01-ext.prodigy.net [207.115.57.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id E782443D4C for ; Mon, 6 Jun 2005 03:26:23 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.51] (adsl-64-171-184-89.dsl.snfc21.pacbell.net [64.171.184.89]) by ylpvm01.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id j563PYqa008721; Sun, 5 Jun 2005 23:25:34 -0400 Message-ID: <42A3C1BA.6030909@root.org> Date: Sun, 05 Jun 2005 20:23:38 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050416) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Oberman References: <20050606024810.45FE95D08@ptavv.es.net> In-Reply-To: <20050606024810.45FE95D08@ptavv.es.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: Minor sleep (S#) regression on IBM T30 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, 06 Jun 2005 03:26:24 -0000 Kevin Oberman wrote: > I just noticed that sleep (S3) and resume have broken just a bit on > current. I don't know if the recent graphics console patches or the > updates to acpi_ibm or something else is responsible. Since I don't > often use suspend, it may have happened as long as two months ago. > > The problem is that the back-light no longer turns on when the system > is resumes. I can get it to turn of trivially by switching to a > different vty, so it's not a big thing, but it is a slight regression. > > Any ideas of what I could check? > > I am running the acpi_ibm patches and using a high resolution VESA > graphics console mode (1400x1050x16) on the syscons screens as well as > jhb's acpi_video_dpms patch. The Thinkpad backlight is totally driven by SMI on FreeBSD and Linux. I think the syscons mode may affect things or some combination of syscons and X. I can't turn off the backlight on my T23 with X DPMS at all. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Mon Jun 6 11:01: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 BC39C16A41C for ; Mon, 6 Jun 2005 11:01:43 +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 7EB4C43D1F for ; Mon, 6 Jun 2005 11:01:43 +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 j56B1huU065501 for ; Mon, 6 Jun 2005 11:01:43 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j56B1gJR065495 for freebsd-acpi@freebsd.org; Mon, 6 Jun 2005 11:01:42 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 6 Jun 2005 11:01:42 GMT Message-Id: <200506061101.j56B1gJR065495@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, 06 Jun 2005 11:01:43 -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 Jun 6 20:54:27 2005 Return-Path: X-Original-To: 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 401FC16A41C; Mon, 6 Jun 2005 20:54:27 +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 E884943D48; Mon, 6 Jun 2005 20:54:26 +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 j56KsPZ6004231 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 6 Jun 2005 13:54:26 -0700 Message-ID: <42A4B760.1000905@root.org> Date: Mon, 06 Jun 2005 13:51:44 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: acpi@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: away from FreeBSD development for a while 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, 06 Jun 2005 20:54:27 -0000 I have notified people of this privately for the last month. Due to the number of email requests I have received, I wanted to also announce this publicly. I am not currently working on FreeBSD development due to lack of time. I am reading email and will respond when I get a chance. If you plan to commit to ACPI, please still send me the patch for review. I'll be back in a month or two. First order of business will be to finish a battery system interface rework. Thanks for patience, -- Nate From owner-freebsd-acpi@FreeBSD.ORG Mon Jun 6 21:03:07 2005 Return-Path: X-Original-To: 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 501D616A41C for ; Mon, 6 Jun 2005 21:03: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 03F7843D49 for ; Mon, 6 Jun 2005 21:03:06 +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 j56L36Z6004352 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 6 Jun 2005 14:03:06 -0700 Message-ID: <42A4B968.2070600@root.org> Date: Mon, 06 Jun 2005 14:00:24 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: acpi@FreeBSD.org References: <42A4B760.1000905@root.org> In-Reply-To: <42A4B760.1000905@root.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: away from FreeBSD development for a while 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, 06 Jun 2005 21:03:07 -0000 Nate Lawson wrote: > This mail is for the internal use of the FreeBSD project committers, > and as such is private. This mail may not be published or forwarded > outside the FreeBSD committers' group or disclosed to other unauthorised > parties without the explicit permission of the author(s). Of course, that is a wrong disclaimer. This message was public. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Tue Jun 7 15:12:57 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 8BE7016A41C; Tue, 7 Jun 2005 15:12:57 +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 EA21043D49; Tue, 7 Jun 2005 15:12:56 +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 j57FCtGw089090; Tue, 7 Jun 2005 18:12:55 +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 78999-11; Tue, 7 Jun 2005 18:12:54 +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 j57FCsc4089087 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 7 Jun 2005 18:12:54 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.3/8.13.3) id j57FDLKU033127; Tue, 7 Jun 2005 18:13:21 +0300 (EEST) (envelope-from ru) Date: Tue, 7 Jun 2005 18:13:21 +0300 From: Ruslan Ermilov To: Markus Brueffer , Nate Lawson Message-ID: <20050607151321.GK30490@ip.net.ua> References: <20050531120618.GB4568@ip.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZG5hGh9V5E9QzVHS" Content-Disposition: inline In-Reply-To: <20050531120618.GB4568@ip.net.ua> 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, 07 Jun 2005 15:12:57 -0000 --ZG5hGh9V5E9QzVHS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 31, 2005 at 03:06:18PM +0300, Ruslan Ermilov wrote: > 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 = the=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 = new=20 > > one in sys/dev/acpi_support and rebuild it. (sorry, no patch for 5.x fo= r=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. >=20 > 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. >=20 > : 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_= =2EMBRM > : pcib0 pnpinfo _HID=3DPNP0A03 _UID=3D0 at handle=3D\_SB_.PCI0 >=20 OK, I fixed the AML and it now probes and attaches. Most of the acpi_ibm(4) features seem to work. Thanks to Nate for aid in debugging. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --ZG5hGh9V5E9QzVHS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCpbmQqRfpzJluFF4RAo+VAJ44YC2Qcebu8oU2TlEXDi355uJtfgCgidvf Pgfz8Q0EKu8NA/WWgRQ9j/c= =0ukw -----END PGP SIGNATURE----- --ZG5hGh9V5E9QzVHS-- From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 8 11:30:19 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 D459B16A41C for ; Wed, 8 Jun 2005 11:30:19 +0000 (GMT) (envelope-from soheil.h.y@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8187B43D4C for ; Wed, 8 Jun 2005 11:30:19 +0000 (GMT) (envelope-from soheil.h.y@gmail.com) Received: by wproxy.gmail.com with SMTP id 71so335016wra for ; Wed, 08 Jun 2005 04:30:18 -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:mime-version:content-type:content-transfer-encoding:content-disposition; b=CMhxfCtFeJICBvfZtviII5+uW2p5VLLEh3dgTng1bZEgLhN519Dvr+tStIfdNRAQNuxCncotsTouuE8uzBmjHDeyPVkFp5adXfMAiwsvhTbuGGALtMXS8+1NSFnWKRI+RVaiTbd7Bj3WJiCYs1tjrsHD0Z6k1cPJPwGLANBfUuI= Received: by 10.54.120.18 with SMTP id s18mr4417836wrc; Wed, 08 Jun 2005 04:30:18 -0700 (PDT) Received: by 10.54.86.7 with HTTP; Wed, 8 Jun 2005 04:30:18 -0700 (PDT) Message-ID: <4c90b772050608043047d6009f@mail.gmail.com> Date: Wed, 8 Jun 2005 16:00:18 +0430 From: Soheil Hassas Yeganeh To: freebsd-acpi@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: CPU frequency on FreeBSD 5.4 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Soheil Hassas Yeganeh List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2005 11:30:19 -0000 I have a problem with my cpu frequency levels when booting while power cable is unplugged. When the cable is plugged the max cpu frequency is 2.0GHz and it's correct. But when booting unplugged the max cpu frequency is 1.2GHz ! How can i solve this From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 8 11:41:14 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 91C8B16A41C for ; Wed, 8 Jun 2005 11:41:14 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 453B443D1D for ; Wed, 8 Jun 2005 11:41:13 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id j58BfDEO097212; Wed, 8 Jun 2005 06:41:13 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <42A6D942.9060400@centtech.com> Date: Wed, 08 Jun 2005 06:40:50 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050603 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Soheil Hassas Yeganeh References: <4c90b772050608043047d6009f@mail.gmail.com> In-Reply-To: <4c90b772050608043047d6009f@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: CPU frequency on FreeBSD 5.4 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, 08 Jun 2005 11:41:14 -0000 Soheil Hassas Yeganeh wrote: > I have a problem with my cpu frequency levels when booting while power > cable is unplugged. > When the cable is plugged the max cpu frequency is 2.0GHz and it's correct. > But when booting unplugged the max cpu frequency is 1.2GHz ! > > How can i solve this What version of FreeBSD are you using? If you are running FreeBSD 5.4 or better: You will probably want to set these variables in /etc/rc.conf: performance_cx_lowest="HIGH" # Online CPU idle state performance_cpu_freq="NONE" # Online CPU frequency economy_cx_lowest="HIGH" # Offline CPU idle state economy_cpu_freq="NONE" # Offline CPU frequency The one you want is: economy_cpu_freq="NONE" you will change it to something like: economy_cpu_freq="HIGH" -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology A lost ounce of gold may be found, a lost moment of time never. ------------------------------------------------------------------------ From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 8 11:46:18 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 0640816A41C; Wed, 8 Jun 2005 11:46:18 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA00C43D48; Wed, 8 Jun 2005 11:46:17 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id j58BkHHQ097244; Wed, 8 Jun 2005 06:46:17 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <42A6DA72.2070105@centtech.com> Date: Wed, 08 Jun 2005 06:45:54 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050603 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Warner Losh References: <200506032012.j53KCC5k077879@repoman.freebsd.org> In-Reply-To: <200506032012.j53KCC5k077879@repoman.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: cvs commit: src/sys/dev/acpica acpi.c 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, 08 Jun 2005 11:46:18 -0000 Warner Losh wrote: > imp 2005-06-03 20:12:12 UTC > > FreeBSD src repository > > Modified files: > sys/dev/acpica acpi.c > Log: > In newbus land, ivars can only be accessed for direct child, or when > the driver has unholy private knowledge of its great-*cgrandchildren. > The ACPI allocation routine lacked such knowledge when it tried to do > a default allocation for all descendants, rather than just its > immeidate children, so would access grandchild's ivar in an unsafe > way. This could lead to a panic when devices were present which had > no addresses setup by the BIOS, but which were later allocated in a > lazy manner via pci_alloc_map. As such, only do the default > allocation adjustments for immediate children. The manner that > acpi_sysres_find accesses the resource list, used later in > acpi_alloc_resource, is safe and proper so no additional test is > needed there. > > This fixes a panic when probing an disabled ata controller on some > newer intel blades. > > Reported by: dwhite > > Revision Changes Path > 1.214 +1 -1 src/sys/dev/acpica/acpi.c Warner - I owe you a beer! I believe this commit got my Dell D610 laptop (and maybe the D600's?) to go into S3 mode, which prior to this commit it would power off the machine instead of going into S3. Now, my only problem is that when trying to come out of S3, it powers off. How do I debug that? Thanks for the commit!! Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology A lost ounce of gold may be found, a lost moment of time never. ------------------------------------------------------------------------ From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 8 18:59:20 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 821FF16A41C for ; Wed, 8 Jun 2005 18:59:20 +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 33EE843D48 for ; Wed, 8 Jun 2005 18:59:20 +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 j58IxJZ6001590 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 8 Jun 2005 11:59:19 -0700 Message-ID: <42A73F66.1090608@root.org> Date: Wed, 08 Jun 2005 11:56:38 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Soheil Hassas Yeganeh References: <4c90b772050608043047d6009f@mail.gmail.com> In-Reply-To: <4c90b772050608043047d6009f@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: CPU frequency on FreeBSD 5.4 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, 08 Jun 2005 18:59:20 -0000 Soheil Hassas Yeganeh wrote: > I have a problem with my cpu frequency levels when booting while power > cable is unplugged. > When the cable is plugged the max cpu frequency is 2.0GHz and it's correct. > But when booting unplugged the max cpu frequency is 1.2GHz ! > > How can i solve this In 5.x, you can't change this. The BIOS is setting the CPU speed to the lower value outside of FreeBSD. Soon the 6.x full support for cpufreq will be MFCd and that will allow you to adjust values as you wish. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 8 19:01:37 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 D7D0E16A41C; Wed, 8 Jun 2005 19:01:37 +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 9A1BF43D49; Wed, 8 Jun 2005 19:01:37 +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 j58J1ZZ6001621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 8 Jun 2005 12:01:36 -0700 Message-ID: <42A73FEE.4090202@root.org> Date: Wed, 08 Jun 2005 11:58:54 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Anderson References: <200506032012.j53KCC5k077879@repoman.freebsd.org> <42A6DA72.2070105@centtech.com> In-Reply-To: <42A6DA72.2070105@centtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org, Warner Losh Subject: Re: cvs commit: src/sys/dev/acpica acpi.c 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, 08 Jun 2005 19:01:38 -0000 Eric Anderson wrote: > Warner Losh wrote: > >> imp 2005-06-03 20:12:12 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/dev/acpica acpi.c Log: >> In newbus land, ivars can only be accessed for direct child, or when >> the driver has unholy private knowledge of its great-*cgrandchildren. >> The ACPI allocation routine lacked such knowledge when it tried to do >> a default allocation for all descendants, rather than just its >> immeidate children, so would access grandchild's ivar in an unsafe >> way. This could lead to a panic when devices were present which had >> no addresses setup by the BIOS, but which were later allocated in a >> lazy manner via pci_alloc_map. As such, only do the default >> allocation adjustments for immediate children. The manner that >> acpi_sysres_find accesses the resource list, used later in >> acpi_alloc_resource, is safe and proper so no additional test is >> needed there. >> This fixes a panic when probing an disabled ata controller on some >> newer intel blades. >> Reported by: dwhite >> Revision Changes Path >> 1.214 +1 -1 src/sys/dev/acpica/acpi.c > > > Warner - I owe you a beer! I believe this commit got my Dell D610 > laptop (and maybe the D600's?) to go into S3 mode, which prior to this > commit it would power off the machine instead of going into S3. Great. It should be MFCd also. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 8 20:39:39 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 DEFDE16A41C; Wed, 8 Jun 2005 20:39:39 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7418E43D4C; Wed, 8 Jun 2005 20:39:38 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id j58KdbbJ028093; Wed, 8 Jun 2005 15:39:37 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <42A75772.2050400@centtech.com> Date: Wed, 08 Jun 2005 15:39:14 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050603 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nate Lawson References: <200506032012.j53KCC5k077879@repoman.freebsd.org> <42A6DA72.2070105@centtech.com> <42A73FEE.4090202@root.org> In-Reply-To: <42A73FEE.4090202@root.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/921/Wed Jun 8 03:51:44 2005 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-acpi@freebsd.org, Warner Losh Subject: Re: cvs commit: src/sys/dev/acpica acpi.c 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, 08 Jun 2005 20:39:40 -0000 Nate Lawson wrote: > Eric Anderson wrote: > >> Warner Losh wrote: >> >>> imp 2005-06-03 20:12:12 UTC >>> >>> FreeBSD src repository >>> >>> Modified files: >>> sys/dev/acpica acpi.c Log: >>> In newbus land, ivars can only be accessed for direct child, or when >>> the driver has unholy private knowledge of its great-*cgrandchildren. >>> The ACPI allocation routine lacked such knowledge when it tried to do >>> a default allocation for all descendants, rather than just its >>> immeidate children, so would access grandchild's ivar in an unsafe >>> way. This could lead to a panic when devices were present which had >>> no addresses setup by the BIOS, but which were later allocated in a >>> lazy manner via pci_alloc_map. As such, only do the default >>> allocation adjustments for immediate children. The manner that >>> acpi_sysres_find accesses the resource list, used later in >>> acpi_alloc_resource, is safe and proper so no additional test is >>> needed there. >>> This fixes a panic when probing an disabled ata controller on some >>> newer intel blades. >>> Reported by: dwhite >>> Revision Changes Path >>> 1.214 +1 -1 src/sys/dev/acpica/acpi.c >> >> >> >> Warner - I owe you a beer! I believe this commit got my Dell D610 >> laptop (and maybe the D600's?) to go into S3 mode, which prior to this >> commit it would power off the machine instead of going into S3. > > > Great. It should be MFCd also. Awesome!! Now does anyone have any hints on how I can start looking at why it powers off instead of resumes? Screen is blank the whole time so it's hard to tell whats happening. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology A lost ounce of gold may be found, a lost moment of time never. ------------------------------------------------------------------------ From owner-freebsd-acpi@FreeBSD.ORG Thu Jun 9 23:32:22 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 03B4316A41C; Thu, 9 Jun 2005 23:32:22 +0000 (GMT) (envelope-from markus@FreeBSD.org) Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 980FB43D1F; Thu, 9 Jun 2005 23:32:21 +0000 (GMT) (envelope-from markus@FreeBSD.org) Received: from fwd23.aul.t-online.de by mailout03.sul.t-online.com with smtp id 1DgWVY-0004iS-00; Fri, 10 Jun 2005 01:32:20 +0200 Received: from ramses.kicks-ass.net (bpuZ5YZSYe7qAHoqZ2059mfT5HiUGBEOqiqn+65jVr0hb1hRkh2rsI@[80.143.253.238]) by fwd23.sul.t-online.de with esmtp id 1DgWVN-03dl9U0; Fri, 10 Jun 2005 01:32:09 +0200 Received: from cheops.phoenix (cheops.phoenix [192.168.1.3]) by ramses.kicks-ass.net (Postfix) with ESMTP id EEBF3B832; Fri, 10 Jun 2005 01:35:15 +0200 (CEST) From: Markus Brueffer To: freebsd-acpi@freebsd.org Date: Fri, 10 Jun 2005 01:31:03 +0200 User-Agent: KMail/1.8 References: <200505301857.20346.markus@FreeBSD.org> In-Reply-To: <200505301857.20346.markus@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart6013361.B52r1UOu7c"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200506100131.14008.markus@FreeBSD.org> X-ID: bpuZ5YZSYe7qAHoqZ2059mfT5HiUGBEOqiqn+65jVr0hb1hRkh2rsI@t-dialin.net X-TOI-MSGID: 45ecfe0a-52e1-4cec-af4e-59f877636c41 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: Thu, 09 Jun 2005 23:32:22 -0000 --nextPart6013361.B52r1UOu7c Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, thanks to everyone who has sent me the DSDT and/or tested the driver. I have just committed the driver and manpage along with a port of tpb,a=20 utility that makes use of it: http://www.freshports.org/deskutils/tpb A port of KDE's kmilo will follow and be ready for KDE 3.5, maybe earlier. =46urthermore, I have added the information you found out about the differe= nt=20 thermal sensors to the manpage. Thanks again, 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! --nextPart6013361.B52r1UOu7c Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCqNFB1I0Qcnj4qNQRAkcjAJwL/cGCTh2sFb4vss+s9617sS+J1gCgyKUj LLasuz+eGhZdFvWTgUP7+qg= =CDPC -----END PGP SIGNATURE----- --nextPart6013361.B52r1UOu7c-- From owner-freebsd-acpi@FreeBSD.ORG Fri Jun 10 03:22:01 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 721E116A41C for ; Fri, 10 Jun 2005 03:22:01 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 004B543D49 for ; Fri, 10 Jun 2005 03:22:00 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.23] (andersonbox3.centtech.com [192.168.42.23]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id j5A3LxMM022546 for ; Thu, 9 Jun 2005 22:21:59 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <42A9073E.8070109@centtech.com> Date: Thu, 09 Jun 2005 22:21:34 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050603 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-acpi@freebsd.org References: <200506032012.j53KCC5k077879@repoman.freebsd.org> <42A6DA72.2070105@centtech.com> <42A73FEE.4090202@root.org> <42A75772.2050400@centtech.com> In-Reply-To: <42A75772.2050400@centtech.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: cvs commit: src/sys/dev/acpica acpi.c X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2005 03:22:01 -0000 Eric Anderson wrote: > Nate Lawson wrote: > >> Eric Anderson wrote: >> >>> Warner Losh wrote: >>> >>>> imp 2005-06-03 20:12:12 UTC >>>> >>>> FreeBSD src repository >>>> >>>> Modified files: >>>> sys/dev/acpica acpi.c Log: >>>> In newbus land, ivars can only be accessed for direct child, or when >>>> the driver has unholy private knowledge of its great-*cgrandchildren. >>>> The ACPI allocation routine lacked such knowledge when it tried to do >>>> a default allocation for all descendants, rather than just its >>>> immeidate children, so would access grandchild's ivar in an unsafe >>>> way. This could lead to a panic when devices were present which had >>>> no addresses setup by the BIOS, but which were later allocated in a >>>> lazy manner via pci_alloc_map. As such, only do the default >>>> allocation adjustments for immediate children. The manner that >>>> acpi_sysres_find accesses the resource list, used later in >>>> acpi_alloc_resource, is safe and proper so no additional test is >>>> needed there. >>>> This fixes a panic when probing an disabled ata controller on some >>>> newer intel blades. >>>> Reported by: dwhite >>>> Revision Changes Path >>>> 1.214 +1 -1 src/sys/dev/acpica/acpi.c >>> >>> >>> >>> >>> Warner - I owe you a beer! I believe this commit got my Dell D610 >>> laptop (and maybe the D600's?) to go into S3 mode, which prior to >>> this commit it would power off the machine instead of going into S3. >> >> >> >> Great. It should be MFCd also. > > > Awesome!! Now does anyone have any hints on how I can start looking at > why it powers off instead of resumes? Screen is blank the whole time so > it's hard to tell whats happening. Of course, as soon as I send this email, it *STOPS* working. I cannot figure this out - it successfully went into suspend, and now I can't get it to go into it. I haven't recompiled anything, haven't changed any settings, nothing. I'm so lost.. Does anyone have any hints, clues, etc? I have a spare D610 now to experiment on - I'm open to suggestions.. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology A lost ounce of gold may be found, a lost moment of time never. ------------------------------------------------------------------------ From owner-freebsd-acpi@FreeBSD.ORG Fri Jun 10 07:30: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 BE80E16A41C; Fri, 10 Jun 2005 07:30:38 +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 88FAD43D1F; Fri, 10 Jun 2005 07:30:37 +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 j5A7UaQ5038611; Fri, 10 Jun 2005 10:30:36 +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 37647-11; Fri, 10 Jun 2005 10:30:35 +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 j5A7UZ0e038608 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 10 Jun 2005 10:30:35 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.3/8.13.3) id j5A7V3hs078682; Fri, 10 Jun 2005 10:31:03 +0300 (EEST) (envelope-from ru) Date: Fri, 10 Jun 2005 10:31:03 +0300 From: Ruslan Ermilov To: Markus Brueffer Message-ID: <20050610073103.GC78035@ip.net.ua> References: <200505301857.20346.markus@FreeBSD.org> <200506100131.14008.markus@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kA1LkgxZ0NN7Mz3A" Content-Disposition: inline In-Reply-To: <200506100131.14008.markus@FreeBSD.org> 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: Fri, 10 Jun 2005 07:30:39 -0000 --kA1LkgxZ0NN7Mz3A Content-Type: multipart/mixed; boundary="11Y7aswkeuHtSBEs" Content-Disposition: inline --11Y7aswkeuHtSBEs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Markus, On Fri, Jun 10, 2005 at 01:31:03AM +0200, Markus Brueffer wrote: > thanks to everyone who has sent me the DSDT and/or tested the driver. > I have just committed the driver and manpage along with a port of tpb,a= =20 > utility that makes use of it: >=20 The attached patch fixes two bugs in the updated acpi_ibm(4) driver for my ThinkPad 600X, you have my ASL: - it doesn't have ThinkLight, so there's no real benefit from having /dev/led/thinklight; - it doesn't have "cmos_handle", so acpi_ibm_sysctl_set() was using uninitialized values of "val_ec" in ACPI_IBM_METHOD_VOLUME and ACPI_IBM_METHOD_MUTE handlers, which resulted in volume to be programmed incorrectly, and muting/unmuting would screw the volume. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --11Y7aswkeuHtSBEs Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=p Content-Transfer-Encoding: quoted-printable Index: acpi_ibm.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/sys/dev/acpi_support/acpi_ibm.c,v retrieving revision 1.5 diff -u -p -r1.5 acpi_ibm.c --- acpi_ibm.c 9 Jun 2005 20:17:32 -0000 1.5 +++ acpi_ibm.c 10 Jun 2005 06:57:48 -0000 @@ -376,7 +376,8 @@ acpi_ibm_attach(device_t dev) acpi_ibm_notify, dev); =20 /* Hook up light to led(4) */ - sc->led_dev =3D led_create(ibm_led, sc, "thinklight"); + if (sc->light_get_supported || sc->light_set_supported) + sc->led_dev =3D led_create(ibm_led, sc, "thinklight"); =20 return (0); } @@ -396,7 +397,8 @@ acpi_ibm_detach(device_t dev) =20 AcpiRemoveNotifyHandler(sc->handle, ACPI_DEVICE_NOTIFY, acpi_ibm_notify); =20 - led_destroy(sc->led_dev); + if (sc->led_dev !=3D NULL) + led_destroy(sc->led_dev); return (0); } =20 @@ -522,7 +524,7 @@ acpi_ibm_sysctl_get(struct acpi_ibm_soft =20 case ACPI_IBM_METHOD_VOLUME: ACPI_EC_READ(sc->ec_dev, IBM_EC_VOLUME, &val_ec, 1); - val =3D val_ec &IBM_EC_MASK_VOL; + val =3D val_ec & IBM_EC_MASK_VOL; break; =20 case ACPI_IBM_METHOD_MUTE: @@ -632,10 +634,10 @@ acpi_ibm_sysctl_set(struct acpi_ibm_soft if (arg < 0 || arg > 14) return (EINVAL); =20 + status =3D ACPI_EC_READ(sc->ec_dev, IBM_EC_VOLUME, &val_ec, 1); + if (ACPI_FAILURE(status)) + return (status); if (sc->cmos_handle) { - status =3D ACPI_EC_READ(sc->ec_dev, IBM_EC_VOLUME, &val_ec, 1); - if (ACPI_FAILURE(status)) - return (status); val =3D val_ec & IBM_EC_MASK_VOL; =20 Args.Count =3D 1; @@ -657,10 +659,10 @@ acpi_ibm_sysctl_set(struct acpi_ibm_soft if (arg < 0 || arg > 1) return (EINVAL); =20 + status =3D ACPI_EC_READ(sc->ec_dev, IBM_EC_VOLUME, &val_ec, 1); + if (ACPI_FAILURE(status)) + return (status); if (sc->cmos_handle) { - status =3D ACPI_EC_READ(sc->ec_dev, IBM_EC_VOLUME, &val_ec, 1); - if (ACPI_FAILURE(status)) - return (status); val =3D val_ec & IBM_EC_MASK_VOL; =20 Args.Count =3D 1; --11Y7aswkeuHtSBEs-- --kA1LkgxZ0NN7Mz3A Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCqUG3qRfpzJluFF4RAtYwAJ0edBkHyXFsl9GMgIVh9MIB+tL24wCeObNY ouRXunr0yhB8NasOQafwMCY= =httP -----END PGP SIGNATURE----- --kA1LkgxZ0NN7Mz3A-- From owner-freebsd-acpi@FreeBSD.ORG Fri Jun 10 12:03: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 5C2B816A41C; Fri, 10 Jun 2005 12:03:11 +0000 (GMT) (envelope-from markus@FreeBSD.org) Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8456C43D53; Fri, 10 Jun 2005 12:03:10 +0000 (GMT) (envelope-from markus@FreeBSD.org) Received: from fwd23.aul.t-online.de by mailout10.sul.t-online.com with smtp id 1DgiE9-0002Rs-02; Fri, 10 Jun 2005 14:03:09 +0200 Received: from ramses.kicks-ass.net (VU2-QMZBYeP2xMUiTpUgsLedWp5Og2gVAEg5VApPq42m9H-hzuJCse@[80.143.253.238]) by fwd23.sul.t-online.de with esmtp id 1DgiDt-1E8LXk0; Fri, 10 Jun 2005 14:02:53 +0200 Received: from cheops.phoenix (cheops.phoenix [192.168.1.3]) by ramses.kicks-ass.net (Postfix) with ESMTP id CF667B833; Fri, 10 Jun 2005 14:06:00 +0200 (CEST) From: Markus Brueffer To: freebsd-acpi@freebsd.org Date: Fri, 10 Jun 2005 14:01:58 +0200 User-Agent: KMail/1.8 References: <200505301857.20346.markus@FreeBSD.org> <200506100131.14008.markus@FreeBSD.org> <20050610073103.GC78035@ip.net.ua> In-Reply-To: <20050610073103.GC78035@ip.net.ua> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1677443.9R5lWUsQ2Z"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200506101402.03414.markus@FreeBSD.org> X-ID: VU2-QMZBYeP2xMUiTpUgsLedWp5Og2gVAEg5VApPq42m9H-hzuJCse@t-dialin.net X-TOI-MSGID: d3ee2193-c77a-4f6c-9db6-1601c0dc3aee 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: Fri, 10 Jun 2005 12:03:11 -0000 --nextPart1677443.9R5lWUsQ2Z Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Ruslan, On Friday 10 June 2005 09:31, Ruslan Ermilov wrote: > On Fri, Jun 10, 2005 at 01:31:03AM +0200, Markus Brueffer wrote: > > thanks to everyone who has sent me the DSDT and/or tested the driver. > > I have just committed the driver and manpage along with a port of tpb,a > > utility that makes use of it: > > The attached patch fixes two bugs in the updated acpi_ibm(4) driver > for my ThinkPad 600X, you have my ASL: > > - it doesn't have ThinkLight, so there's no real benefit from having > /dev/led/thinklight; I have modified this part of the patch to only create the led(4) interface= =20 if write support for the thinklight is available. Reading through led(4) is= =20 not supported. > - it doesn't have "cmos_handle", so acpi_ibm_sysctl_set() was using > uninitialized values of "val_ec" in ACPI_IBM_METHOD_VOLUME and > ACPI_IBM_METHOD_MUTE handlers, which resulted in volume to be > programmed incorrectly, and muting/unmuting would screw the > volume. =46ixed, thanks! 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! --nextPart1677443.9R5lWUsQ2Z Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCqYE71I0Qcnj4qNQRAoueAJ0Ut7EdgU3m5KA28KiBJLa2I1wT1QCeOLxE zfTdxOf89ReIiB41/I2Guio= =vGAS -----END PGP SIGNATURE----- --nextPart1677443.9R5lWUsQ2Z-- From owner-freebsd-acpi@FreeBSD.ORG Fri Jun 10 14:51: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 E111F16A41C for ; Fri, 10 Jun 2005 14:51:16 +0000 (GMT) (envelope-from joao.macaiba@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C37D43D48 for ; Fri, 10 Jun 2005 14:51:16 +0000 (GMT) (envelope-from joao.macaiba@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so388773wra for ; Fri, 10 Jun 2005 07:51:15 -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:subject:content-type:content-transfer-encoding; b=uBSUcqTa9kPPqrMS5yzICHqh5mw6wfNas5n9XVrSd1xrbm62xycFX07r6QspwlR9pt4HqflkWBToxy6Q3cUrjvpn4R8or04sSS9NYtbzZ1HobYXJegPql4O9FlegYgOxrpSkpwefxR5DKAPhv1RdojKk4oFm1eN2VyruYVIka9k= Received: by 10.54.18.68 with SMTP id 68mr1001633wrr; Fri, 10 Jun 2005 07:51:15 -0700 (PDT) Received: from ?200.143.192.53? ([200.143.192.53]) by mx.gmail.com with ESMTP id 64sm1454417wra.2005.06.10.07.51.14; Fri, 10 Jun 2005 07:51:15 -0700 (PDT) Message-ID: <42A9A915.3000905@gmail.com> Date: Fri, 10 Jun 2005 11:52:05 -0300 From: Joao Macaiba User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050609) 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: laptop suddenly poweroff during building ports :: ACPI errors in /var/log/messages X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2005 14:51:17 -0000 Hi. I'm running FreeBSD 5.4 on a Toshiba Satellite A70-S249. It has a x86 arch with a Pentinum IV mobile. It happened three, four times, only during a heavy processing activity (running gnome, kde ports). The error lines are all the same : --- snip --- ... kernel: ACPI-0356: *** Error: Region EmbeddedControl(3) has no handler ... kernel: ACPI-1304: *** Error: Method execution failed [\_SB_.EPWR.PCLK] (Node 0xc1ccd900), AE_NOT_EXIST ... kernel: ACPI-1304: *** Error: Method execution failed [\_SB_.PCI0.LPC0.EC0_._Q1E] (Node 0xc1d1f9e0), AE_NOT_EXIST --- snip --- I disabled ACPI at /boot/loader.conf, by adding exec="unset acpi_load" Now I can run the ports and everything goes fine. Does this error have to do with ACPI system as a whole or only with a part of it ? TIA, Regards, Joao Macaiba (wavefunction) From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 11 00:11:32 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 9F63E16A41C; Sat, 11 Jun 2005 00:11:32 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from lapdance.yazzy.net (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16C6443D4C; Sat, 11 Jun 2005 00:11:31 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from localhost (localhost [127.0.0.1]) by lapdance.yazzy.net (8.13.4/8.13.4) with SMTP id j5B0BSav006182; Sat, 11 Jun 2005 02:11:28 +0200 (CEST) (envelope-from lists@yazzy.org) Date: Sat, 11 Jun 2005 02:11:27 +0200 From: Marcin Jessa To: Markus Brueffer Message-Id: <20050611021127.24d3c88c.lists@yazzy.org> In-Reply-To: <200506100131.14008.markus@FreeBSD.org> References: <200505301857.20346.markus@FreeBSD.org> <200506100131.14008.markus@FreeBSD.org> Organization: YazzY.org X-Mailer: Sylpheed version 1.9.12 (GTK+ 2.6.7; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Sat, 11 Jun 2005 00:11:32 -0000 Hi. Something is not right.=20 tpb cannot detected loaded acpi_ibm and exits. Computer: ThinkPad R50e Kernel: 6.0-CURRENT FreeBSD 6.0-CURRENT #4: Thu Jun 9 16:22: 12 CEST 2005= =20 # sudo tpb acpi_ibm(4) driver not loaded. Exiting... # kldstat|grep ibm 5 1 0xc0948000 3fd0 acpi_ibm.ko On Fri, 10 Jun 2005 01:31:03 +0200 Markus Brueffer wrote: > Hi, >=20 > thanks to everyone who has sent me the DSDT and/or tested the driver. > I have just committed the driver and manpage along with a port of tpb,a=20 > utility that makes use of it: >=20 > http://www.freshports.org/deskutils/tpb >=20 > A port of KDE's kmilo will follow and be ready for KDE 3.5, maybe earlier. >=20 > Furthermore, I have added the information you found out about the differe= nt=20 > thermal sensors to the manpage. >=20 > Thanks again, >=20 > Markus >=20 > --=20 > Markus Brueffer =A0 =A0| GPG-Key: http://people.FreeBSD.org/~markus/marku= s.asc > markus@brueffer.de | FP: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4 > markus@FreeBSD.org | FreeBSD: The Power to Serve! >=20 From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 11 00:25: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 C598C16A41C; Sat, 11 Jun 2005 00:25:21 +0000 (GMT) (envelope-from markus@FreeBSD.org) Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6302943D48; Sat, 11 Jun 2005 00:25:21 +0000 (GMT) (envelope-from markus@FreeBSD.org) Received: from fwd32.aul.t-online.de by mailout03.sul.t-online.com with smtp id 1DgtoL-0008Vh-02; Sat, 11 Jun 2005 02:25:17 +0200 Received: from ramses.kicks-ass.net (Sy-8CaZXoekCmnA9cYCeDxJYDcS7GH1VlSr92hMR0FFkA30bnLWe4m@[80.143.226.62]) by fwd32.sul.t-online.de with esmtp id 1DgtoL-0AHxSq0; Sat, 11 Jun 2005 02:25:17 +0200 Received: from cheops.phoenix (cheops.phoenix [192.168.1.3]) by ramses.kicks-ass.net (Postfix) with ESMTP id A8CF0B832; Sat, 11 Jun 2005 02:28:25 +0200 (CEST) From: Markus Brueffer To: Marcin Jessa Date: Sat, 11 Jun 2005 02:24:23 +0200 User-Agent: KMail/1.8 References: <200505301857.20346.markus@FreeBSD.org> <200506100131.14008.markus@FreeBSD.org> <20050611021127.24d3c88c.lists@yazzy.org> In-Reply-To: <20050611021127.24d3c88c.lists@yazzy.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5621023.AcvMYpWlA9"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200506110224.33013.markus@FreeBSD.org> X-ID: Sy-8CaZXoekCmnA9cYCeDxJYDcS7GH1VlSr92hMR0FFkA30bnLWe4m@t-dialin.net X-TOI-MSGID: fc7df84c-1c1c-4dd4-8e9b-0eaf5ebfdfdf 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: Sat, 11 Jun 2005 00:25:21 -0000 --nextPart5621023.AcvMYpWlA9 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 11 June 2005 02:11, Marcin Jessa wrote: > Something is not right. > tpb cannot detected loaded acpi_ibm and exits. > Computer: ThinkPad R50e > Kernel: 6.0-CURRENT FreeBSD 6.0-CURRENT #4: Thu Jun 9 16:22: 12 CEST > 2005 Your acpi_ibm module is too old, Please cvsup again and rebuild acpi_ibm. > # sudo tpb > acpi_ibm(4) driver not loaded. Exiting... Sudo isn't required. Unlike Linux, permissions of an ordinary user are=20 sufficient. Markus P.S.: Could you please send me your DSDT: # acpidump -t -d > name-system.asl I'm still missing one of an R50e. =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! --nextPart5621023.AcvMYpWlA9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCqi9A1I0Qcnj4qNQRAvCWAJ9eQbad4kHLqQ/DyuJ4qeicO60qMQCg+Ouh Q1lZinC9SgESo46/cahVBXA= =KVKj -----END PGP SIGNATURE----- --nextPart5621023.AcvMYpWlA9--