First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 128863
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mobile Herd <mobile@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tobias Sager <moixa@gmx.ch>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
tp_smapi-0.19.ebuild tp_smapi 0.19 ebuild text/plain Anton Bolshakov 2006-04-08 17:01 0000 893 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 128863 depends on: Show dependency tree
Bug 128863 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-04 23:42 0000
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 From Anton Bolshakov 2006-04-08 17:01:35 0000 -------
Created an attachment (id=84239) [details]
tp_smapi 0.19 ebuild

------- Comment #2 From Anton Bolshakov 2006-04-08 17:05:32 0000 -------
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 From Tobias Sager 2006-04-09 02:27:50 0000 -------
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 From multinymous@gmail.com 2006-04-12 02:53:04 0000 -------
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 From Henrik Brix Andersen 2006-04-14 04:48:08 0000 -------
Added to Portage.

First Last Prev Next    No search results available      Search page      Enter new bug