From owner-freebsd-acpi@FreeBSD.ORG Fri Apr 28 01:35:23 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 08A1516A401 for ; Fri, 28 Apr 2006 01:35:23 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4F0443D46 for ; Fri, 28 Apr 2006 01:35:22 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.21] (andersonbox1.centtech.com [192.168.42.21]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k3S1ZLxW069906; Thu, 27 Apr 2006 20:35:21 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <4451715D.30908@centtech.com> Date: Thu, 27 Apr 2006 20:35:25 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5 (X11/20060402) MIME-Version: 1.0 To: Nate Lawson References: <4451123E.3070105@centtech.com> <44511838.8030904@root.org> <445126FA.4050700@centtech.com> <44513881.8000407@root.org> In-Reply-To: <44513881.8000407@root.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1428/Thu Apr 27 13:39:31 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-acpi@freebsd.org Subject: Re: Lock up when going to 'economy mode' (battery) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 01:35:23 -0000 Nate Lawson wrote: > Eric Anderson wrote: >> Here's another thing I noticed (unrelated to above): >> >> I booted with the main battery, and had a dvd drive in the option bay. >> Unplug the AC, battery remaining time shows about 4 hours. >> Plug AC back in. >> Then did: >> atacontrol detach ata1 >> and removed the dvd drive. >> Then, I inserted the secondary battery. >> I didn't notice anything (no battery charging, no dmesg info, etc). >> >> I then unplugged the AC, and the battery remaining time shows '-1'. >> >> Hints? > > Battery bay hotplug detection is not yet implemented. If you boot with > the battery in, then do the swap and back, it will work. I have a local > patch that implements it but it's not stable enough to commit. It > handled hotplug of lots of devices, and last I remember hung up on lpt > hotplug. I think iwasaki@ fixed this with his acpi_dock commit. > > Now that acpi_dock has been added to -current, it may make sense to > re-test my patch. Yea, you're right. Works fine when booted with both batteries installed. Thanks for clarifying. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------