Weston-touch-calibrator problem: no devices listed

Hello,

I added a touchscreen to the verdin development board’s usb port, gave the command evtest and the driver was found, as shown below:

/dev/input/event3: EloTouchSystems,Inc Elo TouchSystems 2216 AccuTouch® USB

I configured the weston.ini and added it to the file: save-calibration.sh in /usr/bin, as per the link:

When I give the command weston-touch-calibrator, I get as a response that no touch device was listed. What would be the problem?

Can you run “udevadm info /dev/input/event3”, “ls -la /dev/input”, and post your entire kernel startup?

Hello @DaveM, how are you?

udevadm info /dev/input/event3 result:

root@verdin-imx8mm-06827388:~# udevadm info /dev/input/event3
P: /devices/platform/soc@0/soc@0:bus@32c00000/32e50000.usb/ci_hdrc.1/usb1/1-1/1-1.1/1-1.1:1.0/0003:04E7:0050.0001/input/input3/event3
N: input/event3
L: 0
S: input/by-id/usb-EloTouchSystems_Inc_Elo_TouchSystems_2216_AccuTouch®_USB_Touchmonitor_Interface_50U09843-event-mouse
S: input/by-path/platform-ci_hdrc.1-usb-0:1.1:1.0-event-mouse
E: DEVPATH=/devices/platform/soc@0/soc@0:bus@32c00000/32e50000.usb/ci_hdrc.1/usb1/1-1/1-1.1/1-1.1:1.0/0003:04E7:0050.0001/input/input3/event3
E: DEVNAME=/dev/input/event3
E: MAJOR=13
E: MINOR=67
E: SUBSYSTEM=input
E: USEC_INITIALIZED=5892218
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_VENDOR=EloTouchSystems_Inc
E: ID_VENDOR_ENC=EloTouchSystems\x2cInc
E: ID_VENDOR_ID=04e7
E: ID_MODEL=Elo_TouchSystems_2216_AccuTouch®_USB_Touchmonitor_Interface
E: ID_MODEL_ENC=Elo\x20TouchSystems\x202216\x20AccuTouch®\x20USB\x20Touchmonitor\x20Interface
E: ID_MODEL_ID=0050
E: ID_REVISION=0100
E: ID_SERIAL=EloTouchSystems_Inc_Elo_TouchSystems_2216_AccuTouch®_USB_Touchmonitor_Interface_50U09843
E: ID_SERIAL_SHORT=50U09843
E: ID_TYPE=hid
E: ID_BUS=usb
E: ID_USB_INTERFACES=:030000:
E: ID_USB_INTERFACE_NUM=00
E: ID_USB_DRIVER=usbhid
E: ID_PATH=platform-ci_hdrc.1-usb-0:1.1:1.0
E: ID_PATH_TAG=platform-ci_hdrc_1-usb-0_1_1_1_0
E: LIBINPUT_DEVICE_GROUP=3/4e7/50:usb-ci_hdrc.1-1
E: DEVLINKS=/dev/input/by-id/usb-EloTouchSystems_Inc_Elo_TouchSystems_2216_AccuTouch®_USB_Touchmonitor_Interface_50U09843-event-mouse /dev/input/by-path/platform-ci_hdrc.1-usb-0:1.1:1.0-event-mouse

ls -la /dev/input result:

root@verdin-imx8mm-06827388:~# ls -la /dev/input
total 0
drwxr-xr-x  4 root root     260 Apr  1 16:18 .
drwxr-xr-x 16 root root    4940 Apr  1 16:18 ..
drwxr-xr-x  2 root root     120 Apr  1 16:18 by-id
drwxr-xr-x  2 root root     180 Apr  1 16:18 by-path
crw-rw----  1 root input 13, 64 Apr  1 16:18 event0
crw-rw----  1 root input 13, 65 Apr  1 16:18 event1
crw-rw----  1 root input 13, 66 Apr  1 16:18 event2
crw-rw----  1 root input 13, 67 Apr  1 16:18 event3
crw-rw----  1 root input 13, 68 Apr  1 16:18 event4
crw-rw----  1 root input 13, 69 Apr  1 16:18 event5
crw-rw----  1 root input 13, 70 Apr  1 16:18 event6
crw-rw----  1 root input 13, 71 Apr  1 16:18 event7
crw-rw----  1 root input 13, 72 Apr  1 16:18 event8

Thanks my dear!

How about the kernel output during startup? Via “dmesg” then?

Interesting how there is no /dev/touchscreen that’s created. Doesn’t seem like udev thinks that is a touchscreen, but just a mouse. Not sure if that’s messing anything up.

Are you using the Torizon stuff? I believe there is some more nice log data in that calibration container.

