From owner-freebsd-acpi@FreeBSD.ORG Sun Dec 28 02:20:29 2008 Return-Path: Delivered-To: acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 072FA1065670 for ; Sun, 28 Dec 2008 02:20:29 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id 752B08FC08 for ; Sun, 28 Dec 2008 02:20:28 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id mBS2KQoH076869; Sun, 28 Dec 2008 13:20:26 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 28 Dec 2008 13:20:26 +1100 (EST) From: Ian Smith To: "Alexandre \"Sunny\" Kovalenko" In-Reply-To: <1230388519.1270.1.camel@RabbitsDen> Message-ID: <20081228124345.D51566@sola.nimnet.asn.au> References: <20081221233822.7E92545020@ptavv.es.net> <49500088.2080609@bigfoot.com> <7d6fde3d0812221315s4d03e15dw4b84679b98a6308f@mail.gmail.com> <49534F10.7040305@bigfoot.com> <7d6fde3d0812261912r1d5abd6cic1513f11cc59f1c5@mail.gmail.com> <20081227160941.I29108@sola.nimnet.asn.au> <1230388519.1270.1.camel@RabbitsDen> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: acpi Subject: Re: Problem on AMD64 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2008 02:20:29 -0000 On Sat, 27 Dec 2008, Alexandre "Sunny" Kovalenko wrote: > On Sat, 2008-12-27 at 17:13 +1100, Ian Smith wrote: > > On Fri, 26 Dec 2008, Garrett Cooper wrote: > > > On Thu, Dec 25, 2008 at 1:14 AM, David van Kuijk wrote: > > [..] > > > >> Look into the following sysctls: > > > >> > > > >> hw.acpi.cpu.cx_lowest > > > >> hw.acpi.cpu.cx_highest > > > >> > > > > > > > > I tried to find out what I can do with those sysctls. > > > > hw.acpi.cpu.cx_highest is not available on my system. > > > > I don't think it exists; C1 state is always available AFAIK. > > > > > > hw.acpi.cpu.cx_lowest is available and can be set. Are you suggesting I > > > > should set it to C2 or C3??? > > > > Give it a try. Setting it to C3 won't hurt, whether it's used or not. > Actually it just might (hurt that is). See below for the discussion. > > http://www.freebsd.org/cgi/getmsg.cgi?fetch=0+2482 > +/usr/local/www/db/text/2008/freebsd-acpi/20081109.freebsd-acpi Thanks. Yes that was indeed an interesting discussion. FWIW, I find that interface awkward, without threading. For me it's easier from: http://lists.freebsd.org/pipermail/freebsd-acpi/2008-November/005182.html Could I then safely say, setting it to C2 won't hurt? I'm glad there are folks working on power use with SMP, it still needs moving up the agenda. 'Global notebook sales finally beat desktops': http://www.theregister.co.uk/2008/12/24/notebooks_pass_desktops/ Soon it'll be hard to find uniprocessors even on subnotebooks; has anyone played with the new Intel Atom CPUs, which use HTT on one core? And to mix topics further, having USB enabled looks problematic with on-battery use of laptops .. does this new USB stack offer any relief? cheers, Ian From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 29 02:27:28 2008 Return-Path: Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CC43106564A; Mon, 29 Dec 2008 02:27:28 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 29B018FC12; Mon, 29 Dec 2008 02:27:28 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBT2RSZq071916; Mon, 29 Dec 2008 02:27:28 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBT2RSJ5071912; Mon, 29 Dec 2008 02:27:28 GMT (envelope-from linimon) Date: Mon, 29 Dec 2008 02:27:28 GMT Message-Id: <200812290227.mBT2RSJ5071912@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-i386@FreeBSD.org, freebsd-acpi@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: i386/129953: [acpi] ACPI timeout (CDROM) with Shuttle X27D 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, 29 Dec 2008 02:27:28 -0000 Old Synopsis: ACPI timeout (CDROM) with Shuttle X27D New Synopsis: [acpi] ACPI timeout (CDROM) with Shuttle X27D Responsible-Changed-From-To: freebsd-i386->freebsd-acpi Responsible-Changed-By: linimon Responsible-Changed-When: Mon Dec 29 02:27:06 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=129953 From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 29 11:06:50 2008 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DBBB106567C for ; Mon, 29 Dec 2008 11:06:50 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E74408FC12 for ; Mon, 29 Dec 2008 11:06:49 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBTB6nf5024343 for ; Mon, 29 Dec 2008 11:06:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBTB6nvj024339 for freebsd-acpi@FreeBSD.org; Mon, 29 Dec 2008 11:06:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 29 Dec 2008 11:06:49 GMT Message-Id: <200812291106.mBTB6nvj024339@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-acpi@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-acpi@FreeBSD.org 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, 29 Dec 2008 11:06:50 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/129953 acpi [acpi] ACPI timeout (CDROM) with Shuttle X27D o kern/129618 acpi [acpi] Problem with ACPI on HP Pavilion DV2899 laptop o kern/129563 acpi [ACPI] sleep broken on IBM/Lenovo T61 [amd64] o kern/128639 acpi [PATCH] [acpi_asus] acpi for ASUS A6F,A3E,A3F,A3N not f kern/128634 acpi [patch] fix acpi_asus(4) in asus a6f laptop o kern/127581 acpi [patch] [acpi_sony] Add support for more Sony features o kern/124744 acpi [acpi] [patch] incorrect _BST result validation for To o kern/124412 acpi [acpi] power off error on Toshiba M40 laptop o kern/123039 acpi [acpi] ACPI AML_BUFFER_LIMIT errors during boot o kern/121504 acpi [patch] Correctly set hw.acpi.osname on certain machin f kern/121454 acpi [pst] Promise SuperTrak SX6000 does not load during bo o kern/121102 acpi [acpi_fujitsu] [patch] update acpi_fujitsu for the P80 o kern/120515 acpi [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc o kern/119356 acpi [acpi]: i386 ACPI wakeup not work due resource exhaust o kern/119200 acpi [acpi] Lid close switch suspends CPU for 1 second on H o kern/118973 acpi [acpi]: Kernel panic with acpi boot o kern/117605 acpi [acpi] [request] add debug.cpufreq.highest o kern/116939 acpi [acpi] PCI-to-PCI misconfigured for bus three and can o i386/114562 acpi [acpi] cardbus is dead after s3 on Thinkpad T43 with a o kern/114165 acpi [acpi] Dell C810 - ACPI problem s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/108954 acpi [acpi] 'sleep(1)' sleeps >1 seconds when speedstep (Cx o kern/108695 acpi [acpi]: Fatal trap 9: general protection fault when in o kern/108581 acpi [sysctl] sysctl: hw.acpi.cpu.cx_lowest: Invalid argume o kern/108488 acpi [acpi] ACPI-1304: *** Error: Method execution failed o kern/108017 acpi [acpi]: Acer Aspire 5600 o kern/106924 acpi [acpi] ACPI resume returns g_vfs_done() errors and ker o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 o kern/104625 acpi ACPI on ASUS A8N-32 SLI/ASUS P4P800 does not show ther o kern/102252 acpi acpi thermal does not work on Abit AW8D (intel 975) o kern/97383 acpi Volume buttons on IBM Thinkpad crash system with ACPI s i386/91748 acpi acpi problem on Acer TravelMare 4652LMi (nvidia panic, s kern/91038 acpi [panic] [ata] [acpi] 6.0-RELEASE on Fujitsu Siemens Am s kern/90243 acpi Laptop fan doesn't turn off (ACPI enabled) (Packard Be o kern/89411 acpi [acpi] acpiconf bug o i386/83018 acpi [install] Installer will not boot on Asus P4S8X BIOS 1 o kern/81000 acpi [apic] Via 8235 sound card worked great with FreeBSD 5 o i386/79081 acpi ACPI suspend/resume not working on HP nx6110 o kern/76950 acpi ACPI wrongly blacklisted on Micron ClientPro 766Xi sys s kern/73823 acpi [request] acpi / power-on by timer support o i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Armada 1750 o i386/69750 acpi Boot without ACPI failed on ASUS L5 f kern/67309 acpi zzz reboot computer (ACPI S3) o kern/56024 acpi ACPI suspend drains battery while in S3 o i386/55661 acpi ACPI suspend/resume problem on ARMADA M700 o i386/54756 acpi ACPI suspend/resume problem on CF-W2 laptop 46 problems total. From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 29 15:50:03 2008 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1067F106566C for ; Mon, 29 Dec 2008 15:50:03 +0000 (UTC) (envelope-from cokane@FreeBSD.org) Received: from mail-out2.fuse.net (mail-out2.fuse.net [216.68.8.171]) by mx1.freebsd.org (Postfix) with ESMTP id C9AEA8FC1C for ; Mon, 29 Dec 2008 15:50:02 +0000 (UTC) (envelope-from cokane@FreeBSD.org) X-CNFS-Analysis: v=1.0 c=1 a=jmQgnRCw7JQA:10 a=E960JpWP1y4A:10 a=LkYvsgB9u1MH7Ao0BLhsLg==:17 a=hMtPk3Js9bm2crTRA8sA:9 a=-Hnlot6jbESoPBjahQddyKjhMc4A:4 a=50e4U0PicR4A:10 a=A51ZBWaDwPmHYgjjFjAA:9 a=0XbtUeohMrZzEVrhXGHdQ9C_1qMA:4 a=rPt6xJ-oxjAA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Received: from [74.215.227.9] ([74.215.227.9:50331] helo=discordia) by mail-out2.fuse.net (ecelerity 2.1.1.22 r(17669)) with ESMTP id EB/62-26658-91EE8594 for ; Mon, 29 Dec 2008 10:35:01 -0500 Received: by discordia (Postfix, from userid 103) id 19A211DB2FA; Mon, 29 Dec 2008 10:34:49 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8-gr1 Received: from [172.31.1.6] (unknown [172.31.1.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by discordia (Postfix) with ESMTP id 035571DB2F9 for ; Mon, 29 Dec 2008 10:34:41 -0500 (EST) From: Coleman Kane To: freebsd-acpi@FreeBSD.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-EtKZujSNHKZQ2GtKISzA" Organization: FreeBSD Project Date: Mon, 29 Dec 2008 10:34:46 -0500 Message-Id: <1230564886.2280.11.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Cc: Subject: amd64 S3 patch on HP 6715b: NICs won't work after resume from S3 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, 29 Dec 2008 15:50:03 -0000 --=-EtKZujSNHKZQ2GtKISzA Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, I've been testing Jung-uk Kim's recent amd64 suspend patch on my HP notebook, and it seems to be very close to working well. The notebook goes into S3 state properly, but when it comes back out it seems that the hardware is left in a bad state. I cannot attach my if_bge and if_ndis network drivers after a resume. I've tried performing the suspend/resume with the appropriate kldunload lines in the /etc/rc.suspend, and I've also played around with the following sysctls to no avail: * debug.acpi.do_powerstate * hw.pci.do_power_resume * hw.pci.do_power_nodriver Additionally, when the system is resumed I needed hw.acpi.reset_video=3D1 to be set, otherwise the video doesn't get restored. I also need to execute a "vidcontrol 80x25" to refresh the syscons as well (or else I get no text on the screen). It seems that Xorg will resume properly if I've switched to a text console prior to the suspend (Alt-Ctrl-F1 through -F8), otherwise the video will come up hosed. I suspect there's probably a way that I can force the switch in a scripted manner in rc.suspend. Anyhow, it seems that some devices resume properly and some don't. The ones that don't seem to be my ndis0 (wireless card, BCM4321) and my bge0, which would be handy things to be able to use after a resume. Does anyone have similar issues in amd64 or i386 kernels when using S3? Any suggestions on where to go? --=20 Coleman Kane --=-EtKZujSNHKZQ2GtKISzA Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAklY7hAACgkQcMSxQcXat5c33QCfVrRV2bQD50UAH8wD1ZJpFbQO bFYAnAy69yJOVqxPZUJT++2QvJAmEjEC =2N+F -----END PGP SIGNATURE----- --=-EtKZujSNHKZQ2GtKISzA-- From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 29 16:19:21 2008 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49DFD1065672 for ; Mon, 29 Dec 2008 16:19:21 +0000 (UTC) (envelope-from nate@root.org) Received: from nlpi025.prodigy.net (nlpi025.sbcis.sbc.com [207.115.36.54]) by mx1.freebsd.org (Postfix) with ESMTP id 06AAA8FC13 for ; Mon, 29 Dec 2008 16:19:20 +0000 (UTC) (envelope-from nate@root.org) Received: from [10.0.5.18] (ppp-71-139-9-217.dsl.snfc21.pacbell.net [71.139.9.217]) (authenticated bits=0) by nlpi025.prodigy.net (8.13.8 smtpauth/dk/map_regex/8.13.8) with ESMTP id mBTGJJ2L019359; Mon, 29 Dec 2008 10:19:19 -0600 Message-ID: <4958F887.2010203@root.org> Date: Mon, 29 Dec 2008 08:19:19 -0800 From: Nate Lawson User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Coleman Kane References: <1230564886.2280.11.camel@localhost> In-Reply-To: <1230564886.2280.11.camel@localhost> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org Subject: Re: amd64 S3 patch on HP 6715b: NICs won't work after resume from S3 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, 29 Dec 2008 16:19:21 -0000 Coleman Kane wrote: > I've been testing Jung-uk Kim's recent amd64 suspend patch on my HP > notebook, and it seems to be very close to working well. > > The notebook goes into S3 state properly, but when it comes back out it > seems that the hardware is left in a bad state. I cannot attach my > if_bge and if_ndis network drivers after a resume. Dump the pci config register states for those devices both before and after the resume. Where the bits differ is probably where you'll find the problem. Example to read 256 bytes: pciconf -r pci0:4:0 0:256 -- Nate From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 29 19:41:56 2008 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93775106566B for ; Mon, 29 Dec 2008 19:41:55 +0000 (UTC) (envelope-from cokane@FreeBSD.org) Received: from mail-out2.fuse.net (mail-out2.fuse.net [216.68.8.171]) by mx1.freebsd.org (Postfix) with ESMTP id 5007F8FC17 for ; Mon, 29 Dec 2008 19:41:55 +0000 (UTC) (envelope-from cokane@FreeBSD.org) X-CNFS-Analysis: v=1.0 c=1 a=scPTdAk-8dwA:10 a=ITL-bk1Uq2MA:10 a=LkYvsgB9u1MH7Ao0BLhsLg==:17 a=a58DuGCCqc0MHYYbAAIA:9 a=LAlPo7b6JUz9ueYmutwA:7 a=2S0nP0KFutPyi9ju-8Ceb8u-mDkA:4 a=LY0hPdMaydYA:10 a=WAXoOSyx0MzTuCU9BGUA:9 a=iLDb3IMu06num2prUKk8UHu5q2cA:4 a=rPt6xJ-oxjAA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Received: from [74.215.227.9] ([74.215.227.9:50573] helo=discordia) by mail-out2.fuse.net (ecelerity 2.1.1.22 r(17669)) with ESMTP id 8E/33-26658-6F729594 for ; Mon, 29 Dec 2008 14:41:54 -0500 Received: by discordia (Postfix, from userid 103) id 60D831DB2FA; Mon, 29 Dec 2008 14:41:42 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8-gr1 Received: from [172.31.1.6] (unknown [172.31.1.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by discordia (Postfix) with ESMTP id D7F0D1DB2F9; Mon, 29 Dec 2008 14:41:35 -0500 (EST) From: Coleman Kane To: Nate Lawson In-Reply-To: <4958F887.2010203@root.org> References: <1230564886.2280.11.camel@localhost> <4958F887.2010203@root.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-JC8qWjwd8bu3wJ8Snsf6" Organization: FreeBSD Project Date: Mon, 29 Dec 2008 14:41:39 -0500 Message-Id: <1230579699.2386.5.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Cc: freebsd-acpi@FreeBSD.org Subject: Re: amd64 S3 patch on HP 6715b: NICs won't work after resume from S3 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, 29 Dec 2008 19:41:57 -0000 --=-JC8qWjwd8bu3wJ8Snsf6 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2008-12-29 at 08:19 -0800, Nate Lawson wrote: > Coleman Kane wrote: > > I've been testing Jung-uk Kim's recent amd64 suspend patch on my HP > > notebook, and it seems to be very close to working well. > >=20 > > The notebook goes into S3 state properly, but when it comes back out it > > seems that the hardware is left in a bad state. I cannot attach my > > if_bge and if_ndis network drivers after a resume. >=20 > Dump the pci config register states for those devices both before and > after the resume. Where the bits differ is probably where you'll find > the problem. >=20 > Example to read 256 bytes: > pciconf -r pci0:4:0 0:256 >=20 Tried that, and I also tried to use pciconf -w to set the registers to the initial state of the hardware before if_bge is loaded. I still get the following messages when I attempt to reload the kld after the resume, followed by a failed attach: bge0: mem 0xd0000000-0xd000f= fff irq 16 at device 0.0 on pci16 bge0: firmware handshake timed out, found 0x4b657654 bge0: firmware handshake timed out, found 0x4b657654 bge0: RX CPU self-diagnostics failed! bge0: chip initialization failed device_attach: bge0 attach returned 6 Anyone have success with S3 on amd64 or i386 with if_bge cards? --=20 Coleman Kane --=-JC8qWjwd8bu3wJ8Snsf6 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEUEABECAAYFAklZJ+wACgkQcMSxQcXat5e6NwCWKlD7bcmloVwQ5R9oQ2WMLNUO hgCeMkC7g1XIej0vKjxMTk5Qc5KRtY8= =o6o1 -----END PGP SIGNATURE----- --=-JC8qWjwd8bu3wJ8Snsf6-- From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 29 20:16:55 2008 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44527106564A; Mon, 29 Dec 2008 20:16:55 +0000 (UTC) (envelope-from nate@root.org) Received: from nlpi053.prodigy.net (nlpi053.sbcis.sbc.com [207.115.36.82]) by mx1.freebsd.org (Postfix) with ESMTP id 069998FC16; Mon, 29 Dec 2008 20:16:54 +0000 (UTC) (envelope-from nate@root.org) Received: from [10.0.5.18] (ppp-71-139-9-217.dsl.snfc21.pacbell.net [71.139.9.217]) (authenticated bits=0) by nlpi053.prodigy.net (8.13.8 smtpauth/dk/map_regex/8.13.8) with ESMTP id mBTKGq2L000578; Mon, 29 Dec 2008 14:16:52 -0600 Message-ID: <49593036.4030306@root.org> Date: Mon, 29 Dec 2008 12:16:54 -0800 From: Nate Lawson User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Coleman Kane References: <1230564886.2280.11.camel@localhost> <4958F887.2010203@root.org> <1230579699.2386.5.camel@localhost> In-Reply-To: <1230579699.2386.5.camel@localhost> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org Subject: Re: amd64 S3 patch on HP 6715b: NICs won't work after resume from S3 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, 29 Dec 2008 20:16:55 -0000 Coleman Kane wrote: > On Mon, 2008-12-29 at 08:19 -0800, Nate Lawson wrote: >> Coleman Kane wrote: >>> I've been testing Jung-uk Kim's recent amd64 suspend patch on my HP >>> notebook, and it seems to be very close to working well. >>> >>> The notebook goes into S3 state properly, but when it comes back out it >>> seems that the hardware is left in a bad state. I cannot attach my >>> if_bge and if_ndis network drivers after a resume. >> Dump the pci config register states for those devices both before and >> after the resume. Where the bits differ is probably where you'll find >> the problem. >> >> Example to read 256 bytes: >> pciconf -r pci0:4:0 0:256 >> > > Tried that, and I also tried to use pciconf -w to set the registers to > the initial state of the hardware before if_bge is loaded. I still get > the following messages when I attempt to reload the kld after the > resume, followed by a failed attach: > > bge0: mem 0xd0000000-0xd000ffff irq 16 at device 0.0 on pci16 > bge0: firmware handshake timed out, found 0x4b657654 > bge0: firmware handshake timed out, found 0x4b657654 > bge0: RX CPU self-diagnostics failed! > bge0: chip initialization failed > device_attach: bge0 attach returned 6 > > Anyone have success with S3 on amd64 or i386 with if_bge cards? Did you post the register states before and after? -- Nate From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 29 22:22:13 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2E82106571F for ; Mon, 29 Dec 2008 22:22:13 +0000 (UTC) (envelope-from dleal@webvolution.net) Received: from front4.netvisao.pt (front4.netvisao.pt [213.228.128.37]) by mx1.freebsd.org (Postfix) with SMTP id 19C8C8FC12 for ; Mon, 29 Dec 2008 22:22:12 +0000 (UTC) (envelope-from dleal@webvolution.net) Received: (qmail 2462 invoked from network); 29 Dec 2008 21:55:08 -0000 Received: from av-front2.netvisao.pt (213.228.128.153) by front4.netvisao.pt with SMTP; 29 Dec 2008 21:55:08 -0000 Received: (qmail 29341 invoked from network); 29 Dec 2008 21:54:56 -0000 Received: from ar-217-129-86-43.netvisao.pt (HELO [192.168.1.200]) (dleal@[217.129.86.43]) (envelope-sender ) by av-front2.netvisao.pt (qmail-ldap-1.03) with SMTP for ; 29 Dec 2008 21:54:56 -0000 Message-ID: <49594754.8000607@webvolution.net> Date: Mon, 29 Dec 2008 21:55:32 +0000 From: Daniel Leal User-Agent: Thunderbird 2.0.0.17 (X11/20081023) MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-Product-Ver: IMSS-7.0.0.3216-5.5.0.1026-16370.002 X-TM-AS-Result: No--4.714-5.0-31-1 X-imss-scan-details: No--4.714-5.0-31-1 Subject: is acpi working well ? 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, 29 Dec 2008 22:22:14 -0000 Hi. I have FreeBSD 7.1-BETA2 installed on my toshiba A200 laptop. Almost everything is working fine and I am really happy with it. I am not understanding well if acpi is working and needs some configuration, or if simply is not working. Lets see some symptoms that could give some information: - when I leave my laptop for a few minutes, the display goes down and as soon as I move the mouse it goes up0 again. - When I do "shutdown -p now" the computer does not switch off alone. I must press the power button for a few seconds. - I always use my laptop connected to electricity. One time I forgot and I run it disconnected, using the battery power. A few minutes after boot, the laptop simply went down by itself. Can someone give me some information about it please? Thanks! daniel #dmesg | grep ACPI Features=0xbfebfbff ACPI APIC Table: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 pcib2: irq 17 at device 28.0 on pci0 pci2: on pcib2 pcib3: irq 16 at device 28.1 on pci0 pci4: on pcib3 pcib4: irq 18 at device 28.2 on pci0 pci5: on pcib4 pcib5: at device 30.0 on pci0 pci6: on pcib5 battery0: on acpi0 cpu0: on acpi0 cpu1: on acpi0 #dmesg | grep acpi acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 acpi_acad0: on acpi0 battery0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 cpu0: on acpi0 cpu1: on acpi0 #sysctl hw.acpi hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S3 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.acline: 1 hw.acpi.battery.life: -1 hw.acpi.battery.time: -1 hw.acpi.battery.state: 7 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 hw.acpi.cpu.cx_lowest: C1 From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 30 15:36:25 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62686106564A for ; Tue, 30 Dec 2008 15:36:25 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 3F6588FC16 for ; Tue, 30 Dec 2008 15:36:24 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LHgOU-0005sC-M6 for freebsd-acpi@freebsd.org; Tue, 30 Dec 2008 07:20:30 -0800 Message-ID: <21218437.post@talk.nabble.com> Date: Tue, 30 Dec 2008 07:20:30 -0800 (PST) From: hepek To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: prijavapodrska@gmail.com Subject: VBScript does not work on XP (acpi)? 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, 30 Dec 2008 15:36:25 -0000 This VBScript I run on xp but I get error "(null): 0x8004100C" on "For each" - line . Do I need enable some thing or what ??? ******************************** strServer = "." Set objWMI = GetObject("winmgmts://" & strServer & "/root\WMI") Set objInstances = objWMI.InstancesOf("MSAcpi",48) For Each objInstance in objInstances WScript.Echo objInstance.getObjectText_ Next ******************************** Thank you -- View this message in context: http://www.nabble.com/VBScript-does-not-work-on-XP-%28acpi%29--tp21218437p21218437.html Sent from the freebsd-acpi mailing list archive at Nabble.com. From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 30 15:43:07 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0051106564A for ; Tue, 30 Dec 2008 15:43:07 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id 5EE8F8FC1B for ; Tue, 30 Dec 2008 15:43:07 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ewy14 with SMTP id 14so6365362ewy.19 for ; Tue, 30 Dec 2008 07:43:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=vA1o5mVMWvUylIGtrNaW47xzgt/m2prOUzHMUSEaN28=; b=bbjBSK94tc1jbPYrfTp3HZR9cS4GRwgSaanG9pR1PfpSS6WHChD7dMrHXw+ZRCEco3 8MYsoMMTyIt7Be2L//OSYz/DFnt7A0w01lAqE3q0qV8ANVvqBWwKhUUhf17XB2DMmK1n RW/qaT09nMEO1uDVt+ucU+kQDeyQfpzYV0guU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=YKL0pE2B0JpDS7EnzD8yPKhajQrev+9wwtAKxUAlSyQ6GidO5A+Kf3M8Nt1zpLTQRs sSsf+3fLmTWbTDNKChoU1vdPFjaALN2hPrd8mGV3SWfXdFaC53QCBdyiti2m9A3OzOEM IQq9clp+Z4ey2yMM9I5goedaT9n2uTnmVXAbU= Received: by 10.210.45.17 with SMTP id s17mr17451913ebs.69.1230650282090; Tue, 30 Dec 2008 07:18:02 -0800 (PST) Received: from epsilon.lan (bl6-155-103.dsl.telepac.pt [82.155.155.103]) by mx.google.com with ESMTPS id t12sm10902370gvd.13.2008.12.30.07.18.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Dec 2008 07:18:01 -0800 (PST) Sender: Rui Paulo Message-Id: <9BD84977-D59F-47E2-97A9-B6338F7E3D48@fnop.net> From: Rui Paulo To: Daniel Leal In-Reply-To: <49594754.8000607@webvolution.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 30 Dec 2008 15:17:59 +0000 References: <49594754.8000607@webvolution.net> X-Mailer: Apple Mail (2.930.3) Cc: freebsd-acpi@freebsd.org Subject: Re: is acpi working well ? 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, 30 Dec 2008 15:43:08 -0000 On 29 Dec 2008, at 21:55, Daniel Leal wrote: > Hi. > > I have FreeBSD 7.1-BETA2 installed on my toshiba A200 laptop. > Almost everything is working fine and I am really happy with it. > I am not understanding well if acpi is working and needs some > configuration, > or if simply is not working. > Lets see some symptoms that could give some information: > - when I leave my laptop for a few minutes, the display goes down > and as soon > as I move the mouse it goes up0 again. You mean in Xorg ? That's normal. -- Rui Paulo From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 30 16:34:47 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 305DC106564A for ; Tue, 30 Dec 2008 16:34:47 +0000 (UTC) (envelope-from dleal@webvolution.net) Received: from front3.netvisao.pt (front3.netvisao.pt [213.228.128.91]) by mx1.freebsd.org (Postfix) with SMTP id E21CE8FC08 for ; Tue, 30 Dec 2008 16:34:45 +0000 (UTC) (envelope-from dleal@webvolution.net) Received: (qmail 18030 invoked from network); 30 Dec 2008 16:34:45 -0000 Received: from av-front5.netvisao.pt (213.228.128.157) by front3.netvisao.pt with SMTP; 30 Dec 2008 16:34:45 -0000 Received: (qmail 26623 invoked from network); 30 Dec 2008 16:34:40 -0000 Received: from ar-217-129-86-43.netvisao.pt (HELO [192.168.1.200]) (dleal@[217.129.86.43]) (envelope-sender ) by av-front5.netvisao.pt (qmail-ldap-1.03) with SMTP for ; 30 Dec 2008 16:34:40 -0000 Message-ID: <495A4DC3.3060709@webvolution.net> Date: Tue, 30 Dec 2008 16:35:15 +0000 From: Daniel Leal User-Agent: Thunderbird 2.0.0.17 (X11/20081023) MIME-Version: 1.0 To: Rui Paulo References: <49594754.8000607@webvolution.net> <9BD84977-D59F-47E2-97A9-B6338F7E3D48@fnop.net> In-Reply-To: <9BD84977-D59F-47E2-97A9-B6338F7E3D48@fnop.net> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-Product-Ver: IMSS-7.0.0.3216-5.5.0.1026-16372.000 X-TM-AS-Result: No--15.054-5.0-31-1 X-imss-scan-details: No--15.054-5.0-31-1 Cc: freebsd-acpi@freebsd.org Subject: Re: is acpi working well ? 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, 30 Dec 2008 16:34:47 -0000 I just asked because I was not sure. But what about the other things? I already try to disable acpi in /boot/loader.conf with the line hint.acpi.0.disabled="1" but my laptop simply don't boot!! It crashes during freebsd boot with a few error that are to fast for my eyes. I must enable acpi during boot prompt to boot again. Maybe I could try other things besides acpi, but I not even able to switch off acpi ! Sorry of my lack of knowledge, but I really would like to know how is cpu temperature and so on... thanks, daniel Rui Paulo wrote: > > On 29 Dec 2008, at 21:55, Daniel Leal wrote: > >> Hi. >> >> I have FreeBSD 7.1-BETA2 installed on my toshiba A200 laptop. >> Almost everything is working fine and I am really happy with it. >> I am not understanding well if acpi is working and needs some >> configuration, >> or if simply is not working. >> Lets see some symptoms that could give some information: >> - when I leave my laptop for a few minutes, the display goes down and >> as soon >> as I move the mouse it goes up0 again. >> - When I do "shutdown -p now" the computer does not switch off alone. >> I must >> press the power button for a few seconds. >> - I always use my laptop connected to electricity. One time I forgot >> and I run it >> disconnected, using the battery power. A few minutes after boot, the >> laptop >> simply went down by itself. >> >> Can someone give me some information about it please? >> Thanks! >> >> daniel >> >> #dmesg | grep ACPI >> Features=0xbfebfbff >> >> ACPI APIC Table: >> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 >> pcib0: port 0xcf8-0xcff on acpi0 >> pci0: on pcib0 >> pcib1: irq 16 at device 1.0 on pci0 >> pci1: on pcib1 >> pcib2: irq 17 at device 28.0 on pci0 >> pci2: on pcib2 >> pcib3: irq 16 at device 28.1 on pci0 >> pci4: on pcib3 >> pcib4: irq 18 at device 28.2 on pci0 >> pci5: on pcib4 >> pcib5: at device 30.0 on pci0 >> pci6: on pcib5 >> battery0: on acpi0 >> cpu0: on acpi0 >> cpu1: on acpi0 >> >> #dmesg | grep acpi >> acpi0: on motherboard >> acpi0: [ITHREAD] >> acpi0: Power Button (fixed) >> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 >> acpi_ec0: port 0x62,0x66 on acpi0 >> acpi_lid0: on acpi0 >> acpi_button0: on acpi0 >> pcib0: port 0xcf8-0xcff on acpi0 >> acpi_acad0: on acpi0 >> battery0: on acpi0 >> atkbdc0: port 0x60,0x64 irq 1 on acpi0 >> cpu0: on acpi0 >> cpu1: on acpi0 >> >> #sysctl hw.acpi >> hw.acpi.supported_sleep_state: S3 S4 S5 >> hw.acpi.power_button_state: S5 >> hw.acpi.sleep_button_state: S3 >> hw.acpi.lid_switch_state: NONE >> hw.acpi.standby_state: S1 >> hw.acpi.suspend_state: S3 >> hw.acpi.sleep_delay: 1 >> hw.acpi.s4bios: 0 >> hw.acpi.verbose: 0 >> hw.acpi.disable_on_reboot: 0 >> hw.acpi.handle_reboot: 0 >> hw.acpi.reset_video: 0 >> hw.acpi.acline: 1 >> hw.acpi.battery.life: -1 >> hw.acpi.battery.time: -1 >> hw.acpi.battery.state: 7 >> hw.acpi.battery.units: 1 >> hw.acpi.battery.info_expire: 5 >> hw.acpi.cpu.cx_lowest: C1 > > You mean in Xorg ? That's normal. > > -- > Rui Paulo > From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 30 17:53:41 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E94C1065670 for ; Tue, 30 Dec 2008 17:53:41 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id 8345F8FC1A for ; Tue, 30 Dec 2008 17:53:40 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ewy14 with SMTP id 14so6435763ewy.19 for ; Tue, 30 Dec 2008 09:53:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=K29fgxIJJVyhgaGGoWHP8JEEN4FKL4BC9Lu3CeGeqXw=; b=FJZoEQ2iw42794owr3FDWb5OOA+DSwhxb7PL6kioG09fkYr0JyEEiLu2EsfAKx8NhG 2vBKS+7hfJCxHzoDhynYcoB8EXbRaIGRuuXrDKdn3TKNafcPg+GvsNzQMumuNW9WlKU0 o9Hcw03ifoXux8DkkGytAhf9IODx42sBmov0I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=II/88zMJjlrTZXhxhozsBTd+TeEcOgZJS55PyP04pgKduUlHkcX1tkBiSVv1wRac0R xa5BoJa0yP7IT9Cmjzsi16xgxM4iFx6JhQGL/tzdUDLONuq6Bon5XewLI7AHvzPAaIaL rD3AdFpwy1Y5nuPynqUrCyoVmATWMbPaGmMJE= Received: by 10.210.87.19 with SMTP id k19mr4493994ebb.49.1230659619389; Tue, 30 Dec 2008 09:53:39 -0800 (PST) Received: from epsilon.lan (bl6-155-103.dsl.telepac.pt [82.155.155.103]) by mx.google.com with ESMTPS id g9sm23115138gvc.29.2008.12.30.09.53.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Dec 2008 09:53:38 -0800 (PST) Sender: Rui Paulo Message-Id: From: Rui Paulo To: Daniel Leal In-Reply-To: <495A4DC3.3060709@webvolution.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 30 Dec 2008 17:53:36 +0000 References: <49594754.8000607@webvolution.net> <9BD84977-D59F-47E2-97A9-B6338F7E3D48@fnop.net> <495A4DC3.3060709@webvolution.net> X-Mailer: Apple Mail (2.930.3) Cc: freebsd-acpi@freebsd.org Subject: Re: is acpi working well ? 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, 30 Dec 2008 17:53:41 -0000 On 30 Dec 2008, at 16:35, Daniel Leal wrote: > I just asked because I was not sure. > > But what about the other things? The other things are problems with your ACPI vendor implementation or FreeBSD's ACPI implementation problems. > I already try to disable acpi in /boot/loader.conf with the line > hint.acpi.0.disabled="1" > but my laptop simply don't boot!! It crashes during freebsd boot > with a few error that are to fast for my eyes. Several modern laptops don't work with ACPI disabled. > I must enable acpi during boot prompt to boot again. > > Maybe I could try other things besides acpi, but I not even able to > switch off acpi ! > > Sorry of my lack of knowledge, but I really would like to know how > is cpu temperature and so on... Not sure if that works; I haven't seen anything in your dmesg that shows that your laptop has a temperature sensor. Regards, -- Rui Paulo From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 30 17:59:05 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0316106564A for ; Tue, 30 Dec 2008 17:59:05 +0000 (UTC) (envelope-from dleal@webvolution.net) Received: from front2.netvisao.pt (front2.netvisao.pt [213.228.128.57]) by mx1.freebsd.org (Postfix) with SMTP id 274378FC08 for ; Tue, 30 Dec 2008 17:59:04 +0000 (UTC) (envelope-from dleal@webvolution.net) Received: (qmail 3882 invoked from network); 30 Dec 2008 17:58:57 -0000 Received: from av-front3.netvisao.pt (213.228.128.148) by front2.netvisao.pt with SMTP; 30 Dec 2008 17:58:57 -0000 Received: (qmail 25754 invoked from network); 30 Dec 2008 17:59:10 -0000 Received: from ar-217-129-86-43.netvisao.pt (HELO [192.168.1.200]) (dleal@[217.129.86.43]) (envelope-sender ) by av-front3.netvisao.pt (qmail-ldap-1.03) with SMTP for ; 30 Dec 2008 17:59:10 -0000 Message-ID: <495A618D.8020702@webvolution.net> Date: Tue, 30 Dec 2008 17:59:41 +0000 From: Daniel Leal User-Agent: Thunderbird 2.0.0.17 (X11/20081023) MIME-Version: 1.0 To: Rui Paulo References: <49594754.8000607@webvolution.net> <9BD84977-D59F-47E2-97A9-B6338F7E3D48@fnop.net> <495A4DC3.3060709@webvolution.net> In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-Product-Ver: IMSS-7.0.0.3216-5.5.0.1026-16372.000 X-TM-AS-Result: No--7.184-5.0-31-1 X-imss-scan-details: No--7.184-5.0-31-1 Cc: freebsd-acpi@freebsd.org Subject: Re: is acpi working well ? 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, 30 Dec 2008 17:59:06 -0000 Thanks for your reply. So that means that simply my laptop is not able to deal with it, or maybe in a future FreeBSD release it could work? daniel Rui Paulo wrote: > > On 30 Dec 2008, at 16:35, Daniel Leal wrote: > >> I just asked because I was not sure. >> >> But what about the other things? > > The other things are problems with your ACPI vendor implementation or > FreeBSD's ACPI implementation problems. > >> I already try to disable acpi in /boot/loader.conf with the line >> hint.acpi.0.disabled="1" >> but my laptop simply don't boot!! It crashes during freebsd boot with >> a few error that are to fast for my eyes. > > Several modern laptops don't work with ACPI disabled. > >> I must enable acpi during boot prompt to boot again. >> >> Maybe I could try other things besides acpi, but I not even able to >> switch off acpi ! >> >> Sorry of my lack of knowledge, but I really would like to know how is >> cpu temperature and so on... > > > Not sure if that works; I haven't seen anything in your dmesg that > shows that your laptop has a temperature sensor. > > Regards, > -- > Rui Paulo > > From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 30 18:36:17 2008 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C191710656ED for ; Tue, 30 Dec 2008 18:36:17 +0000 (UTC) (envelope-from cokane@FreeBSD.org) Received: from mail-out2.fuse.net (mail-out2.fuse.net [216.68.8.171]) by mx1.freebsd.org (Postfix) with ESMTP id D77698FC0C for ; Tue, 30 Dec 2008 18:36:16 +0000 (UTC) (envelope-from cokane@FreeBSD.org) X-CNFS-Analysis: v=1.0 c=1 a=scPTdAk-8dwA:10 a=ITL-bk1Uq2MA:10 a=LkYvsgB9u1MH7Ao0BLhsLg==:17 a=oiDdxpF_g3ZRe-P72scA:9 a=Bz0Q-Nup_vJ1x0uHs70A:7 a=IjorOl_Vxl2jcVrkhvkJWkrt_dwA:4 a=LY0hPdMaydYA:10 a=3IdGcXroHttcWjgKWRgA:9 a=7tdnEi72CCdBQGHY-dOgvtUnPmgA:4 a=zUag4SK0oKcA:10 a=c0y7RCPZxcosOf-cp3_x65E7yfgA:4 a=2pGpJdkGp6Vf-VDfrmgA:9 a=UK_625tAqSFhDzdhusv9ugEvQfUA:4 a=rPt6xJ-oxjAA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Received: from [74.215.227.9] ([74.215.227.9:50379] helo=discordia) by mail-out2.fuse.net (ecelerity 2.1.1.22 r(17669)) with ESMTP id B5/5A-26658-F1A6A594 for ; Tue, 30 Dec 2008 13:36:16 -0500 Received: by discordia (Postfix, from userid 103) id B0F651DB2F9; Tue, 30 Dec 2008 13:36:15 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8-gr1 Received: from [172.20.1.3] (erwin.int.cokane.org [172.20.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by discordia (Postfix) with ESMTP id DF0451DB2F9; Tue, 30 Dec 2008 13:36:08 -0500 (EST) From: Coleman Kane To: Nate Lawson In-Reply-To: <49593036.4030306@root.org> References: <1230564886.2280.11.camel@localhost> <4958F887.2010203@root.org> <1230579699.2386.5.camel@localhost> <49593036.4030306@root.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-vxnksRYNvlSB2ZsATOl3" Organization: FreeBSD Project Date: Tue, 30 Dec 2008 13:36:12 -0500 Message-Id: <1230662172.1702.2.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Cc: freebsd-acpi@FreeBSD.org Subject: Re: amd64 S3 patch on HP 6715b: NICs won't work after resume from S3 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, 30 Dec 2008 18:36:19 -0000 --=-vxnksRYNvlSB2ZsATOl3 Content-Type: multipart/mixed; boundary="=-UxjmW1yCYxVrM8Rikkwb" --=-UxjmW1yCYxVrM8Rikkwb Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2008-12-29 at 12:16 -0800, Nate Lawson wrote: > Coleman Kane wrote: > > On Mon, 2008-12-29 at 08:19 -0800, Nate Lawson wrote: > >> Coleman Kane wrote: > >>> I've been testing Jung-uk Kim's recent amd64 suspend patch on my HP > >>> notebook, and it seems to be very close to working well. > >>> > >>> The notebook goes into S3 state properly, but when it comes back out = it > >>> seems that the hardware is left in a bad state. I cannot attach my > >>> if_bge and if_ndis network drivers after a resume. > >> Dump the pci config register states for those devices both before and > >> after the resume. Where the bits differ is probably where you'll find > >> the problem. > >> > >> Example to read 256 bytes: > >> pciconf -r pci0:4:0 0:256 > >> > >=20 > > Tried that, and I also tried to use pciconf -w to set the registers to > > the initial state of the hardware before if_bge is loaded. I still get > > the following messages when I attempt to reload the kld after the > > resume, followed by a failed attach: > >=20 > > bge0: mem 0xd0000000-0xd= 000ffff irq 16 at device 0.0 on pci16 > > bge0: firmware handshake timed out, found 0x4b657654 > > bge0: firmware handshake timed out, found 0x4b657654 > > bge0: RX CPU self-diagnostics failed! > > bge0: chip initialization failed > > device_attach: bge0 attach returned 6 > >=20 > > Anyone have success with S3 on amd64 or i386 with if_bge cards? >=20 > Did you post the register states before and after? >=20 Attached are the before and after snapshots of the device's PCI register space. I need to track down a good table to mate these with. In this case, I didn't unload the driver, as the if_bge driver is supposed to be able to properly handle suspend/resume now. These are dumps of the whole 256-byte register space, using: pciconf -r -b pci0:16:0:0 0:0x100 --=20 Coleman Kane --=-UxjmW1yCYxVrM8Rikkwb Content-Disposition: attachment; filename=bge0-after-s3.txt Content-Type: text/plain; name=bge0-after-s3.txt; charset=UTF-8 Content-Transfer-Encoding: base64 ZTQgMTQgOTMgMTYgMDYgMDAgMTAgMDAgIDAyIDAwIDAwIDAyIDEwIDAwIDAwIDAwIA0KMDQgMDAg MDAgZDAgMDAgMDAgMDAgMDAgIDAwIDAwIDAwIDAwIDAwIDAwIDAwIDAwIA0KMDAgMDAgMDAgMDAg MDAgMDAgMDAgMDAgIDAwIDAwIDAwIDAwIDNjIDEwIGMyIDMwIA0KMDAgMDAgMDAgMDAgNDggMDAg MDAgMDAgIDAwIDAwIDAwIDAwIDEwIDAxIDAwIDAwIA0KMDAgMDAgMDAgMDAgMDAgMDAgMDAgMDAg IDAxIDUwIDAzIGMwIDA4IDIxIDAwIDY0IA0KMDMgNTggMDAgMDAgOWMgN2IgYWEgZmYgIDA5IGU4 IDc4IDAwIGVmIDBhIGRlIGViIA0KMDAgMDAgMDAgMDAgMDAgMDAgMDAgMDAgIDAwIDAwIDAyIGIw IDAwIDAwIDAwIDEwIA0KMTIgMTIgMDAgMDAgYTAgMDAgMDAgMDAgIDIwIDcwIDAwIDAwIDAwIDAw IDAwIDAwIA0KMDAgMDAgMDAgMDAgMDAgMDAgMDAgMDAgIDAwIDAwIDAwIDAwIGZlIDUwIDA4IDA0 IA0KMjEgMDIgMDAgMDAgMDAgMDAgMDAgMDAgIDAwIDAwIDAwIDAwIDAwIDAwIDAwIDAwIA0KMDAg MDAgMDAgMDAgMDAgMDAgMDAgMDAgIDAwIDAwIDAwIDAwIDAwIDAwIDAwIDAwIA0KMDAgMDAgMDAg MDAgMDAgMDAgMDAgMDAgIDAwIDAwIDAwIDAwIDAwIDAwIDAwIDAwIA0KMDAgMDAgMDAgMDAgMTAg NDAgMDAgMDAgIDBlIDAwIDAwIDAwIDAwIDAwIDAwIDAwIA0KMTAgMDAgMDEgMDAgYTAgOGYgMDAg MDAgIDAwIDIwIDEwIDAwIDExIDZjIDA3IDAwIA0KMDIgMDEgMTEgMTAgMDAgMDAgMDAgMDAgIDA1 IGQwIDgxIDAwIDAwIDAwIGUwIGZlIA0KMDAgMDAgMDAgMDAgMzEgMDAgMDAgMDAgIDAwIDAwIDAw IDAwIDAwIDAwIDAwIDAwIA0K --=-UxjmW1yCYxVrM8Rikkwb Content-Disposition: attachment; filename=bge0-before-s3.txt Content-Type: text/plain; name=bge0-before-s3.txt; charset=UTF-8 Content-Transfer-Encoding: base64 ZTQgMTQgOTMgMTYgMDYgMDAgMTAgMDAgIDAyIDAwIDAwIDAyIDEwIDAwIDAwIDAwIA0KMDQgMDAg MDAgZDAgMDAgMDAgMDAgMDAgIDAwIDAwIDAwIDAwIDAwIDAwIDAwIDAwIA0KMDAgMDAgMDAgMDAg MDAgMDAgMDAgMDAgIDAwIDAwIDAwIDAwIDNjIDEwIGMyIDMwIA0KMDAgMDAgMDAgMDAgNDggMDAg MDAgMDAgIDAwIDAwIDAwIDAwIDEwIDAxIDAwIDAwIA0KMDAgMDAgMDAgMDAgMDAgMDAgMDAgMDAg IDAxIDUwIDAzIGMwIDA4IDIxIDAwIDY0IA0KMDMgNTggMDAgMDAgOWMgN2IgYWEgZmYgIDA5IGU4 IDc4IDAwIGVlIDA4IGRlIGNiIA0KMDAgMDAgMDAgMDAgMDAgMDAgMDAgMDAgIDhhIDAwIDAyIGIw IDAwIDAwIDE4IDc2IA0KMTIgMTIgMDAgMDAgYTAgMDAgMDAgMDAgIDIwIDcwIDAwIDAwIDAwIDAw IDAwIDAwIA0KMDAgMDAgMDAgMDAgNTAgMGIgMDAgMDQgIDM0IDAwIDEyIDA0IDgyIDQwIDA4IDAw IA0KMjEgMDIgMDAgMDAgMDAgMDAgMDAgMDAgIDAwIDAwIDAwIDAwIDAwIDAwIDAwIDAwIA0KMDAg MDAgMDAgMDAgMDAgMDAgMDAgMDAgIDAwIDAwIDAwIDAwIDAwIDAwIDAwIDAwIA0KMDAgMDAgMDAg MDAgMDAgMDAgMDAgMDAgIDAwIDAwIDAwIDAwIDAwIDAwIDAwIDAwIA0KMDAgMDAgMDAgMDAgMDAg MDAgMDAgMDAgIDBlIDAwIDAwIDAwIDAwIDAwIDAwIDAwIA0KMTAgMDAgMDEgMDAgYTAgOGYgMDAg MDAgIDAwIDUwIDEwIDAwIDExIDZjIDA3IDAwIA0KMDIgMDEgMTEgMTAgMDAgMDAgMDAgMDAgIDA1 IGQwIDgxIDAwIDAwIDAwIGUwIGZlIA0KMDAgMDAgMDAgMDAgMzEgMDAgMDAgMDAgIDAwIDAwIDAw IDAwIDAwIDAwIDAwIDAwIA0K --=-UxjmW1yCYxVrM8Rikkwb-- --=-vxnksRYNvlSB2ZsATOl3 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAklaahgACgkQcMSxQcXat5cMHwCfe/kATmCzudniHgQf/Y0zCAzk pp4AnA34VCUnBLvFYTRkZqltqK1xqm0w =AUfi -----END PGP SIGNATURE----- --=-vxnksRYNvlSB2ZsATOl3-- From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 30 18:43:34 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AAD9106566C for ; Tue, 30 Dec 2008 18:43:34 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id 00DF98FC19 for ; Tue, 30 Dec 2008 18:43:33 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ewy14 with SMTP id 14so6460496ewy.19 for ; Tue, 30 Dec 2008 10:43:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=G6UvqXiOJP4SxAtR5ZcYacudCQjW/WmZBPdw63Ic/GM=; b=jW3eITwmPhgvOpMyJ9M3UdN7Bw4RuhUVAlgTsKgiI3ooZ4dkv7w2U9CtCkvxOVW82G aUWK3PHfyLc9Y0EONRfYP2IsB4QNSNJhwXmgbMTuu9hPSsmvwBtntX6EKDElmrNTZKFp b6CuXuWNcvX3xOhDsIanK5vJ1vtJUa9Oq1YHQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=BdfTihklIgx9eEkwYyRfsEKvSGNdSsLNDfdneA59WH1a1BUcMA425J4iCTo570IW+p Gc88ROi2EHQbUxZNigbTI7xsAKFUY5dAc59MDOQEWa8ncMsC9g/lAMnwHTaZbS1iShcO ScnWi4mmIBDBvhRxMv4iGo4VvCexUdDZcrMvc= Received: by 10.210.10.1 with SMTP id 1mr4720349ebj.102.1230662612758; Tue, 30 Dec 2008 10:43:32 -0800 (PST) Received: from epsilon.lan (bl6-155-103.dsl.telepac.pt [82.155.155.103]) by mx.google.com with ESMTPS id t12sm16697205gvd.25.2008.12.30.10.43.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Dec 2008 10:43:31 -0800 (PST) Sender: Rui Paulo Message-Id: From: Rui Paulo To: Daniel Leal In-Reply-To: <495A618D.8020702@webvolution.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 30 Dec 2008 18:43:26 +0000 References: <49594754.8000607@webvolution.net> <9BD84977-D59F-47E2-97A9-B6338F7E3D48@fnop.net> <495A4DC3.3060709@webvolution.net> <495A618D.8020702@webvolution.net> X-Mailer: Apple Mail (2.930.3) Cc: freebsd-acpi@freebsd.org Subject: Re: is acpi working well ? 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, 30 Dec 2008 18:43:35 -0000 On 30 Dec 2008, at 17:59, Daniel Leal wrote: > Thanks for your reply. > > So that means that simply my laptop is not able to deal with it, or > maybe in a future FreeBSD release it could work? Yes, but, of course, you can try to find the problem and I'll try to help you with a fix if time permits :-) Regards, -- Rui Paulo From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 30 19:14:18 2008 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09768106564A; Tue, 30 Dec 2008 19:14:18 +0000 (UTC) (envelope-from nate@root.org) Received: from nlpi053.prodigy.net (nlpi053.sbcis.sbc.com [207.115.36.82]) by mx1.freebsd.org (Postfix) with ESMTP id BF83E8FC17; Tue, 30 Dec 2008 19:14:17 +0000 (UTC) (envelope-from nate@root.org) Received: from [10.0.5.18] (ppp-71-139-14-188.dsl.snfc21.pacbell.net [71.139.14.188]) (authenticated bits=0) by nlpi053.prodigy.net (8.13.8 smtpauth/dk/map_regex/8.13.8) with ESMTP id mBUJEE0U012525; Tue, 30 Dec 2008 13:14:15 -0600 Message-ID: <495A7309.2060400@root.org> Date: Tue, 30 Dec 2008 11:14:17 -0800 From: Nate Lawson User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Coleman Kane References: <1230564886.2280.11.camel@localhost> <4958F887.2010203@root.org> <1230579699.2386.5.camel@localhost> <49593036.4030306@root.org> <1230662172.1702.2.camel@localhost> In-Reply-To: <1230662172.1702.2.camel@localhost> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org Subject: Re: amd64 S3 patch on HP 6715b: NICs won't work after resume from S3 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, 30 Dec 2008 19:14:18 -0000 Coleman Kane wrote: > On Mon, 2008-12-29 at 12:16 -0800, Nate Lawson wrote: >> Coleman Kane wrote: >>> On Mon, 2008-12-29 at 08:19 -0800, Nate Lawson wrote: >>>> Coleman Kane wrote: >>>>> I've been testing Jung-uk Kim's recent amd64 suspend patch on my HP >>>>> notebook, and it seems to be very close to working well. >>>>> >>>>> The notebook goes into S3 state properly, but when it comes back out it >>>>> seems that the hardware is left in a bad state. I cannot attach my >>>>> if_bge and if_ndis network drivers after a resume. >>>> Dump the pci config register states for those devices both before and >>>> after the resume. Where the bits differ is probably where you'll find >>>> the problem. >>>> >>>> Example to read 256 bytes: >>>> pciconf -r pci0:4:0 0:256 >>>> >>> Tried that, and I also tried to use pciconf -w to set the registers to >>> the initial state of the hardware before if_bge is loaded. I still get >>> the following messages when I attempt to reload the kld after the >>> resume, followed by a failed attach: >>> >>> bge0: mem 0xd0000000-0xd000ffff irq 16 at device 0.0 on pci16 >>> bge0: firmware handshake timed out, found 0x4b657654 >>> bge0: firmware handshake timed out, found 0x4b657654 >>> bge0: RX CPU self-diagnostics failed! >>> bge0: chip initialization failed >>> device_attach: bge0 attach returned 6 >>> >>> Anyone have success with S3 on amd64 or i386 with if_bge cards? >> Did you post the register states before and after? >> > Attached are the before and after snapshots of the device's PCI register > space. I need to track down a good table to mate these with. In this > case, I didn't unload the driver, as the if_bge driver is supposed to be > able to properly handle suspend/resume now. > > These are dumps of the whole 256-byte register space, using: > pciconf -r -b pci0:16:0:0 0:0x100 Great. So far in FreeBSD, anything after the first 64 bytes is the driver's responsibility. According to your dump, that is where all the differences are. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 30 23:48:29 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DA7110656C5 for ; Tue, 30 Dec 2008 23:48:29 +0000 (UTC) (envelope-from dleal@webvolution.net) Received: from front2.netvisao.pt (front2.netvisao.pt [213.228.128.57]) by mx1.freebsd.org (Postfix) with SMTP id AAF238FC25 for ; Tue, 30 Dec 2008 23:48:28 +0000 (UTC) (envelope-from dleal@webvolution.net) Received: (qmail 12602 invoked from network); 30 Dec 2008 23:48:19 -0000 Received: from av-front2.netvisao.pt (213.228.128.153) by front2.netvisao.pt with SMTP; 30 Dec 2008 23:48:19 -0000 Received: (qmail 26859 invoked from network); 30 Dec 2008 23:48:28 -0000 Received: from ar-217-129-86-43.netvisao.pt (HELO [192.168.1.200]) (dleal@[217.129.86.43]) (envelope-sender ) by av-front2.netvisao.pt (qmail-ldap-1.03) with SMTP for ; 30 Dec 2008 23:48:28 -0000 Message-ID: <495AB36D.1000804@webvolution.net> Date: Tue, 30 Dec 2008 23:49:01 +0000 From: Daniel Leal User-Agent: Thunderbird 2.0.0.17 (X11/20081023) MIME-Version: 1.0 To: Rui Paulo References: <49594754.8000607@webvolution.net> <9BD84977-D59F-47E2-97A9-B6338F7E3D48@fnop.net> <495A4DC3.3060709@webvolution.net> <495A618D.8020702@webvolution.net> In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-Product-Ver: IMSS-7.0.0.3216-5.5.0.1026-16372.002 X-TM-AS-Result: No--7.619-5.0-31-1 X-imss-scan-details: No--7.619-5.0-31-1 Cc: freebsd-acpi@freebsd.org Subject: Re: is acpi working well ? 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, 30 Dec 2008 23:48:30 -0000 Well, the hw.acpi.thermal is not shown in the sysctl hw.acpi list. Maybe that means that my MB does not have that kind of sensor. But if not, is there a way to control the CPU fan speed according to CPU work? It seams to me that the CPU fan is always with the same velocity. And when I had windows installed in this laptop I remember that when some complicated apps were running the sound of the fan was different. Regarding the battery, do do you think that with the following list I can monitor the charge and be sure that I will not have an unexpected shutdown if I run my laptop just on battery? [dleal@Descomunal]$sysctl hw.acpi hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S3 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.acline: 1 hw.acpi.battery.life: -1 hw.acpi.battery.time: -1 hw.acpi.battery.state: 7 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 hw.acpi.cpu.cx_lowest: C1 Rui Paulo wrote: > > On 30 Dec 2008, at 17:59, Daniel Leal wrote: > >> Thanks for your reply. >> >> So that means that simply my laptop is not able to deal with it, or >> maybe in a future FreeBSD release it could work? > > Yes, but, of course, you can try to find the problem and I'll try to > help you with a fix if time permits :-) > > Regards, > -- > Rui Paulo > From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 30 23:55:42 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EC8210657C2 for ; Tue, 30 Dec 2008 23:55:42 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id D9A418FC1E for ; Tue, 30 Dec 2008 23:55:41 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ewy14 with SMTP id 14so6589902ewy.19 for ; Tue, 30 Dec 2008 15:55:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=IrSuexTXiPpF9XjW/tBtbFS2w4vDBz4SC9GB0UxLn5M=; b=gG3vwjwbhkox9KQBM4RbZWo4l46g5nfGuEkTqTcWkVYJtroIF97+S4ozcjOb+9cQHu ctlODPKEwL5o0JHXb4RZjV6FUCjqaw/YvqwUXlSLLMcNAjS9D1My1KIU3xFnNZ0RlTyN TNx9iqUjWflVbmMlF0Bhxh1eNLFn9chATsQEE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=IQWEA4hy/fe+LjtV/Hwb2KijAjSajFKmdXyZbEv4XJ1FVbBVkE2+Vsmb//eOGaAefv 0+W5sIIbS7+jgqP6MgYHQwsh2n022mXQkZePsQD9lDYOP3JEfa838JQg89xDnpApwW4x db1ebI+9DtDbYtXwenZLfYmFg3EZoTPFaipo4= Received: by 10.210.45.17 with SMTP id s17mr4414091ebs.11.1230681340549; Tue, 30 Dec 2008 15:55:40 -0800 (PST) Received: from epsilon.lan (bl6-155-103.dsl.telepac.pt [82.155.155.103]) by mx.google.com with ESMTPS id i6sm14305917gve.14.2008.12.30.15.55.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Dec 2008 15:55:39 -0800 (PST) Sender: Rui Paulo Message-Id: <378A9139-97D1-4E74-99C4-B2005A892F4D@freebsd.org> From: Rui Paulo To: Daniel Leal In-Reply-To: <495AB36D.1000804@webvolution.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 30 Dec 2008 23:55:22 +0000 References: <49594754.8000607@webvolution.net> <9BD84977-D59F-47E2-97A9-B6338F7E3D48@fnop.net> <495A4DC3.3060709@webvolution.net> <495A618D.8020702@webvolution.net> <495AB36D.1000804@webvolution.net> X-Mailer: Apple Mail (2.930.3) Cc: freebsd-acpi@freebsd.org Subject: Re: is acpi working well ? 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, 30 Dec 2008 23:55:43 -0000 On 30 Dec 2008, at 23:49, Daniel Leal wrote: > Well, the hw.acpi.thermal is not shown in the sysctl hw.acpi list. > Maybe that means that my MB does not have that kind of sensor. But > if not, is there a way to control the CPU fan speed according to CPU > work? It seams to me that the CPU fan is always with the same > velocity. And when I had windows installed in this laptop I remember > that when some complicated apps were running the sound of the fan > was different. > Regarding the battery, do do you think that with the following list > I can monitor the charge and be sure that I will not have an > unexpected shutdown if I run my laptop just on battery? Try sysctl dev.cpu. Hopefully, you'll be able to set the cpu frequency you want. For a more dynamic change, try using powerd(1). Just enable it in /etc/ rc.conf and then run "/etc/rc.d/powerd start" -- Rui Paulo From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 31 00:27:38 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 488FF106566C for ; Wed, 31 Dec 2008 00:27:38 +0000 (UTC) (envelope-from fbsd@opal.com) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.freebsd.org (Postfix) with ESMTP id EB8328FC12 for ; Wed, 31 Dec 2008 00:27:37 +0000 (UTC) (envelope-from fbsd@opal.com) Received: from 74.79.171.66.subscriber.vzavenue.net (HELO homobox.opal.com) ([66.171.79.74]) by smtp.vzavenue.net with ESMTP; 30 Dec 2008 18:58:00 -0500 X-REPUTATION: None X-REMOTE-IP: 66.171.79.74 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqYEABE7WklCq09K/2dsb2JhbACBa8tKhkQ X-IronPort-AV: i="4.36,304,1228107600"; d="scan'208"; a="195549294:sNHT18475407" Received: from avera (avera.opal.com [IPv6:2001:5c0:8166:0:211:9ff:fe0c:f4a8]) (authenticated bits=0) by homobox.opal.com (8.14.2/8.14.2) with ESMTP id mBUNvnYq051286 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Tue, 30 Dec 2008 18:57:51 -0500 (EST) (envelope-from fbsd@opal.com) Date: Tue, 30 Dec 2008 18:57:43 -0500 From: "J.R. Oldroyd" To: freebsd-acpi@freebsd.org Message-ID: <20081230185743.12fd1c3a@avera> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: ACPI issues on Averatec 3250 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, 31 Dec 2008 00:27:38 -0000 I have just put 7-stable on an Averatec 3250HX laptop. Three things connected with ACPI do not work as they should. 1. Suspend/Resume The system suspends but does not resume. # acpiconf -s S3 system appears to suspend OK but then no keyboard action will wake it up need to power-off and reboot Relevant sysctls: hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S3 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 I tried the patch documented here: http://lists.freebsd.org/mailman/htdig/freebsd-acpi/2005-May/001557.html With this, the keyboard now does re-activate the system, but the system cold boots rather than restarting. 2. Thermal Zone The thermal zone reporting is not working. From the boot info: acpi_tz0: on acpi0 But sysctl info: hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 0.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 90.0C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 110.0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz0._TC1: 2 hw.acpi.thermal.tz0._TC2: 4 hw.acpi.thermal.tz0._TSP: 30 3. Radio On/Off Button The WiFi Radio button does not do anything. The wifi card comes on with "ifconfig ral0 up" and goes off with "ifconfig ral0 down" and works OK in between. It would be nice to have the button do something. Any thoughts on these from you ACPI experts? The system's acpidump is here: http://opal.com/jr/averatec/20081230-acpidump.txt Thanks, -jr From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 31 03:37:17 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5113106568C for ; Wed, 31 Dec 2008 03:37:17 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id A19268FC1A for ; Wed, 31 Dec 2008 03:37:16 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id mBV3bAw4019517; Wed, 31 Dec 2008 14:37:12 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 31 Dec 2008 14:37:10 +1100 (EST) From: Ian Smith To: Daniel Leal In-Reply-To: <495AB36D.1000804@webvolution.net> Message-ID: <20081231135644.X51566@sola.nimnet.asn.au> References: <49594754.8000607@webvolution.net> <9BD84977-D59F-47E2-97A9-B6338F7E3D48@fnop.net> <495A4DC3.3060709@webvolution.net> <495A618D.8020702@webvolution.net> <495AB36D.1000804@webvolution.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org Subject: Re: is acpi working well ? 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, 31 Dec 2008 03:37:18 -0000 On Tue, 30 Dec 2008, Daniel Leal wrote: > Well, the hw.acpi.thermal is not shown in the sysctl hw.acpi list. Maybe that > means that my MB does not have that kind of sensor. But if not, is there a > way to control the CPU fan speed according to CPU work? It seams to me that > the CPU fan is always with the same velocity. And when I had windows > installed in this laptop I remember that when some complicated apps were > running the sound of the fan was different. As Rui suggested, add 'powerd_enable=YES' to rc.conf for that. However it does seem a bit odd that hw.acpi.thermal sysctls aren't showing up. > Regarding the battery, do do you think that with the following list I can > monitor the charge and be sure that I will not have an unexpected shutdown if > I run my laptop just on battery? [..] > hw.acpi.verbose: 0 If you turn that on you may get some more clues in /var/log/messages. ie hw.acpi.verbose=1 in /boot/loader.conf > hw.acpi.acline: 1 > hw.acpi.battery.life: -1 > hw.acpi.battery.time: -1 > hw.acpi.battery.state: 7 > hw.acpi.battery.units: 1 > hw.acpi.battery.info_expire: 5 I don't recall ever seeing a battery.state of 7? When fully charged my Thinkpad T23 shows state 0, battery.life 98 to 100 (%). If your battery is ok you should get at least 1 hour on battery, maybe 2 or 3 hours, so that does look like a problem .. whether hardware or ACPI I can't guess. Is this a new machine? Have you tried loading acpi_toshiba(4) ? Try kldload acpi_toshiba, if it's of any help, put acpi_toshiba_load="YES" in /boot/loader.conf cheers, Ian > Rui Paulo wrote: > > > > On 30 Dec 2008, at 17:59, Daniel Leal wrote: > > > > > Thanks for your reply. > > > > > > So that means that simply my laptop is not able to deal with it, or maybe > > > in a future FreeBSD release it could work? > > > > Yes, but, of course, you can try to find the problem and I'll try to help > > you with a fix if time permits :-) > > > > Regards, > > -- > > Rui Paulo From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 31 03:39:30 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81DA0106564A for ; Wed, 31 Dec 2008 03:39:30 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id 5E19F8FC14 for ; Wed, 31 Dec 2008 03:39:28 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id mBV3dQee019558; Wed, 31 Dec 2008 14:39:26 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 31 Dec 2008 14:39:26 +1100 (EST) From: Ian Smith To: Rui Paulo In-Reply-To: Message-ID: <20081231143802.N51566@sola.nimnet.asn.au> References: <49594754.8000607@webvolution.net> <9BD84977-D59F-47E2-97A9-B6338F7E3D48@fnop.net> <495A4DC3.3060709@webvolution.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org, Daniel Leal Subject: Re: is acpi working well ? 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, 31 Dec 2008 03:39:30 -0000 On Tue, 30 Dec 2008, Rui Paulo wrote: > On 30 Dec 2008, at 16:35, Daniel Leal wrote: > > > I just asked because I was not sure. > > > > But what about the other things? > > The other things are problems with your ACPI vendor implementation or > FreeBSD's ACPI implementation problems. > > > I already try to disable acpi in /boot/loader.conf with the line > > hint.acpi.0.disabled="1" > > but my laptop simply don't boot!! It crashes during freebsd boot with a few > > error that are to fast for my eyes. > > Several modern laptops don't work with ACPI disabled. Do any multi-core laptops work (with >1 core) with ACPI disabled? cheers, Ian From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 31 07:45:24 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77E4F1065677 for ; Wed, 31 Dec 2008 07:45:24 +0000 (UTC) (envelope-from giuseppe.bonfa@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id F0E1A8FC0C for ; Wed, 31 Dec 2008 07:45:23 +0000 (UTC) (envelope-from giuseppe.bonfa@gmail.com) Received: by bwz12 with SMTP id 12so15027489bwz.19 for ; Tue, 30 Dec 2008 23:45:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:x-enigmail-version:content-type :content-transfer-encoding; bh=9zBntmbxo4nQcMfvcP8B7PwIlw6J/W6Rp3qk3jPjM5I=; b=K4QM2s1o7ZDBr3iD7NZpPURuPpY9jNuD71vIjLo5MWF7YuYLWtejoVz3O2iAt2o6e4 Kibz8xvNzWWLfWU03uNMZ0Ze0tMxqr7DNnV5aVG6w80+c285ne6BNI3jF4lVD3+iIcyp hoGUgQe3F9Itk29N7g90KW/97wlSn70VTwAnE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; b=teWJg0oXF4ZR03LyUNNXI4V5pwcgM0PbpHI7vlLrHAwohq9qYTyNUxYQwJ2dXwZFkk Y/C7SQ6wt0J+ebgER/AXIdFynMZvTTUFIjVc30pU7j1V5FeBFp+jmKPz7esTvRxMhZFT ynYsYLMYLBCQkfBJjHGWpHBj9GqqeenJ1FYB8= Received: by 10.86.61.13 with SMTP id j13mr9190607fga.23.1230707840372; Tue, 30 Dec 2008 23:17:20 -0800 (PST) Received: from ?44.134.103.3? (host107-32-dynamic.27-79-r.retail.telecomitalia.it [79.27.32.107]) by mx.google.com with ESMTPS id 4sm33829289fgg.44.2008.12.30.23.17.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Dec 2008 23:17:19 -0800 (PST) Message-ID: <495B1C8A.7000808@gmail.com> Date: Wed, 31 Dec 2008 08:17:30 +0100 From: GiuseppeBonfa User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: freebsd-acpi@freebsd.org X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Implementation of AcpiOsDerivePciId 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, 31 Dec 2008 07:45:24 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, My first post on ACPI-ML so I hope to be quite rigth, if not please excuse my OT. By visiting ACPI Project Page I've seen that AcpiOsDerivePciId has not a right implementation, my question is, can you please direct/point me to some coder? I'm working on a new version of AcpiOsDerivePciId so I need to know some Prj Person to submit my work. Have a nice Day and an Happy New Year! Giuseppe 'Evilcry' Bonfa' -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJWxyJqkxgE33/urIRAnkjAJ9hNC1XKFBXkSqvog0Sv0ZN+w/regCeJnez MUTKLETrkNWrwj71NMpUo1A= =A2cI -----END PGP SIGNATURE----- From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 31 09:21:53 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A68E61065672 for ; Wed, 31 Dec 2008 09:21:53 +0000 (UTC) (envelope-from dleal@webvolution.net) Received: from front4.netvisao.pt (front4.netvisao.pt [213.228.128.37]) by mx1.freebsd.org (Postfix) with SMTP id F1D0C8FC14 for ; Wed, 31 Dec 2008 09:21:52 +0000 (UTC) (envelope-from dleal@webvolution.net) Received: (qmail 9387 invoked from network); 31 Dec 2008 09:21:50 -0000 Received: from av-front5.netvisao.pt (213.228.128.157) by front4.netvisao.pt with SMTP; 31 Dec 2008 09:21:50 -0000 Received: (qmail 19240 invoked from network); 31 Dec 2008 09:21:49 -0000 Received: from ar-217-129-86-43.netvisao.pt (HELO [192.168.1.200]) (dleal@[217.129.86.43]) (envelope-sender ) by av-front5.netvisao.pt (qmail-ldap-1.03) with SMTP for ; 31 Dec 2008 09:21:49 -0000 Message-ID: <495B39D2.6080900@webvolution.net> Date: Wed, 31 Dec 2008 09:22:26 +0000 From: Daniel Leal User-Agent: Thunderbird 2.0.0.17 (X11/20081023) MIME-Version: 1.0 To: Ian Smith References: <49594754.8000607@webvolution.net> <9BD84977-D59F-47E2-97A9-B6338F7E3D48@fnop.net> <495A4DC3.3060709@webvolution.net> <495A618D.8020702@webvolution.net> <495AB36D.1000804@webvolution.net> <20081231135644.X51566@sola.nimnet.asn.au> In-Reply-To: <20081231135644.X51566@sola.nimnet.asn.au> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-Product-Ver: IMSS-7.0.0.3216-5.5.0.1026-16372.006 X-TM-AS-Result: No--13.616-5.0-31-1 X-imss-scan-details: No--13.616-5.0-31-1 Cc: freebsd-acpi@freebsd.org Subject: Re: is acpi working well ? 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, 31 Dec 2008 09:21:53 -0000 This machine has almost 2 years old. Before I install FBSD the battery last like 2 hours. But now... I already load tochiba_acpi in loader.conf, but nothing new... I am going to turn on acpi verbosity to see what i can get from there. thanks, daniel Ian Smith wrote: > On Tue, 30 Dec 2008, Daniel Leal wrote: > > > Well, the hw.acpi.thermal is not shown in the sysctl hw.acpi list. Maybe that > > means that my MB does not have that kind of sensor. But if not, is there a > > way to control the CPU fan speed according to CPU work? It seams to me that > > the CPU fan is always with the same velocity. And when I had windows > > installed in this laptop I remember that when some complicated apps were > > running the sound of the fan was different. > > As Rui suggested, add 'powerd_enable=YES' to rc.conf for that. However > it does seem a bit odd that hw.acpi.thermal sysctls aren't showing up. > > > Regarding the battery, do do you think that with the following list I can > > monitor the charge and be sure that I will not have an unexpected shutdown if > > I run my laptop just on battery? > > [..] > > > hw.acpi.verbose: 0 > > If you turn that on you may get some more clues in /var/log/messages. > ie hw.acpi.verbose=1 in /boot/loader.conf > > > hw.acpi.acline: 1 > > hw.acpi.battery.life: -1 > > hw.acpi.battery.time: -1 > > hw.acpi.battery.state: 7 > > hw.acpi.battery.units: 1 > > hw.acpi.battery.info_expire: 5 > > I don't recall ever seeing a battery.state of 7? When fully charged my > Thinkpad T23 shows state 0, battery.life 98 to 100 (%). If your battery > is ok you should get at least 1 hour on battery, maybe 2 or 3 hours, so > that does look like a problem .. whether hardware or ACPI I can't guess. > > Is this a new machine? > > Have you tried loading acpi_toshiba(4) ? Try kldload acpi_toshiba, if > it's of any help, put acpi_toshiba_load="YES" in /boot/loader.conf > > cheers, Ian > > > Rui Paulo wrote: > > > > > > On 30 Dec 2008, at 17:59, Daniel Leal wrote: > > > > > > > Thanks for your reply. > > > > > > > > So that means that simply my laptop is not able to deal with it, or maybe > > > > in a future FreeBSD release it could work? > > > > > > Yes, but, of course, you can try to find the problem and I'll try to help > > > you with a fix if time permits :-) > > > > > > Regards, > > > -- > > > Rui Paulo > From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 31 12:55:44 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F23E106564A for ; Wed, 31 Dec 2008 12:55:44 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.maindns.de [85.214.95.103]) by mx1.freebsd.org (Postfix) with ESMTP id 368858FC12 for ; Wed, 31 Dec 2008 12:55:43 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (Q7cd9.q.ppp-pool.de [89.53.124.217]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id 045FB12883F; Wed, 31 Dec 2008 13:23:22 +0100 (CET) Received: from [192.168.16.4] (dardanos.sz.vwsoft.com [192.168.16.4]) by mail.vtec.ipme.de (Postfix) with ESMTP id 507E62E916; Wed, 31 Dec 2008 13:23:13 +0100 (CET) Message-ID: <495B6430.8060405@vwsoft.com> Date: Wed, 31 Dec 2008 13:23:12 +0100 From: Volker User-Agent: Thunderbird 2.0.0.18 (X11/20081203) MIME-Version: 1.0 To: GiuseppeBonfa References: <495B1C8A.7000808@gmail.com> In-Reply-To: <495B1C8A.7000808@gmail.com> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit MailScanner-NULL-Check: 1231330999.01166@cQeF9c2Jd5izTcEZ5FtDwg X-MailScanner-ID: 507E62E916.3B5F1 X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Cc: freebsd-acpi@freebsd.org Subject: Re: Implementation of AcpiOsDerivePciId 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, 31 Dec 2008 12:55:44 -0000 On 12/23/-58 20:59, GiuseppeBonfa wrote: > Hi there, > > My first post on ACPI-ML so I hope to be quite rigth, if not please > excuse my OT. > > By visiting ACPI Project Page I've seen that AcpiOsDerivePciId has not a > right implementation, my question is, can you please direct/point me to > some coder? I'm working on a new version of AcpiOsDerivePciId so I need > to know some Prj Person to submit my work. > > Have a nice Day and an Happy New Year! > Giuseppe 'Evilcry' Bonfa' Giuseppe, we do not make any deals in mystical dark rooms or at the backdoor. The official way for non-committers is to file a PR and attach patches. I suggest you to discuss your findings first in our fine mailing lists and have your proposed changes being validated first. This raises the chances for your PR not to die old in GNATS. Volker From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 31 17:46:09 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E73B0106564A for ; Wed, 31 Dec 2008 17:46:09 +0000 (UTC) (envelope-from nate@root.org) Received: from nlpi025.prodigy.net (nlpi025.sbcis.sbc.com [207.115.36.54]) by mx1.freebsd.org (Postfix) with ESMTP id BB6848FC16 for ; Wed, 31 Dec 2008 17:46:09 +0000 (UTC) (envelope-from nate@root.org) Received: from [10.0.5.18] (ppp-71-139-9-70.dsl.snfc21.pacbell.net [71.139.9.70]) (authenticated bits=0) by nlpi025.prodigy.net (8.13.8 smtpauth/dk/map_regex/8.13.8) with ESMTP id mBVHk7SQ031190; Wed, 31 Dec 2008 11:46:08 -0600 Message-ID: <495BAFE0.3070800@root.org> Date: Wed, 31 Dec 2008 09:46:08 -0800 From: Nate Lawson User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Volker References: <495B1C8A.7000808@gmail.com> <495B6430.8060405@vwsoft.com> In-Reply-To: <495B6430.8060405@vwsoft.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: Implementation of AcpiOsDerivePciId 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, 31 Dec 2008 17:46:10 -0000 Volker wrote: > On 12/23/-58 20:59, GiuseppeBonfa wrote: >> Hi there, >> >> My first post on ACPI-ML so I hope to be quite rigth, if not please >> excuse my OT. >> >> By visiting ACPI Project Page I've seen that AcpiOsDerivePciId has not a >> right implementation, my question is, can you please direct/point me to >> some coder? I'm working on a new version of AcpiOsDerivePciId so I need >> to know some Prj Person to submit my work. >> >> Have a nice Day and an Happy New Year! >> Giuseppe 'Evilcry' Bonfa' > > Giuseppe, > > we do not make any deals in mystical dark rooms or at the backdoor. > > The official way for non-committers is to file a PR and attach patches. > I suggest you to discuss your findings first in our fine mailing lists > and have your proposed changes being validated first. This raises the > chances for your PR not to die old in GNATS. Correct. Post a link to the patches here and ask any questions. Then if it's ready to commit, throw it into the PR. -- Nate