
Ubuntu日本語フォーラム

ログインしていません。
ubuntu 8.04 dell version
Logicool M555b Bluetooth Mouse
マウスの認識は完了しました。快適にポインタが動きます。
このマウスの機能、特に、ホイールの左右を活用(可能であれば)したいと思います。
残念ながら今のところまったくホイール左右は作動しません。スクロールバーでさえ動きません。
http://blogs.dion.ne.jp/fedora_blog/archives/4864757.html
このページでそれを認識させる方法(?)がかかれています。
後半に書かれているように、
xev
を実行し、マウスのキーナンバーを確認したところ、ホイールの左右はまったく認識されていません。
前半部分で可能にすることができるのではと思うんですが、
------------------
Section "InputDevice"
Identifier "mouse2"
Driver "evdev"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/event3"
Option "Name" "Logitech USB Receiver"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
------------------
これをどう書き換えたらよいか教えていただけませんか?特に"Protocol" "ExplorerPS/2"ってなんでしょう?
自分のマウスは
Handler mouse 1 event 6
となっています。
オフライン
そのサイトに記述の内容はかなり古いので、こちらを参照された方がよさそうです。
https://help.ubuntu.com/community/Logitech_Marblemouse_USB
まずは、xinputなどでボタンの認識やマウスからのイベント(?言葉が適切では無いかも知れません)を調べてみた方が良いかもです。
オフライン
『ホイールの左右を活用』というのが、ホイールを傾けると左右にスクロールすることでしたら私の環境ではなにも設定せずにできています。
Ubuntu9.10
Logicool M555b Bluetooth Mouse
オフライン
ご返事ありがとうございます。
>sumiyotaさん
自分の環境ではだめですね(涙)
以下が
$xinput list
の結果(キーボードとタッチパッドを除く)です。このid=3がマウスで良いでしょうか?
-------------------------------------------
"Virtual core pointer" id=1 [XPointer]
Num_buttons is 32
Num_axes is 2
Mode is Relative
Motion_buffer is 256
Axis 0 :
Min_value is 0
Max_value is -1
Resolution is 0
Axis 1 :
Min_value is 0
Max_value is -1
Resolution is 0
"Configured Mouse" id=3 [XExtensionPointer]
Num_buttons is 9
Num_axes is 2
Mode is Relative
Motion_buffer is 256
Axis 0 :
Min_value is -1
Max_value is -1
Resolution is 1
Axis 1 :
Min_value is -1
Max_value is -1
Resolution is 1
------------------------------------
オフライン
当該マウスを持っていないので、確認は取れませんが、私のマウス(というかトラックボール)では、
"PS2++ Logitech Mouse" id=5 [XExtensionPointer]
Type is MOUSE
Num_buttons is 8
Num_axes is 2
Mode is Relative
Motion_buffer is 256
Axis 0 :
Min_value is -1
Max_value is -1
Resolution is 1
Axis 1 :
Min_value is -1
Max_value is -1
Resolution is 1のように認識されます。
もうちょっとそれらしい名前で認識されるものかと思っていましたが。。
sumiyotaさんの情報からすると、/etc/X11/xorg.confにマウス関係の設定を入れなければ自動認識されてしまったりしないでしょうか。
dmesg | grep -i input
とかしても、それらしい名前は見えないでしょうか。
オフライン
dmesg | grep -i input
[ 12.212240] input: Lid Switch as /devices/virtual/input/input0
[ 12.212606] input: Power Button (CM) as /devices/virtual/input/input1
[ 12.217574] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input2
[ 14.331422] input: PC Speaker as /devices/platform/pcspkr/input/input3
[ 14.352280] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
[ 21.845230] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input5
[ 56.043498] input: Logitech Bluetooth Mouse M555b as /devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.0/hci0/acl000761F537AF/input/input6
となります。でてますね。
う〜ん、つまり…ちょっと混乱してきました。
自動認識している、ということですか?手動認識で設定しなおせば良い、ということでしょうか?
オフライン
なにかxorg.confに設定を追加していませんでしょうか。
勘でしかありませんが、それが自動認識の邪魔をしてしまっているとか?
オフライン
なにも加えていないつもりですが…
以下がxorg.confです。
なにか分かる方お願いしますm(_ _)m
----------------------------------
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
EndSection
Section "Device"
Identifier "Configured Video Device"
Option "UseFBDev" "true"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Synaptics Touchpad"
EndSection
Section "DRI"
Mode 0666
EndSection
-------------------------------------
オフライン
ごめんなさい。大前提のubuntuバージョンを見落としてました。8.04なら設定しないとダメかもです。
他の方からコメント付けば良いのですが、私にはすぐにはどう書けば良いか分からないので、少しお時間下さい。
あとで調べてみます。
オフライン
このあたりが参考になるのではないかと思います。
http://retujyou.com/2008/05/22/howto-ubuntu-tilt-wheel-mouse/
xserver-xorg-input-evdev
がインストールされていなければインストールしておく必要があるかも。
xorg.confの設定内容としては、
Section "InputDevice"
Identifier "Configured Mouse"
Driver "evdev"
#Option "Protocol" "auto"
Option "Device" "/dev/input/event6"
#Option "ZAxisMapping" "4 5"
#Option "Emulate3Buttons" "yes"
Option "CorePointer"
EndSectionのようになるかと思います。
Protocolオプションの選択肢は未確認なのでコメントアウトしました。
man evdevとかすれば何が指定できるか調べられるかも。
ZAxisMappingも必須ではないっぽいので、とりあえずコメントアウト。
3ボタンエミュレーションはお好みで。
デバイス行は、なにかの拍子に番号が変わってしまうかも知れないので、
cat /dev/input/by-id/
してM555bを表すものに置き換えてください。
この辺りの下の方が参考になるかと思います。
http://d.hatena.ne.jp/khiker/20081025/debian_mouse
もし、上記の設定が間違っていると、マウスが動かなくなるかも知れないので、
ctrl+alt+F1などとして、コンソールからログインして、xorg.confを修正できるように下準備はしておいて下さい。
# xorg.confのバックアップを取っておくとか、
# vi, pico, emacsの使い方の確認とか。
蛇足ですが、気になるバグレポートもあるようですが。。
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/219925
オフライン
FYI
もうひとつよさげな記事があったので貼っておきます。
http://mstssk.blogspot.com/2008/07/linuxubuntu.html
オフライン
ご返事ありがとうございます。
一度設定した(つもり)で、みごと失敗!マウスが全然反応しなくなりました(涙)
xorg.confをバックアップから復元しただけではだめで、Bluetoothの設定しなおしが必要みたいです。
復元後また挑戦しますので、うまくいったらまた投稿致します。
調べてくださってありがとうございました。
オフライン
うまくいったようで安心しました。
8.04もあと1年強、使いつづける方もいるでしょうから、いつでも結構ですので、最終的な設定内容(や、できれば手順も)を投稿いただけると嬉しいです。
オフライン