Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8095269

[Lens] Raspberry Pi + touchscreen does not work

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 8
    • Fix Version/s: 9
    • Component/s: javafx
    • Environment:

      Raspberry Pi, Raspbian GNU/Linux 7 (wheezy), Dell P2714T

      Description

      Hi,

      my setup is a raspberry pi and a Dell P2714T touch screen monitor.
      In my JavaFX application, the touch events are not recognized, only giving output:
      "Mar 28, 2014 7:35:18 AM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      SEVERE: 3640 udevInput.c:1596 lens_input_pointerEvents_handleSync: malformed multi touch event - ignoring"

      I am running: jdk-8-linux-arm-vfp-hflt.gz.
      When I tried an older version of javafx (jdk-8-ea-b97-linux-arm-vfp-hflt-03_jul_2013.gz) the touch events are registered and working, I guess this is since JavaFX is not trying to handle the multi touch events.

      At the moment there is no need for multitouch in my application, is it possible to somehow disable the multitouch handling?

      (When I run LXDE the touchscreen works fine, have not tested multitouch though.)

      Output from running evtest:
      Input driver version is 1.0.1
      Input device ID: bus 0x3 vendor 0x2149 product 0x270b version 0x110
      Input device name: "Advanced Silicon S.A CoolTouch(TM) System"
      Supported events:
        Event type 0 (EV_SYN)
        Event type 1 (EV_KEY)
          Event code 330 (BTN_TOUCH)
        Event type 3 (EV_ABS)
          Event code 0 (ABS_X)
            Value 3676
            Min 0
            Max 32767
            Resolution 55
          Event code 1 (ABS_Y)
            Value 25010
            Min 0
            Max 32767
            Resolution 98
          Event code 47 (ABS_MT_SLOT)
            Value 0
            Min 0
            Max 9
          Event code 53 (ABS_MT_POSITION_X)
            Value 0
            Min 0
            Max 32767
            Resolution 55
          Event code 54 (ABS_MT_POSITION_Y)
            Value 0
            Min 0
            Max 32767
            Resolution 98
          Event code 57 (ABS_MT_TRACKING_ID)
            Value 0
            Min 0
            Max 65535
      Properties:
        Property type 1 (INPUT_PROP_DIRECT)
      Testing ... (interrupt to exit)
      Event: time 1395996149.808222, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 45
      Event: time 1395996149.808222, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 17979
      Event: time 1395996149.808222, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 11263
      Event: time 1395996149.808222, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
      Event: time 1395996149.808222, type 3 (EV_ABS), code 0 (ABS_X), value 17979
      Event: time 1395996149.808222, type 3 (EV_ABS), code 1 (ABS_Y), value 11263
      Event: time 1395996149.808222, -------------- SYN_REPORT ------------
      Event: time 1395996149.820188, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 17980
      Event: time 1395996149.820188, type 3 (EV_ABS), code 0 (ABS_X), value 17980
      Event: time 1395996149.820188, -------------- SYN_REPORT ------------
      Event: time 1395996149.825219, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 17981
      Event: time 1395996149.825219, type 3 (EV_ABS), code 0 (ABS_X), value 17981
      Event: time 1395996149.825219, -------------- SYN_REPORT ------------
      Event: time 1395996149.837190, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 17982
      Event: time 1395996149.837190, type 3 (EV_ABS), code 0 (ABS_X), value 17982
      Event: time 1395996149.837190, -------------- SYN_REPORT ------------
      Event: time 1395996149.843220, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 17983
      Event: time 1395996149.843220, type 3 (EV_ABS), code 0 (ABS_X), value 17983
      Event: time 1395996149.843220, -------------- SYN_REPORT ------------
      Event: time 1395996149.866199, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1
      Event: time 1395996149.866199, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
      Event: time 1395996149.866199, -------------- SYN_REPORT ------------
      Event: time 1395996150.727325, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 46
      Event: time 1395996150.727325, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 8227
      Event: time 1395996150.727325, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 13791
      Event: time 1395996150.727325, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
      Event: time 1395996150.727325, type 3 (EV_ABS), code 0 (ABS_X), value 8227
      Event: time 1395996150.727325, type 3 (EV_ABS), code 1 (ABS_Y), value 13791
      Event: time 1395996150.727325, -------------- SYN_REPORT ------------
      Event: time 1395996150.761290, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 8228
      Event: time 1395996150.761290, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 13793
      Event: time 1395996150.761290, type 3 (EV_ABS), code 0 (ABS_X), value 8228
      Event: time 1395996150.761290, type 3 (EV_ABS), code 1 (ABS_Y), value 13793
      Event: time 1395996150.761290, -------------- SYN_REPORT ------------
      Event: time 1395996150.767316, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 8232
      Event: time 1395996150.767316, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 13800
      Event: time 1395996150.767316, type 3 (EV_ABS), code 0 (ABS_X), value 8232
      Event: time 1395996150.767316, type 3 (EV_ABS), code 1 (ABS_Y), value 13800
      Event: time 1395996150.767316, -------------- SYN_REPORT ------------
      Event: time 1395996150.773318, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 8240
      Event: time 1395996150.773318, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 13814
      Event: time 1395996150.773318, type 3 (EV_ABS), code 0 (ABS_X), value 8240
      Event: time 1395996150.773318, type 3 (EV_ABS), code 1 (ABS_Y), value 13814
      Event: time 1395996150.773318, -------------- SYN_REPORT ------------
      Event: time 1395996150.796287, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1
      Event: time 1395996150.796287, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
      Event: time 1395996150.796287, -------------- SYN_REPORT ------------

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dblaukop Daniel Blaukopf (Inactive)
                Reporter:
                jliljekrajfx Johan Liljekrantz (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: