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

[Lens] No Touch and no Multitouch Events work with Sharp Touchmonitor LL-S201A

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 8
    • javafx
    • Hardware: Raspberry Pi
      OS: Raspbian - Debian 7.2 (2014-01-07), Kernel 3.10.25
      JDK: 8 Build b129

      No Touch Event support at all.
      I run a simple JavaFX App (Netbeans JavaFX App template) with only a button and some Platform.isSupported printouts. The app works normal on desktop, but on raspberry I get:
      Check ConditionalFeature.INPUT_POINTER: no
      Check ConditionalFeature.INPUT_TOUCH: yes
      Check ConditionalFeature.INPUT_MULTITOUCH: no
      Feb 13, 2014 5:31:50 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      SEVERE: 2165 udevInput.c:1596 lens_input_pointerEvents_handleSync: malformed multi touch event - ignoring

      I am using Multitouch-Monitor: Sharp LL-S201A (V:04DD P:969B)
      $lsinput reports one device:
      /dev/input/event0
         bustype : BUS_USB
         vendor : 0x4dd
         product : 0x969b
         version : 273
         name : "SHARP LL-S201A"
         phys : "usb-bcm2708_usb-1.2/input0"
         uniq : ""
         bits ev : EV_SYN EV_KEY EV_ABS

      The touch and multitouch works fine with X.

      Some output from running the app with -Dlog.lens=fine:
      ...
      CONFIG: 2197 udevInput.c:519 lens_input_udevFindDevices: [device discovery] Searching for 'ID_INPUT' property to see if device is a valid input device
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      FINE: 2197 udevInput.c:572 lens_input_deviceAllocateAndInit: Allocated device 0x1055338
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      FINE: 2197 udevInput.c:719 lens_input_deviceInfoAllocateAndInit: Allocated device info 0x105b028
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      FINE: 2197 udevInput.c:788 lens_input_deviceOpen: open(/dev/input/event0) returned 10
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      FINE: 2197 udevInput.c:768 lens_input_mouseStateAllocateAndInit: [Mouse State] Setting up mouse for SHARP LL-S201A
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      FINE: 2197 udevInput.c:770 lens_input_mouseStateAllocateAndInit: [Mouse State] Allocated device pointer state 0x1065510
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication notifyDeviceEvent
      FINE: Notify device event attach=true, flags=0x1
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      ...
      CONFIG: 2197 udevInput.c:2580 lens_input_printDevices: =========================
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      CONFIG: 2197 udevInput.c:2581 lens_input_printDevices: Name: SHARP LL-S201A
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      CONFIG: 2197 udevInput.c:2582 lens_input_printDevices: Path: /dev/input/event0
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      CONFIG: 2197 udevInput.c:2583 lens_input_printDevices: sysPath /sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input0/event0
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      CONFIG: 2197 udevInput.c:2584 lens_input_printDevices: fd: 10
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      CONFIG: 2197 udevInput.c:2585 lens_input_printDevices: Product: 3/4dd/969b/111
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      CONFIG: 2197 udevInput.c:2586 lens_input_printDevices: VendorId: 4dd
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      CONFIG: 2197 udevInput.c:2587 lens_input_printDevices: ProductId: 969b
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      CONFIG: 2197 udevInput.c:2596 lens_input_printDevices: device is touch

      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      CONFIG: 2197 udevInput.c:2598 lens_input_printDevices: =========================

      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      CONFIG: 2197 udevInput.c:2603 lens_input_printDevices: Device count = 1
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      CONFIG: 2197 udevInput.c:552 lens_input_udevFindDevices: Enumerating input devices... finished
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      FINE: 2197 udevInput.c:1100 lens_input_epolladdDevice: epollctl(12, EPOLL_CTL_ADD, fd=10, device=0x1055338)
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      FINE: 2197 LensApplication.c:313 glass_application_request_native_event_loop: Creating native event thread
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication createNativeEventThread
      INFO: Starting native event thread
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      FINE: 2197 LensApplication.c:318 glass_application_request_native_event_loop: Created native event thread
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication registerEventLoop
      INFO: activeEventLoopThreads := 2
      Feb 13, 2014 6:01:17 PM com.sun.glass.ui.lens.LensApplication nativeEventLoop
      FINE: 2198 LensApplication.c:330 Java_com_sun_glass_ui_lens_LensApplication_nativeEventLoop: Calling native event loop callback

            dblaukop Daniel Blaukopf (Inactive)
            filterpunjfx FilterPunk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: