環(huán)境:rocky linux 9, x86-64
驅(qū)動(dòng):V2.0
場(chǎng)景描述:一臺(tái)電腦上接了兩個(gè)CH348設(shè)備,每個(gè)設(shè)備周期性上下電,某次上電之后,一個(gè)CH348設(shè)備的串口無法被識(shí)別,/dev目錄下面只有8個(gè)串口(預(yù)期16個(gè))。
dmesg日志有驅(qū)動(dòng)的錯(cuò)誤,日志如下:
[09:52:40] usb 1-1: new high-speed USB device number 44 using xhci_hcd
[09:52:40] usb 1-1: New USB device found, idVendor=1a86, idProduct=55d9, bcdDevice= 1.37
[09:52:40] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[09:52:40] usb 1-1: Product: USB2.0 To Multi Serial Ports
[09:52:40] usb 1-1: Manufacturer: wch.cn
[09:52:40] usb_ch9344 1-1:1.0: ttyCH9344USB from 8 - 15: ch9344 device attached.
[09:54:19] usb 1-2: USB disconnect, device number 43
[09:54:19] usb_ch9344 1-2:1.0: ch9344 usb device disconnect.
[09:54:30] usb 1-2: new high-speed USB device number 45 using xhci_hcd
[09:54:30] usb 1-2: New USB device found, idVendor=1a86, idProduct=55d9, bcdDevice= 1.36
[09:54:30] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[09:54:30] usb 1-2: Product: USB2.0 To Multi Serial Ports
[09:54:30] usb 1-2: Manufacturer: wch.cn
[09:54:30] usb_ch9344 1-2:1.0: ttyCH9344USB from 0 - 7: ch9344 device attached.
[09:57:32] usb 1-2: USB disconnect, device number 45
[09:57:32] usb_ch9344 1-2:1.0: ch9344 usb device disconnect.
[09:57:41] usb 1-1: USB disconnect, device number 44
[09:57:41] usb_ch9344 1-1:1.0: ch9344 usb device disconnect.
[09:57:43] usb 1-2: new high-speed USB device number 46 using xhci_hcd
[09:57:43] usb 1-2: New USB device found, idVendor=1a86, idProduct=55d9, bcdDevice= 1.36
[09:57:43] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[09:57:43] usb 1-2: Product: USB2.0 To Multi Serial Ports
[09:57:43] usb 1-2: Manufacturer: wch.cn
[09:57:43] usb_ch9344 1-2:1.0: ttyCH9344USB from 0 - 7: ch9344 device attached.
[09:57:53] usb 1-1: new high-speed USB device number 47 using xhci_hcd
[09:57:53] usb 1-1: New USB device found, idVendor=1a86, idProduct=55d9, bcdDevice= 1.37
[09:57:53] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[09:57:53] usb 1-1: Product: USB2.0 To Multi Serial Ports
[09:57:53] usb 1-1: Manufacturer: wch.cn
[09:57:53] usb_ch9344 1-1:1.0: ttyCH9344USB from 8 - 15: ch9344 device attached.
[10:00:41] usb 1-2: USB disconnect, device number 46
[10:00:41] usb_ch9344 1-2:1.0: ch9344 usb device disconnect.
[10:00:52] usb 1-2: new high-speed USB device number 48 using xhci_hcd
[10:00:53] usb 1-2: New USB device found, idVendor=1a86, idProduct=55d9, bcdDevice= 1.36
[10:00:53] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[10:00:53] usb 1-2: Product: USB2.0 To Multi Serial Ports
[10:00:53] usb 1-2: Manufacturer: wch.cn
[10:00:53] usb_ch9344 1-2:1.0: ttyCH9344USB from 0 - 7: ch9344 device attached.
[10:02:54] usb 1-1: USB disconnect, device number 47
[10:02:54] usb_ch9344 1-1:1.0: ch9344 usb device disconnect.
[10:03:05] usb 1-1: new high-speed USB device number 49 using xhci_hcd
[10:03:05] usb 1-1: New USB device found, idVendor=1a86, idProduct=55d9, bcdDevice= 1.37
[10:03:05] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[10:03:05] usb 1-1: Product: USB2.0 To Multi Serial Ports
[10:03:05] usb 1-1: Manufacturer: wch.cn
[10:03:05] usb_ch9344 1-1:1.0: ttyCH9344USB from 8 - 15: ch9344 device attached.
[10:03:07] usb_ch9344 1-1:1.0: usb_bulk_msg(send) failed, err -110
[10:03:07] usb_ch9344 1-1:1.0: usb_bulk_msg(send) failed, err -110
[10:03:10] usb_ch9344 1-1:1.0: usb_bulk_msg(send) failed, err -110
[10:03:12] usb_ch9344 1-1:1.0: usb_bulk_msg(send) failed, err -110
[10:03:14] usb_ch9344 1-1:1.0: usb_bulk_msg(send) failed, err -110
[10:04:17] usb 1-2: USB disconnect, device number 48
[10:04:17] usb_ch9344 1-2:1.0: ch9344 usb device disconnect.
[10:04:29] usb 1-2: new high-speed USB device number 50 using xhci_hcd
[10:04:34] usb 1-2: device descriptor read/64, error -110
[10:04:50] usb 1-2: device descriptor read/64, error -110
[10:04:51] usb 1-2: new high-speed USB device number 51 using xhci_hcd
[10:04:56] usb 1-2: device descriptor read/64, error -110
[10:05:12] usb 1-2: device descriptor read/64, error -110
[10:05:12] usb usb1-port2: attempt power cycle
[10:05:12] usb 1-2: new high-speed USB device number 52 using xhci_hcd
[10:05:17] usb 1-2: device descriptor read/8, error -110
[10:05:32] usb 1-2: device descriptor read/8, error -110
[10:05:33] usb 1-2: new high-speed USB device number 53 using xhci_hcd
[10:05:38] usb 1-2: device descriptor read/8, error -110
[10:05:53] usb 1-2: device descriptor read/8, error -110
[10:05:54] usb usb1-port2: unable to enumerate USB device
[10:06:43] usb_ch9344 1-1:1.0: usb_bulk_msg(send) failed, err -110
[10:06:46] usb_ch9344 1-1:1.0: usb_bulk_msg(send) failed, err -110
[10:06:46] pl2303 ttyUSB1: error sending break = -32
[10:06:46] pl2303 ttyUSB0: error sending break = -32
[10:07:01] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32
[10:07:01] pl2303 ttyUSB1: pl2303_get_line_request - failed: -32
[10:07:03] usb_ch9344 1-1:1.0: usb_bulk_msg(send) failed, err -110
[10:07:05] usb_ch9344 1-1:1.0: usb_bulk_msg(send) failed, err -110
[10:07:07] usb_ch9344 1-1:1.0: usb_bulk_msg(send) failed, err -110
[10:07:09] usb_ch9344 1-1:1.0: usb_bulk_msg(send) failed, err -110
[10:07:11] usb_ch9344 1-1:1.0: usb_bulk_msg(send) failed, err -110
[10:07:12] pl2303 ttyUSB1: error sending break = -32
[10:07:12] pl2303 ttyUSB0: error sending break = -32