when I try to setup my USB serial port device with the serial node I receive following error:
"[serialconfig:f60377cd5b554771] Serieller Port /dev/bus/usb/001/005 FEHLER: Error: Error: Inappropriate ioctl for device setting custom baud rate of 115200"
The lsusb output is:
Bus 001 Device 005: ID 0403:6001 Future Technology Devices International, Ltd FT 232 Serial (UART) IC
My OS is raspberry PI 4. node-red version is:
Starting as a systemd service.
21 Feb 12:38:40 - [info]
Willkommen bei Node-RED
21 Feb 12:38:40 - [info] Node-RED Version: v3.0.2
21 Feb 12:38:40 - [info] Node.js Version: v16.19.1
21 Feb 12:38:40 - [info] Linux 5.15.84-v8+ arm64 LE
21 Feb 12:38:41 - [info] Paletten-Nodes werden geladen
21 Feb 12:38:43 - [info] Einstellungsdatei: /home/pi/.node-red/settings.js
21 Feb 12:38:43 - [info] Kontextspeicher: default [module=memory]
21 Feb 12:38:43 - [info] Benutzerverzeichnis: /home/pi/.node-red
21 Feb 12:38:43 - [warn] Projekte deaktiviert: editorTheme.projects.enabled=false
21 Feb 12:38:43 - [info] Flow-Datei: /home/pi/.node-red/flows.json
21 Feb 12:38:43 - [warn] Verschlüsselte Credentials nicht gefunden
21 Feb 12:38:43 - [info] Server wird jetzt auf http://127.0.0.1:1880/ ausgeführt
21 Feb 12:38:43 - [info] Flows werden gestartet
21 Feb 12:38:43 - [info] Flows sind gestartet
21 Feb 12:38:43 - [error] [serialconfig:f60377cd5b554771] Serieller Port /dev/bus/usb/001/006 FEHLER: Error: Error: Inappropriate ioctl for device setting custom baud rate of 115200
I don't know whether that should work or not, it is certainly not the usual way of doing it. Normally one would use something like /dev/ttyUSB0 but the best way is usually to use /dev/serial/by-id/<device id> where you can find the id by running ls /dev/serial/by-id. That is better than using ttyUSB0 as you might find that suddenly it changes to ttyUSB1. So for example, for my serial port dongle is /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0.