Re: hid-multitouch touchscreen Elo 2515 - no events processed

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

 



On Fri, Oct 26, 2018 at 8:50 PM Dominik Strnad
<dominik.strnad@xxxxxxxxxx> wrote:
>
> Hello,
>
> I dig a little bit more and it seems that Elo 2515-07 is not HID compatible. :-o
>
> From Elo drivers docs: https://assets.ctfassets.net/of6pv6scuh5x/3YNQgJhGpWGOA2WoISSuES/3e8c02f8c0c22752580b47a53d643270/Linux_Multi_Touch_2.5.0_64-bit_installation.pdf
>
> ....
> Supported Touchmonitors and Elo Touchscreen Controllers
> .....
>     IntelliTouch Plus/iTouch Plus 2515-07(non HID)
>
>
> On the other hands it seems that kernel part of Elo multitouch driver is licensed under GPL: https://assets.ctfassets.net/of6pv6scuh5x/55rqOoiK9qq4c6Q62Skk2O/a2b751e99238065290eb09b2b63ac7ba/SW602617_Elo_Linux_MT_USB_Driver_v2.5.0_x86_64.tar - see file elo_mt_input.c
>
> I am only afraid, that it requires Elo proprietary "Elo USB Touchscreen Driver Daemon" to work, but I am currently trying to learn more (Unfortunately I am definitely not kernel developer neither C guy :-)

Sigh, that 'driver' is just a procfs entry that creates an input node
and injects events in it. And guess what? We have uinput that does
exactly this for quite a long time with a much better coverage (and
with an actual char device).

Anyway, this basically mean that you have a binary blob (elomtusb)
that talks to the device and there is no GPL code in that.
So unless someone at Elo is willing to upstream the driver into
something sensible, or unless someone rev-engineers this, there is a
very little chance you'll have your touchscreen working with a vanilla
kernel.

Sorry.

Cheers,
Benjamin

