diff --git a/README.md b/README.md index d00b125..df24f15 100644 --- a/README.md +++ b/README.md @@ -19,14 +19,16 @@ After login (ssh) proceed with these steps: 4. `git clone https://repos.ctdo.de/interfisch/bananenkeyboard/` 5. `pip3 install pyserial pygame` 6. `sudo sh -c 'echo "\n[all]\nenable_uart=1\n" >>/boot/config.txt'` -7. `sudo mkdir /etc/systemd/system/systemd-udevd.service.d` -8. `sudo sh -c 'echo "[Service]\nPrivateMounts=no" >/etc/systemd/system/systemd-udevd.service.d/00-my-custom-mountflags.conf'` -9. `chmod u+x ~/bananenkeyboard/Pi/s.py` -10. `sudo sh -c 'cp /home/pi/bananenkeyboard/piconfig/rc.local /etc/rc.local'` -11. `sudo chmod u+x /etc/rc.local` -12. `chmod u+x ~/bananenkeyboard/piconfig/readonly.sh` -13. `~/bananenkeyboard/piconfig/readonly.sh` -14. `sudo reboot` +7. `sudo sh -c 'sed 's/^dtoverlay=vc4-kms-v3d/dtoverlay=vc4-fkms-v3d/' -i /boot/config.txt` +8. `sudo mkdir /etc/systemd/system/systemd-udevd.service.d` +9. `sudo sh -c 'echo "[Service]\nPrivateMounts=no" >/etc/systemd/system/systemd-udevd.service.d/00-my-custom-mountflags.conf'` +10. `chmod u+x ~/bananenkeyboard/Pi/s.py` +11. `sudo sh -c 'cp /home/pi/bananenkeyboard/piconfig/rc.local /etc/rc.local'` +12. `sudo chmod u+x /etc/rc.local` +13. `chmod u+x ~/bananenkeyboard/piconfig/readonly.sh` +14. `~/bananenkeyboard/piconfig/readonly.sh` +15. `sudo gpasswd --add pi tty` +16. `sudo reboot` By copying the rc.local (step 10), the script will be started in a `screen` after reboot.