USB Touchscreen displaying cursor in Weston

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm currently looking into an issue we are having with a USB touchscreen controller causing Weston to display a cursor when plugged in.

The device is an "Elo TouchSystems 2216 AccuTouch USB Touchmonitor Interface", which is being handled by hid-generic.

Weston (via libinput) is detecting this device as a mouse:

Jan 12 12:38:36 GE00409729044C weston[387]: [12:38:36.674] input device 'EloTouchSystems,Inc Elo TouchSystems 2216 AccuTouch® USB Touchmonitor Interface', /dev/input/event5 is tagged by udev as: Mouse
Jan 12 12:38:36 GE00409729044C weston[387]: [12:38:36.676] input device 'EloTouchSystems,Inc Elo TouchSystems 2216 AccuTouch® USB Touchmonitor Interface', /dev/input/event5 is a pointer caps

Looking at the device capabilities and properties:

    # cat /sys/class/input/event5/device/capabilities/abs
    100 3
    # cat /sys/class/input/event5/device/capabilities/key
    10000 0 0 0 0 0 0 0 0
    # cat /sys/class/input/event5/device/properties 
    0

I think I'm right in saying that this device is providing ABS_X, ABS_Y, ABS_MISC and BTN_LEFT (or BTN_MOUSE as they are the same code).

So, looking at the code paths in libinput I believe this is being detected as a "VMware's USB mouse".

>From what I understand, a touchscreen should be claiming BTN_TOUCH rather than BTN_LEFT, which seems to be the case as a second device that I have access to (Dialogue Technology Corp. PenMount USB) which is working.

I see that the PenMount device has a routine that patches up some of the button mapping. Is that what I need to do for this device as well?

Thanks in advance,

Martyn



--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux