<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>128863</bug_id>
          
          <creation_ts>2006-04-04 23:42 0000</creation_ts>
          <short_desc>tp_smapi 0.19 (version bump)</short_desc>
          <delta_ts>2006-04-14 04:48:08 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>https://sourceforge.net/project/shownotes.php?release_id=408150&amp;group_id=1212</bug_file_loc>
          
          <keywords>InCVS</keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>moixa@gmx.ch</reporter>
          <assigned_to>mobile@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>moixa@gmx.ch</who>
            <bug_when>2006-04-04 23:42:46 0000</bug_when>
            <thetext>0.18  2006-04-01
----------------
- Solved embedded controller lockups with HDAPS=1 (see hdaps comments below).
- Added new function tp_controller_try_read_row() to tp_base.
- Added extra status checks in tp_base, to catch abnormal conditions earlier.
- Restructured several functions in tp_base for clarity and reusability.
- Restructured tp_smapi attribute registration code using fancy macros, to 
  remove redundancy.
- Reduced prefetch delay and maximum retries in tp_base.
- Now locks tp_controller when making SMAPI call (just in case).
- Makefile change to fix compilation in Debian.
- Minor cleanups and added comments in tp_smapi.c.
- Major changes to hdaps patch:
  - Whenever we read data from the controller, parse all of it and
    remember the values in global vars.
  - Simplified the device model *_show functions, via the above change.
  - If the mousedev poll timer handler experiences a transient fault, use
    use last saved data from the global vars.
  - Handle delayed calibration at first opportunity, not just mousedev polls.
  - Disable mousedev poll timer when suspending, to prevent readouts before
    the resume code re-initializes the sensor.
  - Don&apos;t accept initial status 0x00, it was probably an artifact of 
    the premature mousepoll invocation.
  - When doing a sensor readout in mousedev poll, avoid time-consuming
    retries and fetches, to minimize time in softirq. This effectively 
    exorcises an embedded controller lockup Heisenbug. There may still 
    a nonzero probability of lockup, but now it&apos;s not worse than the 
    vanilla hdaps (since they do essentially the same).

Cheers, T.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>anton.bugs@gmail.com</who>
            <bug_when>2006-04-08 17:01:35 0000</bug_when>
            <thetext>Created an attachment (id=84239)
tp_smapi 0.19 ebuild

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>anton.bugs@gmail.com</who>
            <bug_when>2006-04-08 17:05:32 0000</bug_when>
            <thetext>https://sourceforge.net/project/showfiles.php?group_id=1212&amp;package_id=171579

The new version 0.19 is out with a proper directory structure now.
You can just copy and rename the old ebuild.

Tobias, please change summary and url</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>moixa@gmx.ch</who>
            <bug_when>2006-04-09 02:27:50 0000</bug_when>
            <thetext>0.19  2006-04-08
----------------
- Added new battery status attributes:
  /sys/devices/platform/smapi/BAT?/first_use_date
  /sys/devices/platform/smapi/BAT?/manufacture_date
- Bugfix in tp_base embedded controller readout 
  (missing prefetch invalidation). This apparently solves remnants of the
  the embedded-controller-lockup problem.
- &quot;make load&quot; now demands &quot;HDAPS=1&quot; if the hdaps module is loaded.
- hdaps driver patch:
  - Remember keyboard/mouse activity for 0.1sec, so that all applications
    get a chance to read it (the hardware resets its activity flag
    when it&apos;s read).
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>multinymous@gmail.com</who>
            <bug_when>2006-04-12 02:53:04 0000</bug_when>
            <thetext>Version 0.19 fixes an embedded controller lockup, which is data loss and possibly hardware damage (oversensitive firmware commits suicide if you talk to it impolitely). 

Please update ASAP.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>henrik@brixandersen.dk</who>
            <bug_when>2006-04-14 04:48:08 0000</bug_when>
            <thetext>Added to Portage.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>84239</attachid>
            <date>2006-04-08 17:01 0000</date>
            <desc>tp_smapi 0.19 ebuild</desc>
            <filename>tp_smapi-0.19.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA2IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6IC92YXIvY3Zzcm9vdC9nZW50b28teDg2L2FwcC1sYXB0b3AvdHBfc21hcGkvdHBfc21hcGkt
MC4xNy5lYnVpbGQsdiAxLjIgMjAwNi8wMy8xNSAyMzoyNjoyMCBicml4IEV4cCAkCgppbmhlcml0
IGxpbnV4LW1vZAoKREVTQ1JJUFRJT049IklCTSBUaGlua1BhZCBTTUFQSSBCSU9TIGRyaXZlciIK
SE9NRVBBR0U9Imh0dHA6Ly90cGN0bC5zb3VyY2Vmb3JnZS5uZXQvIgpTUkNfVVJJPSJtaXJyb3I6
Ly9zb3VyY2Vmb3JnZS90cGN0bC8ke1B9LnRneiIKCkxJQ0VOU0U9IkdQTC0yIgpTTE9UPSIwIgpL
RVlXT1JEUz0ifng4NiIKCklVU0U9ImhkYXBzIgoKQlVJTERfVEFSR0VUUz0iZGVmYXVsdCIKCnBr
Z19zZXR1cCgpIHsKCWxpbnV4LW1vZF9wa2dfc2V0dXAKCglpZiBrZXJuZWxfaXMgbHQgMiA2IDEz
OyB0aGVuCgkJZWVycm9yCgkJZWVycm9yICIke1B9IHJlcXVpcmVzIExpbnV4IGtlcm5lbCAyLjYu
MTMgb3IgYWJ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