ich muss für ein PV Projekt eine keleine Applikation auf einem ESP32 / Arduino erzeugen. Ich habe ein ESP32 dev modul gekauft. Wenn ich das über USB anschließe , erkennt der Dekstop Computer das ESP32 Board zwar, erzeugt aber nicht die notwendige Schnittstelle in /dev/ttyUSB0. Damit kann der ESP32 nicht mit dem Computer Verbindung aufnehmen
Hardwaremäßig wird das Geärt erkannt. Hier die Ausgabe von lsusb
Bus 004 Device 002: ID 8087:8002 Intel Corp. 8 channel internal hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:800a Intel Corp. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 1058:1230 Western Digital Technologies, Inc. My Book (WDBFJK)
Bus 003 Device 004: ID 0451:8140 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 04b8:0110 Seiko Epson Corp. GT-8200U/GT-8200UF [Perfection 1650/1650 PHOTO]
Bus 002 Device 019: ID 046d:082b Logitech, Inc. Webcam C170
Bus 002 Device 009: ID 1307:0163 Transcend Information, Inc. 256MB/512MB/1GB Flash Drive
Bus 002 Device 022: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 002 Device 012: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 002 Device 010: ID 04f2:0767 Chicony Electronics Co., Ltd USB wired mouse
Bus 002 Device 011: ID 046d:c328 Logitech, Inc. Corded Keyboard K280e
Bus 002 Device 008: ID 0557:8021 ATEN International Co., Ltd Hub
Bus 002 Device 006: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Alles anzeigen
das USB Device ist
Es sollte nun in /dev eine tty-Gerät ttyUSB0 erzeugt werden. Das passiert hier aber nicht
dmesg erkennt das Gerät auch. Hier die Ausgabe von dmesg, die letzten Zeilen
[ 1223.133928] usb 2-13.1: new full-speed USB device number 22 using xhci_hcd
[ 1223.235005] usb 2-13.1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice=81.33
[ 1223.235012] usb 2-13.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 1223.235015] usb 2-13.1: Product: USB Serial
[ 1223.241512] ch341 2-13.1:1.0: ch341-uart converter detected
[ 1223.242125] usb 2-13.1: ch341-uart converter now attached to ttyUSB0
[ 1223.391015] usb 2-13.1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
[ 1223.391768] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 1223.391804] ch341 2-13.1:1.0: device disconnected
[ 1224.687835] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input33
Dort ist zu erkennen, dass das Gerät zunächst erkannt wird (1223.235005). Dann wird das device nach ttyUSB0 attached und dann wird das device direkt wieder disconnected von ttyUSB0.
Was ist da passiert ? Wie kann ich herausfinden, warum das Gerät direkt wieder gelöst wird. Wenn ich das Gerät an das Notebook meiner Frau anschließe, wird die Schnittstelle ttyUSB0 sauber erstellt. Auch bei meinem Raspi. Wie kann ich ermittlen, was auf dem Desktoprechner passiert ? In journalctl habe ich nichts gefunden.
Der Desktoprechner und das Notebook laufen beide noch unter OpenSuse Leap 15.4. Den Upgrade wollte ich zwischen den Jahren machen