※上記の広告は60日以上更新のないWIKIに表示されています。更新することで広告が下部へ移動します。
ubuntu 9.04 から大きな違いはありません。
スクロールを有効にする。
Thinkpad はトラックポインタが売りですからその機能を有効活用したいものです。
初期設定ではスクロールすることができないので、以下の手順でスクロールできるようにします。
ubuntu 9.04 とおなじ方法ではうまく行かなかった。なんで?
ちなみに、ubuntu 9.04 では、/etc/hal/fdi/policy/mouse-wheel.fdi に以下の記述をすると上手く行きました。
<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.XAxisMapping" type="string">6 7</merge>
<merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
<merge key="input.x11_options.ZAxisMapping" type="string">4 5</merge>
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
</match>
でも、以下の記述をしたら上手くスクロールできるようになった何が違う?
<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.XAxisMapping" type="string">6 7</merge>
<merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge>
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
</match>
途中経過のメモ
$ lshal
で トラックポインタまわりを見てみた。
そしたらこんな結果が帰ってきました。
udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_input'
info.callouts.add = {'hal-probe-vmmouse'} (string list)
info.capabilities = {'input', 'input.mouse'} (string list)
info.category = 'input' (string)
info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port' (string)
info.product = 'TPPS/2 IBM TrackPoint' (string)
info.subsystem = 'input' (string)
info.udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_input' (string)
input.device = '/dev/input/event6' (string)
input.originating_device = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port' (string)
input.product = 'TPPS/2 IBM TrackPoint' (string)
input.x11_driver = 'evdev' (string)
linux.device_file = '/dev/input/event6' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'input' (string)
linux.sysfs_path = '/sys/devices/platform/i8042/serio1/input/input6/event6' (string )
やっぱり、トラックポインタのデバイス名?は、''TPPS/2 IBM TrackPoint'' ですね。
なにがいけないんでしょうか?