From a1a15f319d4cc0b7507a699fb43f16490072cc65 Mon Sep 17 00:00:00 2001 From: alfrix Date: Sat, 2 Mar 2024 17:30:14 -0300 Subject: [PATCH] docs: add alternative to xinput list --- docs/Troubleshooting/Touch_issues.md | 32 +++++++++++++++++++--------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/docs/Troubleshooting/Touch_issues.md b/docs/Troubleshooting/Touch_issues.md index 7397ca06..4f7cbe87 100644 --- a/docs/Troubleshooting/Touch_issues.md +++ b/docs/Troubleshooting/Touch_issues.md @@ -18,30 +18,30 @@ For that, please see [this guide](Physical_Install.md#cable-issues). Some DSI screens have issues where touch doesn't work with the default configuration. The current workaround/temporary fix involves changing the kernel driver module used for these displays. - + `sudo nano /boot/config.txt` and change - + ```sh dtoverlay=vc4-kms-v3d ``` - + to - + ```sh dtoverlay=vc4-fkms-v3d ``` Close the nano editor using `ctrl`+`x` (exit), then `y` for yes (save). - + **Reboot** to apply changes. `sudo reboot` - + If that doesn't fix it, you can try commenting these lines out, resulting in: - + ```sh # dtoverlay=vc4-kms-v3d # max_framebuffers=2 ``` - + **Reboot** to apply changes. `sudo reboot` ## Touch rotation and matrix @@ -118,7 +118,7 @@ Close the nano editor using `ctrl`+`x` (exit), then `y` for yes (save). ```sh title="51-touchscreen.rules" ACTION=="add", ATTRS{name}=="ADS7846 Touchscreen", ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 0 -1 1 0 0 1" ``` - + Close the nano editor using `ctrl`+`x` (exit), then `y` for yes (save). @@ -224,4 +224,16 @@ Close the nano editor using `ctrl`+`x` (exit), then `y` for yes (save). test the persistency of the settings by rebooting ```sh sudo reboot -``` \ No newline at end of file +``` + +### Wayland + +an alternative to xinput list is: +``` +libinput list-devices +``` +!!! note + requires libinput-tools + ``` + sudo apt install libinput-tools + ```