docs: clarify that the fix is for raspberry

This commit is contained in:
alfrix
2023-10-13 23:22:38 -03:00
parent 2e80d532d6
commit ff84b1aa97
2 changed files with 4 additions and 6 deletions

View File

@@ -2,13 +2,10 @@
If the screen is connected over USB, issues with the cable may cause similar symptoms. For that, please see [this guide](Physical_Install.md#cable-issues). If the screen is connected over USB, issues with the cable may cause similar symptoms. For that, please see [this guide](Physical_Install.md#cable-issues).
## Touch not working ## Touch not working on RaspberryOS and derivatives
Some DSI screens have issues where touch doesn't work with Debian Bullseye, or even in Debian Buster after an update. There is currently (September 2023) still no fix in upstream Debian. 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.
The current workaround/temporary fix involves changing the kernel driver module used for these displays.
### Fix
Open `/boot/config.txt` for editing using `sudo nano /boot/config.txt` and change Open `/boot/config.txt` for editing using `sudo nano /boot/config.txt` and change

View File

@@ -1029,6 +1029,7 @@ class KlipperScreen(Gtk.Window):
width, height = self.get_size() width, height = self.get_size()
if width != self.width or height != self.height: if width != self.width or height != self.height:
logging.info(f"Size changed: {self.width}x{self.height}") logging.info(f"Size changed: {self.width}x{self.height}")
self.show_error_modal(f"SIZE ISSUE {self.width}x{self.height}")
self.width, self.height = width, height self.width, self.height = width, height
new_ratio = self.width / self.height new_ratio = self.width / self.height
new_mode = new_ratio < 1.0 new_mode = new_ratio < 1.0