我正在使用 Ubuntu 16.04 LTS。当我将 PC 与FT232R
a连接时DE10 Standard
,系统会识别FT232R
. 但是在/dev 目录中没有创建插件后的 ttyUSB* 文件,甚至没有创建新的 tty* 文件。
我想通过 PC 和FT232R
. 我该怎么做才能完成这项工作?
$ lsusb
Bus 001 Device 013: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
$ dmesg | tail
[12107.165325] usb 1-2: Product: FT232R USB UART
[12107.165329] usb 1-2: Manufacturer: FTDI
[12107.165332] usb 1-2: SerialNumber: A106I6UW
[12141.041280] usb 1-2: USB disconnect, device number 12
[12146.727974] usb 1-2: new full-speed USB device number 13 using xhci_hcd
[12146.881737] usb 1-2: New USB device found, idVendor=0403, idProduct=6001
[12146.881742] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[12146.881747] usb 1-2: Product: FT232R USB UART
[12146.881750] usb 1-2: Manufacturer: FTDI
[12146.881754] usb 1-2: SerialNumber: A106I6UW
$ journalctl --follow
Jul 12 10:11:29 OL kernel: usb 1-2: new full-speed USB device number 13 using xhci_hcd
Jul 12 10:11:29 OL kernel: usb 1-2: New USB device found, idVendor=0403, idProduct=6001
Jul 12 10:11:29 OL kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 12 10:11:29 OL kernel: usb 1-2: Product: FT232R USB UART
Jul 12 10:11:29 OL kernel: usb 1-2: Manufacturer: FTDI
Jul 12 10:11:29 OL kernel: usb 1-2: SerialNumber: A106I6UW
Jul 12 10:11:29 OL mtp-probe[15560]: checking bus 1, device 13: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2"
Jul 12 10:11:29 OL mtp-probe[15560]: bus: 1, device: 13 was not an MTP device
$ ls -l /dev/ttyUSB*
cannot access '/dev/ttyUSB*': No such file or directory
用户在dialout
组中。
编辑:
module-init-tools
已安装。
$ sudo modprobe -v usbserial vendor=0x0403 product=0x6001
insmod /lib/modules/4.15.0-54-generic/kernel/drivers/usb/serial/usbserial.ko vendor=0x0403 product=0x6001
我的问题是该
fdti_sio
模块被列入黑名单/etc/modprobe.d/blacklist.conf
。要解决问题,请删除/注释文件中的行
blacklist ftdi_sio
以blacklist.conf
在引导时加载此模块或使用以下命令加载模块: