Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2006 20:35:25 -0500
From:      Eric Anderson <anderson@centtech.com>
To:        Nate Lawson <nate@root.org>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: Lock up when going to 'economy mode' (battery)
Message-ID:  <4451715D.30908@centtech.com>
In-Reply-To: <44513881.8000407@root.org>
References:  <4451123E.3070105@centtech.com> <44511838.8030904@root.org> <445126FA.4050700@centtech.com> <44513881.8000407@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4451715D.30908>