This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3358: Touchscreen error

Part Number: AM3358

Hi. there


Touch doesn't work after Linux SDK update.

I have referred to the URL below but still have problems.
http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/How_to_Guides_Target.html#how-to-recalibrate-the-touchscreen

What is the problem?

Software version : ti-processor-sdk-linux-am335x-evm-06.01.00.08-Linux-x86

The procedure is as follows.
================================================================================
1. sudo ./create-sdcard.sh
================================================================================
1.1 Check boot partition.
vm@ubuntu:/$ ls -l media/vm/boot/
total 885
-rw-r--r-- 1 vm vm 108412 Dec 4 14:57 MLO
-rw-r--r-- 1 vm vm 797488 Dec 4 14:57 u-boot.img

================================================================================
2. Insert SD card and connect power.
================================================================================
Perform LCD calibrattion during boot ( Touch 3 places specified by the pointer )

================================================================================
3. Check touch in Matrix GUI
================================================================================
Touch doesn't work.

================================================================================
4. How to Recalibrate the Touchscreen
================================================================================
4.1 Check pointercal
root@am335x-evm:~# ls -l /etc/pointercal
ls: /etc/pointercal: No such file or directory

root@am335x-evm:~# ls -l /run/media/mmcblk0p1/pointercal
ls: /run/media/mmcblk0p1/pointercal: No such file or directory

=> There is no pointercal file anywhere.

================================================================================
4.2 Check ws-calibrate.rules
root@am335x-evm:/# ls -l /run/media/mmcblk0p1/ws-calibrate.rules
-rwxrwx--- 1 root disk 102 Oct 19 16:14 /run/media/mmcblk0p1/ws-calibrate.rules

root@am335x-evm:/# ls -l /etc/udev/rules.d/ws-calibrate.rules
-rw-r--r-- 1 root root 102 Oct 19 16:14 /etc/udev/rules.d/ws-calibrate.rules

================================================================================
4.3 Recalibrating by Deleting ws-calibrate.rules
4.3.1 Shuts down local Matrix
root@am335x-evm:/# /etc/init.d/matrix-gui-2.0 stop
Stopping Matrix GUI application.

4.3.2 Delete ws-calibrate.rules
root@am335x-evm:/# rm /etc/udev/rules.d/ws-calibrate.rules
root@am335x-evm:/# rm /run/media/mmcblk0p1/ws-calibrate.rules

4.3.3 Calibrate the touchscreen
root@am335x-evm:/# /etc/init.d/weston start
Starting Weston
Calibrating touchscreen (first time only)

*** To continue, please complete the touchscreen calibration
*** by touching the crosshairs on the LCD screencould not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
.

=> Touch 3 places specified by the pointer

4.3.4 reboot

================================================================================
5. Recalibrating over Serial Console
================================================================================
5.1 Shuts down local Matrix
root@am335x-evm:~# /etc/init.d/matrix-gui-2.0 stop
Stopping Matrix GUI application.

5.2 ts_calibrate command
root@am335x-evm:~# export TSLIB_CALIBFILE=/run/media/mmcblk0p1/pointercal
root@am335x-evm:~# ts_calibrate
-sh: ts_calibrate: command not found

=> ts_calibrate command is not available.

================================================================================
6. Boot Log
================================================================================

U-Boot SPL 2019.01-g029e4c009a (Oct 19 2019 - 23:14:52 +0000)
Trying to boot from MMC1


U-Boot 2019.01-g029e4c009a (Oct 19 2019 - 23:14:52 +0000)

CPU  : AM335X-GP rev 2.1
Model: TI AM335x EVM-SK
DRAM:  256 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

