zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    搜索引擎代码资源
    shell十三问(很不错的shell解释)
    Export/Import 使用技巧与常见错误
    利用java实现数据结构中常用的插入排序和快速排序算法
    java23种设计模式与追MM
    sqlldr使用小结(zt)
    排序算法的java实现的网址链接
    Rdesktop与Window相联
    java抽取word,pdf的四种武器
    常用数据库JDBC连接写法
  • 原文地址:https://www.cnblogs.com/arci/p/11027088.html
Copyright © 2011-2022 走看看