Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128863 - tp_smapi 0.19 (version bump)
Summary: tp_smapi 0.19 (version bump)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High enhancement
Assignee: Mobile Herd (OBSOLETE)
URL: https://sourceforge.net/project/shown...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-04-04 23:42 UTC by Tobias Sager
Modified: 2006-04-14 04:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
tp_smapi 0.19 ebuild (tp_smapi-0.19.ebuild,893 bytes, text/plain)
2006-04-08 17:01 UTC, Anton Bolshakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Sager 2006-04-04 23:42:46 UTC
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'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's not worse than the 
    vanilla hdaps (since they do essentially the same).

Cheers, T.
Comment 1 Anton Bolshakov 2006-04-08 17:01:35 UTC
Created attachment 84239 [details]
tp_smapi 0.19 ebuild
Comment 2 Anton Bolshakov 2006-04-08 17:05:32 UTC
https://sourceforge.net/project/showfiles.php?group_id=1212&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
Comment 3 Tobias Sager 2006-04-09 02:27:50 UTC
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.
- "make load" now demands "HDAPS=1" 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's read).
Comment 4 multinymous 2006-04-12 02:53:04 UTC
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.
Comment 5 Henrik Brix Andersen 2006-04-14 04:48:08 UTC
Added to Portage.