我有一台可以连续放下并重新装载 FTDI FT4232H 的机器。我已经尝试更换电缆,仍然出现这种情况。
我尝试usbcore.autosuspend=-1
在内核启动参数中设置,认为这可能是自动挂起问题,但它仍然发生。
一些日志:
Aug 22 17:02:44 evo4k-098acd kernel: ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Aug 22 17:02:44 evo4k-098acd kernel: ftdi_sio 1-8:1.0: device disconnected
Aug 22 17:02:44 evo4k-098acd kernel: ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
Aug 22 17:02:44 evo4k-098acd kernel: ftdi_sio 1-8:1.1: device disconnected
Aug 22 17:02:44 evo4k-098acd kernel: ftdi_sio ttyUSB2: FTDI USB Serial Device converter now disconnected from ttyUSB2
Aug 22 17:02:44 evo4k-098acd kernel: ftdi_sio 1-8:1.2: device disconnected
Aug 22 17:02:44 evo4k-098acd kernel: ftdi_sio ttyUSB3: FTDI USB Serial Device converter now disconnected from ttyUSB3
Aug 22 17:02:44 evo4k-098acd kernel: ftdi_sio 1-8:1.3: device disconnected
Aug 22 17:02:45 evo4k-098acd kernel: usb 1-8: new high-speed USB device number 54 using xhci_hcd
Aug 22 17:02:45 evo4k-098acd kernel: ftdi_sio 1-8:1.0: FTDI USB Serial Device converter detected
Aug 22 17:02:45 evo4k-098acd kernel: usb 1-8: Detected FT4232H
Aug 22 17:02:45 evo4k-098acd kernel: usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB0
Aug 22 17:02:45 evo4k-098acd kernel: ftdi_sio 1-8:1.1: FTDI USB Serial Device converter detected
Aug 22 17:02:45 evo4k-098acd kernel: usb 1-8: Detected FT4232H
Aug 22 17:02:45 evo4k-098acd kernel: usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB1
Aug 22 17:02:45 evo4k-098acd kernel: ftdi_sio 1-8:1.2: FTDI USB Serial Device converter detected
Aug 22 17:02:45 evo4k-098acd kernel: usb 1-8: Detected FT4232H
Aug 22 17:02:45 evo4k-098acd kernel: usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB2
Aug 22 17:02:45 evo4k-098acd kernel: ftdi_sio 1-8:1.3: FTDI USB Serial Device converter detected
Aug 22 17:02:45 evo4k-098acd kernel: usb 1-8: Detected FT4232H
Aug 22 17:02:45 evo4k-098acd kernel: usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB3
Aug 22 17:02:45 evo4k-098acd kernel: usb 1-8: USB disconnect, device number 54
Aug 22 17:02:45 evo4k-098acd kernel: ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Aug 22 17:02:45 evo4k-098acd kernel: ftdi_sio 1-8:1.0: device disconnected
Aug 22 17:02:45 evo4k-098acd kernel: ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
Aug 22 17:02:45 evo4k-098acd kernel: ftdi_sio 1-8:1.1: device disconnected
Aug 22 17:02:45 evo4k-098acd kernel: ftdi_sio ttyUSB2: FTDI USB Serial Device converter now disconnected from ttyUSB2
Aug 22 17:02:45 evo4k-098acd kernel: ftdi_sio 1-8:1.2: device disconnected
Aug 22 17:02:45 evo4k-098acd kernel: ftdi_sio ttyUSB3: FTDI USB Serial Device converter now disconnected from ttyUSB3
Aug 22 17:02:45 evo4k-098acd kernel: ftdi_sio 1-8:1.3: device disconnected
Aug 22 17:02:46 evo4k-098acd kernel: usb 1-8: new high-speed USB device number 55 using xhci_hcd
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio 1-8:1.0: FTDI USB Serial Device converter detected
Aug 22 17:02:46 evo4k-098acd kernel: usb 1-8: Detected FT4232H
Aug 22 17:02:46 evo4k-098acd kernel: usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB0
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio 1-8:1.1: FTDI USB Serial Device converter detected
Aug 22 17:02:46 evo4k-098acd kernel: usb 1-8: Detected FT4232H
Aug 22 17:02:46 evo4k-098acd kernel: usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB1
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio 1-8:1.2: FTDI USB Serial Device converter detected
Aug 22 17:02:46 evo4k-098acd kernel: usb 1-8: Detected FT4232H
Aug 22 17:02:46 evo4k-098acd kernel: usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB2
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio 1-8:1.3: FTDI USB Serial Device converter detected
Aug 22 17:02:46 evo4k-098acd kernel: usb 1-8: Detected FT4232H
Aug 22 17:02:46 evo4k-098acd kernel: usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB3
Aug 22 17:02:46 evo4k-098acd kernel: usb 1-8: USB disconnect, device number 55
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio 1-8:1.0: device disconnected
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio 1-8:1.1: device disconnected
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio ttyUSB2: FTDI USB Serial Device converter now disconnected from ttyUSB2
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio 1-8:1.2: device disconnected
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio ttyUSB3: FTDI USB Serial Device converter now disconnected from ttyUSB3
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio 1-8:1.3: device disconnected
Aug 22 17:02:46 evo4k-098acd kernel: usb 1-8: new high-speed USB device number 56 using xhci_hcd
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio 1-8:1.0: FTDI USB Serial Device converter detected
Aug 22 17:02:46 evo4k-098acd kernel: usb 1-8: Detected FT4232H
Aug 22 17:02:46 evo4k-098acd kernel: usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB0
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio 1-8:1.1: FTDI USB Serial Device converter detected
Aug 22 17:02:46 evo4k-098acd kernel: usb 1-8: Detected FT4232H
Aug 22 17:02:46 evo4k-098acd kernel: usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB1
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio 1-8:1.2: FTDI USB Serial Device converter detected
Aug 22 17:02:46 evo4k-098acd kernel: usb 1-8: Detected FT4232H
Aug 22 17:02:46 evo4k-098acd kernel: usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB2
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio 1-8:1.3: FTDI USB Serial Device converter detected
Aug 22 17:02:46 evo4k-098acd kernel: usb 1-8: Detected FT4232H
Aug 22 17:02:46 evo4k-098acd kernel: usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB3
Aug 22 17:02:46 evo4k-098acd kernel: usb 1-8: USB disconnect, device number 56
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio 1-8:1.0: device disconnected
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio 1-8:1.1: device disconnected
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio ttyUSB2: FTDI USB Serial Device converter now disconnected from ttyUSB2
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio 1-8:1.2: device disconnected
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio ttyUSB3: FTDI USB Serial Device converter now disconnected from ttyUSB3
Aug 22 17:02:46 evo4k-098acd kernel: ftdi_sio 1-8:1.3: device disconnected
Aug 22 17:02:47 evo4k-098acd kernel: usb 1-8: new high-speed USB device number 57 using xhci_hcd
Aug 22 17:02:47 evo4k-098acd kernel: usb 1-8: Device not responding to setup address.
Aug 22 17:02:47 evo4k-098acd kernel: usb 1-8: Device not responding to setup address.
Aug 22 17:02:47 evo4k-098acd kernel: usb 1-8: device not accepting address 57, error -71
Aug 22 17:02:48 evo4k-098acd kernel: usb usb1-port8: Cannot enable. Maybe the USB cable is bad?
Aug 22 17:02:48 evo4k-098acd kernel: usb usb1-port8: attempt power cycle
Aug 22 17:02:49 evo4k-098acd kernel: usb 1-8: new high-speed USB device number 59 using xhci_hcd
Aug 22 17:02:49 evo4k-098acd kernel: ftdi_sio 1-8:1.0: FTDI USB Serial Device converter detected
Aug 22 17:02:49 evo4k-098acd kernel: usb 1-8: Detected FT4232H
Aug 22 17:02:49 evo4k-098acd kernel: usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB0
Aug 22 17:02:49 evo4k-098acd kernel: ftdi_sio 1-8:1.1: FTDI USB Serial Device converter detected
Aug 22 17:02:49 evo4k-098acd kernel: usb 1-8: Detected FT4232H
Aug 22 17:02:49 evo4k-098acd kernel: usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB1
Aug 22 17:02:49 evo4k-098acd kernel: ftdi_sio 1-8:1.2: FTDI USB Serial Device converter detected
Aug 22 17:02:49 evo4k-098acd kernel: usb 1-8: Detected FT4232H
Aug 22 17:02:49 evo4k-098acd kernel: usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB2
Aug 22 17:02:49 evo4k-098acd kernel: ftdi_sio 1-8:1.3: FTDI USB Serial Device converter detected
Aug 22 17:02:49 evo4k-098acd kernel: usb 1-8: Detected FT4232H
Aug 22 17:02:49 evo4k-098acd kernel: usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB3
Aug 22 17:03:27 evo4k-098acd kernel: usb 1-8: USB disconnect, device number 59
Aug 22 17:03:27 evo4k-098acd kernel: ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Aug 22 17:03:27 evo4k-098acd kernel: ftdi_sio 1-8:1.0: device disconnected
Aug 22 17:03:27 evo4k-098acd kernel: ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
Aug 22 17:03:27 evo4k-098acd kernel: ftdi_sio 1-8:1.1: device disconnected
Aug 22 17:03:27 evo4k-098acd kernel: ftdi_sio ttyUSB2: FTDI USB Serial Device converter now disconnected from ttyUSB2
Aug 22 17:03:27 evo4k-098acd kernel: ftdi_sio 1-8:1.2: device disconnected
Aug 22 17:03:27 evo4k-098acd kernel: ftdi_sio ttyUSB3: FTDI USB Serial Device converter now disconnected from ttyUSB3
Aug 22 17:03:27 evo4k-098acd kernel: ftdi_sio 1-8:1.3: device disconnected
Aug 22 17:03:27 evo4k-098acd kernel: usb 1-8: new high-speed USB device number 60 using xhci_hcd
Aug 22 17:03:27 evo4k-098acd kernel: ftdi_sio 1-8:1.0: FTDI USB Serial Device converter detected
Aug 22 17:03:27 evo4k-098acd kernel: usb 1-8: Detected FT4232H
Aug 22 17:03:27 evo4k-098acd kernel: usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB0
Aug 22 17:03:27 evo4k-098acd kernel: ftdi_sio 1-8:1.1: FTDI USB Serial Device converter detected
Aug 22 17:03:27 evo4k-098acd kernel: usb 1-8: Detected FT4232H
Aug 22 17:03:27 evo4k-098acd kernel: usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB1
Aug 22 17:03:27 evo4k-098acd kernel: ftdi_sio 1-8:1.2: FTDI USB Serial Device converter detected
Aug 22 17:03:27 evo4k-098acd kernel: usb 1-8: Detected FT4232H
Aug 22 17:03:27 evo4k-098acd kernel: usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB2
Aug 22 17:03:27 evo4k-098acd kernel: ftdi_sio 1-8:1.3: FTDI USB Serial Device converter detected
Aug 22 17:03:27 evo4k-098acd kernel: usb 1-8: Detected FT4232H
Aug 22 17:03:27 evo4k-098acd kernel: usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB3
Aug 22 17:03:29 evo4k-098acd kernel: usb 1-8: USB disconnect, device number 60
Aug 22 17:03:29 evo4k-098acd kernel: ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Aug 22 17:03:29 evo4k-098acd kernel: ftdi_sio 1-8:1.0: device disconnected
Aug 22 17:03:29 evo4k-098acd kernel: ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
Aug 22 17:03:29 evo4k-098acd kernel: ftdi_sio 1-8:1.1: device disconnected
Aug 22 17:03:29 evo4k-098acd kernel: ftdi_sio ttyUSB2: FTDI USB Serial Device converter now disconnected from ttyUSB2
Aug 22 17:03:29 evo4k-098acd kernel: ftdi_sio 1-8:1.2: device disconnected
Aug 22 17:03:29 evo4k-098acd kernel: ftdi_sio ttyUSB3: FTDI USB Serial Device converter now disconnected from ttyUSB3
Aug 22 17:03:29 evo4k-098acd kernel: ftdi_sio 1-8:1.3: device disconnected
Aug 22 17:03:29 evo4k-098acd kernel: usb 1-8: new high-speed USB device number 61 using xhci_hcd
我的机器/内核:
Linux evo4k-098acd 4.14.48-intel-pk-standard #1 SMP PREEMPT Mon Jul 2 15:53:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
答案1
我已经使用各种类型的微控制器开发板很长时间了,发现通过 USB 3 端口或外部 USB 集线器连接 USB 串行适配器可能会出现这样的问题,我一直使用 USB 2 端口取得了最大的成功无需外部 USB 集线器。