linuxでのThinkpad BOIS 設定コマンド

http://zeneca.moe-nifty.com/ahoaho/

http://sourceforge.net/project/showfiles.php?group_id=1212


から、thinkpad-5.9.tar.gz, tpctl_4.17.tar.gzをダウンロード。
他のファイルはgnome-libを使ったGUI
thinkpad-5.9.tar.gzを展開してmake/make installでモジュールを
インストールthinkpadpm.oがエラーになるので、2.4/driver/Makefile
を修正。

次にtpctlをコンパイル、インストール。いかの変更は必要かどうかわからないけど、一応加えておく。

echo "path[thinkpad]=/lib/modules/\`uname -r\`/thinkpad" >> /etc/modprobe.conf
echo "options thinkpad enable_smapi=1 enable_superio=1 enable_rtcmosram=1 enable_thinkpadpm=1" >> /etc/modprobe.conf
echo "alias char-major-10-170 thinkpad" >> /etc/modprobe.conf
echo "alias /dev/thinkpad thinkpad" >> /etc/modprobe.conf
echo "alias /dev/thinkpad/thinkpad thinkpad" >> /etc/modprobe.conf
echo "alias /dev/thinkpad/smapi smapi" >> /etc/modprobe.conf
echo "alias /dev/thinkpad/superio superio" >> /etc/modprobe.conf
echo "alias /dev/thinkpad/rtcmosram rtcmosram" >> /etc/modprobe.conf
echo "alias /dev/thinkpad/thinkpadpm thinkpadpm" >> /etc/modprobe.conf