You are not logged in.

#1 2009-03-21 13:26:32

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

ThinkPad T500, HDAPS: tp_smapi: Unknown symbol thinkpad_*

I followed the guide at http://wiki.archlinux.org/index.php/HDAPS, but didn't get further than the tp_smapi section:

# modprobe tp_smapi
FATAL: Error inserting tp_smapi (/lib/modules/2.6.28-ARCH/extra/tp_smapi.ko): Unknown symbol in module, or unknown parameter (see dmesg)
# dmesg | tail -n5
thinkpad_ec: cannot claim IO ports 0x1600-0x161f... consider using force_io=1.
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
# ll /sys/devices/platform/smapi
ls: cannot access /sys/devices/platform/smapi: No such file or directory
# ll /dev/js
ls: cannot access /dev/js: No such file or directory

What's wrong?

Offline

#2 2009-03-21 13:44:37

csstaub
Member
From: Switzerland
Registered: 2009-02-09
Posts: 37

Re: ThinkPad T500, HDAPS: tp_smapi: Unknown symbol thinkpad_*

The module thinkpad_ec has to be loaded before you can use tp_smapi,
but it refuses to load on your system becaue it can't claim certain IO ports.

You can force thinkpad_ec to claim the ports with modprobe thinkpad_ec force_io=1,
and to make it permanent you can add options thinkpad_ec force_io=1 to /etc/modprobe.d/options.

Edit: I have to tell thinkpad_ec to force claiming the ports on my system as well (Lenovo ThinkPad X200)
and so far I haven't had any problems with it, but there's no guarantee it'll work on your system. Just try.

Last edited by csstaub (2009-03-21 13:46:47)

Offline

#3 2009-03-21 16:31:20

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

Re: ThinkPad T500, HDAPS: tp_smapi: Unknown symbol thinkpad_*

Thanks. That did the trick. Although judging from hdaps-gl's output, the detection seems to be inverted. On tilting the laptop to the right, hdaps-gl shows that it's tiltet to the left. I guess that doesn't matter though.

What matters is: How do I know if it really IS stopping the hard drive? Is there some test, other than dropping it on the floor? smile

Offline

#4 2010-01-27 08:18:21

karllv
Member
Registered: 2010-01-13
Posts: 2

Re: ThinkPad T500, HDAPS: tp_smapi: Unknown symbol thinkpad_*

mark

Offline

Board footer

Powered by FluxBB