Having a problem with /dev/ttyUSB0D cycling and dropping. This is an ESP32 board, powered by separate power. When connected to system it will cycle endlessly like seen below. This happens on Kernels 5.10-5.19
Currently on;
Linux slip 5.10.141-1-MANJARO #1 SMP PREEMPT Mon Sep 5 10:15:26 UTC 2022 x86_64 GNU/Linux
Have tried multiple hubs, powered and unpowered, all 3 USB ports on machine. 8 different cables. I have tried the solutions mentioned in other threads about removing brltty ( Can't connect serial port - Error: ch341-uart disconnected from ttyUSB0 - #2 by iracigt ) and while it was installed it no longer is.
If I connect older/different boards based on cp210x they do not cycle like this.
Anyone have a suggestion on how to troubleshoot further? I have tried 2 different CH341 based boards, same result.
[Thu Sep 15 09:34:15 2022] usb 1-1: new full-speed USB device number 55 using xhci_hcd
[Thu Sep 15 09:34:15 2022] usb 1-1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice=81.32
[Thu Sep 15 09:34:15 2022] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[Thu Sep 15 09:34:15 2022] usb 1-1: Product: USB Serial
[Thu Sep 15 09:34:15 2022] ch341 1-1:1.0: ch341-uart converter detected
[Thu Sep 15 09:34:15 2022] usb 1-1: ch341-uart converter now attached to ttyUSB0
[Thu Sep 15 09:34:24 2022] usb 1-1: USB disconnect, device number 55
[Thu Sep 15 09:34:24 2022] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[Thu Sep 15 09:34:24 2022] ch341 1-1:1.0: device disconnected
[Thu Sep 15 09:34:26 2022] usb 1-1: new full-speed USB device number 56 using xhci_hcd
[Thu Sep 15 09:34:26 2022] usb 1-1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice=81.32
[Thu Sep 15 09:34:26 2022] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[Thu Sep 15 09:34:26 2022] usb 1-1: Product: USB Serial
[Thu Sep 15 09:34:26 2022] ch341 1-1:1.0: ch341-uart converter detected
[Thu Sep 15 09:34:26 2022] usb 1-1: ch341-uart converter now attached to ttyUSB0
[Thu Sep 15 09:34:30 2022] usb 1-1: USB disconnect, device number 56
[Thu Sep 15 09:34:30 2022] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[Thu Sep 15 09:34:30 2022] ch341 1-1:1.0: device disconnected
[Thu Sep 15 09:34:32 2022] usb 1-1: new full-speed USB device number 57 using xhci_hcd
[Thu Sep 15 09:34:32 2022] usb 1-1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice=81.32
[Thu Sep 15 09:34:32 2022] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[Thu Sep 15 09:34:32 2022] usb 1-1: Product: USB Serial
[Thu Sep 15 09:34:32 2022] ch341 1-1:1.0: ch341-uart converter detected
[Thu Sep 15 09:34:32 2022] usb 1-1: ch341-uart converter now attached to ttyUSB0
Device info
[rahlquist@slip ~]$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 06cb:00c9 Synaptics, Inc.
Bus 001 Device 003: ID 0408:5368 Quanta Computer, Inc. HP TrueVision HD Camera
Bus 001 Device 006: ID 8087:0026 Intel Corp. AX201 Bluetooth
Bus 001 Device 088: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[rahlquist@slip ~]$ lsusb -v -d 1a86:7523
Bus 001 Device 097: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x1a86 QinHeng Electronics
idProduct 0x7523 CH340 serial converter
bcdDevice 81.32
iManufacturer 0
iProduct 2 USB Serial
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0027
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 1
bInterfaceProtocol 2
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1