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
Centos 7禁止ftdi_sio模块的更多相关文章
- CentOS下禁止防火墙
CentOS下禁止防火墙 1.使用如下命令安装iptables-services. yum install -y iptables-services 2.关闭防火墙. service iptables ...
- CentOS 7禁止IPv6
如何在CentOS 7中禁止IPv6 https://Linux.cn/article-4935-1.html 最近,我的一位朋友问我该如何禁止IPv6.在搜索了一番之后,我找到了下面的方案.下面就是 ...
- CentOS配置禁止root用户直接登录
Linux的默认管理员名即是root,只需要知道ROOT密码即可直接登录SSH.禁止Root从SSH直接登录可以提高服务器安全性.经过以下操作后即可实现.本文适用于CentOS.Debian等Linu ...
- Centos防火墙禁止ping和开启ping
1.允许PING设置 iptables -A INPUT -p icmp --icmp-type echo-request -j ACCEPT iptables -A OUTPUT -p icmp - ...
- CentOS允许/禁止ping的方法
一.临时生效 1.允许ping >/proc/sys/net/ipv4/icmp_echo_ignore_all 2.禁止ping >/proc/sys/net/ipv4/icmp_ech ...
- centos/linux 禁止root用户远程登录
注意:在禁止root等前要建立一个用户用来远程登录,否则退出后无法通过远程登录服务器. 编辑 /etc/ssh/sshd_config 文件 更改参数 PermitRootLogin yes 为 Pe ...
- 永久禁止floppy模块开机自动加载
环境:Red Hat Enterprise Linux Server release 7.4 (Maipo) 问题:执行fdisk -l后系统会抓到错误 解决方案: https://access.re ...
- centos 安装python PIL模块
转载:https://www.cnblogs.com/ccdc/p/4069112.html 1.安装 使用yum安装缺少类库: #尤其重要,否则会报错 yum install python-deve ...
- centos 7 禁止root登录及更改ssh端口号
vim /etc/ssh/sshd_config PermitRootLogin yes => PermitRootLogin no systemctl restart sshd.service ...
随机推荐
- 微信小程序上传图片及本地测试
前端(.wxml) <view id="view1"> <view id="btns"> <image id="ima1 ...
- 消息队列: rabbitMQ
什么是rabbitMQ? rabbitMQ是一款基于AMQP协议的消息中间件,它能够在应用之间提供可靠的消息传输.在易用性,扩展性,高可用性上表现优秀.而且使用消息中间件利于应用之间的解耦,生产者(客 ...
- wpf GeometryDrawing 绘制文字
<GeometryDrawing x:Key="GeometryDrawingText"> <GeometryDrawing.Geometry> <R ...
- 可以用for循环直接删除ArrayList的特定元素吗?可能会出现什么问题?怎样解决?
for循环直接删除ArrayList中的特定元素是错的,不同的for循环会发生不同的错误,泛型for会抛出 ConcurrentModificationException,普通的for想要删除集合中重 ...
- 使用spring的test时,当配置文件不在classpath下,而在WEB-INF下
@ContextConfiguration(locations = {"file:src/main/webapp/WEB-INF/applicationContext.xml"})
- JavaScript函数式编程——柯里化
柯里化原理 如何实现柯里化 柯里化的应用 一.柯里化原理 柯里化:在数学和计算机科学中,柯里化是一种使用多个参数的一个函数转换成一系列使用一个参数的函数的技术. 前端使用柯里化的用途主要就应该是简化代 ...
- axios表单提交,delete,get请求(待完善)
import { mapMutations} from 'vuex' import axios from 'axios' const mixins = { data() { return { } }, ...
- 记录-Intellij Idea下以Tomcat运行Web项目时的位置问题
今天本来准备把原来的一个Web项目导入到Idea下,之前这个项目是用eclipse写的,容器用的tomcat,首先导入前我把一些没用的配置文件都给删了,像什么.eclipse..setting什么的, ...
- conda创建和使用python的虚拟环境
https://uoa-eresearch.github.io/eresearch-cookbook/recipe/2014/11/20/conda/ 当我们使用服务器的时候,会存在多个用户,并且可能 ...
- 1.Bacula各组件说明
1. Bacula各组件说明 Baula有三个服务,分别是bacula-sd用于管理storage.bacula-fd为bacula客户端.bacula-dir为bacula的核心组件机direct ...