so nach dem der ganze Rest jetzt so einigermaßen läuft hab ich noch zwei Probleme
Installation Mjpg Streamer
ich bin nach der Anleitung gefolgt:Anleitung
und erhalte folgenden Fehler:
Code
gcc -D'SVN_REV="3:172M"' -O2 -DLINUX -D_GNU_SOURCE -Wall -c -o utils.o utils.c
In file included from /usr/include/arm-linux-gnueabihf/sys/stat.h:446,
from utils.c:33:
/usr/include/arm-linux-gnueabihf/bits/statx.h:25:8: error: redefinition of ‘struct statx_timestamp’
struct statx_timestamp
^~~~~~~~~~~~~~~
In file included from utils.c:32:
/usr/include/linux/stat.h:56:8: note: originally defined here
struct statx_timestamp {
^~~~~~~~~~~~~~~
In file included from /usr/include/arm-linux-gnueabihf/sys/stat.h:446,
from utils.c:33:
/usr/include/arm-linux-gnueabihf/bits/statx.h:36:8: error: redefinition of ‘struct statx’
struct statx
^~~~~
In file included from utils.c:32:
/usr/include/linux/stat.h:99:8: note: originally defined here
struct statx {
^~~~~
make: *** [<eingebaut>: utils.o] Fehler 1
Alles anzeigen
Woran liegt das?
Das Zweite Problem ist ein RS232 Problem... Ich habe gut und günstige USB RS232 Adapter. Diese funktionieren ohne Probleme. An einem hängt ein Nextion Display und am zweiten ein RD5600 RFID Reader. Nun soll es ja vorkommen das ttyUSB0 und ttyUSB1 "die Plätze tauschen". Nun wollte ich eine udev Regel anlegen und musste feststellen das scheinbar beide Adapter die selbe Seriennummer haben?! Kann das sein?
Code
Bus 001 Device 011: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family]
Bus 001 Device 010: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family]
Code
root@doorPI:~# udevadm info -a -n /dev/ttyUSB0 | grep '{serial}' | head -n1
ATTRS{serial}=="0001"
root@doorPI:~# udevadm info -a -n /dev/ttyUSB1 | grep '{serial}' | head -n1
ATTRS{serial}=="0001"
root@doorPI:~#
Es handelt sich um diese Hier
Grüße