debian squeezeでトラックポイント動作。

以前出来ないとか言ってたHALによる設定。squeeze以降ならできるらしい。というか出来た。
thinkpad X200

Trackpoint on Squeeze and later

Thanks to hal and Xorg integration... Create the file /etc/hal/fdi/policy/ibm_trackpoint.fdi containing:

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">

<match key="info.product" string="TPPS/2 IBM TrackPoint">
 <merge key="input.x11_options.EmulateWheel" type="string">true</merge>
 <merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
 <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
 <merge key="input.x11_options.EmulateWheelTimeout" type="string">200</merge>
</match>
</deviceinfo>

以前の記事

も試してみたけど出来なかった。ファイル名が違うね。あとルートタグがdeviceinfoになってる。



追記

横スクロールが出来なかったので上記設定に次の一行を追加した。

 <merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>

いいかんじ。

ついでに

gnomeでのtrackpoint設定のGUIフロントエンドがあるので入れてみた。

trackpointの感度とか最高速とか指定できる。快適。

# aptitude install sysfsutils
# wget http://sourceforge.net/projects/tpctl/files/configure-trackpoint/0.7/configure-trackpoint_0.7-1_i386.deb/download
# dpkg -i configure-trackpoint_0.7-1_i386.deb

起動はrootで

# configure-trackpoint

と打つ。
もしくは[システム>システム管理]にConfigure Trackpointという項が増えているかもしれない。