„README.md“ ändern
Necessary steps for UART-Access (/dev/ttyS0) and vc4-capabilities added
This commit is contained in:
parent
41195b3cca
commit
c19ce7b413
18
README.md
18
README.md
|
@ -19,14 +19,16 @@ After login (ssh) proceed with these steps:
|
||||||
4. `git clone https://repos.ctdo.de/interfisch/bananenkeyboard/`
|
4. `git clone https://repos.ctdo.de/interfisch/bananenkeyboard/`
|
||||||
5. `pip3 install pyserial pygame`
|
5. `pip3 install pyserial pygame`
|
||||||
6. `sudo sh -c 'echo "\n[all]\nenable_uart=1\n" >>/boot/config.txt'`
|
6. `sudo sh -c 'echo "\n[all]\nenable_uart=1\n" >>/boot/config.txt'`
|
||||||
7. `sudo mkdir /etc/systemd/system/systemd-udevd.service.d`
|
7. `sudo sh -c 'sed 's/^dtoverlay=vc4-kms-v3d/dtoverlay=vc4-fkms-v3d/' -i /boot/config.txt`
|
||||||
8. `sudo sh -c 'echo "[Service]\nPrivateMounts=no" >/etc/systemd/system/systemd-udevd.service.d/00-my-custom-mountflags.conf'`
|
8. `sudo mkdir /etc/systemd/system/systemd-udevd.service.d`
|
||||||
9. `chmod u+x ~/bananenkeyboard/Pi/s.py`
|
9. `sudo sh -c 'echo "[Service]\nPrivateMounts=no" >/etc/systemd/system/systemd-udevd.service.d/00-my-custom-mountflags.conf'`
|
||||||
10. `sudo sh -c 'cp /home/pi/bananenkeyboard/piconfig/rc.local /etc/rc.local'`
|
10. `chmod u+x ~/bananenkeyboard/Pi/s.py`
|
||||||
11. `sudo chmod u+x /etc/rc.local`
|
11. `sudo sh -c 'cp /home/pi/bananenkeyboard/piconfig/rc.local /etc/rc.local'`
|
||||||
12. `chmod u+x ~/bananenkeyboard/piconfig/readonly.sh`
|
12. `sudo chmod u+x /etc/rc.local`
|
||||||
13. `~/bananenkeyboard/piconfig/readonly.sh`
|
13. `chmod u+x ~/bananenkeyboard/piconfig/readonly.sh`
|
||||||
14. `sudo reboot`
|
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.
|
By copying the rc.local (step 10), the script will be started in a `screen` after reboot.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue