Subject: Re: reading Thinkpad battery serial numbers?
To: Steve Bellovin <smb@research.att.com>
From: Love <lha@stacken.kth.se>
List: port-i386
Date: 05/03/2004 21:21:03
--=-=-=


Steve Bellovin <smb@research.att.com> writes:

> I know that under some versions of Windows, it's possible to read the 
> serial numbers on the batteries of IBM Thinkpads.  Is that possible 
> under NetBSD?  Something in the ACPI interface, perhaps?

It appears that you if evaluate the BAT0._BIF you'll get back a battery
information, that among other things have model and serial numbers it it.
(see 11.2.2.1 in acpi v2 spec)

My T30 have a BAT0._BIF (and BAT1._BIF) when I look at it with acpidump.

Love


--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iQEVAwUAQJaboXW+NPVfDpmCAQIidwf9FBCQx+OIXfIl3gDKdbFWXxPaHtwWffty
RCoduzoyYXSsoaCMZRUva6OETZeT91VRDEDLykTHqtCysJbEBsvZ8W52VOvaNulO
9N3IVD4pw4mTJa9LmnXvpyxHRtS69FhUwVkRPXWMJ8VU92YVd4GQitvdKBbZ6v4/
ccToi931JtjEH0swrXpoRavD7cBoDVOrw4otv+nRYZrujnNdrroRIJmpcdPT1sfy
AorwbVouVkc+QK7UjP8iqRgrbPPN9SGU1JHkF7gY/pV8hM7k0s8UGw0QIYAtbM0w
NQB674DEfeMQ3IRJ1N3k7JJKaNv2FvGPL+ylItSx17PYNjRkJptNhw==
=R85E
-----END PGP SIGNATURE-----
--=-=-=--