[ltp] [ANN] tp_smapi 0.32
Shem Multinymous
linux-thinkpad@linux-thinkpad.org
Sat, 28 Jul 2007 00:26:14 -0400
Hi,
A new release of tp_smapi is available. The main improvement is
reducing hdaps timer interrupts on tickless kernels (e.g., as measured
by PowerTOP). This is done in two ways:
First, this version of hdaps publishes the raw accalerometer readouts
on a (second) input device, allowing applications to use blocking
reads instead of polls. This roughly halves the number of timer
interrupts. I'll follow up with a post to hdaps-devel including a
modified hdapsd daemon which uses this new interface.
Second, thanks to Michael Riepe, this version of hdaps turns off
polling when no one is listening to the sysfs or input device
interfaces. This eliminates hdaps-related interrupts when there are no
hdaps clients.
There are also a few other fixes and cleanups.
Kernel >= 2.6.19 is now required. If you use an older kernel, it's
safe to stick with tp_smapi 0.31.
https://sourceforge.net/project/showfiles.php?group_id=1212&package_id=171579
http://thinkwiki.org/wiki/tp_smapi
0.32 2007-07-28
---------------------
- hdaps: Added a second input device which publishes the raw sensor position,
without joystick fuzz. In conjunction with a new hdapsd, this lets us
avoid the frequent redundant interrupts caused by hdapsd.
- hdaps: Stop polling the hardware when no one is listening. This prevents
unnecessary interrupts on tickless kernel. (Contributed by Michael Riepe.)
- In the patch generated by "make patch", thinkpad_ec and tp_smapi now reside
under drivers/misc instead of drivers/platform.
- "make patch" fixed for kernel 2.6.22.
- Removed kludge for kernels lacking the DMI OEM String decode patch.
- Now requires kernel >= 2.6.19 (due to above).
- Removed the useless "enable_pci_power_saving_on_boot" sysfs attribute.