Bullseye touchscrren issue

Open
#4,881 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
c

Research direction

Start by reproducing the touchscreen behavior on Bullseye with the BTT PITFT5.0 V1.0 and Raspberry Pi 4, using evtest to compare the reported input device and event stream with the burst version. No source file or test is named; done means eliminating the random touch events and confirming correct touchscreen input.

Written by the indexing model from the issue text.

Description

Describe the bug

with burst version touchscreen works properly
evtest show correctly /dev/input/event0: raspberrypi-ts
but with bullseye version touchscreen flicker random touch arround the screen
and evtest show /dev/input/event0: generic ft5x06 (80)

Steps to reproduce the behaviour

use bullseye version of raspian with BTT PITFT5.0 V1.0 (clone of official touchscreen)

Device (s)

Raspberry Pi 4 Mod. B

System

cat /etc/rpi-issue using pi-gen, https://github.com/RPi-Distro/pi-gen, fbe448ccdc995d295d24c7596e5f0ef62cc2488f, stage4

vcgencmd version Jan 20 2022 13:56:48 Copyright (c) 2012 Broadcom version bd88f66f8952d34e4e0613a85c7a6d3da49e13e2

uname -a Linux pi 5.10.92-v8+ #1514 SMP PREEMPT Mon Jan 17 17:39:38 GMT 2022 aarch64 GNU/Linux

Logs

evtest \dev\input\event0

Input driver version is 1.0.1 Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0 Input device name: "generic ft5x06 (80)" 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 684 Min 0 Max 799 Event code 1 (ABS_Y) Value -2849 Min 0 Max 479 Event code 47 (ABS_MT_SLOT) Value 3 Min 0 Max 9 Event code 53 (ABS_MT_POSITION_X) Value 0 Min 0 Max 799 Event code 54 (ABS_MT_POSITION_Y) Value 0 Min 0 Max 479 Event code 57 (ABS_MT_TRACKING_ID) Value 0 Min 0 Max 65535 Properties: Property type 1 (INPUT_PROP_DIRECT) Testing ... (interrupt to exit) Event: time 1644407529.409569, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 5 Event: time 1644407529.409569, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1 Event: time 1644407529.409569, -------------- SYN_REPORT ------------ Event: time 1644407529.433630, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 3 Event: time 1644407529.433630, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 3111 Event: time 1644407529.433630, -------------- SYN_REPORT ------------ Event: time 1644407529.457600, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 5 Event: time 1644407529.457600, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 3112 Event: time 1644407529.457600, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 3 Event: time 1644407529.457600, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1 Event: time 1644407529.457600, -------------- SYN_REPORT ------------ Event: time 1644407529.485502, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 5 Event: time 1644407529.485502, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1 Event: time 1644407529.485502, -------------- SYN_REPORT ------------ Event: time 1644407529.509511, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 3 Event: time 1644407529.509511, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 3113 Event: time 1644407529.509511, -------------- SYN_REPORT ------------ Event: time 1644407529.533535, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 5 Event: time 1644407529.533535, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 3114 Event: time 1644407529.533535, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 3 Event: time 1644407529.533535, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1 Event: time 1644407529.533535, -------------- SYN_REPORT ------------ Event: time 1644407529.557499, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 5 Event: time 1644407529.557499, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1 Event: time 1644407529.557499, -------------- SYN_REPORT ------------ Event: time 1644407529.585520, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 3 Event: time 1644407529.585520, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 3115 Event: time 1644407529.585520, -------------- SYN_REPORT ------------ Event: time 1644407529.609566, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 5 Event: time 1644407529.609566, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 3116 Event: time 1644407529.609566, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 3 Event: time 1644407529.609566, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1 Event: time 1644407529.609566, -------------- SYN_REPORT ------------ Event: time 1644407529.633521, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 5 Event: time 1644407529.633521, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1 Event: time 1644407529.633521, -------------- SYN_REPORT ------------ Event: time 1644407529.657522, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 3 Event: time 1644407529.657522, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 3117 Event: time 1644407529.657522, -------------- SYN_REPORT ------------ Event: time 1644407529.681556, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 5 Event: time 1644407529.681556, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 3118 Event: time 1644407529.681556, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 3 Event: time 1644407529.681556, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1 Event: time 1644407529.681556, -------------- SYN_REPORT ------------ Event: time 1644407529.705540, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 5 Event: time 1644407529.705540, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1 Event: time 1644407529.705540, -------------- SYN_REPORT ------------ Event: time 1644407529.729522, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 3 Event: time 1644407529.729522, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 3119 Event: time 1644407529.729522, -------------- SYN_REPORT ------------ Event: time 1644407529.753561, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 5 Event: time 1644407529.753561, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 3120 Event: time 1644407529.753561, type 3 (EV_ABS), code 47 (ABS_MT_SLOT), value 3 Event: time 1644407529.753561, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1 and loooooop

Additional context

No response

Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/linux

All issues in raspberrypi/linux

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.