Might also be nice to run evtest again on this particular device and show the output as you touch and move your finger around the device.

@DaveM, Initialization takes a maximum of 30 seconds. I’m using the Toradex Reference Image here for the Verdin imx8mm.

Through the dmesg command, I got the following output, in relation to touch:

[ 3.921955] usb 1-1.1: New full-speed USB device number 4 using ci_hdrc
[ 3.932553] systemd[1]: Target hostname and network lookups achieved.
[ 3.945006] systemd[1]: Destination paths reached.
[ 3.955208] systemd[1]: Target remote file systems reached.
[ 3.966590] systemd[1]: Target slices hit.
[ 3.976764] systemd[1]: Target switch achieved.
[ 3.999330] systemd[1]: Listening on activation socket from RPCbind server.
[ 4.012755] systemd[1]: Destination RPC port mapper reached.
[4.025793] systemd[1]: Listening on Syslog socket.
[4.036886] systemd[1]: Listening on named pipe compatibility initctl.
[ 4.050121] entry: EloTouchSystems,Inc Elo TouchSystems 2216 AccuTouch\xc2\xa and USB Touchmonitor Interface as /devices/platform/soc@0/soc@0:bus@32c00000/32e50 000.usb/ci_hdrc.1/usb1/1 -1/1-1.1/1-1.1:1.0/0003:04E7:0050.0001/input/input3
[ 4.050211] systemd[1]: Listening on Journal Audit Socket.
[ 4.076559] hid-generic 0003:04E7:0050.0001: input,hydraw0: USB HID v1.00 Pointer [EloTouchSystems,Inc Elo TouchSystems 2216 AccuTouch\xc2\xae USB Touchmonit or Interface] in usb-ci_hdrc.1-1.1/input0

With the command evtest, I have the same answer and, however, the x axis is inverted. when I press right, the pointer goes to the left.

Hi, @daniel_m.tx, how are you?

Can you help-me? Thanks!

Hello, Allan!

Please, take a look on this link. Could you launch the calibration with the input to event3 and report us any message displayed?

Also, in order to check if the problem is related to the weston-calibrator, could you test other calibration tool, such as libinput? Please, check the following article.

Best regards,
Felipe Madureira

Philip, how are you?
Felipe, I’ve tried everything, including libinput. By libinput, setting the values ​​of the matrix, I have results, but I don’t know which is the correct matrix for the touch, it doesn’t follow integer values… I’ve searched a lot on the internet, blogs, forums, but I didn’t find a solution. I tried to use the command: weston-calibrator, it entered the calibration screen, but it doesn’t work with the click, it gives an error in the coordinates… in short, I don’t know what to do.

root@verdin-imx8mm-06827388:/sys/devices/platform/soc@0/soc@0:bus@32c00000/32e50000.usb/ci_hdrc.1/usb1/1-1/1-1.1/1-1.1:1.0/0003:04E7:0050.0004/input/input9/event3# weston-touch-calibrator /sys/devices/platform/soc@0/soc@0:bus@32c00000/32e50000.usb/ci_hdrc.1/usb1/1-1/1-1.1/1-1.1:1.0/0003:04E7:0050.0004/input/input9/event3clea
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
weston-touch-calibrator error: "/sys/devices/platform/soc@0/soc@0:bus@32c00000/32e50000.usb/ci_hdrc.1/usb1/1-1/1-1.1/1-1.1:1.0/0003:04E7:0050.0004/input/input9/event3" was not found.

Thank you for the information, Allan.

Please take a look at this article where you can find standard matrix values, can you please try them and check if you can calibrate it using libinput? For more informaton about the matrix, please take a look at this question.

Best regards,
Felipe Madureira

Felipe, good night, how are you?
So, I had already checked the first link, including using the matrix:

echo 'ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 0 1 0"' > /etc/udev/rules.d/libinput.rules

It was the one that best suited the touch, but it is only covering 10 inches, while the touch is 15.6 inches.
That is, the screen responds to commands in x and y, but does not go to extremes.
If there is a command for touch calibration, shouldn’t it apply to most of them?

HI @allanbic ,

Are you still facing this issue?

It seems that the event is coming up on your system, what happen if you point the weston-touch-calibrator directly to the generated event?

As example:

weston-touch-calibrator <path-to-event>/event3

Also, can you please share your entire dmesg log?

Best regards,
Daniel Morais

Hi Daniel, how are you?
Daniel, I tried anything and everything and it didn’t work.
Look at the answer I get:

weston-touch-calibrator /devices/platform/soc@0/soc@0:bus@32c00000/32e50000.usb/ci_hdrc.1/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.0/0003:062A:4C01.0001/input/input3/event3
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
weston-touch-calibrator error: "/devices/platform/soc@0/soc@0:bus@32c00000/32e50000.usb/ci_hdrc.1/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.0/0003:062A:4C01.0001/input/input3/event3" was not found.

Here is the requested dmesg log:

root@verdin-imx8mm-06827388:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.161-39953-g0f0011824921 (novitech@novitech-VirtualBox) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 SMP PREEMPT Fri Apr 1 13:12:12 -03 2022
[    0.000000] Machine model: Toradex Verdin iMX8M Mini on Verdin Development Board
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 256 MiB at 0x000000006c000000
[    0.000000] earlycon: ec_imx6q0 at MMIO 0x0000000030860000 (options '')
[    0.000000] printk: bootconsole [ec_imx6q0] enabled
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x7fdc0500-0x7fdc1fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] On node 0 totalpages: 262144
[    0.000000]   DMA32 zone: 4096 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 262144 pages, LIFO batch:63
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 24 pages/cpu s58904 r8192 d31208 u98304
[    0.000000] pcpu-alloc: s58904 r8192 d31208 u98304 alloc=24*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: root=PARTUUID=1c372956-02 ro rootwait console=ttymxc0,115200 console=tty1 consoleblank=0 earlycon
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 739524K/1048576K available (14460K kernel code, 1254K rwdata, 6652K rodata, 2944K init, 1014K bss, 46908K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 128 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000038880000
[    0.000000] ITS: No ITS available, not enabling LPIs
[    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x43c with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 8.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
[    0.000003] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[    0.008443] Console: colour dummy device 80x25
[    0.012520] printk: console [tty1] enabled
[    0.016629] printk: bootconsole [ec_imx6q0] disabled
[    0.021678] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000)
[    0.021704] pid_max: default: 32768 minimum: 301
[    0.021776] LSM: Security Framework initializing
[    0.021831] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.021854] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.022964] ASID allocator initialised with 32768 entries
[    0.023046] rcu: Hierarchical SRCU implementation.
[    0.025794] EFI services will not be available.
[    0.025977] smp: Bringing up secondary CPUs ...
[    0.026361] Detected VIPT I-cache on CPU1
[    0.026383] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
[    0.026414] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.026492] smp: Brought up 1 node, 2 CPUs
[    0.026535] SMP: Total of 2 processors activated.
[    0.026550] CPU features: detected: 32-bit EL0 Support
[    0.026566] CPU features: detected: CRC32 instructions
[    0.032305] CPU: All CPU(s) started at EL2
[    0.032330] alternatives: patching kernel code
[    0.033413] devtmpfs: initialized
[    0.040893] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.040936] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.047322] pinctrl core: initialized pinctrl subsystem
[    0.047799] DMI not present or invalid.
[    0.048054] NET: Registered protocol family 16
[    0.054556] DMA: preallocated 256 KiB pool for atomic allocations
[    0.054607] audit: initializing netlink subsys (disabled)
[    0.054874] audit: type=2000 audit(0.048:1): state=initialized audit_enabled=0 res=1
[    0.055407] cpuidle: using governor menu
[    0.056048] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.056967] Serial: AMBA PL011 UART driver
[    0.057027] imx mu driver is registered.
[    0.057058] imx rpmsg driver is registered.
[    0.061744] imx8mm-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[    0.082798] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.082828] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.082845] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.082861] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.083798] cryptd: max_cpu_qlen set to 1000
[    0.086803] ACPI: Interpreter disabled.
[    0.088360] iommu: Default domain type: Translated
[    0.088492] vgaarb: loaded
[    0.088770] SCSI subsystem initialized
[    0.088897] libata version 3.00 loaded.
[    0.089081] usbcore: registered new interface driver usbfs
[    0.089127] usbcore: registered new interface driver hub
[    0.089163] usbcore: registered new device driver usb
[    0.090693] mc: Linux media interface: v0.10
[    0.090737] videodev: Linux video capture interface: v2.00
[    0.090816] pps_core: LinuxPPS API ver. 1 registered
[    0.090830] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.090862] PTP clock support registered
[    0.091007] EDAC MC: Ver: 3.0.0
[    0.091840] No BMan portals available!
[    0.092071] QMan: Allocated lookup table at (____ptrval____), entry count 65537
[    0.092401] No QMan portals available!
[    0.092885] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[    0.093213] FPGA manager framework
[    0.093310] Advanced Linux Sound Architecture Driver Initialized.
[    0.094419] clocksource: Switched to clocksource arch_sys_counter
[    0.094571] VFS: Disk quotas dquot_6.6.0
[    0.094628] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.094817] pnp: PnP ACPI: disabled
[    0.100262] thermal_sys: Registered thermal governor 'step_wise'
[    0.100266] thermal_sys: Registered thermal governor 'power_allocator'
[    0.100598] NET: Registered protocol family 2
[    0.100716] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.101218] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.101255] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.101327] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.101457] TCP: Hash tables configured (established 8192 bind 8192)
[    0.101532] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.101569] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.101688] NET: Registered protocol family 1
[    0.102002] RPC: Registered named UNIX socket transport module.
[    0.102021] RPC: Registered udp transport module.
[    0.102035] RPC: Registered tcp transport module.
[    0.102049] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.102069] PCI: CLS 0 bytes, default 64
[    0.102764] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.103153] kvm [1]: IPA Size Limit: 40 bits
[    0.103756] kvm [1]: GICv3: no GICV resource entry
[    0.103770] kvm [1]: disabling GICv2 emulation
[    0.103797] kvm [1]: GIC system register CPU interface enabled
[    0.103842] kvm [1]: vgic interrupt IRQ1
[    0.103919] kvm [1]: Hyp mode initialized successfully
[    0.106662] Initialise system trusted keyrings
[    0.106784] workingset: timestamp_bits=44 max_order=18 bucket_order=0
[    0.112535] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.113181] NFS: Registering the id_resolver key type
[    0.113215] Key type id_resolver registered
[    0.113228] Key type id_legacy registered
[    0.113247] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.113264] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.113296] jffs2: version 2.2. (NAND) \xc2\xa9 2001-2006 Red Hat, Inc.
[    0.126893] Key type asymmetric registered
[    0.126912] Asymmetric key parser 'x509' registered
[    0.126956] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.126976] io scheduler mq-deadline registered
[    0.126991] io scheduler kyber registered
[    0.130806] EINJ: ACPI disabled.
[    0.136989] mxs-dma 33000000.dma-controller: initialized
[    0.137606] Bus freq driver module loaded
[    0.142398] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.144474] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 35, base_baud = 1500000) is a IMX
[    1.052767] printk: console [ttymxc0] enabled
[    1.057654] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 36, base_baud = 1500000) is a IMX
[    1.066893] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 37, base_baud = 1500000) is a IMX
[    1.081721] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.088375] [drm] No driver support for vblank timestamp query.
[    1.094400] imx-drm soc@0:bus@32c00000:display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[    1.103708] imx_sec_dsim_drv 32e10000.mipi_dsi: failed to get blk_ctl
[    1.110304] imx_sec_dsim_drv 32e10000.mipi_dsi: version number is 0x1060200
[    1.117335] imx_sec_dsim_drv 32e10000.mipi_dsi: Failed to attach bridge: 32e10000.mipi_dsi
[    1.125626] imx_sec_dsim_drv 32e10000.mipi_dsi: failed to bind sec dsim bridge: -517, retry 0
[    1.143518] brd: module loaded
[    1.151580] loop: module loaded
[    1.155122] zram: Added device: zram0
[    1.163572] libphy: Fixed MDIO Bus: probed
[    1.167962] tun: Universal TUN/TAP device driver, 1.6
[    1.174233] Freescale FM module, FMD API version 21.1.0
[    1.179764] Freescale FM Ports module
[    1.184106] VFIO - User Level meta-driver version: 0.3
[    1.190789] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.197362] ehci-pci: EHCI PCI platform driver
[    1.202278] usbcore: registered new interface driver usb-storage
[    1.208373] usbcore: registered new interface driver usbserial_generic
[    1.214939] usbserial: USB Serial support registered for generic
[    1.220991] usbcore: registered new interface driver cp210x
[    1.226596] usbserial: USB Serial support registered for cp210x
[    1.232554] usbcore: registered new interface driver ftdi_sio
[    1.238336] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.245687] usbcore: registered new interface driver pl2303
[    1.251290] usbserial: USB Serial support registered for pl2303
[    1.257253] usbcore: registered new interface driver usb_serial_simple
[    1.263814] usbserial: USB Serial support registered for carelink
[    1.269942] usbserial: USB Serial support registered for zio
[    1.275634] usbserial: USB Serial support registered for funsoft
[    1.281670] usbserial: USB Serial support registered for flashloader
[    1.288058] usbserial: USB Serial support registered for google
[    1.294009] usbserial: USB Serial support registered for libtransistor
[    1.300573] usbserial: USB Serial support registered for vivopay
[    1.306615] usbserial: USB Serial support registered for moto_modem
[    1.312916] usbserial: USB Serial support registered for motorola_tetra
[    1.319567] usbserial: USB Serial support registered for novatel_gps
[    1.325954] usbserial: USB Serial support registered for hp4x
[    1.331736] usbserial: USB Serial support registered for suunto
[    1.337686] usbserial: USB Serial support registered for siemens_mpi
[    1.346652] input: 30370000.snvs:snvs-powerkey as /devices/platform/soc@0/soc@0:bus@30000000/30370000.snvs/30370000.snvs:snvs-powerkey/input/input0
[    1.360631] rotary-encoder rotary-encoder: gray
[    1.366204] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc1
[    1.372509] i2c /dev entries driver
[    1.380274] imx2-wdt 30280000.watchdog: timeout 60 sec (nowayout=0)
[    1.387653] sdhci: Secure Digital Host Controller Interface driver
[    1.393862] sdhci: Copyright(c) Pierre Ossman
[    1.398423] Synopsys Designware Multimedia Card Interface Driver
[    1.405015] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.443675] mmc0: SDHCI controller on 30b40000.mmc [30b40000.mmc] using ADMA
[    1.453035] ledtrig-cpu: registered to indicate activity on CPUs
[    1.460451] caam 30900000.crypto: device ID = 0x0a16040100000000 (Era 9)
[    1.467269] caam 30900000.crypto: job rings = 3, qi = 0
[    1.493850] caam algorithms registered in /proc/crypto
[    1.503070] caam 30900000.crypto: caam pkc algorithms registered in /proc/crypto
[    1.510507] caam 30900000.crypto: registering rng-caam
[    1.516880] Device caam-keygen registered
[    1.523939] caam-snvs 30370000.caam-snvs: violation handlers armed - non-secure state
[    1.532076] hidraw: raw HID events driver (C) Jiri Kosina
[    1.538619] usbcore: registered new interface driver usbhid
[    1.544215] usbhid: USB HID core driver
[    1.545199] mmc0: new HS400 MMC card at address 0001
[    1.549560] No fsl,qman node
[    1.553585] mmcblk0: mmc0:0001 Q2J54A 3.59 GiB
[    1.555963] Freescale USDPAA process driver
[    1.555965] fsl-usdpaa: no region found
[    1.555967] Freescale USDPAA process IRQ driver
[    1.559731] galcore: clk_get vg clock failed, disable vg!
[    1.560827] mmcblk0boot0: mmc0:0001 Q2J54A partition 1 16.0 MiB
[    1.565102] Galcore version 6.4.3.p1.305572
[    1.568804] mmcblk0boot1: mmc0:0001 Q2J54A partition 2 16.0 MiB
[    1.584805] random: fast init done
[    1.598507] mmcblk0rpmb: mmc0:0001 Q2J54A partition 3 512 KiB, chardev (237:0)
[    1.610879] random: crng init done
[    1.616001]  mmcblk0: p1 p2
[    1.660285] [drm] Initialized vivante 1.0.0 20170808 for 38000000.gpu on minor 0
[    1.678698] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    1.687360] NET: Registered protocol family 26
[    1.692337] NET: Registered protocol family 10
[    1.697535] Segment Routing with IPv6
[    1.701270] NET: Registered protocol family 17
[    1.705771] tsn generic netlink module v1 init...
[    1.710557] Key type dns_resolver registered
[    1.715542] registered taskstats version 1
[    1.719664] Loading compiled-in X.509 certificates
[    1.741928] GPIO line 129 (CTRL_SLEEP_MOCI#) hogged as output/high
[    1.958914] pca9450 0-0025: Device ID=0x10
[    1.963947] pca9450 0-0025: gpio_intr = 3
[    1.967982] pca9450 0-0025: chip_irq=66
[    1.988841] rtc-ds1307 0-0032: oscillator failed, set time!
[    1.994876] rtc-ds1307 0-0032: registered as rtc0
[    2.004128] at24 0-0050: 256 byte 24c02 EEPROM, writable, 16 bytes/write
[    2.010906] i2c i2c-0: IMX I2C adapter registered
[    2.016600] i2c i2c-1: IMX I2C adapter registered
[    2.022163] i2c i2c-2: IMX I2C adapter registered
[    2.027883] pca953x 3-0021: using no AI
[    2.033446] sn65dsi83 3-002c: sn65dsi83_probe
[    2.037885] sn65dsi83 3-002c: sn65dsi83_brg_power_off
[    2.062431] sn65dsi83 3-002c: sn65dsi83_brg_power_on
[    2.078432] sn65dsi83 3-002c: client 0x00000000dd7f2eb4
[    2.085255] sn65dsi83 3-002c: sn65dsi83_brg_reset
[    2.089983] sn65dsi83 3-002c: sn65dsi83_brg_power_off
[    2.116969] at24 3-0050: 256 byte 24c02 EEPROM, writable, 16 bytes/write
[    2.125204] at24 3-0057: 256 byte 24c02 EEPROM, writable, 16 bytes/write
[    2.132131] i2c i2c-3: IMX I2C adapter registered
[    2.139397] imx6q-pcie 33800000.pcie: PLL REF_CLK is used!.
[    2.140151] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.147895] imx6q-pcie 33800000.pcie: PCIe PLL locked after 20 us.
[    2.151646] [drm] No driver support for vblank timestamp query.
[    2.151707] imx-drm soc@0:bus@32c00000:display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[    2.173079] imx_sec_dsim_drv 32e10000.mipi_dsi: failed to get blk_ctl
[    2.179642] imx_sec_dsim_drv 32e10000.mipi_dsi: version number is 0x1060200
[    2.186665] imx-drm soc@0:bus@32c00000:display-subsystem: sn65dsi83_bridge_attach
[    2.194184] sn65dsi83 3-002c: sn65dsi83_attach_dsi
[    2.199139] imx-drm soc@0:bus@32c00000:display-subsystem: bound 32e10000.mipi_dsi (ops imx_sec_dsim_ops)
[    2.209559] [drm] Initialized imx-drm 1.0.0 20120507 for soc@0:bus@32c00000:display-subsystem on minor 1
[    2.219091] imx-drm soc@0:bus@32c00000:display-subsystem: sn65dsi83_connector_detect
[    2.226858] imx-drm soc@0:bus@32c00000:display-subsystem: sn65dsi83_connector_get_modes
[    2.234890] imx-drm soc@0:bus@32c00000:display-subsystem: sn65dsi83_connector_mode_valid: mode: 1024*768@68900 is valid
[    2.249298] imx-drm soc@0:bus@32c00000:display-subsystem: sn65dsi83_bridge_mode_set: mode: 1024*768@68900
[    2.253589] imx-drm soc@0:bus@32c00000:display-subsystem: sn65dsi83_bridge_enable
[    2.253595] sn65dsi83 3-002c: sn65dsi83_brg_setup
[    2.253598] sn65dsi83 3-002c: sn65dsi83_brg_power_on
[    2.263087] sn65dsi83 3-002c: DSI clock [ 206700000 ] Hz
[    2.263094] sn65dsi83 3-002c: GeoMetry [ 1024 x 768 ] Hz
[    2.265070] sn65dsi83 3-002c: client 0x00000000dd7f2eb4
[    2.277202] sn65dsi83 3-002c: sn65dsi83_brg_start_stream
[    2.370845] imx6q-pcie 33800000.pcie: host bridge /soc@0/pcie@33800000 ranges:
[    2.370874] imx6q-pcie 33800000.pcie:    IO 0x1ff80000..0x1ff8ffff -> 0x00000000
[    2.370888] imx6q-pcie 33800000.pcie:   MEM 0x18000000..0x1fefffff -> 0x18000000
[    2.483977] sn65dsi83 3-002c: client 0x00000000dd7f2eb4
[    2.485258] sn65dsi83 3-002c: CHA (0xe5) = 0x01
[    2.522798] Console: switching to colour frame buffer device 128x48
[    2.623740] imx-drm soc@0:bus@32c00000:display-subsystem: fb0: imx-drmdrmfb frame buffer device
[    2.635506] pps pps0: new PPS source ptp0
[    2.645727] libphy: fec_enet_mii_bus: probed
[    2.651895] fec 30be0000.ethernet eth0: registered PHC device 0
[    2.665730] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    2.674405] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    2.698439] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    2.708424] hub 1-0:1.0: USB hub found
[    2.715924] hub 1-0:1.0: 1 port detected
[    2.724587] rotary-encoder rotary-encoder: gray
[    2.733795] input: rotary-encoder as /devices/platform/rotary-encoder/input/input1
[    2.745806] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 3 mkt segment 0 supported-hw 0x8 0x1
[    2.763532] sdhci-esdhc-imx 30b50000.mmc: Got CD GPIO
[    2.806637] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA
[    2.822833] input: gpio-keys as /devices/platform/gpio-keys/input/input2
[    2.835113] rtc-ds1307 0-0032: hctosys: unable to read the hardware clock
[    2.846745] ALSA device list:
[    2.852202]   No soundcards found.
[    2.990808] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    3.159869] hub 1-1:1.0: USB hub found
[    3.167453] hub 1-1:1.0: 4 ports detected
[    3.354803] imx6q-pcie 33800000.pcie: Phy link never came up
[    3.364088] imx6q-pcie 33800000.pcie: failed to initialize host
[    3.373521] imx6q-pcie 33800000.pcie: unable to add pcie port.
[    3.390648] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.401177] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    3.410960] devtmpfs: mounted
[    3.417167] Freeing unused kernel memory: 2944K
[    3.426461] Run /sbin/init as init process
[    3.466464] usb 1-1.1: new full-speed USB device number 3 using ci_hdrc
[    3.537373] systemd[1]: System time before build time, advancing clock.
[    3.558267] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
[    3.585523] systemd[1]: Detected architecture arm64.
[    3.596829] ftdi_sio 1-1.1:1.0: FTDI USB Serial Device converter detected
[    3.606259] usb 1-1.1: Detected FT-X
[    3.613551] usb 1-1.1: FTDI USB Serial Device converter now attached to ttyUSB0
[    3.634018] systemd[1]: Set hostname to <verdin-imx8mm-06827388>.
[    3.710481] usb 1-1.2: new full-speed USB device number 4 using ci_hdrc
[    3.828062] hub 1-1.2:1.0: USB hub found
[    3.834831] hub 1-1.2:1.0: 4 ports detected
[    3.867899] systemd[1]: /lib/systemd/system/gpsd.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/gpsd.sock \xe2\x86\x92 /run/gpsd.sock; please update the unit file accordingly.
[    3.908674] systemd[1]: Created slice system-getty.slice.
[    3.920637] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    3.930436] usb 1-1.4: new high-speed USB device number 5 using ci_hdrc
[    3.942860] systemd[1]: Created slice system-weston.slice.
[    3.955036] systemd[1]: Created slice User and Session Slice.
[    3.966731] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    3.980610] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    3.994048] systemd[1]: Reached target Host and Network Name Lookups.
[    4.006325] systemd[1]: Reached target Paths.
[    4.016505] systemd[1]: Reached target Remote File Systems.
[    4.028002] systemd[1]: Reached target Slices.
[    4.038376] systemd[1]: Reached target Swap.
[    4.061968] systemd[1]: Listening on RPCbind Server Activation Socket.
[    4.075479] systemd[1]: Reached target RPC Port Mapper.
[    4.088546] systemd[1]: Listening on Syslog Socket.
[    4.099532] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    4.112250] systemd[1]: Listening on Journal Audit Socket.
[    4.123732] systemd[1]: Listening on Journal Socket (/dev/log).
[    4.135682] systemd[1]: Listening on Journal Socket.
[    4.146802] systemd[1]: Listening on Network Service Netlink Socket.
[    4.159223] systemd[1]: Listening on udev Control Socket.
[    4.170591] systemd[1]: Listening on udev Kernel Socket.
[    4.183918] systemd[1]: Mounting Huge Pages File System...
[    4.197447] systemd[1]: Mounting POSIX Message Queue File System...
[    4.211927] systemd[1]: Mounting Kernel Debug File System...
[    4.226077] systemd[1]: Mounting Temporary Directory (/tmp)...
[    4.241322] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    4.258059] systemd[1]: Starting RPC Bind...
[    4.270761] systemd[1]: Starting File System Check on Root Device...
[    4.288873] systemd[1]: Starting Journal Service...
[    4.311607] systemd[1]: Starting Load Kernel Modules...
[    4.336545] systemd[1]: Starting udev Coldplug all Devices...
[    4.357926] systemd[1]: Started RPC Bind.
[    4.365060] galcore: loading out-of-tree module taints kernel.
[    4.387562] galcore: module is already loaded
[    4.395126] systemd[1]: Started Journal Service.
[    4.465512] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    4.478502] usb 1-1.2.1: new full-speed USB device number 6 using ci_hdrc
[    4.539470] systemd-journald[235]: Received client request to flush runtime journal.
[    4.611373] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/platform/soc@0/soc@0:bus@32c00000/32e50000.usb/ci_hdrc.1/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.0/0003:062A:4C01.0001/input/input3
[    4.691183] hid-generic 0003:062A:4C01.0001: input,hidraw0: USB HID v1.10 Keyboard [MOSART Semi. 2.4G Keyboard Mouse] on usb-ci_hdrc.1-1.2.1/input0
[    4.696097] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/platform/soc@0/soc@0:bus@32c00000/32e50000.usb/ci_hdrc.1/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.1/0003:062A:4C01.0002/input/input4
[    4.734497] input: MOSART Semi. 2.4G Keyboard Mouse Consumer Control as /devices/platform/soc@0/soc@0:bus@32c00000/32e50000.usb/ci_hdrc.1/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.1/0003:062A:4C01.0002/input/input5
[    4.818755] input: MOSART Semi. 2.4G Keyboard Mouse System Control as /devices/platform/soc@0/soc@0:bus@32c00000/32e50000.usb/ci_hdrc.1/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.1/0003:062A:4C01.0002/input/input6
[    4.866846] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/platform/soc@0/soc@0:bus@32c00000/32e50000.usb/ci_hdrc.1/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.1/0003:062A:4C01.0002/input/input7
[    4.906738] hid-generic 0003:062A:4C01.0002: input,hidraw1: USB HID v1.10 Mouse [MOSART Semi. 2.4G Keyboard Mouse] on usb-ci_hdrc.1-1.2.1/input1
[    5.034486] usb 1-1.2.2: new full-speed USB device number 7 using ci_hdrc
[    5.162375] input: EloTouchSystems,Inc Elo TouchSystems 2216 AccuTouch\xc2\xae USB Touchmonitor Interface as /devices/platform/soc@0/soc@0:bus@32c00000/32e50000.usb/ci_hdrc.1/usb1/1-1/1-1.2/1-1.2.2/1-1.2.2:1.0/0003:04E7:0050.0003/input/input8
[    5.199822] galcore: module is already loaded
[    5.209672] hid-generic 0003:04E7:0050.0003: input,hidraw2: USB HID v1.00 Pointer [EloTouchSystems,Inc Elo TouchSystems 2216 AccuTouch\xc2\xae USB Touchmonitor Interface] on usb-ci_hdrc.1-1.2.2/input0
[    5.322903] galcore: module is already loaded
[    5.418080] imx-sdma 302c0000.dma-controller: loaded firmware 4.5
[    5.460461] spi_imx 30840000.spi: probed
[    5.478044] ina2xx 3-0040: power monitor ina219 (Rshunt = 10000 uOhm)
[    5.495217] lm75 3-004f: hwmon1: sensor 'tmp75c'
[    5.508002] debugfs: Directory '30020000.sai' with parent 'imx8mm-nau8822' already present!
[    5.524879] asoc-simple-card sound-card: nau8822-hifi <-> 30020000.sai mapping ok
[    5.542557] asoc-simple-card sound-card: ASoC: no DMI vendor name!
[    5.567222] galcore: module is already loaded
[    6.318099] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    6.591055] CAN device driver interface
[    6.616863] galcore: module is already loaded
[    6.632719] mcp25xxfd spi2.0: CRC read error: computed: 6c2a received: ffff - data: be 00 04 ff ff ff ff
[    6.645559] mcp25xxfd spi2.0: CRC read of clock register resulted in a bad CRC mismatch - hw not found
[    6.658207] mcp25xxfd spi2.0: Probe failed, err=84
[    6.666369] mcp25xxfd: probe of spi2.0 failed with error -84
[    7.916575] Bluetooth: Core ver 2.22
[    7.928890] NET: Registered protocol family 31
[    7.946342] using random self ethernet address
[    7.952708] Bluetooth: HCI device and connection manager initialized
[    7.955890] using random host ethernet address
[    7.963534] Bluetooth: HCI socket layer initialized
[    7.990521] Bluetooth: L2CAP socket layer initialized
[    8.011952] Bluetooth: SCO socket layer initialized
[    8.100841] usb0: HOST MAC 00:14:2d:ff:ff:fe
[    8.124911] usb0: MAC 00:14:2d:ff:ff:ff
[    8.242889] Microchip KSZ9131 Gigabit PHY 30be0000.ethernet-1:07: attached PHY driver [Microchip KSZ9131 Gigabit PHY] (mii_bus:phy_addr=30be0000.ethernet-1:07, irq=73)
[    8.517186] audit: type=1006 audit(1649873757.720:2): pid=587 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
[    9.121975] imx-drm soc@0:bus@32c00000:display-subsystem: sn65dsi83_connector_detect
[    9.129750] imx-drm soc@0:bus@32c00000:display-subsystem: sn65dsi83_connector_get_modes
[    9.137807] imx-drm soc@0:bus@32c00000:display-subsystem: sn65dsi83_connector_mode_valid: mode: 1024*768@68900 is valid
[    9.880189] fec 30be0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[    9.888192] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.901696] 8021q: 802.1Q VLAN Support v1.8
[   12.260718] imx-drm soc@0:bus@32c00000:display-subsystem: sn65dsi83_connector_detect
[   12.269166] imx-drm soc@0:bus@32c00000:display-subsystem: sn65dsi83_connector_get_modes
[   12.278911] imx-drm soc@0:bus@32c00000:display-subsystem: sn65dsi83_connector_mode_valid: mode: 1024*768@68900 is valid
[   33.762739] REG_MIPI_PHY: disabling
[   33.766240] usb_otg1_vbus: disabling
[   33.769845] V3.3_SD: disabling

What can I do?

Hi @allanbic ,

I made a small test on my side with a USB touch I have here and it worked fine, it seems that the problem is specific to your display, it is really strange as it seems that your display is being recognized as a mouse, and not as a touchscreen, do you have any other device you can test?

I’m investigating it on my side too, will let you know if I find anything.

Best regards,
Daniel Morais