>
> BR
> Dominik
>
> ______________________________________________________________
> > Od: "Dominik Strnad" <dominik.strnad@xxxxxxxxxx>
> > Komu: "linux-input@xxxxxxxxxxxxxxx" <linux-input@xxxxxxxxxxxxxxx>
> > Datum: 26.10.2018 20:26
> > Předmět: Re: hid-multitouch touchscreen Elo 2515 - no events processed
> >
> >Hello,
> >
> >thank you for reply and sorry for late answer - I was traveling recently. I did compiled and installed hid-replay from sources. Unfortunately for some reason I am not getting any events from given /dev/hidraw device (even using --defbugfs):
> >
> >
> >fmc@fmc:~$ sudo hid-recorder /dev/hidraw4
> >D: 0
> >R: 273 05 0d 09 04 a1 01 85 01 09 22 a1 02 09 42 15 00 25 01 75 01 95 01 81 02 09 32 81 02 95 06 81 03 75 08 09 51 95 01 81 02 05 01 26 ff 0f 75 10 55 0e 65 33 09 30 35 00 46 ff 0f 81 02 46 ff 0f 09 31 81 02 c0 a1 02 05 0d 09 42 15 00 25 01 75 01 95 01 81 02 09 32 81 02 95 06 81 03 75 08 09 51 95 01 81 02 05 01 26 ff 0f 75 10 55 00 65 00 09 30 35 00 46 ff 0f 81 02 46 ff 0f 09 31 81 02 c0 05 0d 09 54 25 10 95 01 75 08 81 02 85 08 09 55 25 02 b1 02 c0 09 0e a1 01 85 07 09 22 a1 00 09 52 09 53 15 00 25 0a 75 08 95 02 b1 02 c0 06 00 ff 09 55 85 80 15 00 26 ff 00 75 08 95 01 b1 82 c0 05 01 09 02 a1 01 85 54 09 01 a1 00 05 09 19 01 29 02 15 00 25 01 75 01 95 02 81 02 95 06 81 03 05 01 09 30 15 00 26 ff 0f 75 10 95 01 81 02 09 31 75 10 95 01 81 02 09 3b 16 00 00 26 00 01 36 00 00 46 00 01 66 00 00 75 10 95 01 81 62 c0 c0
> >N: Elo TouchSystems Elo TouchSystems 2515 iTouch Plus USB Touchmonitor
> >P: usb-0000:00:12.1-1/input0
> >I: 3 04e7 0126
> >^C
> >No events where recorded.
> >You may need to add the option "--debugfs" to get more recordings.
> >
> >
> >
> >fmc@fmc:~$ sudo hid-recorder -d /dev/hidraw4
> >D: 0
> >R: 273 05 0d 09 04 a1 01 85 01 09 22 a1 02 09 42 15 00 25 01 75 01 95 01 81 02 09 32 81 02 95 06 81 03 75 08 09 51 95 01 81 02 05 01 26 ff 0f 75 10 55 0e 65 33 09 30 35 00 46 ff 0f 81 02 46 ff 0f 09 31 81 02 c0 a1 02 05 0d 09 42 15 00 25 01 75 01 95 01 81 02 09 32 81 02 95 06 81 03 75 08 09 51 95 01 81 02 05 01 26 ff 0f 75 10 55 00 65 00 09 30 35 00 46 ff 0f 81 02 46 ff 0f 09 31 81 02 c0 05 0d 09 54 25 10 95 01 75 08 81 02 85 08 09 55 25 02 b1 02 c0 09 0e a1 01 85 07 09 22 a1 00 09 52 09 53 15 00 25 0a 75 08 95 02 b1 02 c0 06 00 ff 09 55 85 80 15 00 26 ff 00 75 08 95 01 b1 82 c0 05 01 09 02 a1 01 85 54 09 01 a1 00 05 09 19 01 29 02 15 00 25 01 75 01 95 02 81 02 95 06 81 03 05 01 09 30 15 00 26 ff 0f 75 10 95 01 81 02 09 31 75 10 95 01 81 02 09 3b 16 00 00 26 00 01 36 00 00 46 00 01 66 00 00 75 10 95 01 81 62 c0 c0
> >N: Elo TouchSystems Elo TouchSystems 2515 iTouch Plus USB Touchmonitor
> >P: usb-0000:00:12.1-1/input0
> >I: 3 04e7 0126
> >reading debug interface /sys/kernel/debug/hid/0003:04E7:0126.000B/events instead of /dev/hidraw4
> >^C
> >No events where recorded.
> >You may need to remove the option "--debugfs" to get more recordings.
> >
> >
> >But hid-replay seems to be working OK itself, as I ma able to catch for example my mouse events. I am only able to get some events from usbhid-dump. (see my previous post)
> >
> >Kind regards
> >
> >Dominik
> >
> >
> >______________________________________________________________
> >> Od: "Benjamin Tissoires" <benjamin.tissoires@xxxxxxxxx>
> >> Komu: dominik.strnad@xxxxxxxxxx
> >> Datum: 23.10.2018 12:52
> >> Předmět: Re: hid-multitouch touchscreen Elo 2515 - no events processed
> >>
> >On Mon, Oct 22, 2018 at 2:30 AM Dominik Strnad
> > <dominik.strnad@xxxxxxxxxx> wrote:
> > >
> > > Helo,
> > >
> > > I did re-tested my toucscreen on another system with newer kernel, unfortunately with completely same behavior (no event being generated) - please see atached report.
> > >
> > > Is there anything I could try more? Any hint? Most of the emails on this mailing list seems to be auto generated patch messages, so is this list stil alive and right place to ask for help with given problem? Thank you for any answer.
> > >
> > > Kind regards
> > > Dominik
> > >
> > >
> > > fmc@fmc:~$ uname -a
> > > Linux fmc 4.18.16-041816-generic #201810200431 SMP Sat Oct 20 08:33:06 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
> > >
> > > fmc@fmc:~$ dmesg
> > > ...
> > > [    5.307081] usb 4-1: Product: Elo TouchSystems 2515 iTouch Plus USB Touchmonitor
> > > [    5.307084] usb 4-1: Manufacturer: Elo TouchSystems
> > > [    5.317912] input: Elo TouchSystems Elo TouchSystems 2515 iTouch Plus USB Touchmonitor Touchscreen as /devices/pci0000:00/0000:00:12.1/usb4/4-1/4-1:1.0/0003:04E7:0126.0008/input/input14
> > > [    5.352438] input: Elo TouchSystems Elo TouchSystems 2515 iTouch Plus USB Touchmonitor Mouse as /devices/pci0000:00/0000:00:12.1/usb4/4-1/4-1:1.0/0003:04E7:0126.0008/input/input15
> > > [    5.352667] hid-generic 0003:04E7:0126.0008: input,hiddev1,hidraw5: USB HID v1.11 Mouse [Elo TouchSystems Elo TouchSystems 2515 iTouch Plus USB Touchmonitor] on usb-0000:00:12.1-1/input0
> > > [    9.292388] input: Elo TouchSystems Elo TouchSystems 2515 iTouch Plus USB Touchmonitor as /devices/pci0000:00/0000:00:12.1/usb4/4-1/4-1:1.0/0003:04E7:0126.0008/input/input16
> > > [    9.293164] hid-multitouch 0003:04E7:0126.0008: input,hiddev1,hidraw5: USB HID v1.11 Mouse [Elo TouchSystems Elo TouchSystems 2515 iTouch Plus USB Touchmonitor] on usb-0000:00:12.1-1/input0
> > >
> > >
> > >
> > > fmc@fmc:~$sudo lsusb -vvv
> > >
> > > ....
> > > Bus 004 Device 002: ID 04e7:0126 Elo TouchSystems
> > > Device Descriptor:
> > >   bLength                18
> > >   bDescriptorType         1
> > >   bcdUSB               2.00
> > >   bDeviceClass            0 (Defined at Interface level)
> > >   bDeviceSubClass         0
> > >   bDeviceProtocol         0
> > >   bMaxPacketSize0        64
> > >   idVendor           0x04e7 Elo TouchSystems
> > >   idProduct          0x0126
> > >   bcdDevice            1.22
> > >   iManufacturer           1 Elo TouchSystems
> > >   iProduct                2 Elo TouchSystems 2515 iTouch Plus USB Touchmonitor
> > >   iSerial                 3 22009996
> > >   bNumConfigurations      1
> > >   Configuration Descriptor:
> > >     bLength                 9
> > >     bDescriptorType         2
> > >     wTotalLength           34
> > >     bNumInterfaces          1
> > >     bConfigurationValue     1
> > >     iConfiguration          0
> > >     bmAttributes         0xe0
> > >       Self Powered
> > >       Remote Wakeup
> > >     MaxPower                4mA
> > >     Interface Descriptor:
> > >       bLength                 9
> > >       bDescriptorType         4
> > >       bInterfaceNumber        0
> > >       bAlternateSetting       0
> > >       bNumEndpoints           1
> > >       bInterfaceClass         3 Human Interface Device
> > >       bInterfaceSubClass      0 No Subclass
> > >       bInterfaceProtocol      0 None
> > >       iInterface              0
> > >         HID Device Descriptor:
> > >           bLength                 9
> > >           bDescriptorType        33
> > >           bcdHID               1.11
> > >           bCountryCode            0 Not supported
> > >           bNumDescriptors         1
> > >           bDescriptorType        34 Report
> > >           wDescriptorLength     273
> > >          Report Descriptors:
> > >            ** UNAVAILABLE **
> > >       Endpoint Descriptor:
> > >         bLength                 7
> > >         bDescriptorType         5
> > >         bEndpointAddress     0x81  EP 1 IN
> > >         bmAttributes            3
> > >           Transfer Type            Interrupt
> > >           Synch Type               None
> > >           Usage Type               Data
> > >         wMaxPacketSize     0x0040  1x 64 bytes
> > >         bInterval               3
> > > Device Status:     0x0001
> > >   Self Powered
> > >
> > >
> > >
> > > fmc@fmc:~$ cat /proc/bus/input/devices
> > > ...
> > >
> > > I: Bus=0003 Vendor=04e7 Product=0126 Version=0111
> > > N: Name="Elo TouchSystems Elo TouchSystems 2515 iTouch Plus USB Touchmonitor"
> > > P: Phys=usb-0000:00:12.1-1/input0
> > > S: Sysfs=/devices/pci0000:00/0000:00:12.1/usb4/4-1/4-1:1.0/0003:04E7:0126.0008/input/input16
> > > U: Uniq=22009996
> > > H: Handlers=mouse1 event7
> > > B: PROP=2
> > > B: EV=b
> > > B: KEY=400 0 0 0 0 0
> > > B: ABS=260800000000003
> > >
> > >
> > >
> > > fmc@fmc:~$ sudo evtest --grab /dev/input/event7
> > > Input driver version is 1.0.1
> > > Input device ID: bus 0x3 vendor 0x4e7 product 0x126 version 0x111
> > > Input device name: "Elo TouchSystems Elo TouchSystems 2515 iTouch Plus USB Touchmonitor"
> > > 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      0
> > >       Min        0
> > >       Max     4095
> > >     Event code 1 (ABS_Y)
> > >       Value      0
> > >       Min        0
> > >       Max     4095
> > >     Event code 47 (ABS_MT_SLOT)
> > >       Value      0
> > >       Min        0
> > >       Max        1
> > >     Event code 53 (ABS_MT_POSITION_X)
> > >       Value      0
> > >       Min        0
> > >       Max     4095
> > >     Event code 54 (ABS_MT_POSITION_Y)
> > >       Value      0
> > >       Min        0
> > >       Max     4095
> > >     Event code 57 (ABS_MT_TRACKING_ID)
> > >       Value      0
> > >       Min        0
> > >       Max    65535
> > > Properties:
> > >   Property type 1 (INPUT_PROP_DIRECT)
> > > Testing ... (interrupt to exit)
> > >
> > >
> > >
> > > ^Cfmc@fmc:~$ sudo usbhid-dump -m 04E7:0126 -es
> > > Starting dumping interrupt transfer stream
> > > with 1 minute timeout.
> > >
> > > 004:002:000:STREAM             1540167480.281423
> > >  0D 58 E6 03 01 4A 0D 04 1A 11 32 0B 06 2A
> > >
> > > 004:002:000:STREAM             1540167480.289369
> > >  0D 58 EE 04 01 4F 0D 05 28 11 2F 0B 05 30
> > >
> > > 004:002:000:STREAM             1540167480.297421
> > >  0D 58 F6 05 01 4F 0D 05 36 11 2D 0B 05 42
> > >
> > > 004:002:000:STREAM             1540167480.305377
> > >  0D 58 FE 06 01 4E 0D 05 40 11 2A 0B 05 49
> > >
> > > 004:002:000:STREAM             1540167480.313456
> > >  0D 59 06 07 01 4D 0D 06 45 11 29 0B 05 4E
> > >
> > > 004:002:000:STREAM             1540167480.321380
> > >  0D 59 0E 08 01 4B 0D 06 4A 11 2A 0B 05 55
> > >
> > > 004:002:000:STREAM             1540167480.329433
> > >  0D 59 16 09 01 4B 0D 06 4C 11 28 0B 05 59
> > >
> > > 004:002:000:STREAM             1540167480.337464
> > >  0D 59 1E 0A 01 4B 0D 06 50 11 2A 0B 05 5D
> > >
> > > 004:002:000:STREAM             1540167480.345422
> > >  0D 59 26 0B 01 4A 0D 06 54 11 29 0B 05 5F
> > >
> > > 004:002:000:STREAM             1540167480.353391
> > >  0D 59 2E 0C 01 49 0D 06 58 11 27 0B 06 63
> > >
> > > 004:002:000:STREAM             1540167480.361382
> > >  0D 59 36 0D 01 48 0D 06 5C 11 27 0B 06 65
> > >
> > > 004:002:000:STREAM             1540167480.369381
> > >  0D 59 3E 0E 01 47 0D 06 5D 11 27 0B 06 69
> > >
> > > 004:002:000:STREAM             1540167480.377447
> > >  0D 59 46 0F 01 47 0D 06 60 11 27 0B 06 6B
> > >
> > > 004:002:000:STREAM             1540167480.385462
> > >  0D 59 4E 00 01 46 0D 06 63 11 27 0B 06 6D
> > >
> > > 004:002:000:STREAM             1540167480.393450
> > >  0D 59 56 01 01 45 0D 06 65 11 27 0B 06 6E
> > >
> > > 004:002:000:STREAM             1540167480.401479
> > >  0D 59 5E 02 01 45 0D 06 66 11 27 0B 06 6F
> > >
> > > 004:002:000:STREAM             1540167480.409442
> > >  0D 59 66 03 01 43 0D 06 67 11 27 0B 07 6F
> > >
> > > 004:002:000:STREAM             1540167480.417405
> > >  0D 59 6E 04 01 44 0D 05 68 11 27 0B 07 6F
> > >
> > > 004:002:000:STREAM             1540167480.425396
> > >  0D 59 76 05 01 43 0D 05 69 11 29 0B 07 6F
> > >
> > > 004:002:000:STREAM             1540167480.433394
> > >  0D 59 7E 06 01 42 0D 06 69 11 2A 0B 07 6F
> > >
> > > 004:002:000:STREAM             1540167480.441457
> > >  0D 59 86 07 01 43 0D 05 6A 11 2A 0B 06 6E
> > >
> > > 004:002:000:STREAM             1540167480.449388
> > >  0D 59 8E 08 01 42 0D 06 68 11 2B 0B 06 6D
> > >
> > > 004:002:000:STREAM             1540167480.457427
> > >  0D 59 96 09 01 42 0D 06 66 11 2C 0B 06 6A
> > >
> > > 004:002:000:STREAM             1540167480.465393
> > >  0D 59 9E 0A 01 42 0D 06 62 11 2E 0B 06 66
> > >
> > > 004:002:000:STREAM             1540167480.473419
> > >  0D 59 A6 0B 01 42 0D 06 5D 11 2F 0B 06 5F
> > >
> > > 004:002:000:STREAM             1540167480.481404
> > >  0D 59 AE 0C 01 42 0D 06 51 11 31 0B 06 55
> > >
> > > 004:002:000:STREAM             1540167480.489455
> > >  0D 59 B6 0D 01 42 0D 05 3E 11 34 0B 06 3F
> > >
> > > 004:002:000:STREAM             1540167480.497387
> > >  0D 59 BE 0E 01 43 0D 05 17 11 3A 0B 05 14
> > >
> > > 004:002:000:STREAM             1540167480.503436
> > >  05 59 C6 0F 00 10
> > >
> > > 004:002:000:STREAM             1540167480.511441
> > >  05 59 CE 00 00 10
> > >
> > > 004:002:000:STREAM             1540167480.519407
> > >  05 59 D6 01 00 10
> > >
> > > 004:002:000:STREAM             1540167480.527413
> > >  05 59 DE 02 00 10
> > >
> > > 004:002:000:STREAM             1540167480.535401
> > >  05 59 E6 03 00 10
> > >
> > > ^C
> > >
> > >
> > >
> > >
> > >
> > > ______________________________________________________________
> > > > Od: "Dominik Strnad" <dominik.strnad@xxxxxxxxxxxxxxxxx>
> > > > Komu: linux-input@xxxxxxxxxxxxxxx
> > > > Datum: 14.10.2018 15:32
> > > > Předmět: hid-multitouch touchscreen Elo 2515 - no events processed
> > > >
> > > Hello,
> > >
> > >  I am having problem to get Elo 2515 to work (no event detected by evtest)
> > >
> > >  Kernel 4.15, (ubuntu 16.04) 4.15.0-36-generic (I did checked also newest kernel source, seems no related changes in latest 4.15.18)
> > >
> > >  touchscreen: Elo TouchSystems Elo TouchSystems 2515 iTouch Plus USB Touchmonitor (monitor Elo 2740L SAW technology)
> > >
> > >  - Touch screen in detected and works under Windows 10 with Elo drivers
> > >
> > >  - Touchscreen is detected under Linux, driver hid-multitouch loaded, raw event seen by usbhid-dump (both single touch and dual touch), but no events detected by evtest (therefore no input to X)
> >
> > Indeed, there are events, but we can't process them and see what to do
> > with them without knowing the report descriptors.
> >
> > Can you redo a recording of single and dual touch events with
> > hid-recorder (http://bentiss.github.io/hid-replay-docs/)?
> >
> > This way I'll be able to see what is wrong and hopefully provide a solution.
> >
> > Cheers,
> > Benjamin
> >
> > >
> > >  Any help getting this to work is appreciated, thank you.
> > >  Dominik
> > >
> > >
> >
> >




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux