You are not logged in.

#1 2010-06-30 12:01:14

Lars Stokholm
Member
From: Denmark
Registered: 2009-03-17
Posts: 223

In doubt about HDAPS

I don't get the wiki on [wiki]HDAPS[/wiki]. It says I should do things in this order:

Example 1

[root@thinkpad lars]# modprobe tp_smapi
[root@thinkpad lars]# insmod /lib/modules/2.6.34-ARCH/extra/hdaps.ko
[root@thinkpad lars]# /etc/rc.d/hdapsd start
:: Starting hdapsd     [DONE]

That will definately do the trick. But what I don't get is why this should not be enough (yes, I did remember to remove the modules first):

Example 2

[root@thinkpad lars]# /etc/rc.d/hdapsd start
:: Starting hdapsd     [DONE]

I know there are two different hdaps modules:

[root@thinkpad lars]# find /lib/modules/2.6.34-ARCH -name hdaps.ko
/lib/modules/2.6.34-ARCH/extra/hdaps.ko
/lib/modules/2.6.34-ARCH/kernel/drivers/hwmon/hdaps.ko

But as far as I can see, the extra/tp_smapi-version is the one that get's inserted in example 2 as well. Am I wrong or can the wiki instructions be simplified?

I can also note that trying to force the wrong hdaps module to be inserted won't even work:

[root@thinkpad lars]# modprobe tp_smapi
[root@thinkpad lars]# insmod /lib/modules/2.6.34-ARCH/kernel/drivers/hwmon/hdaps.ko
insmod: error inserting '/lib/modules/2.6.34-ARCH/kernel/drivers/hwmon/hdaps.ko': -1 Unknown symbol in module

Offline

Board footer

Powered by FluxBB