<ethaddr> not set. Validating first E-fuse MAC
Net:   eth0: ethernet@4a100000
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
** Unable to read file boot.scr **
** Unable to read file uEnv.txt **
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
4227584 bytes read in 356 ms (11.3 MiB/s)
40236 bytes read in 5 ms (7.7 MiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8df2b000, end 8df37d2b ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.59-g5f8c1c6121 (oe-user@oe-host) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 PREEMPT Sat Oct 19 17:17:25 UTC 2019
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: TI AM335x EVM-SK
[    0.000000] Memory policy: Data cache writeback
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 48 MiB at 0x8a800000
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (sgx neon)
[    0.000000] random: get_random_bytes called from start_kernel+0xa4/0x434 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=dc9d6756-02 rw rootfstype=ext4 rootwait
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 196296K/262144K available (9216K kernel code, 309K rwdata, 2692K rodata, 1024K init, 253K bss, 16696K reserved, 49152K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 310 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 254 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000020] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000048] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000063] OMAP clocksource: timer1 at 24000000 Hz
[    0.000302] timer_probe: no matching timers found
[    0.000542] Console: colour dummy device 80x30
[    0.000578] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.000588] This ensures that you still see kernel messages. Please
[    0.000596] update your kernel commandline.
[    0.000665] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
[    0.118725] pid_max: default: 32768 minimum: 301
[    0.118996] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.119017] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.120096] CPU: Testing write buffer coherency: ok
[    0.120179] CPU0: Spectre v2: using BPIALL workaround
[    0.121303] Setting up static identity map for 0x80100000 - 0x80100060
[    0.121505] rcu: Hierarchical SRCU implementation.
[    0.121975] EFI services will not be available.
[    0.123924] devtmpfs: initialized
[    0.135629] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.136149] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.136181] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.141013] pinctrl core: initialized pinctrl subsystem
[    0.141995] DMI not present or invalid.
[    0.142556] NET: Registered protocol family 16
[    0.145743] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.171125] l4_wkup_cm:clk:0010:0: failed to disable
[    0.226145] cpuidle: using governor ladder
[    0.226193] cpuidle: using governor menu
[    0.233328] OMAP GPIO hardware version 0.1
[    0.247449] No ATAGs?
[    0.247472] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.266780] edma 49000000.edma: TI EDMA DMA engine driver
[    0.269255] v1_8d: supplied by vbat
[    0.269682] v3_3d: supplied by vbat
[    0.273279] SCSI subsystem initialized
[    0.273922] media: Linux media interface: v0.10
[    0.273997] videodev: Linux video capture interface: v2.00
[    0.274123] pps_core: LinuxPPS API ver. 1 registered
[    0.274135] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.274166] PTP clock support registered
[    0.274216] EDAC MC: Ver: 3.0.0
[    0.275650] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.276514] Advanced Linux Sound Architecture Driver Initialized.
[    0.278116] clocksource: Switched to clocksource timer1
[    0.289897] NET: Registered protocol family 2
[    0.291015] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.291062] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.291101] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.291139] TCP: Hash tables configured (established 2048 bind 2048)
[    0.291277] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.291306] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.291507] NET: Registered protocol family 1
[    0.292282] RPC: Registered named UNIX socket transport module.
[    0.292301] RPC: Registered udp transport module.
[    0.292311] RPC: Registered tcp transport module.
[    0.292320] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.293553] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    0.295340] Initialise system trusted keyrings
[    0.295771] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.302504] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.303517] NFS: Registering the id_resolver key type
[    0.303575] Key type id_resolver registered
[    0.303587] Key type id_legacy registered
[    0.303649] ntfs: driver 2.1.32 [Flags: R/O].
[    0.306700] Key type asymmetric registered
[    0.306725] Asymmetric key parser 'x509' registered
[    0.306829] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.306849] io scheduler noop registered
[    0.306860] io scheduler deadline registered
[    0.307187] io scheduler cfq registered (default)
[    0.307205] io scheduler mq-deadline registered
[    0.307216] io scheduler kyber registered
[    0.310195] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[    0.314800] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    0.314928] pwm-backlight backlight: Linked as a consumer to regulator.0
[    0.383184] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.388698] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[    1.028732] console [ttyS0] enabled
[    1.035329] omap_rng 48310000.rng: Random Number Generator ver. 20
[    1.041757] random: fast init done
[    1.045433] random: crng init done
[    1.051050] tilcdc-panel panel: found backlight
[    1.056067] OF: graph: no port node found in /ocp/lcdc@4830e000
[    1.063110] OF: graph: no port node found in /ocp/lcdc@4830e000
[    1.069733] OF: graph: no port node found in /ocp/lcdc@4830e000
[    1.075709] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.082408] [drm] No driver support for vblank timestamp query.
[    1.138259] Console: switching to colour frame buffer device 60x34
[    1.162129] tilcdc 4830e000.lcdc: fb0: DRM emulated frame buffer device
[    1.169557] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
[    1.193858] brd: module loaded
[    1.206192] loop: module loaded
[    1.213270] libphy: Fixed MDIO Bus: probed
[    1.288181] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    1.295908] davinci_mdio 4a101000.mdio: detected phy mask fffffffc
[    1.304425] libphy: 4a101000.mdio: probed
[    1.308607] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Atheros 8031 ethernet
[    1.317905] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver Atheros 8031 ethernet
[    1.328638] cpsw 4a100000.ethernet: Detected MACID = 40:bd:32:e8:de:2b
[    1.335376] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[    1.341879] cpsw 4a100000.ethernet: ALE Table size 1024
[    1.347191] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[    1.355598] cpsw 4a100000.ethernet: cpsw: Detected MACID = 40:bd:32:e8:de:2d
[    1.364595] i2c /dev entries driver
[    1.371007] cpuidle: enable-method property 'ti,am3352' found operations
[    1.378461] sdhci: Secure Digital Host Controller Interface driver
[    1.384713] sdhci: Copyright(c) Pierre Ossman
[    1.390135] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[    1.398941] omap_hsmmc 48060000.mmc: Got CD GPIO
[    1.405741] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.413888] ledtrig-cpu: registered to indicate activity on CPUs
[    1.426888] NET: Registered protocol family 10
[    1.433460] Segment Routing with IPv6
[    1.437318] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.444393] NET: Registered protocol family 17
[    1.449384] Key type dns_resolver registered
[    1.453990] omap_voltage_late_init: Voltage driver support not added
[    1.461681] Loading compiled-in X.509 certificates
[    1.508407] tps65910 0-002d: No interrupt support, no core IRQ
[    1.516659] vrtc: supplied by vbat
[    1.524004] vio: supplied by vbat
[    1.528995] vdd1: supplied by vbat
[    1.534342] vdd2: supplied by vbat
[    1.541150] vdig1: supplied by vbat
[    1.546142] vdig2: supplied by vbat
[    1.551175] vpll: supplied by vbat
[    1.556050] vdac: supplied by vbat
[    1.560985] vaux1: supplied by vbat
[    1.565949] vaux2: supplied by vbat
[    1.570942] vaux33: supplied by vbat
[    1.576019] vmmc: supplied by vbat
[    1.580960] vbb: supplied by vbat
[    1.586436] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    1.592571] cpu cpu0: Linked as a consumer to regulator.9
[    1.598255] cpu cpu0: Dropping the link to regulator.9
[    1.603695] cpu cpu0: Linked as a consumer to regulator.9
[    1.611169] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[    1.620143] omap_hsmmc 48060000.mmc: Got CD GPIO
[    1.625537] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.19
[    1.661694] omap_hsmmc 481d8000.mmc: Linked as a consumer to regulator.6
[    1.729711] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.743523] mmc0: new high speed SDHC card at address aaaa
[    1.751564] mmcblk0: mmc0:aaaa SC16G 14.8 GiB 
[    1.762598]  mmcblk0: p1 p2
[    1.785767] input: gpio_buttons0 as /devices/platform/gpio_buttons0/input/input0
[    1.794158] hctosys: unable to open rtc device (rtc0)
[    1.800229] lis3_reg: disabling
[    1.803498] v1_8d: disabling
[    1.806439] v3_3d: disabling
[    1.809756] ALSA device list:
[    1.812808]   No soundcards found.
[    3.405739] EXT4-fs (mmcblk0p2): recovery complete
[    3.414511] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.422854] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    3.440369] devtmpfs: mounted
[    3.445426] Freeing unused kernel memory: 1024K
[    3.450759] Run /sbin/init as init process
[    3.869271] systemd[1]: System time before build time, advancing clock.
[    3.939769] systemd[1]: systemd 239 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.962856] systemd[1]: Detected architecture arm.

