ups,... Sorry Ulli. 
da erkenne ich überhaupt nix. Bin absolut ein Anfänger.
Meinst du vielleicht, das bei
$USBDevice = 
nur die Nummer 5 hinein gehört, oder /dev/ttyUSB5?
 
login as: pi
pi@solaranzeige's password:
Linux solaranzeige 6.1.21-v7+ #1642 SMP Mon Apr  3 17:20:52 BST 2023 armv7l
Software Version 5.1.1 [32Bit]    basic    Juni  2023
Software Version 5.1.1d           update   September  2023
Software Version 5.1.1e           update   November  2023
Last login: Thu Nov  2 16:48:12 2023 from 192.168.178.21
pi@solaranzeige:~ $ hwinfo --usb
18: USB 00.0: 0700 Serial controller
  [Created at usb.122]
  Unique ID: N0O2.zv7lh3BJnp7
  Parent ID: lfzD.YCWTDwYJz_B
  SysFS ID: /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3:1.0
  SysFS BusID: 1-1.1.3:1.0
  Hardware Class: unknown
  Model: "QinHeng Electronics HL-340 USB-Serial adapter"
  Hotplug: USB
  Vendor: usb 0x1a86 "QinHeng Electronics"
  Device: usb 0x7523 "HL-340 USB-Serial adapter"
  Revision: "2.64"
  Driver: "ch341"
  Driver Modules: "usbserial"
  Device File: /dev/ttyUSB0
  Device Files: /dev/ttyUSB0, /dev/serial/by-path/platform-3f980000.usb-usb-0:1.1.3:1.0-port0
  Device Number: char 188:0
  Speed: 12 Mbps
  Module Alias: "usb:v1A86p7523d0264dcFFdsc00dp00icFFisc01ip02in00"
  Driver Info #0:
    Driver Status: ch341 is active
    Driver Activation Cmd: "modprobe ch341"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #24 (Hub)
19: USB 00.0: 10800 Keyboard
  [Created at usb.122]
  Unique ID: BobO.f7mx8T6d61E
  Parent ID: ADDn.YCWTDwYJz_B
  SysFS ID: /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0
  SysFS BusID: 1-1.2:1.0
  Hardware Class: keyboard
  Model: "Logitech Unifying Receiver"
  Hotplug: USB
  Vendor: usb 0x046d "Logitech, Inc."
  Device: usb 0xc534 "Unifying Receiver"
  Revision: "29.01"
  Driver: "usbhid"
  Driver Modules: "usbhid"
  Speed: 12 Mbps
  Module Alias: "usb:v046DpC534d2901dc00dsc00dp00ic03isc01ip01in00"
  Driver Info #0:
    XkbRules: xfree86
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #25 (Hub)
20: USB 00.0: 0700 Serial controller
  [Created at usb.122]
  Unique ID: dwDZ.zv7lh3BJnp7
  Parent ID: ADDn.YCWTDwYJz_B
  SysFS ID: /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0
  SysFS BusID: 1-1.3:1.0
  Hardware Class: unknown
  Model: "QinHeng Electronics HL-340 USB-Serial adapter"
  Hotplug: USB
  Vendor: usb 0x1a86 "QinHeng Electronics"
  Device: usb 0x7523 "HL-340 USB-Serial adapter"
  Revision: "2.64"
  Driver: "ch341"
  Driver Modules: "usbserial"
  Device File: /dev/ttyUSB1
  Device Files: /dev/ttyUSB1, /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0, /dev/serial/by-path/platform-3f980000.usb-usb-0:1.3:1.0-port0
  Device Number: char 188:1
  Speed: 12 Mbps
  Module Alias: "usb:v1A86p7523d0264dcFFdsc00dp00icFFisc01ip02in00"
  Driver Info #0:
    Driver Status: ch341 is active
    Driver Activation Cmd: "modprobe ch341"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #25 (Hub)
21: USB 00.0: 0200 Ethernet controller
  [Created at usb.122]
  Unique ID: Vl7j.8_I5RcIC_05
  Parent ID: lfzD.YCWTDwYJz_B
  SysFS ID: /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.1/1-1.1.1:1.0
  SysFS BusID: 1-1.1.1:1.0
  Hardware Class: network
  Model: "Microchip Technology, Inc. (formerly SMSC) Ethernet controller"
  Hotplug: USB
  Vendor: usb 0x0424 "Microchip Technology, Inc. (formerly SMSC)"
  Device: usb 0x7800
  Revision: "3.00"
  Driver: "lan78xx"
  Driver Modules: "lan78xx"
  Device File: eth0
  Speed: 480 Mbps
  HW Address: b8:27:eb:a9:cc:2b
  Permanent HW Address: b8:27:eb:a9:cc:2b
  Link detected: yes
  Module Alias: "usb:v0424p7800d0300dcFFdsc00dpFFicFFisc00ipFFin00"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #24 (Hub)
22: USB 00.1: 10503 USB Mouse
  [Created at usb.122]
  Unique ID: ezrS.anqLpZFcgY2
  Parent ID: ADDn.YCWTDwYJz_B
  SysFS ID: /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1
  SysFS BusID: 1-1.2:1.1
  Hardware Class: mouse
  Model: "Logitech Unifying Receiver"
  Hotplug: USB
  Vendor: usb 0x046d "Logitech, Inc."
  Device: usb 0xc534 "Unifying Receiver"
  Revision: "29.01"
  Compatible to: int 0x0200 0x0001 "Wortzensur USB Mouse"
  Driver: "usbhid"
  Driver Modules: "usbhid"
  Speed: 12 Mbps
  Module Alias: "usb:v046DpC534d2901dc00dsc00dp00ic03isc01ip02in01"
  Driver Info #0:
    XFree86 Protocol: explorerps/2
    GPM Protocol: exps2
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #25 (Hub)
23: USB 00.0: 10a00 Hub
  [Created at usb.122]
  Unique ID: k4bc.D6ER+lJeRh3
  SysFS ID: /devices/platform/soc/3f980000.usb/usb1/1-0:1.0
  SysFS BusID: 1-0:1.0
  Hardware Class: hub
  Model: "Linux Foundation 2.0 root hub"
  Hotplug: USB
  Vendor: usb 0x1d6b "Linux Foundation"
  Device: usb 0x0002 "2.0 root hub"
  Revision: "6.01"
  Serial ID: "3f980000.usb"
  Driver: "hub"
  Driver Modules: "usbcore"
  Speed: 480 Mbps
  Module Alias: "usb:v1D6Bp0002d0601dc09dsc00dp01ic09isc00ip00in00"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
24: USB 00.0: 10a00 Hub
  [Created at usb.122]
  Unique ID: lfzD.YCWTDwYJz_B
  Parent ID: ADDn.YCWTDwYJz_B
  SysFS ID: /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1:1.0
  SysFS BusID: 1-1.1:1.0
  Hardware Class: hub
  Model: "Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub"
  Hotplug: USB
  Vendor: usb 0x0424 "Microchip Technology, Inc. (formerly SMSC)"
  Device: usb 0x2514 "USB 2.0 Hub"
  Revision: "b.b3"
  Driver: "hub"
  Driver Modules: "usbcore"
  Speed: 480 Mbps
  Module Alias: "usb:v0424p2514d0BB3dc09dsc00dp02ic09isc00ip02in00"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #25 (Hub)
25: USB 00.0: 10a00 Hub
  [Created at usb.122]
  Unique ID: ADDn.YCWTDwYJz_B
  Parent ID: k4bc.D6ER+lJeRh3
  SysFS ID: /devices/platform/soc/3f980000.usb/usb1/1-1/1-1:1.0
  SysFS BusID: 1-1:1.0
  Hardware Class: hub
  Model: "Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub"
  Hotplug: USB
  Vendor: usb 0x0424 "Microchip Technology, Inc. (formerly SMSC)"
  Device: usb 0x2514 "USB 2.0 Hub"
  Revision: "b.b3"
  Driver: "hub"
  Driver Modules: "usbcore"
  Speed: 480 Mbps
  Module Alias: "usb:v0424p2514d0BB3dc09dsc00dp02ic09isc00ip02in00"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #23 (Hub)
pi@solaranz