From owner-freebsd-acpi@FreeBSD.ORG Thu Apr 27 21:33:57 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 BD45916A400 for ; Thu, 27 Apr 2006 21:33:57 +0000 (UTC) (envelope-from nate@root.org) Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D75F43D49 for ; Thu, 27 Apr 2006 21:33:56 +0000 (GMT) (envelope-from nate@root.org) Received: from pimout5-ext.prodigy.net (pimout5-int.prodigy.net [207.115.4.21]) by ylpvm29.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id k3RLX4bk032665 for ; Thu, 27 Apr 2006 17:33:09 -0400 X-ORBL: [67.119.74.222] Received: from [10.0.0.53] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by pimout5-ext.prodigy.net (8.13.6 out.dk/8.13.6) with ESMTP id k3RLXm6Q121066; Thu, 27 Apr 2006 17:33:49 -0400 Message-ID: <44513881.8000407@root.org> Date: Thu, 27 Apr 2006 14:32:49 -0700 From: Nate Lawson User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Eric Anderson References: <4451123E.3070105@centtech.com> <44511838.8030904@root.org> <445126FA.4050700@centtech.com> In-Reply-To: <445126FA.4050700@centtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Thu, 27 Apr 2006 21:33:57 -0000 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. -- Nate