You are not logged in.

#1 2008-10-14 16:17:02

rostoQ
Member
Registered: 2008-06-25
Posts: 40

tp_smapi stopped working

After the last kernel update, tp_smapi stopped working.
I loaded the out-of-date package "tp_smapi", which didnt compile.
tried the same PKGBUILD with version 0.38 and 0.39, both compile, but if i  try to modprobe one of them, i get the following:

WARNING: Error inserting thinkpad_ec (/lib/modules/2.6.27-ARCH/extra/thinkpad_ec.ko): No such device or address
FATAL: Error inserting tp_smapi (/lib/modules/2.6.27-ARCH/extra/tp_smapi.ko): Unknown symbol in module, or unknown parameter (see dmesg)

dmsg:

thinkpad_ec: cannot claim io ports 0x1600-0x161f
tp_smapi: Unknown symbol thinkpad_ec_unlock
tp_smapi: Unknown symbol thinkpad_ec_invalidate
tp_smapi: Unknown symbol thinkpad_ec_read_row
tp_smapi: Unknown symbol thinkpad_ec_lock

What can i do? tp_smapi is really importent for every thinkpad user!
Thanks in advance!

Offline

#2 2008-10-14 16:55:13

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: tp_smapi stopped working

http://fixunix.com/debian/531137-bug-49 … amd64.html

So, you need to unload hdaps module (or at least load it *after* tp_smapi).

EDIT: I should say that here 0.39 works fine on 2.6.27 kernel.

Last edited by bender02 (2008-10-14 16:56:24)

Offline

#3 2008-10-15 07:08:23

rostoQ
Member
Registered: 2008-06-25
Posts: 40

Re: tp_smapi stopped working

Ooops, after restarting the System everything works fine (i guess unloading hdaps would have done the trick as well).
Thank you anyway!

Offline

#4 2008-11-21 07:16:44

Rincewind
Member
From: Czech republic
Registered: 2005-05-30
Posts: 12

Re: tp_smapi stopped working

Hi, I still can't get it working: both tp_smapi and hdaps load when I boot the kernel26tp (2.6.25), but with ARCH kernel26 (2.6.27) I can load EITHER hdaps OR tp_smapi, not both:

bash-3.2# modprobe hdaps
bash-3.2# modprobe tp_smapi
WARNING: Error inserting thinkpad_ec (/lib/modules/2.6.27-ARCH/extra/thinkpad_ec.ko): No such device or address
FATAL: Error inserting tp_smapi (/lib/modules/2.6.27-ARCH/extra/tp_smapi.ko): Unknown symbol in module, or unknown parameter (see dmesg)
bash-3.2# modprobe -r hdaps
bash-3.2# modprobe tp_smapi
bash-3.2# modprobe hdaps
FATAL: Error inserting hdaps (/lib/modules/2.6.27-ARCH/kernel/drivers/hwmon/hdaps.ko): No such device or address

Any advice? Thx in advance...

Last edited by Rincewind (2008-11-21 07:28:28)

Offline

#5 2008-11-21 08:27:06

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: tp_smapi stopped working

The one modprobe is trying to insert (/lib/modules/2.6.27-ARCH/kernel/drivers/hwmon/hdaps.ko) is the one which comes with the stock kernel, and that one won't work with tp_smapi. tp_smapi needs a patched hdaps; if you used the tp_smapi package from AUR, then a patched hdaps module is in (/lib/modules/2.6.27-ARCH/extra/hdaps.ko). Use that one.

Offline

#6 2008-11-21 12:21:29

robmaloy
Member
From: Germany
Registered: 2008-05-14
Posts: 263

Re: tp_smapi stopped working

bender02 wrote:

The one modprobe is trying to insert (/lib/modules/2.6.27-ARCH/kernel/drivers/hwmon/hdaps.ko) is the one which comes with the stock kernel, and that one won't work with tp_smapi. tp_smapi needs a patched hdaps; if you used the tp_smapi package from AUR, then a patched hdaps module is in (/lib/modules/2.6.27-ARCH/extra/hdaps.ko). Use that one.

works


why is hdaps so important? do you like throwing your tp around?


☃ Snowman ☃

Offline

#7 2008-11-21 13:57:21

Rincewind
Member
From: Czech republic
Registered: 2005-05-30
Posts: 12

Re: tp_smapi stopped working

Great, that works, thanks!

Perhaps I just want to have all features working smile And I thought it is good for harddrive to have hdaps on if you work on a bus or train; is it not?

And - this might be a silly question, but how do I tell the /etc/rc.conf that it should load the patched hdaps, not the one that comes with stock kernel? Thanks...

Offline

Board footer

Powered by FluxBB