Welcome to Arago 2019.07!

[    4.022550] systemd[1]: Set hostname to <am335x-evm>.
[    4.393881] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    4.411740] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    4.519113] systemd[1]: /lib/systemd/system/gadget-init.service:15: Unknown lvalue 'ExecStopPre' in section 'Service'
[    4.996621] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    5.039566] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    5.071251] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    5.175087] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[  OK  ] Reached target Remote File Systems.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
[  OK  ] Created slice User and Session Slice.
         Starting Create list of required st?�ce nodes for the current kernel...
[  OK  ] Listening on Network Service Netlink Socket.
         Starting Load Kernel Modules...
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Reached target Slices.
[    5.507736] cryptodev: loading out-of-tree module taints kernel.
[    5.517591] cryptodev: driver 1.9 loaded.
[  OK  ] Listening on Journal Socket (/dev/log).
         Starting Journal Service...
[    5.587480] usbcore: registered new interface driver usbfs
[    5.593883] usbcore: registered new interface driver hub
[  OK  ] Started Forward Password Requests to Wall Dir[    5.608678] usbcore: registered new device driver usb
ectory Watch.
[  OK  ] Reached target Paths.
[    5.645192] usbcore: registered new interface driver ftdi_sio
         [    5.676729] usbserial: USB Serial support registered for FTDI USB Serial Device
Mounting POSIX Message Queue File System...
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Reached target Swap.
         Mounting Temporary Directory (/tmp)...
[  OK  ] Listening on Process Core Dump Socket.
         Starting Remount Root and Kernel File Systems...
         Starting udev Coldplug all Devices...
[    6.037998] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[  OK  ] Started Journal Service.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Started Create list of required sta?�vice nodes for the current kernel.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Temporary Directory (/tmp).
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Apply Kernel Variables...
         Mounting Kernel Configuration File System...
         Starting Create Static Device Nodes in /dev...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create Static Device Nodes in /dev.
[    6.671550] systemd-journald[75]: Received request to flush runtime journal from PID 1
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Containers.
         Mounting /media/ram...
         Mounting /var/volatile...
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Mounted /media/ram.
[  OK  ] Mounted /var/volatile.
[  OK  ] Started udev Kernel Device Manager.
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Network Service...
         Starting Update UTMP about System Boot/Shutdown...
         Starting Network Time Synchronization...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Service.
         Starting Network Name Resolution...
         Starting Wait for Network to be Configured...
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Reached target Network.
[    9.981103] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    9.989672] omap_rtc 44e3e000.rtc: already running
[   10.049649] omap_rtc 44e3e000.rtc: registered as rtc0
[   10.172443] tlv320aic3x-codec 0-001b: Linked as a consumer to regulator.5
[   10.287507] tlv320aic3x-codec 0-001b: Linked as a consumer to regulator.4
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Created slice system-systemd\x2dbacklight.slice.
         Starting Load/Save Screen Backlight?�ightness of backlight:backlight...
[  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on RPCbind Server Activation Socket.
         Starting Reboot and dump vmcore via kexec...
[  OK  ] Started Daily rotation of log files.
[   11.324279] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[   11.366812] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[  OK  ] Listening on dropbear.socket.
[   11.490095] omap-aes 53500000.aes: will run requests pump with realtime priority
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Reached target Sockets.
[   11.658714] [drm] Initialized pvr 1.17.4948957 20110701 for 56000000.sgx on minor 1
[  OK  ] Reached target Basic System.
[  OK  ] Started D-Bus System Message Bus.
[   11.732355] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[   11.742942] remoteproc remoteproc0: wkup_m3 is available
[   11.838087] remoteproc remoteproc0: powering up wkup_m3
[   11.852967] PM: Cannot get wkup_m3_ipc handle
[   11.962605] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 242896
[   12.118560] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[   12.238733] remoteproc remoteproc0: remote processor wkup_m3 is now up
[  OK  ] Started Redis In-Memory Data Store.
         Starting Lightning Fast Webserver With Light System Requirements...
         Starting Enable and configure wl18xx bluetooth stack...
[   12.647675] asoc-simple-card sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
         Starting RPC Bind Service...
[   12.766507] asoc-simple-card sound: ASoC: no DMI vendor name!
         Starting Simple Network Management Protocol (SNMP) Daemon....
[   12.935543] PM: bootloader does not support rtc-only!
         Starting Permit User Sessions...
         Starting Login Service...
         Starting uim-sysfs.service...
[  OK  ] Started Job spooling tools.
[   13.931516] net eth0: initializing cpsw version 1.12 (0)
[  OK  ] Started Periodic Command Scheduler.
[   14.150072] Atheros 8031 ethernet 4a101000.mdio:00: attached PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
         Starting Print notice about GPLv3 packages...
         Starting Avahi mDNS/DNS-SD Stack...
[   14.411975] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  OK  ] Started Reboot and dump vmcore via kexec.
[  OK  ] Started Lightning Fast Webserver With Light System Requirements.
[  OK  ] Started RPC Bind Service.
[   14.988577] net eth1: initializing cpsw version 1.12 (0)
[  OK  ] Started Permit User Sessions.
[   15.270100] Atheros 8031 ethernet 4a101000.mdio:01: attached PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=4a101000.mdio:01, irq=POLL)
[   15.524721] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[  OK  ] Found device /dev/ttyS3.
[  OK  ] Started Enable and configure wl18xx bluetooth stack.
[  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
[   21.579803] TI-am335x-tsc TI-am335x-tsc.0.auto: ti,charge-delay not specified
[   21.587367] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc.0.auto/input/input1
[  OK  ] Started uim-sysfs.service.
[   22.767496] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
[   22.914762] am335x-phy-driver 47401300.usb-phy: Linked as a consumer to regulator.0
[   23.005958] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[   23.012556] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
[   23.151196] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
[   23.206390] am335x-phy-driver 47401b00.usb-phy: Linked as a consumer to regulator.0
[   23.268571] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[   23.276898] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   23.404846] usb usb1: Product: MUSB HDRC host driver
[   23.457487] usb usb1: Manufacturer: Linux 4.19.59-g5f8c1c6121 musb-hcd
[   23.538404] usb usb1: SerialNumber: musb-hdrc.0
[   23.605132] hub 1-0:1.0: USB hub found
[   23.645530] hub 1-0:1.0: 1 port detected
[   23.732748] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[   23.821888] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
[   23.936624] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[   23.999822] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   24.007170] usb usb2: Product: MUSB HDRC host driver
[   24.155384] usb usb2: Manufacturer: Linux 4.19.59-g5f8c1c6121 musb-hcd
[   24.252628] remoteproc remoteproc1: 4a334000.pru is available
[   24.260259] usb usb2: SerialNumber: musb-hdrc.1
[   24.321520] hub 2-0:1.0: USB hub found
[   24.381491] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed successfully
[   24.392548] hub 2-0:1.0: 1 port detected
[   24.451411] remoteproc remoteproc2: 4a338000.pru is available
[   24.457302] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed successfully
***************************************************************
***************************************************************
NOTICE: This file system contains the following GPLv3 packages:
	autoconf
	bash-dev
	bash
	bc
	binutils
	cifs-utils
	cpio
	cpp-symlinks
	cpp
	dosfstools
	elfutils
	findutils
	g++-symlinks
	g++
	gawk
	gcc-symlinks
	gcc
	gdb
	gdbserver
	gettext
	glmark2
	gstreamer1.0-libav
	gzip
	hidapi
	libbfd
	libdw1
	libelf1
	libgdbm-compat4
	libgdbm-dev
	libgdbm6
	libgettextlib
	libgettextsrc
	libgmp10
	libidn2-0
	libmavconn
	libmpc3
	libmpfr6
	libreadline-dev
	libreadline7
	libunistring2
	m4-dev
	m4
	make
	mavlink
	mavros-extras
	mavros-msgs
	mavros
	nettle
	pdm-anomaly-detection
	socketcan-interface
	which

If you do not wish to distribute GPLv3 components please remove
the above packages prior to distribution.  This can be done using
the opkg remove command.  i.e.:
    opkg remove <package>
Where <package> is the name printed in the list above

NOTE: If the package is a dependency of another package you
      will be notified of the dependent packages.  You should
      use the --force-removal-of-dependent-packages option to
      also remove the dependent packages as well
***************************************************************
***************************************************************
[  OK  ] Started Print notice about GPLv3 packages.
[  OK  ] Found device /dev/mmcblk0p1.
         Starting Start USB gadget...
         Starting Save/Restore Sound Card State...
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Starting rc.pvr.service...
[  OK  ] Created slice system-systemd\x2dfsck.slice.
         Starting File System Check on /dev/mmcblk0p1...
[   33.155829] using random self ethernet address
[   33.166369] using random host ethernet address
[   33.201230] using host ethernet address: 40:BD:32:E8:DE:2D
[   33.201326] using random self ethernet address
[  OK  ] Started Getty on tty1.
[   33.231937] using random host ethernet address
[   33.244577] using host ethernet address: 40:BD:32:E8:DE:2D
[   33.270791] usb0: HOST MAC 40:bd:32:e8:de:2d
[  OK  ] Started Serial Getty on ttyS3.
[   33.304438] usb0: MAC 96:7d:34:9c:ea:97
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started NFS status monitor for NFSv2/3 locking..
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Reached target Sound Card.
[   33.530494] Mass Storage Function, version: 2009/09/11
[   33.552689] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]
[  OK  ] Started Login Service.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[   33.590671] LUN: removable file: (no medium)
[   33.597957] LUN: removable read only file: /dev/mmcblk0p1
[   33.683848] Number of LUNs=1
[   33.716773] g_multi gadget: Multifunction Composite Gadget
[  OK  ] Found device /dev/ttyGS0.
[   33.746475] g_multi gadget: g_multi ready
[  OK  ] Started rc.pvr.service.
         Starting weston.service...
[   33.914355] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   34.063466] g_multi gadget: high-speed config #1: Multifunction with RNDIS
[   34.070827] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
[  OK  ] Started File System Check on /dev/mmcblk0p1.
         Mounting /run/media/mmcblk0p1...
[  OK  ] Started weston.service.
         Starting Matrix GUI...
         Starting telnetd.service...
[  OK  ] Started Start USB gadget.
[  OK  ] Mounted /run/media/mmcblk0p1.
[  OK  ] Started Matrix GUI.
[  OK  ] Started telnetd.service.
         Starting thttpd.service...
         Starting busybox-udhcpd.service...
[  OK  ] Started Serial Getty on ttyGS0.
[  OK  ] Reached target Login Prompts.
         Starting Synchronize System and HW clocks...
[  OK  ] Started thttpd.service.
[  OK  ] Started busybox-udhcpd.service.
[  OK  ] Started Synchronize System and HW clocks.

 _____                    _____           _         _   
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
              |___|                    |___|            

Arago Project http://arago-project.org am335x-evm ttyS0

Arago 2019.07 am335x-evm ttyS0

am335x-evm login: [   43.639056] hrtimer: interrupt took 242333 ns


Thank you in advance.

  • Hello Simon,

    1) What board are you using? e.g., is this a TI EVM?

    2) Are you using capacitive touch, or resistive touch?

    3) What was the SDK version you tested where touchscreen worked as expected?

    4) Please describe "touch doesn't work" in more detail. So the board is able to register your 3 touches during calibration, but then it does not register any input in Matrix? Or it registers the touches in Matrix, but the touches are registered in the wrong part of the screen? You can use evtest to check if coordinates are getting reported when you touch the screen.

    Regards,

    Nick

  • Dear. Nick


    Thank you for your answer.

    1) What board are you using? e.g., is this a TI EVM?
        => Board is TMDSSK3358-AM335x Starter Kit.

    2) Are you using capacitive touch, or resistive touch?
       => How do I know if it's capacitive or resistive?

    3) What was the SDK version you tested where touchscreen worked as expected?
       => The sdk version is ti-processor-sdk-linux-am335x-evm-06.01.00.08-Linux-x86.

    4) Please describe "touch doesn't work" in more detail. So the board is able to register your 3 touches during calibration, but then it does not register any input in Matrix? Or it registers the touches in Matrix, but the touches are registered in the wrong part of the screen? You can use evtest to check if coordinates are getting reported when you touch the screen.
       => The log of evtest progress is as follows.
            After running evtest, touching the icon does not switch the screen.

    ===============================================================
    root@am335x-evm:/# ./usr/bin/evtest
    No device specified, trying to scan all of /dev/input/event*
    Available devices:
    /dev/input/event0: gpio_buttons0
    /dev/input/event1: ti-tsc
    Select the device event number [0-1]: 1
    Input driver version is 1.0.1
    Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
    Input device name: "ti-tsc"
    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 1422
    Min 0
    Max 4095
    Event code 1 (ABS_Y)
    Value 2582
    Min 0
    Max 4095
    Event code 24 (ABS_PRESSURE)
    Value 0
    Min 0
    Max 4095
    Properties:
    Testing ... (interrupt to exit)
    Event: time 1571501923.146282, type 3 (EV_ABS), code 0 (ABS_X), value 1545
    Event: time 1571501923.146282, type 3 (EV_ABS), code 1 (ABS_Y), value 2648
    Event: time 1571501923.146282, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 241
    Event: time 1571501923.146282, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
    Event: time 1571501923.146282, -------------- SYN_REPORT ------------
    Event: time 1571501923.148206, type 3 (EV_ABS), code 0 (ABS_X), value 1541
    Event: time 1571501923.148206, type 3 (EV_ABS), code 1 (ABS_Y), value 2647
    Event: time 1571501923.148206, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 242
    Event: time 1571501923.148206, -------------- SYN_REPORT ------------
    Event: time 1571501923.150106, type 3 (EV_ABS), code 0 (ABS_X), value 1532
    Event: time 1571501923.150106, type 3 (EV_ABS), code 1 (ABS_Y), value 2648
    Event: time 1571501923.150106, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 243
    Event: time 1571501923.150106, -------------- SYN_REPORT ------------
    Event: time 1571501923.152039, type 3 (EV_ABS), code 0 (ABS_X), value 1539
    Event: time 1571501923.152039, type 3 (EV_ABS), code 1 (ABS_Y), value 2650
    Event: time 1571501923.152039, -------------- SYN_REPORT ------------
    Event: time 1571501923.153937, type 3 (EV_ABS), code 0 (ABS_X), value 1535
    Event: time 1571501923.153937, type 3 (EV_ABS), code 1 (ABS_Y), value 2652
    Event: time 1571501923.153937, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 242
    Event: time 1571501923.153937, -------------- SYN_REPORT ------------
    Event: time 1571501923.155878, type 3 (EV_ABS), code 0 (ABS_X), value 1542
    Event: time 1571501923.155878, type 3 (EV_ABS), code 1 (ABS_Y), value 2654
    Event: time 1571501923.155878, -------------- SYN_REPORT ------------
    Event: time 1571501923.157775, type 3 (EV_ABS), code 0 (ABS_X), value 1545
    Event: time 1571501923.157775, type 3 (EV_ABS), code 1 (ABS_Y), value 2655
    Event: time 1571501923.157775, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 241
    Event: time 1571501923.157775, -------------- SYN_REPORT ------------
    Event: time 1571501923.159721, type 3 (EV_ABS), code 0 (ABS_X), value 1541
    Event: time 1571501923.159721, -------------- SYN_REPORT ------------
    Event: time 1571501923.161648, type 3 (EV_ABS), code 0 (ABS_X), value 1543
    Event: time 1571501923.161648, type 3 (EV_ABS), code 1 (ABS_Y), value 2656
    Event: time 1571501923.161648, -------------- SYN_REPORT ------------
    Event: time 1571501923.163584, type 3 (EV_ABS), code 0 (ABS_X), value 1544
    Event: time 1571501923.163584, type 3 (EV_ABS), code 1 (ABS_Y), value 2655
    Event: time 1571501923.163584, -------------- SYN_REPORT ------------
    Event: time 1571501923.165523, type 3 (EV_ABS), code 0 (ABS_X), value 1537
    Event: time 1571501923.165523, -------------- SYN_REPORT ------------
    Event: time 1571501923.167445, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 242
    Event: time 1571501923.167445, -------------- SYN_REPORT ------------
    Event: time 1571501923.169360, type 3 (EV_ABS), code 0 (ABS_X), value 1545
    Event: time 1571501923.169360, -------------- SYN_REPORT ------------
    Event: time 1571501923.171309, type 3 (EV_ABS), code 0 (ABS_X), value 1548
    Event: time 1571501923.171309, type 3 (EV_ABS), code 1 (ABS_Y), value 2654
    Event: time 1571501923.171309, -------------- SYN_REPORT ------------
    Event: time 1571501923.173648, type 3 (EV_ABS), code 0 (ABS_X), value 1541
    Event: time 1571501923.173648, type 3 (EV_ABS), code 1 (ABS_Y), value 2655
    Event: time 1571501923.173648, -------------- SYN_REPORT ------------
    Event: time 1571501923.176003, type 3 (EV_ABS), code 0 (ABS_X), value 1538
    Event: time 1571501923.176003, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 243
    Event: time 1571501923.176003, -------------- SYN_REPORT ------------
    Event: time 1571501923.177919, type 3 (EV_ABS), code 0 (ABS_X), value 1545
    Event: time 1571501923.177919, type 3 (EV_ABS), code 1 (ABS_Y), value 2654
    Event: time 1571501923.177919, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 242
    Event: time 1571501923.177919, -------------- SYN_REPORT ------------
    Event: time 1571501923.179864, type 3 (EV_ABS), code 0 (ABS_X), value 1543
    Event: time 1571501923.179864, -------------- SYN_REPORT ------------
    Event: time 1571501923.181774, type 3 (EV_ABS), code 0 (ABS_X), value 1546
    Event: time 1571501923.181774, type 3 (EV_ABS), code 1 (ABS_Y), value 2653
    Event: time 1571501923.181774, -------------- SYN_REPORT ------------
    Event: time 1571501923.183702, type 3 (EV_ABS), code 0 (ABS_X), value 1556
    Event: time 1571501923.183702, type 3 (EV_ABS), code 1 (ABS_Y), value 2651
    Event: time 1571501923.183702, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 241
    Event: time 1571501923.183702, -------------- SYN_REPORT ------------
    Event: time 1571501923.185638, type 3 (EV_ABS), code 0 (ABS_X), value 1552
    Event: time 1571501923.185638, type 3 (EV_ABS), code 1 (ABS_Y), value 2650
    Event: time 1571501923.185638, -------------- SYN_REPORT ------------
    Event: time 1571501923.187563, type 3 (EV_ABS), code 0 (ABS_X), value 1548
    Event: time 1571501923.187563, type 3 (EV_ABS), code 1 (ABS_Y), value 2649
    Event: time 1571501923.187563, -------------- SYN_REPORT ------------
    Event: time 1571501923.189476, type 3 (EV_ABS), code 0 (ABS_X), value 1543
    Event: time 1571501923.189476, type 3 (EV_ABS), code 1 (ABS_Y), value 2650
    Event: time 1571501923.189476, -------------- SYN_REPORT ------------
    Event: time 1571501923.191368, type 3 (EV_ABS), code 1 (ABS_Y), value 2651
    Event: time 1571501923.191368, -------------- SYN_REPORT ------------
    Event: time 1571501923.193296, type 3 (EV_ABS), code 0 (ABS_X), value 1546
    Event: time 1571501923.193296, type 3 (EV_ABS), code 1 (ABS_Y), value 2650
    Event: time 1571501923.193296, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 242
    Event: time 1571501923.193296, -------------- SYN_REPORT ------------
    Event: time 1571501923.195211, type 3 (EV_ABS), code 0 (ABS_X), value 1548
    Event: time 1571501923.195211, type 3 (EV_ABS), code 1 (ABS_Y), value 2651
    Event: time 1571501923.195211, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 241
    Event: time 1571501923.195211, -------------- SYN_REPORT ------------
    Event: time 1571501923.197144, type 3 (EV_ABS), code 0 (ABS_X), value 1544
    Event: time 1571501923.197144, type 3 (EV_ABS), code 1 (ABS_Y), value 2650
    Event: time 1571501923.197144, -------------- SYN_REPORT ------------
    Event: time 1571501923.199079, type 3 (EV_ABS), code 0 (ABS_X), value 1546
    Event: time 1571501923.199079, type 3 (EV_ABS), code 1 (ABS_Y), value 2651
    Event: time 1571501923.199079, -------------- SYN_REPORT ------------
    Event: time 1571501923.200997, type 3 (EV_ABS), code 0 (ABS_X), value 1554
    Event: time 1571501923.200997, type 3 (EV_ABS), code 1 (ABS_Y), value 2650
    Event: time 1571501923.200997, -------------- SYN_REPORT ------------
    Event: time 1571501923.202918, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 240
    Event: time 1571501923.202918, -------------- SYN_REPORT ------------
    Event: time 1571501923.204836, type 3 (EV_ABS), code 0 (ABS_X), value 1546
    Event: time 1571501923.204836, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 241
    Event: time 1571501923.204836, -------------- SYN_REPORT ------------
    Event: time 1571501923.206759, type 3 (EV_ABS), code 0 (ABS_X), value 1541
    Event: time 1571501923.206759, type 3 (EV_ABS), code 1 (ABS_Y), value 2651
    Event: time 1571501923.206759, -------------- SYN_REPORT ------------
    Event: time 1571501923.208679, type 3 (EV_ABS), code 0 (ABS_X), value 1543
    Event: time 1571501923.208679, type 3 (EV_ABS), code 1 (ABS_Y), value 2653
    Event: time 1571501923.208679, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 240
    Event: time 1571501923.208679, -------------- SYN_REPORT ------------
    Event: time 1571501923.210619, type 3 (EV_ABS), code 0 (ABS_X), value 1548
    Event: time 1571501923.210619, type 3 (EV_ABS), code 1 (ABS_Y), value 2652
    Event: time 1571501923.210619, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 241
    Event: time 1571501923.210619, -------------- SYN_REPORT ------------
    Event: time 1571501923.212544, type 3 (EV_ABS), code 1 (ABS_Y), value 2653
    Event: time 1571501923.212544, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 240
    Event: time 1571501923.212544, -------------- SYN_REPORT ------------
    Event: time 1571501923.214483, type 3 (EV_ABS), code 0 (ABS_X), value 1547
    Event: time 1571501923.214483, type 3 (EV_ABS), code 1 (ABS_Y), value 2654
    Event: time 1571501923.214483, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 239
    Event: time 1571501923.214483, -------------- SYN_REPORT ------------
    Event: time 1571501923.216380, type 3 (EV_ABS), code 0 (ABS_X), value 1549
    Event: time 1571501923.216380, -------------- SYN_REPORT ------------
    Event: time 1571501923.218294, type 3 (EV_ABS), code 0 (ABS_X), value 1552
    Event: time 1571501923.218294, type 3 (EV_ABS), code 1 (ABS_Y), value 2655
    Event: time 1571501923.218294, -------------- SYN_REPORT ------------
    Event: time 1571501923.220243, type 3 (EV_ABS), code 0 (ABS_X), value 1544
    Event: time 1571501923.220243, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 238
    Event: time 1571501923.220243, -------------- SYN_REPORT ------------
    Event: time 1571501923.222182, type 3 (EV_ABS), code 0 (ABS_X), value 1542
    Event: time 1571501923.222182, type 3 (EV_ABS), code 1 (ABS_Y), value 2657
    Event: time 1571501923.222182, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 236
    Event: time 1571501923.222182, -------------- SYN_REPORT ------------
    Event: time 1571501923.224139, type 3 (EV_ABS), code 0 (ABS_X), value 1554
    Event: time 1571501923.224139, type 3 (EV_ABS), code 1 (ABS_Y), value 2654
    Event: time 1571501923.224139, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 232
    Event: time 1571501923.224139, -------------- SYN_REPORT ------------
    Event: time 1571501923.226054, type 3 (EV_ABS), code 0 (ABS_X), value 1543
    Event: time 1571501923.226054, type 3 (EV_ABS), code 1 (ABS_Y), value 2652
    Event: time 1571501923.226054, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 224
    Event: time 1571501923.226054, -------------- SYN_REPORT ------------
    Event: time 1571501923.227978, type 3 (EV_ABS), code 0 (ABS_X), value 1515
    Event: time 1571501923.227978, type 3 (EV_ABS), code 1 (ABS_Y), value 2651
    Event: time 1571501923.227978, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 207
    Event: time 1571501923.227978, -------------- SYN_REPORT ------------
    Event: time 1571501923.230230, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
    Event: time 1571501923.230230, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 0
    Event: time 1571501923.230230, -------------- SYN_REPORT ------------
    ^Croot@am335x-evm:/#


    Regards,
    Simon

  • Hello Simon,

    AM3358 Starter Kit EVM uses a resistive touch screen. Coordinates are getting reported by evtest when you touch the screen, so you are probably seeing a calibration issue.

    Calibration-related Notes

    1) Resistive touch screens tend to be more noisy than capacitive touch screens. During calibration and use, we suggest using a stylus instead of a finger.

    2) SDK 6.1 uses a Weston-based graphics system by default. While Weston is good for a lot of situations, we have observed resistive touchscreens performing worse when using Weston than when they use the older tslib. Weston vs non-weston matters for what steps you follow in our How to Recalibrate the Touchscreen guide.

    3) If using a resistive touchscreen is important to you, consider using Yocto to rebuild the filesystem without wayland/weston. Then you can use tslib instead. Potentially helpful posts include Running EGFLS Instead of Wayland and Weston Issues

    Touchscreen Alternatives 

    If you just need to interact with the GUI and do not care about whether resistive touchscreen is working or not, you should be able to just connect a mouse over USB.

    Regards,

    Nick