码迷,mamicode.com
首页 > 其他好文 > 详细

Centos 7禁止ftdi_sio模块

时间:2019-06-15 13:35:06      阅读:93      评论:0      收藏:0      [点我收藏+]

标签:etc   mes   att   dig   添加   int   centos 7   centos   cte   

$ 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

Centos 7禁止ftdi_sio模块

标签:etc   mes   att   dig   添加   int   centos 7   centos   cte   

原文地址:https://www.cnblogs.com/arci/p/11027088.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!