COMPAQ EVO N160 bios tweak

Richard Hughes hughsient at gmail.com
Wed Oct 19 14:41:23 PDT 2005


On Wed, 2005-10-19 at 23:24 +0200, Trond Husø wrote:
> On Wed, 2005-10-19 at 22:15 +0100, Richard Hughes wrote:
> > On Wed, 2005-10-19 at 23:16 +0200, Trond Husø wrote:
> > >   battery.reporting.design = 3200  (0xc80)  (int)
> > >   battery.reporting.last_full = 3200  (0xc80)  (int)
> > >   linux.acpi_bios_quirk.unit = true  (bool)
> > >   linux.acpi_bios_quirk.design = true  (bool)
> > >   linux.acpi_bios_quirk.lastfull = true  (bool)
> > 
> > Woot! Does that make g-p-m "just work"?
>
> well, it shows that it is charging now and telling that it is 84%
> charged, 42 minutes left.

Assuming I write the battery.quirk.* keys into the spec, 
and patch the fdi/policy/Makefile.am, is this patch (attached) acceptable?

Is there a better name for the file or better names for the quirk keys?
We need the quirk keys in case we have to *avoid* reading the value from BIOS
(as in it's wrong, rather than missing) -- but I think in this specific case
we are okay.

And you were right Danny, this fdi way of doing things (rather than
hardcoding in C) is much better.

Richard.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-n160.diff
Type: text/x-patch
Size: 1359 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20051019/4f09ad01/hal-n160.bin


More information about the hal mailing list