From owner-freebsd-acpi@FreeBSD.ORG Sat Nov 8 12:42:30 2014 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A93E8FAD for ; Sat, 8 Nov 2014 12:42:30 +0000 (UTC) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3ED13C0D for ; Sat, 8 Nov 2014 12:42:30 +0000 (UTC) Received: by mail-wi0-f173.google.com with SMTP id n3so6787838wiv.12 for ; Sat, 08 Nov 2014 04:42:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=U+/X29u4cPig6+ioxUMtv8bI5Rl40e7YVxBhqRPtH6M=; b=EyhXybvt/AB/gu7v9fv/+/TxYDy7IFvRNEsmpp7J1uhAyXsm2T43f4Ut4akKkgh0vJ yuQIRgrufg6dvZLfOyCN8KYPR/25hqdtJNzUk6S5z7/8PFCDJLVXX4oBS0aJsPz7f7kv 7MpNTkxOXidPmiXf+lx+20uDSB3KCV6MVU9o8vY9WcwClHLJN3oSy5DvgEUUGMqUO49Y sCA4J5iBuFv+Vh6h/wwiGf08YrP8bS4RIJ7FAb4EGSGA57SxD9Cs9dhUMGlTeIoLDmFs AdwJ8Qr+z+SmpoVJim2pxL2SF77GLZrpTsTVDaTvw9lkyuAO7laNQ+P0BwQYxisPHTCe pdwA== MIME-Version: 1.0 X-Received: by 10.181.13.208 with SMTP id fa16mr13578554wid.61.1415450548132; Sat, 08 Nov 2014 04:42:28 -0800 (PST) Received: by 10.194.221.132 with HTTP; Sat, 8 Nov 2014 04:42:28 -0800 (PST) Date: Sat, 8 Nov 2014 14:42:28 +0200 Message-ID: Subject: Fix issue with battery status update on HP Elitebook 8440p From: Juris Kaminskis To: freebsd-acpi@FreeBSD.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2014 12:42:30 -0000 Hi, My battery status updates only after reboot, is there a way I can get the fix for this? My system is 10.0-RELEASE-p11 with acpi_hp and acpi_wmi loaded and following dmesg: dmesg |grep acpi acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 atrtc0: port 0x70-0x77 irq 8 on acpi0 attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 acpi_wmi0: on acpi0 acpi_hp0: on acpi_wmi0 acpi_hp0: WMI device does not provide the HP BIOS GUID device_attach: acpi_hp0 attach returned 22 pcib5: on acpi0 battery0: on acpi0 battery1: on acpi0 acpi_acad0: on acpi0 acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_wmi1: on acpi0 acpi_hp1: on acpi_wmi1 acpi_hp1: HP event GUID detected, installing event handler acpi_hp1: HP CMI GUID detected acpi_tz0: on acpi0 acpi_tz1: on acpi0 acpi_tz2: on acpi0 acpi_tz3: on acpi0 acpi_tz4: on acpi0 acpi_tz5: on acpi0 acpi_tz6: on acpi0 acpi_tz7: on acpi0 acpi_tz8: on acpi0 acpi_tz9: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 ppc1: port 0x378-0x37f,0x778-0x77a irq 5 on acpi0 and this is what I get from acpiconf -i0 Design capacity: 1551 mAh Last full capacity: 1551 mAh Technology: secondary (rechargeable) Design voltage: 10800 mV Capacity (warn): 350 mAh Capacity (low): 100 mAh Low/warn granularity: 100 mAh Warn/full granularity: 100 mAh Model number: Primary Serial number: 16138 2011/04/16 Type: LIon OEM info: Hewlett-Packard State: charging Remaining capacity: 0% Remaining time: unknown Present rate: 2334 mA (29378 mW) Present voltage: 12587 mV same problem described here: https://forums.freebsd.org/threads/acpiconf-i0-doesnt-update-hp-laptop-battery.30485/ My BIOS is to the latest update from HP. Is there a way I can contribute? thanks Juris