You are not logged in.
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
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
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?
Offline
mark
Offline