设备型号 CH347T
运行环境 :CentOS 7.6
驱动程序:ch343.ko (VCP版本驱动程序)
现象:我使8个CH347T连接到服务器上,用作嵌入式系统机器的LOG UART 串口。在长期的使用过程中,USB设备偶尔会出现自动断开连接并重新又连接上的情况,使用dmesg 查看设备log 后发现如下情况
···
[609927.815828] usb_ch343 1-6.1.4:1:2 ch343_update_status - unknown status received:len7, data0:0x1,date1:0x44
[609927.816326] usb_ch343 1-6.1.4:1:2 ch343_update_status - unknown status received:len7, data0:0x1,date1:0x44
上面这个会出现很多次
[618262.735118] usb 1-5.3.3: USB disconnect, device_number33
[618262.735391] usb_ch343 1-53.3:1.0: ch343 usb device disconnect
[618262.735688] usb_ch343 1-53.3:1.2: ch343 usb device disconnect
[618263.386810] usb 1-5.3.3:new full-speed USB device number 12 using xhci-hcd
[618263.719535] usb 1-5.3.3:not running at top speed ; connected to a high speed hub
[618263.719535] usb 1-5.3.3:New USB Device found, idVendor=1a88, idProduct=55da
然后自己又连接上了,这种问题会导致串口中断切断了对该串口的监控,导致传输的log丢失,咨询了一些驱动工程师,他们认为可能和该设备的驱动程序设计有一定的关系,希望能解决一下。
···