From owner-freebsd-users-jp@freebsd.org Sun Aug 14 22:18:27 2016 Return-Path: Delivered-To: freebsd-users-jp@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0FA5DBBA7B7 for ; Sun, 14 Aug 2016 22:18:27 +0000 (UTC) (envelope-from maruyama@ism.ac.jp) Received: from amogha.ism.ac.jp (amogha.ism.ac.jp [133.58.120.10]) by mx1.freebsd.org (Postfix) with ESMTP id A99EB1569 for ; Sun, 14 Aug 2016 22:18:26 +0000 (UTC) (envelope-from maruyama@ism.ac.jp) Received: from indra.ism.ac.jp (amogha.ism.ac.jp [133.58.120.10]) by amogha.ism.ac.jp (8.14.5/8.14.5) with ESMTP id u7EMIICk083688; Mon, 15 Aug 2016 07:18:18 +0900 (JST) (envelope-from maruyama@ism.ac.jp) Received: (from maruyama@localhost) by indra.ism.ac.jp (8.15.2/8.15.2/Submit) id u7EMII9H051334; Mon, 15 Aug 2016 07:18:18 +0900 (JST) (envelope-from maruyama@ism.ac.jp) X-Authentication-Warning: indra.ism.ac.jp: maruyama set sender to maruyama@ism.ac.jp using -f From: maruyama@ism.ac.jp (=?iso-2022-jp?B?GyRCNF07M0Q+PjsbKEI=?=) To: Tomoaki AOKI Cc: freebsd-users-jp@freebsd.org In-Reply-To: <20160813155756.a6a4ce2818339452c96b2bd4@dec.sakura.ne.jp> (message from Tomoaki AOKI on Sat, 13 Aug 2016 15:57:56 +0900) Organization: =?iso-2022-jp?B?GyRCRX03Vz90TX04JjVmPWobKEI=?= Reply-To: maruyama@ism.ac.jp Date: Mon, 15 Aug 2016 07:18:18 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Subject: [FreeBSD-users-jp 95939] Re: =?iso-2022-jp?b?RHVhbCBib290IG9uIGR5bmFib29rTjUxKBskQiQ9GyhC?= =?iso-2022-jp?b?GyRCJE4bKEIzIC0tIHNjZmIgZHJpdmVyKRskQkpkQi0bKEI=?= X-BeenThere: freebsd-users-jp@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussion relevant to FreeBSD communities in Japan List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Aug 2016 22:18:27 -0000 青木 様 統計数理研究所の丸山です。 色々お教え頂き、有難うございます。自分で調べて少しわかったのすが、まだ解 決には至っていません。 まず、ドライバですが、 [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: 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 -------- 丸山直昌@統計数理研究所