Nach einer Neuinstallation auf einem neuen Raspi4 bekomm ich den seriellen Port irgendwie nicht mehr zum Laufen. K.A. obs am neuen Raspi 4 liegt oder an der Neuinstallation samt neuem RaspiOS ect....
Ich hab das aktuelle Raspberry Pi OS installiert, mit raspi-config den seriellen Port aktiviert und ssh aktiviert, dann p4d installiert, bin auf die Weboberfläche und hab bei Verbindung den seriellen Port angegeben. ttyAMA0. Sobald ich ttyAMA0 eintrage und speichere läuft der Webserver nicht mehr und ich kann nichts mehr einstellen. Jetzt bekomme ich vom Service folgenden Fehler:
systemctl status p4d
● p4d.service - P4d Control Deamon
Loaded: loaded (/etc/systemd/system/p4d.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2023-10-24 17:45:31 CEST; 4min 53s ago
Process: 615 ExecStart=/usr/bin/p4d (code=exited, status=0/SUCCESS)
Main PID: 618 (p4d)
Tasks: 4 (limit: 472)
CPU: 11.051s
CGroup: /system.slice/p4d.service
└─618 /usr/bin/p4d
Okt 24 17:50:25 froeling p4d[618]: Got wrong communication id 0984 expected 02fd
Okt 24 17:50:25 froeling p4d[618]: Got 10 unexpected bytes
Okt 24 17:50:25 froeling p4d[618]: Error reading serial interface, reopen now!
Okt 24 17:50:25 froeling p4d[618]: Got wrong communication id 0984 expected 02fd
Okt 24 17:50:25 froeling p4d[618]: Got 10 unexpected bytes
Okt 24 17:50:25 froeling p4d[618]: Error reading serial interface, reopen now!
Okt 24 17:50:25 froeling p4d[618]: Got wrong communication id 0984 expected 02fd
Webinterface geht nicht mehr. Eine Config Datei hab ich auch nicht gefunden um das ttyAMA0 wieder abzuändern, drum alles neu installiert und nochmal probiert, kein Erfolg, gleiches Ergebnis. Der Port scheint aktiv, hier kommt folgendes bei der Abfrage:
dmesg | grep -i 'tty'
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=D8:3A:DD:73:DE:FA vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=tty1 console=ttyS0,115200 root=PARTUUID=a014457d-02 rootfstype=ext4 fsck.repair=yes rootwait
[ 0.000848] printk: console [tty1] enabled
[ 1.605208] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 36, base_baud = 0) is a PL011 rev2
[ 1.614070] printk: console [ttyS0] disabled
[ 1.614195] fe215040.serial: ttyS0 at MMIO 0xfe215040 (irq = 37, base_baud = 62500000) is a 16550
[ 2.006584] printk: console [ttyS0] enabled
[ 4.950108] systemd[1]: Created slice system-getty.slice.
[ 4.996167] systemd[1]: Created slice system-serial\x2dgetty.slice.
Ich habe auch extra nochmal die Belegung gecheckt. 5V, Masse und RX / TX sind jeweils auf dem korrekten PINS des Raspi. Auch ohne angeschlossenen Serial-Port habe ich den gleichen Fehler.
Wo könnte der Fehler liegen? Was hab ich falsch gemacht?
Danke für eure Hilfe !