From owner-freebsd-acpi@FreeBSD.ORG Sun Jan 29 05:18:30 2006 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 1A64216A420 for ; Sun, 29 Jan 2006 05:18:30 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from mail20.syd.optusnet.com.au (mail20.syd.optusnet.com.au [211.29.132.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69FA343D46 for ; Sun, 29 Jan 2006 05:18:29 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail20.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k0T5IQ91022275 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 29 Jan 2006 16:18:27 +1100 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.4/8.13.4) with ESMTP id k0T5IQeC005508; Sun, 29 Jan 2006 16:18:26 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.4/8.13.4/Submit) id k0T5IQaH005507; Sun, 29 Jan 2006 16:18:26 +1100 (EST) (envelope-from peter) Date: Sun, 29 Jan 2006 16:18:26 +1100 From: Peter Jeremy To: Nate Lawson Message-ID: <20060129051826.GP2341@turion.vk2pj.dyndns.org> References: <20060129044526.GO2341@turion.vk2pj.dyndns.org> <43DC4A9A.5040004@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43DC4A9A.5040004@root.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: freebsd-acpi@freebsd.org Subject: Re: Discharge rate error on HP nx6125 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, 29 Jan 2006 05:18:30 -0000 On Sat, 2006-Jan-28 20:54:50 -0800, Nate Lawson wrote: >>When my nx6125 is running from batteries, the discharge rate is reported >>as about 30,000mA - this is about an order of magnitude high. The >>capacity warning levels (~5% and 1%) also appear unrealistically low. >> >>turion% acpiconf -i 0 >>Design capacity: 4725 mAh >>Last full capacity: 4725 mAh >>Technology: secondary (rechargeable) >>Design voltage: 11100 mV >>Capacity (warn): 237 mAh >>Capacity (low): 48 mAh >>Low/warn granularity: 100 mAh >>Warn/full granularity: 100 mAh >>Model number: Primary >>Serial number: 14370 2005/09/22 >>Type: LIon >>OEM info: Hewlett-Packard >>State: discharging >>Remaining capacity: 98% >>Remaining time: 1:43 >>Present rate: 29870 mA >>Voltage: 12090 mV > >Is it acpi_cmbat or acpi_smbat? dmesg and sysctl hw.acpi acpi_cmbat I believe. hw.acpi and pruned dmesg follow: turion# 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: 1 hw.acpi.verbose: 0 hw.acpi.cpu.cx_supported: C1/0 C2/10 hw.acpi.cpu.cx_lowest: C1 hw.acpi.cpu.cx_usage: 100.00% 0.00% hw.acpi.battery.life: 96 hw.acpi.battery.time: -1 hw.acpi.battery.state: 0 hw.acpi.battery.units: 2 hw.acpi.battery.info_expire: 5 hw.acpi.acline: 1 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.tz0.temperature: 62.0C hw.acpi.thermal.tz0.active: 2 hw.acpi.thermal.tz0.passive_cooling: 1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 88.0C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 94.8C hw.acpi.thermal.tz0._ACx: 80.0C 75.0C 59.0C 50.0C -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz1.temperature: 54.0C hw.acpi.thermal.tz1.active: -1 hw.acpi.thermal.tz1.passive_cooling: 0 hw.acpi.thermal.tz1.thermal_flags: 0 hw.acpi.thermal.tz1._PSV: 90.0C hw.acpi.thermal.tz1._HOT: -1 hw.acpi.thermal.tz1._CRT: 100.0C hw.acpi.thermal.tz1._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz2.temperature: 32.2C hw.acpi.thermal.tz2.active: -1 hw.acpi.thermal.tz2.passive_cooling: 0 hw.acpi.thermal.tz2.thermal_flags: 0 hw.acpi.thermal.tz2._PSV: 60.0C hw.acpi.thermal.tz2._HOT: -1 hw.acpi.thermal.tz2._CRT: 100.0C hw.acpi.thermal.tz2._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 turion# FreeBSD 6.0-STABLE #2: Fri Jan 20 18:37:49 EST 2006 root@turion.vk2pj.dyndns.org:/usr/obj/usr/src/sys/turion ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Turion(tm) 64 Mobile ML-40 (2194.52-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x20f42 Stepping = 2 Features=0x78bfbff Features2=0x1 AMD Features=0xe2500800,LM,3DNow+,3DNow> real memory = 939327488 (895 MB) avail memory = 898633728 (857 MB) ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard acpi0: on motherboard acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 21 acpi0: Power Button (fixed) acpi_ec0: port 0x62,0x66 on acpi0 unknown: I/O range not supported Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 ... battery0: on acpi0 battery1: on acpi0 acpi_acad0: on acpi0 acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_tz0: on acpi0 acpi_tz1: on acpi0 acpi_tz2: on acpi0 -- Peter Jeremy