docs: add alternative to xinput list

This commit is contained in:
alfrix committed 2024-03-02 17:30:14 -03:00
1 parent 597d4301b6
commit a1a15f319d
1 file changed
+22 -10
+22 -10
View File
@@ -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
```
```
### Wayland
an alternative to xinput list is:
```
libinput list-devices
```
!!! note
requires libinput-tools
```
sudo apt install libinput-tools
```