Re: smartbattery support

Pedro Venda
2004-10-08T19:37:26Z

> It doesn't have such definition.
>
> There were that actually for the EC device:
>
> Field(ERAM, ByteAcc, Lock, Preserve)
> {
> Offset(0x60),
> SMPR,8,
> SMST,8,
> SMAD,8,
> SMCM,8,
> SMD0,256,
> BCNT,8,
> SMAA,8,
> ...
> ...
>
> (you can grab the ASL at
> ftp://ftp.poupinou.org/acpi/tosh_3000/tosh3k-100.v13.asl.bz2
> if you want to verify by yourself)
>
> So my guess was that it's an smbus, and it was the case..
>
> The only trouble were that I don't have the notification number
> (though I think it was 1, because this laptop received sometimes
> an EC QUERY with this value and there is no _Q01 method in the
> original asl), but I must admit I haven't checked more.
>
> For the record, there were 3 sensors, a smartbattery I think, a
> thermal sensor controlling also the CPU fan, and an eeprom.
> Since I got in fact what I wanted to monitor by using acpi methods,
> I haven't investigated more...

bruno: did you actually get the driver working?