[ltp] Re: [ANN] tp_smapi 0.40
Christoph Bier
linux-thinkpad@linux-thinkpad.org
Tue, 16 Dec 2008 19:49:23 +0100
Shem Multinymous schrieb am 16.12.2008 06:19:
> Greetings,
>
> A new release to tp_sampi is available, adding a kludge to let it load
> on recent ThinkPad models:
>
> 0.40 2008-12-16
> ---------------------
> - thinkpad_ec: Added a "force_io=1" module parameter, to let it load on
> recent ThinkPad models (e.g., T400 and T500). This is a kludge to work
> around an ACPI DSDT which claims the ports we need.
> (Thanks to Dominik Stadler for testing.)
Thanks! Since I have the same problem on an X200s I installed
version 0.40.
# make load HDAPS=1 FORCE_IO=1
worked fine. But after
# make install HDAPS=1
there were two versions of thinkpad_ec and tp_smapi:
chris@skull-tp:~$ find /lib/modules/`uname -r` -name thinkpad_ec\*
-exec ls -l {} \;
-rw-r--r-- 1 root root 20072 2008-12-16 17:51
/lib/modules/2.6.27-9-server/extra/thinkpad_ec.ko
-rw-r--r-- 1 root root 19168 2008-11-21 01:03
/lib/modules/2.6.27-9-server/kernel/ubuntu/misc/thinkpad_ec.ko
chris@skull-tp:~$ find /lib/modules/`uname -r` -name tp_smapi\*
-exec ls -l {} \;
-rw-r--r-- 1 root root 39493 2008-12-16 17:51
/lib/modules/2.6.27-9-server/extra/tp_smapi.ko
-rw-r--r-- 1 root root 39208 2008-11-21 01:03
/lib/modules/2.6.27-9-server/kernel/ubuntu/misc/tp_smapi.ko
The Makefile doesn't search /lib/modules/`uname -r`/kernel/ubuntu to
remove the old modules. So the ones in
/lib/modules/2.6.27-9-server/extra/ are not listed by "modprobe -l":
chris@skull-tp:~$ modprobe -l | grep thinkpad_ec
/lib/modules/2.6.27-9-server/kernel/ubuntu/misc/thinkpad_ec.ko
chris@skull-tp:~$ modprobe -l | grep
tp_smapi/lib/modules/2.6.27-9-server/kernel/ubuntu/misc/tp_smapi.ko
Maybe you want to add this path to the Makefile?
[...]
Best
Christoph
--
+++ Typografie-Regeln: http://zvisionwelt.de/downloads.html (1.6)