青木 様 統計数理研究所の丸山です。
色々お教え頂き、有難うございます。自分で調べて少しわかったのすが、まだ解 決には至っていません。 まず、ドライバですが、 [maruyama@surya{44}] ~% pkg info|grep xf86-input xf86-input-keyboard-1.8.1 X.Org keyboard input driver xf86-input-mouse-1.9.1_1 X.Org mouse input driver xf86-input-synaptics-1.8.2_1 X.Org synaptics input driver となっているので、 synaptics でしょう。PC-BSD10.3のインストールメディア に収められているパッケージのディレクトリを見ても [maruyama@pc01{80}] /INST% ls -alg dist/packages/All/xf86-input* -rw-r--r-- 1 root wheel 9120 3月 26 07:19 dist/packages/All/xf86-input-keyboard-1.8.1.txz -rw-r--r-- 1 root wheel 31124 3月 26 07:15 dist/packages/All/xf86-input-mouse-1.9.1_1.txz -rw-r--r-- 1 root wheel 47436 3月 26 09:49 dist/packages/All/xf86-input-synaptics-1.8.2_1.txz なので、他のドライバの可能性は無いと思います。 で、 >> # タッチスクリーン機能を持っていて PC-BSDが動かせるマシンを他に持ってい >> # ないので、実験しにくいなー。「xorg.conf 自動生成機能」のソースを読むし >> # かないかな? と私は書きましたが。これは「外れ」でした。どこを見ても synaptics とか usbconfigという文字列を見つけることができません。/var/log/Xorg.0.log を 見てもsynaptics というのは全く現れていません。気がついたのは /usr/local/share/X11/xorg.conf.d/50-synaptics.conf というファイルです。man synaptics を見ると NOTES Configuration through InputClass sections is recommended in X servers 1.8 and later. See xorg.conf.d(5) for more details. An example xorg.conf.d snippet is provided in ${sourcecode}/conf/50-synaptics.conf と書いてあります(でも xorg-server-1.17.4,1なんだけど)。で、 /var/log/messages を見ると Aug 15 05:48:59 surya kernel: ugen0.5: <ELAN> at usbus0 というのはあるのですが、これに応じて device が生えた形跡は全くありません。 /dev の下を見ても、それらしい device を見つけることができません。手動で input device を /etc/X11/xorg.conf に追加する実験をやろうにも、device が なくてはどうにもなりませんよね。 という訳で、「どうやったら touch screen の device が生えてくるか」が今私 の前に立ちはだかっている問題のように思います。何か思い当たる点があればお 教えください。 なお PC-BSDハンドブックの > 2.2.2. Touch Screens > PC-BSD(R) should automatically detect USB-based touch screen devices. If > your display is USB and is not auto-detected, send the output of > usbconfig and your /etc/X11/xorg.conf file using the Report a bug tool. の記述は何か舌足らずのように思います。50-synaptics.conf を使っているのな ら、/etc/X11/xorg.conf は無関係のはずで、本気で bug report が欲しいのな ら/var/log/messages と /var/log/Xorg.0.log じゃないのかな? 要するに PC-BSD で touch screen を使った人間は世界に一人もいないという証 拠のようにも見えます。 ---- /usr/local/share/X11/xorg.conf.d/50-synaptics.conf の内容 # Example xorg.conf.d snippet that assigns the touchpad driver # to all touchpads. See xorg.conf.d(5) for more information on # InputClass. # DO NOT EDIT THIS FILE, your distribution will likely overwrite # it when updating. Copy (and rename) this file into # /etc/X11/xorg.conf.d first. # Additional options may be added in the form of # Option "OptionName" "value" # Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" # This option is recommend on all Linux systems using evdev, but cannot be # enabled by default. See the following link for details: # http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html # MatchDevicePath "/dev/input/event*" EndSection Section "InputClass" Identifier "touchpad ignore duplicates" MatchIsTouchpad "on" MatchOS "Linux" MatchDevicePath "/dev/input/mouse*" Option "Ignore" "on" EndSection # This option enables the bottom right corner to be a right button on clickpads # and the right and middle top areas to be right / middle buttons on clickpads # with a top button area. # This option is only interpreted by clickpads. Section "InputClass" Identifier "Default clickpad buttons" MatchDriver "synaptics" Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0" Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%" EndSection # This option disables software buttons on Apple touchpads. # This option is only interpreted by clickpads. Section "InputClass" Identifier "Disable clickpad buttons on Apple touchpads" MatchProduct "Apple|bcm5974" MatchDriver "synaptics" Option "SoftButtonAreas" "0 0 0 0 0 0 0 0" EndSection -------- 丸山直昌@統計数理研究所 _______________________________________________ freebsd-users-jp@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-users-jp To unsubscribe, send any mail to "freebsd-users-jp-unsubscr...@freebsd.org"