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

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



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