contents
  1. 症状
    1. コンソール
      1. Touch screen
      2. Touch pad
      3. 外部USBマウス
    2. Xorg
      1. Touch screen
      2. Touch pad
      3. 外部USBマウス
  2. info

OpenBSD wsmouse memo

症状

コンソール

Touch screen

  • mouse button 1としては動作
  • cursorの移動はしない

Touch pad

  • mouse button1のみ有効
  • cursor移動

外部USBマウス

  • ボタン1,2,3とも全て有効
  • cursor移動

Xorg

Touch screen

  • タッチすると必ずmouse button1クリックとして動作
  • cursor移動

Touch pad

  • ボタン1,2,3とも全て有効
  • cursorは移動しない
    • xevでも移動イベントは拾わない

外部USBマウス

info

  • dmesg
kohjin:~ [13-12-15T23:41] % dmesg
OpenBSD 5.3 (GENERIC.MP) #58: Tue Mar 12 18:43:53 MDT 2013
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
  (snip)
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pms0: Synaptics touchpad, firmware 7.0
  (snip)
uhidev0 at uhub1 port 2 configuration 1 interface 0 "DIALOGUE INC PenMount USB" rev 1.00/a4.b4 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 2 buttons
wsmouse1 at ums0 mux 0
  (snip)
uhidev1 at uhub2 port 1 configuration 1 interface 0 "Primax Elec. USB Wheel Mouse" rev 1.00/0.00 addr 2
uhidev1: iclass 3/1
ums1 at uhidev1: 3 buttons, Z dir
wsmouse2 at ums1 mux 0
  • /var/log/Xorg.0.log
kohjin:~ [13-12-15T23:47] % less /var/log/Xorg.0.log
[   101.171] (--) checkDevMem: using aperture driver /dev/xf86
[   101.203] (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32)
[   101.326] 
X.Org X Server 1.12.3
Release Date: 2012-07-09
[   101.326] X Protocol Version 11, Revision 0
[   101.326] Build Operating System: OpenBSD 5.3 i386 
[   101.327] Current Operating System: OpenBSD kohjin.my.domain 5.3 GENERIC.MP#58 i386
[   101.327] Build Date: 27 February 2013  04:00:52PM
[   101.327]  
  (snip)
