From 912ecea3e3b9bed930d9304f667ead51d06143f8 Mon Sep 17 00:00:00 2001 From: Jordan Date: Sun, 27 Jun 2021 19:04:13 -0400 Subject: [PATCH] docs: Add multiple fb devices to troubleshooting --- docs/Troubleshooting.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/Troubleshooting.md b/docs/Troubleshooting.md index 5b0b1ff1..5252db92 100644 --- a/docs/Troubleshooting.md +++ b/docs/Troubleshooting.md @@ -14,7 +14,7 @@ run `journalctl -xe -u KlipperScreen`. ## Common Errors -### Problems occuring before the log file appears +### Problems occurring before the log file appears This section will detail problems that may happen before the log file has been created. Each section will start with a relevant line from the journalctl output. @@ -30,3 +30,15 @@ This should have the line `allowed_users=anybody` in it Run the command `cat /etc/group | grep tty`. If you username is not listed under that line, you need to add it with the following command (if you username is not 'pi' change 'pi' to your username): `usermode -a -G tty pi` + + +### Problems occurring with the log file + +#### Screen shows console instead of KlipperScreen +Run the command `ls /dev/fb*`. If you have multiple devices, you may need to fix the X11 configuration. + +Run the command `cat /usr/share/X11/xorg.conf.d/99-fbturbo.conf | grep /dev/fb`. Try modifying the file ( +`sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf`) and change `/dev/fb0` to a different file listed in the +previous command (i.e. `/dev/fb1`). + +Once you have saved that file, restart KlipperScreen and it should show up on your display.