EVO N160 FDI Fix

Richard Hughes hughsient at gmail.com
Mon Oct 24 06:25:36 PDT 2005


Okay to add this file to the CVS?, assuming of course I also add a
ChangeLog entry, add this file to the Makefile.am and document the
battery.quirk.* keys, is this okay to commit?

Richard.

10-acpi-quirks.fdi:

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- --> 

<!--
  The COMPAQ EVO N160 BIOS does not supply the amount of power when
  it is full. The ACPI output is garbled and some tags are set to
  invalid or "unknown". This bug has meant that batstat-applet and
  Windows never worked, and HAL needs a pre-calibrated value to
  work round the missing data. Thanks to Trond Husø for debug info.
-->
<deviceinfo version="0.2">
  <device>
    <match key="battery.vendor" string="COMPAQ">
      <match
key="/org/freedesktop/Hal/devices/computer:smbios.system.manufacturer"
string="COMPAQ">
        <match
key="/org/freedesktop/Hal/devices/computer:smbios.system.product"
string="EVO N160">
          <merge key="battery.quirk.lastfull" type="bool">true</merge>
          <merge key="battery.quirk.design" type="bool">true</merge>
          <merge key="battery.quirk.unit" type="bool">true</merge>
          <merge key="battery.reporting.last_full"
type="int">3200</merge>
          <merge key="battery.reporting.design" type="int">3200</merge>
          <merge key="battery.reporting.unit" type="string">mWh</merge>
        </match>
      </match>
    </match>
  </device>

</deviceinfo>




More information about the hal mailing list