From owner-freebsd-acpi@FreeBSD.ORG Tue May 10 18:14:38 2005 Return-Path: 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 2110016A4CE for ; Tue, 10 May 2005 18:14:38 +0000 (GMT) Received: from schlepper.zs64.net (schlepper.zs64.net [212.12.50.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 076DC43DAE for ; Tue, 10 May 2005 18:14:35 +0000 (GMT) (envelope-from cracauer@schlepper.zs64.net) Received: from schlepper.zs64.net (schlepper [212.12.50.230]) by schlepper.zs64.net (8.13.1/8.12.9) with ESMTP id j4AIECTK062084; Tue, 10 May 2005 20:14:12 +0200 (CEST) (envelope-from cracauer@schlepper.zs64.net) Received: (from cracauer@localhost) by schlepper.zs64.net (8.13.1/8.12.9/Submit) id j4AIE5N8062083; Tue, 10 May 2005 14:14:05 -0400 (EDT) (envelope-from cracauer) Date: Tue, 10 May 2005 14:14:05 -0400 From: Martin Cracauer To: Kevin Oberman Message-ID: <20050510141405.A61946@cons.org> References: <427E7AA9.6040703@root.org> <20050509032645.4F8135D07@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20050509032645.4F8135D07@ptavv.es.net>; from oberman@es.net on Sun, May 08, 2005 at 08:26:45PM -0700 cc: freebsd-acpi@freebsd.org cc: Takanori Watanabe Subject: Re: Porting code from the Linux ibm-acpi sourceforge package X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2005 18:14:38 -0000 > FreeBSD ATA has supported bus detach since ATAng (whenever that was). I > have had no problem detaching ATA bus 1 and removing the drive (CD or > HD) in the bay and replacing it with another or with a battery. Of > course, it MUST be dismounted before the detach or a panic is to be > expected. > > Also, if you use a second battery, you must have it in the system at > boot time or it won't be seen, used, or even charged. If you boot with > the battery, you can: > atacontrol detach 1 > remove the battery > insert a disk drive > atacontrol attach 1 > use the disk and dismount it. > atacontrol detach 1 > remove the disk > insert the battery > Battery will be seen and used Thank you! This works from a detchament/attachment standpoint. However, after booting with the secondary battery, the battery is seen and it says "charging", but the charge never goes above 0% (output of apm(1), not sure how to see than in ACPI). Any clues? Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer/ No warranty. This email is probably produced by one of my cats stepping on the keys. No, I don't have an infinite number of cats.