Date: Tue, 31 Aug 2004 17:27:07 -0400 (EDT) From: "Matthew N. Dodd" <winter@jurai.net> To: Bruce M Simpson <bms@spc.org> Cc: freebsd-mobile@freebsd.org Subject: Re: xbatt or other indicators for the Thinkpad 600E? Message-ID: <20040831172403.A4214@sasami.jurai.net> In-Reply-To: <20040830204729.GA860@empiric.icir.org> References: <20040830004037.GB83747@thought.org> <Pine.BSF.3.96.1040830162432.5088A-100000@gaia.nimnet.asn.au> <20040830192333.7e090f13.torfinn.ingolfsen@broadpark.no> <20040830204729.GA860@empiric.icir.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040831172403.A4214>