I found this lying around on my drive.
tp_smapi compiled for Ubuntu Gutsy w/ 2.6.22 (it's built-in on newer versions). If you didn't know, it lets you use battery thresholds and a couple other neat things in Linux. Unfortunately, hardware support is also required; you need a T42/R51 or newer to get the best features out of it. On my T40 I can only do less exciting things like read the cycle count and manufacture date.
To use:
Code: Select all
tar xzf tp_smapi-0.32-gutsy.tar.gz
sudo mkdir /lib/module/`uname -r`/tp_smapi
sudo cp thinkpad_ec.ko tp_smapi.ko /lib/module/`uname -r`/tp_smapi/
sudo depmod
sudo echo thinkpad_ec | sudo tee -a /etc/modules
sudo echo tp_smapi | sudo tee -a /etc/modules
rm thinkpad_ec.ko tp_smapi.ko
That will install it and set it to automatically load on startup.
Note: this does not include the new hdaps.
And here it is:
http://www.savefile.com/files/1441330