[   105.510] (II) config/wscons: checking input device /dev/wsmouse0
[   105.510] (**) /dev/wsmouse0: Applying InputClass "touchpad catchall"
[   105.510] (II) LoadModule: "synaptics"
[   105.513] (II) Loading /usr/X11R6/lib/modules/input/synaptics_drv.so
[   105.558] (II) Module synaptics: vendor="X.Org Foundation"
[   105.558]    compiled for 1.12.3, module version = 1.6.2
[   105.558]    Module class: X.Org XInput Driver
[   105.558]    ABI class: X.Org XInput driver, version 16.0
[   105.558] (II) Using input driver 'synaptics' for '/dev/wsmouse0'
[   105.558] (**) /dev/wsmouse0: always reports core events
[   105.558] (**) Option "Device" "/dev/wsmouse0"
[   106.413] (--) synaptics: /dev/wsmouse0: x-axis range 1472 - 5294 resolution 95
[   106.413] (--) synaptics: /dev/wsmouse0: y-axis range 1408 - 4614 resolution 255
[   106.413] (**) Option "VertTwoFingerScroll" "1"
[   106.413] (**) Option "TapButton1" "1"
[   106.413] (**) Option "TapButton2" "2"
[   106.413] (**) Option "TapButton3" "3"
[   106.413] (**) /dev/wsmouse0: always reports core events
[   106.446] (II) XINPUT: Adding extended input device "/dev/wsmouse0" (type: TOUCHPAD, id 7)
[   106.484] (**) synaptics: /dev/wsmouse0: (accel) MinSpeed is now constant deceleration 2.5
[   106.484] (**) synaptics: /dev/wsmouse0: MaxSpeed is now 1.75
[   106.484] (**) synaptics: /dev/wsmouse0: AccelFactor is now 0.040
[   106.485] (**) /dev/wsmouse0: (accel) keeping acceleration scheme 1
[   106.485] (**) /dev/wsmouse0: (accel) acceleration profile 1
[   106.485] (**) /dev/wsmouse0: (accel) acceleration factor: 2.000
[   106.485] (**) /dev/wsmouse0: (accel) acceleration threshold: 4
[   106.950] (II) config/wscons: checking input device /dev/wsmouse1
[   106.950] (II) LoadModule: "ws"
[   106.953] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
[   106.995] (II) Module ws: vendor="X.Org Foundation"
[   106.995]    compiled for 1.12.3, module version = 1.3.0
[   106.995]    Module class: X.Org XInput Driver
[   106.995]    ABI class: X.Org XInput driver, version 16.0
[   106.995] (II) Using input driver 'ws' for '/dev/wsmouse1'
[   106.995] (**) /dev/wsmouse1: always reports core events
[   106.995] (II) ws: /dev/wsmouse1: debuglevel 0
[   106.995] (**) Option "Device" "/dev/wsmouse1"
[   106.995] (**) ws: /dev/wsmouse1: ZAxisMapping: buttons 4 and 5
[   106.995] (**) ws: /dev/wsmouse1: WAxisMapping: buttons 6 and 7
[   106.995] (**) ws: /dev/wsmouse1: associated screen: 0
[   106.996] (**) ws: /dev/wsmouse1: device will work in raw mode
[   106.996] (II) ws: /dev/wsmouse1: minimum x position: 0
[   106.996] (II) ws: /dev/wsmouse1: maximum x position: 1023
[   106.996] (II) ws: /dev/wsmouse1: minimum y position: 0
[   106.996] (II) ws: /dev/wsmouse1: maximum y position: 1023
[   106.996] (==) ws: /dev/wsmouse1: Buttons: 7
[   107.050] (**) ws: /dev/wsmouse1: YAxisMapping: buttons 4 and 5
[   107.050] (II) XINPUT: Adding extended input device "/dev/wsmouse1" (type: TOUCHSCREEN, id 8)
[   107.051] (**) /dev/wsmouse1: (accel) keeping acceleration scheme 1
[   107.051] (**) /dev/wsmouse1: (accel) acceleration profile 0
[   107.051] (**) /dev/wsmouse1: (accel) acceleration factor: 2.000
[   107.051] (**) /dev/wsmouse1: (accel) acceleration threshold: 4
[   107.052] (II) config/wscons: checking input device /dev/wsmouse
[   107.052] (II) Using input driver 'ws' for '/dev/wsmouse'
[   107.052] (**) /dev/wsmouse: always reports core events
[   107.052] (II) ws: /dev/wsmouse: debuglevel 0
[   107.052] (**) Option "Device" "/dev/wsmouse"
[   107.052] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
[   107.052] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
[   107.052] (**) ws: /dev/wsmouse: associated screen: 0
[   107.052] (II) ws: /dev/wsmouse: minimum x position: 0
[   107.053] (II) ws: /dev/wsmouse: maximum x position: 799
[   107.053] (II) ws: /dev/wsmouse: minimum y position: 0
[   107.053] (II) ws: /dev/wsmouse: maximum y position: 599
[   107.053] (==) ws: /dev/wsmouse: Buttons: 7
[   107.053] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[   107.053] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: MOUSE, id 9)
[   107.053] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
[   107.053] (**) /dev/wsmouse: (accel) acceleration profile 0
[   107.053] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
[   107.053] (**) /dev/wsmouse: (accel) acceleration threshold: 4
Last modified: 2013-12-15
Post-it: New Post-it (help)

Text color: [_][_][_][_]

Background: [_][_][_][_][_][_]

Draw Line:

x: y: