kernel: add touch_count sysfs for touchscreen drivers#70
Open
greatgitsby wants to merge 4 commits intomasterfrom
Open
kernel: add touch_count sysfs for touchscreen drivers#70greatgitsby wants to merge 4 commits intomasterfrom
greatgitsby wants to merge 4 commits intomasterfrom
Conversation
Expose a touch_count sysfs attribute on both the Samsung (s6sy761) and FocalTech (edt-ft5x06) touchscreen drivers, incrementing on each finger release. This is needed by comma.sh to detect tap-based factory reset during early boot. Also fix comma.sh to reference input0 instead of input2 to match mainline kernel input device numbering. Tested on device: 1 tap=1, 3 taps=3, 5 taps=5.
Use /sys/class/input/input*/device/touch_count so comma.sh works on both mainline (input0) and vendor kernel (input2).
vamOS System ProfileChanges vs master
Added packages: freetype-2.14.3_1, freetype-devel-2.14.3_1, less-692_1, libpng-1.6.56_1, libpng-devel-1.6.56_1, pv-1.10.5_1 Removed packages: freetype-2.14.2_1, freetype-devel-2.14.2_1, less-691_1, libpng-1.6.55_1, libpng-devel-1.6.55_1, pv-1.10.4_1 Directory size changes (>1MB)
Top 10 Directories
Category Breakdown
Top 10 Packages by Size
|
| File | Size |
|---|---|
| /usr/lib/llvm/21/lib/libLLVM.so.21.1 | 124.3MB |
| /usr/lib/llvm/21/lib/libMLIR.so.21.1 | 89.7MB |
| /usr/lib/llvm/21/bin/mlir-transform-opt | 82.9MB |
| /usr/lib/llvm/21/lib/libclang-cpp.so.21.1 | 56MB |
| /usr/lib/llvm/21/bin/mlir-translate | 53.2MB |
| /usr/lib/llvm/21/bin/llvm-exegesis | 52MB |
| /usr/lib/llvm/21/bin/llvm-bolt-binary-analysis | 50.6MB |
| /usr/local/venv/lib/python3.12/site-packages/ffmpeg/install/lib/libavcodec.a | 50.5MB |
| /usr/bin/uv | 48.1MB |
| /usr/lib/gcc/aarch64-linux-gnu/14.2/gnat1 | 40.1MB |
| /usr/bin/gdb | 38.1MB |
| /usr/lib/gcc/aarch64-linux-gnu/14.2/cc1plus | 37.3MB |
| /usr/lib/libgallium-25.3.3.so | 35.4MB |
| /usr/lib/libllvm-qcom.so | 35.2MB |
| /usr/lib/gcc/aarch64-linux-gnu/14.2/cc1 | 35.2MB |
| /usr/lib/gcc/aarch64-linux-gnu/14.2/lto1 | 33.9MB |
| /usr/bin/lto-dump | 33.9MB |
| /usr/lib/libRusticlOpenCL.so.1.0.0 | 32.5MB |
| /usr/local/venv/bin/ruff | 31.8MB |
| /usr/share/icu/78.2/icudt78l.dat | 31.5MB |
| /usr/lib/llvm/21/lib/libclang.so.21.1.7 | 30.2MB |
| /usr/lib/llvm/21/bin/c-index-test | 28.6MB |
| /usr/local/venv/lib/python3.12/site-packages/gcc_arm_none_eabi/toolchain/libexec/gcc/arm-none-eabi/13.2.1/cc1 | 28.2MB |
| /usr/lib/libz3.so | 27.9MB |
| /usr/bin/run | 26.6MB |
| /usr/local/venv/lib/python3.12/site-packages/numpy.libs/libscipy_openblas64_-71e1b124.so | 23.6MB |
| /usr/comma/updater | 23.5MB |
| /usr/comma/setup | 23.5MB |
| /usr/comma/reset | 23.5MB |
| /usr/local/uv/python/cpython-3.12.13-linux-aarch64-gnu/bin/python3.12 | 22.1MB |
andiradulescu
added a commit
that referenced
this pull request
Mar 26, 2026
Collaborator
Author
|
validated on both mici and tizi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
touch_countsysfs attribute on both Samsung (s6sy761) and FocalTech (edt-ft5x06) touchscreen drivers, incrementing on each finger release eventcomma.shto referenceinput0instead ofinput2to match mainline kernel input device numberingcomma.shTest plan