docs: Add multiple fb devices to troubleshooting

This commit is contained in:
Jordan 2021-06-27 19:04:13 -04:00
parent f681676e8d
commit 912ecea3e3

View File

@ -14,7 +14,7 @@ run `journalctl -xe -u KlipperScreen`.
## Common Errors ## 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 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. 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 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): following command (if you username is not 'pi' change 'pi' to your username):
`usermode -a -G tty pi` `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.