XF86Config を設定したあと xev で確かめると良いと 思います。XF86に問題がなければ, ホイールを回すと ButtonRelease Event ... button 4 とか出て来るはずです。 # お使いのXは 3.3.3 ですよね? それと, お使いのは もしかして, マウスのロゴが黒色の OEM バージョンでは? 秋葉とかで, バルク品で大量に置いてあるやつでしょうか? http://www.inria.fr/koala/colas/mouse-wheel-scroll/#hardware にあるとおり, このマウスはいろいろバージョンがあるらしく 使えないことがあるようです。 私が調べた範囲では, マウスの初期化手順が一部異なるため, 初期化に失敗しているようです。 私は適当にパッチをあてて 対応しています。 --- xf86_Mouse.c-org Wed May 12 09:40:32 1999 +++ xf86_Mouse.c Wed May 12 09:40:32 1999 @@ -285,6 +285,9 @@ int paramlen; int ps2param; int i; + int defsetfirstformmanplus; + + defsetfirstformmanplus = FALSE; if (mouse->mseType != P_AUTO) memcpy(mouse->protoPara, proto[mouse->mseType], @@ -528,8 +531,14 @@ case P_MMANPLUSPS2: /* MouseMan+, FirstMouse+ */ { - static unsigned char s[] = { 230, 232, 0, 232, 3, 232, 2, 232, 1, + /* at first default settings, second wheel setting */ + static unsigned char s[] = { 246, 230, 232, 0, 232, 3, 232, 2, 232, 1, + 230, 232, 3, 232, 1, 232, 2, 232, 3, }; + /* static unsigned char s[] = { 230, 232, 0, 232, 3, 232, 2, 232, 1, 230, 232, 3, 232, 1, 232, 2, 232, 3, }; + */ + + defsetfirstformmanplus = TRUE; param = s; paramlen = sizeof(s); ps2param = TRUE; @@ -582,8 +591,10 @@ { unsigned char c[2]; - c[0] = 246; /* default settings */ - write(mouse->mseFd, c, 1); + if (!defsetfirstformmanplus){ + c[0] = 246; /* default settings */ + write(mouse->mseFd, c, 1); + } c[0] = 230; /* 1:1 scaling */ write(mouse->mseFd, c, 1); c[0] = 244; /* enable mouse */ ---------------------------------------------- 西田 貴司 奈良先端科学技術大学院大学 Nara Institute of Science and Technology (NAIST) 物質創成科学研究科 演算記憶素子科学講座 〒630-0101 奈良県生駒市高山8916-5 E-mail: tnishida _at_ ms.aist-nara.ac.jp URL: http://www.aist-nara.ac.jp
References:
- Prev by Date: [fol] [CFA continue] fj.unix.shells
- Next by Date: [fol] Re: cannot compile grub-0.5-i18n
- Previous by thread: [fol] マウスのスクロールがつかいたい
- Next by thread: [fol] Re: マウスのスクロールがつかいたい
- Indexes:[Main][Thread]