Centos 7禁止ftdi_sio模块
$ dmesg
[ 3305.097301] usb 1-1: USB disconnect, device number 7
[ 3306.883704] usb 1-1: new high-speed USB device number 8 using ehci-pci
[ 3307.188064] usb 1-1: New USB device found, idVendor=0403, idProduct=6014
[ 3307.188069] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3307.188071] usb 1-1: Product: Digilent USB Device
[ 3307.188072] usb 1-1: Manufacturer: Digilent
[ 3307.188074] usb 1-1: SerialNumber: 210512180081
[ 3307.336684] usbcore: registered new interface driver ftdi_sio
[ 3307.336718] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 3307.336783] ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected
[ 3307.336850] usb 1-1: Detected FT232H
[ 3307.339018] usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0
[ 3307.656752] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 3307.656775] ftdi_sio 1-1:1.0: device disconnected
$ lsmod | grep ftdi_sio
ftdi_sio 52949 0
$ sudo rmmod ftdi_sio
$ lsmod |grep ftdi_sio
$ sudo gedit /etc/modprobe.d/blacklist.conf
在文件末尾添加一行
blacklist ftdi_sio
保存并关闭
$ dmesg
[ 3386.408334] usb 1-1: new high-speed USB device number 10 using ehci-pci
[ 3386.713372] usb 1-1: New USB device found, idVendor=0403, idProduct=6014
[ 3386.713377] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3386.713379] usb 1-1: Product: Digilent USB Device
[ 3386.713381] usb 1-1: Manufacturer: Digilent
[ 3386.713382] usb 1-1: SerialNumber: 210512180081