xbatt or other indicators for the Thinkpad 600E?
Matthew N. Dodd
winter at jurai.net
Tue Aug 31 14:27:20 PDT 2004
On Mon, 30 Aug 2004, Bruce M Simpson wrote:
> On Mon, Aug 30, 2004 at 07:23:33PM +0200, Torfinn Ingolfsen wrote:
>> The Linux people have tpctl (http://tpctl.sourceforge.net/), and I
>> vaguely remember that somebody started a similar project for FreeBSD,
>> but I don't think it was ever finished.
>
> I did a quick hack to dump out these registers from userland. From what
> I've read of the acpi stuff for ThinkPads, this frobs the same register
> space. I'm more comfortable going with that.
The 'smapi' BIOS driver provides an interface and I have a read only
utility that can pull info: ftp://ftp.jurai.net/users/winter/smapi.tar.gz
I wasn't able to get 'write' functions to work; instant reboot. Since the
laptop I was testing against (560E) isn't usable anymore I haven't played
with it recently.
I'd love it if someone was able to find the problem.
--
10 40 80 C0 00 FF FF FF FF C0 00 00 00 00 10 AA AA 03 00 00 00 08 00
More information about the freebsd-mobile
mailing list