[ltp] Re: tp_smapi won't load after kernel upgrade 2.6.31.12

Christoph Bier linux-thinkpad@linux-thinkpad.org
Tue, 09 Feb 2010 19:40:39 +0100


Jonathan Pritchard schrieb am 09.02.2010 19:00:

> I did not disconnect both the battery and AC, neither at the same time.
> 
> You were right installing from the tarball was easy.
> 
> However how does one, bearing in mind I'm running Fedora, make it so I
> don't have to manually "modprobe tp_smapi" every time?

Add it to /etc/modules.

> And also how do I
> make my battery charge thresholds permanent between restarts, until I
> change them?

They are permanent as long as you do not disconnect battery and AC
at the same time. To restore them even after disconneting from any
power source (or booting Windows) use sysfs and save your settings
in /etc/sysfs.conf:
http://www.thinkwiki.org/wiki/Tp_smapi#Making_the_settings_permanent_on_reboot

Best
Christoph
-- 
+++ Typografie-Regeln (1.7): http://zvisionwelt.de/?page_id=56