Comment 3 for bug 1564830

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

When Mir starts I see:

[2016-05-09 12:00:27.813907] evdev-input: Added /dev/input/event2
[2016-05-09 12:00:27.814084] evdev-input: Added /dev/input/event4
[2016-05-09 12:00:27.814159] evdev-input: Added /dev/input/event0
[2016-05-09 12:00:27.814282] evdev-input: Added /dev/input/event8: Touchscreen
[2016-05-09 12:00:27.814368] evdev-input: Added /dev/input/event11: Integrated Camera
[2016-05-09 12:00:27.814448] evdev-input: Added /dev/input/event5: ISD-V4
[2016-05-09 12:00:27.814516] evdev-input: Added /dev/input/event3
[2016-05-09 12:00:27.814590] evdev-input: Added /dev/input/event6
[2016-05-09 12:00:27.814680] evdev-input: Added /dev/input/event15
[2016-05-09 12:00:27.814754] evdev-input: Added /dev/input/event7

which shows both the capacitive finger touchscreen (event8) and the wacom pen sensor (event5).

Running 'evtest' shows these both work separately but Mir only responds to finger touch (event8).

Here's some evtest output from the wacom (Wacom ISDv4 EC Pen) sensor on event5:

Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x56a product 0xec version 0x110
Input device name: "Wacom ISDv4 EC Pen"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 320 (BTN_TOOL_PEN)
    Event code 321 (BTN_TOOL_RUBBER)
    Event code 330 (BTN_TOUCH)
    Event code 331 (BTN_STYLUS)
    Event code 332 (BTN_STYLUS2)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value 12652
      Min 0
      Max 27748
      Fuzz 4
      Resolution 108
    Event code 1 (ABS_Y)
      Value 10657
      Min 0
      Max 15652
      Fuzz 4
      Resolution 108
    Event code 24 (ABS_PRESSURE)
      Value 0
      Min 0
      Max 1023
Properties:
  Property type 1 (INPUT_PROP_DIRECT)
Testing ... (interrupt to exit)
Event: time 1462766639.792421, type 3 (EV_ABS), code 0 (ABS_X), value 5116
Event: time 1462766639.792421, type 3 (EV_ABS), code 1 (ABS_Y), value 6667
Event: time 1462766639.792421, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 1
Event: time 1462766639.792421, -------------- SYN_REPORT ------------
Event: time 1462766639.800413, type 3 (EV_ABS), code 1 (ABS_Y), value 6695
Event: time 1462766639.800413, -------------- SYN_REPORT ------------
Event: time 1462766639.804409, type 3 (EV_ABS), code 0 (ABS_X), value 5126
Event: time 1462766639.804409, type 3 (EV_ABS), code 1 (ABS_Y), value 6729
Event: time 1462766639.804409, -------------- SYN_REPORT ------------
Event: time 1462766639.812417, type 3 (EV_ABS), code 0 (ABS_X), value 5136
Event: time 1462766639.812417, type 3 (EV_ABS), code 1 (ABS_Y), value 6764
Event: time 1462766639.812417, -------------- SYN_REPORT ------------
Event: time 1462766639.820419, type 3 (EV_ABS), code 0 (ABS_X), value 5151
Event: time 1462766639.820419, type 3 (EV_ABS), code 1 (ABS_Y), value 6806