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

Christoph Bier linux-thinkpad@linux-thinkpad.org
Tue, 09 Feb 2010 15:24:46 +0100

Jonathan Pritchard schrieb am 09.02.2010 13:43:

> On 08/02/10 10:11, tino.keitel@tikei.de wrote:
>> On Mon, Feb 08, 2010 at 02:03:02 +0000, Jonathan Pritchard wrote:
>> [...]
>>> Thank you in advance for any help. I really need to get this working as
>>> I last set my battery charge threshold to 40%!
>> My X61s forgets the battery charge start threshold if I remove the
>> battery and the power cable.
>> Regards,
>> Tino
> I've already tried taking out the battery and replacing it, it didn't
> reset.

Did you remove the battery and disconnect from AC *at the same time*?

> Perhaps I've already configured tp_smapi to enforce my values on
> reboot. However since tp_smapi isn't working it shouldn't be doing this
> correct?

AFAIK the configuration is stored in EC. Once stored it stays there
until (a working) tp_smapi overwrites the settings or your TP is
disconnected from power (battery removed and AC disconnected at the
same time).

> As for recompiling for my kernel I have to say I've never done this in
> my life. I've been using an akmod for Fedora 11 located here
> (http://izhar.fedorapeople.org/tp_smapi-kmod/) and I'm really trying to
> figure out why the akmod went wrong in this particular kernel version. I
> don't want to have to keep recompiling it every time I upgrade my
> kernel, especially if there is another solution (the akmod).
> So really this question is about finding out why the akmod went wrong
> and how to resolve it, given the error output.
> Thanks for all the help so far.

I never heard of akmod and don't know how it works (it seems to be
similar to dkms). But first of all I'd try to figure out if there's
anything wrong without akmod. Therefore try to compile tp_smapi for
your kernel. tp_smapi ships with a README that explains how to build
the module on your own. It's not hard.

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