tp_smapi

Timothy Murphy gayleard at alice.it
Sat Aug 13 10:43:54 UTC 2011


Timothy Murphy wrote:

> Mohd Izhar Firdaus Ismail wrote:
> 
>>> For reasons I don't understand,
>>> I have /usr/src/kernels/2.6.40-4.fc15.i686/
>>> (provided by kernel-devel-2.6.40-4.fc15.i686)
>>> but not /usr/src/kernels/2.6.40-4.fc15.i686.PAE/

I see now that I have to yum-install kernel-PAE-devel ;
I assumed that yum-installing kernel-devel would find the current kernel,
but it seems that is not so.

I have akmod-tp_smapi-0.40-1.fc11.i686 installed.
It seems this is the latest Fedora version of akmod-tp_smapi .

Now when I run "sudo akmods" I get what seem to be two errors:
-------------------------------------
/tmp/akmodsbuild.t8b8ZhBM/BUILD/tp_smapi-
kmod-0.40/_kmod_build_2.6.40-4.fc15.i686.PAE/thinkpad_ec.c: In function 
'thinkpad_ec_try_lock':
/tmp/akmodsbuild.t8b8ZhBM/BUILD/tp_smapi-
kmod-0.40/_kmod_build_2.6.40-4.fc15.i686.PAE/thinkpad_ec.c:123:1: warning: 
control reaches end of non-void function [-Wreturn-type]
make[3]: *** [/tmp/akmodsbuild.t8b8ZhBM/BUILD/tp_smapi-
kmod-0.40/_kmod_build_2.6.40-4.fc15.i686.PAE/thinkpad_ec.o] Error 1
make[3]: *** Waiting for unfinished jobs....
...
/tmp/akmodsbuild.t8b8ZhBM/BUILD/tp_smapi-
kmod-0.40/_kmod_build_2.6.40-4.fc15.i686.PAE/tp_smapi.c: In function 
'store_battery_start_charge_thresh':
/tmp/akmodsbuild.t8b8ZhBM/BUILD/tp_smapi-
kmod-0.40/_kmod_build_2.6.40-4.fc15.i686.PAE/tp_smapi.c:776:8: error: 
'smapi_mutex' undeclared (first use in this function)
-------------------------------------

Surely there must be some 32-bit Fedora Thinkpad users
who are successfully running tp_smapi?
What is the secret of your success?


-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland



More information about the users mailing list