From owner-freebsd-mobile@FreeBSD.ORG Thu Jun 2 15:22:36 2005 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 609B316A41F for ; Thu, 2 Jun 2005 15:22:36 +0000 (GMT) (envelope-from michael@gargantuan.com) Received: from phoenix.gargantuan.com (srv01.lak.lwxdatacom.net [24.73.171.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id C253E43D5C for ; Thu, 2 Jun 2005 15:22:35 +0000 (GMT) (envelope-from michael@gargantuan.com) Received: from localhost (localhost.gargantuan.com [127.0.0.1]) by spamassassin-injector (Postfix) with SMTP id 7F30E717 for ; Thu, 2 Jun 2005 11:22:34 -0400 (EDT) Received: by phoenix.gargantuan.com (Postfix, from userid 1001) id 153EC49F; Thu, 2 Jun 2005 11:22:28 -0400 (EDT) Date: Thu, 2 Jun 2005 11:22:28 -0400 From: "Michael W. Oliver" To: mobile@freebsd.org Message-ID: <20050602152227.GA10454@gargantuan.com> Mail-Followup-To: mobile@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Content-Disposition: inline X-WWW-URL: http://michael.gargantuan.com X-GPG-PGP-Public-Key: http://michael.gargantuan.com/gnupg/pubkey.asc X-GPG-PGP-Fingerprint: 2694 0179 AE3F BFAE 0916 0BF5 B16B FBAB C5FA A3C9 X-Home-Phone: +1-863-816-8091 X-Mobile-Phone: +1-863-738-2334 X-Mailing-Address0: 8008 Apache Lane X-Mailing-Address1: Lakeland, FL X-Mailing-Address2: 33810-2172 X-Mailing-Address3: United States of America X-Guide-Questions: http://www.catb.org/~esr/faqs/smart-questions.html X-Guide-Netiquette: http://www.ietf.org/rfc/rfc1855.txt User-Agent: Mutt/1.5.9i X-Spam-DCC: sgs_public_dcc_server: phoenix.gargantuan.com 1199; Body=1 Fuz1=1 Fuz2=1 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on phoenix.gargantuan.com X-Spam-Level: X-Spam-Status: No, score=-106.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.3 X-Spam-Pyzor: Reported 0 times. Cc: Subject: acpi battery status partially working? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2005 15:22:36 -0000 --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey guys, this laptop (Sager 4750v) has the following output from `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: 1 hw.acpi.cpu.cx_supported: C1/0 C2/80 hw.acpi.cpu.cx_lowest: C1 hw.acpi.cpu.cx_usage: 100.00% 0.00% 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.acline: 0 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 2 hw.acpi.thermal.tz0.temperature: 41.8C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 52.8C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: -1 hw.acpi.thermal.tz0._ACx: 69.8C -1 -1 -1 -1 -1 -1 -1 -1 -1 Notice the battery stuff? This laptop is on battery right now, and I get the following output from `acpiconf -i 0`: Battery 0 information Design capacity: 4400 mAh Last full capacity: 4638 mAh Technology: secondary (rechargeable) Design voltage: 11100 mV Capacity (warn): 160 mAh Capacity (low): 100 mAh Low/warn granularity: 64 mAh Warn/full granularity: 64 mAh Model number: D470K Serial number: 40131 Type: LION OEM info: SMP State: Discharging Present Rate: Unknown Remaining Capacity: 2776 mAh Volt: Unknown So, it looks like I can see _some_ information from the battery, just not the rate or voltage (which I assume are used to calculate 'life' and 'time'??). I also see ec0 timeout increases up to 11000us, but don't know if that is related. The output from apcidump, the patch for the asl, and lots of other stuff is at (trying to keep size of emails to the list smallish): http://michael.gargantuan.com/sager_4750v/ Thanks for your help, I appreciate it. --=20 Mike Oliver [see complete headers for contact information] --2fHTh5uZTiUOsy+g Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCnyQzsWv7q8X6o8kRAqpMAJ0XnC6fid6EBo265Ov9mL67FAd3LgCeJw7F SF8i2i3m0V4oOYgF2AvfIMQ= =cLgk -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g--