Ubuntu18.04下串口配置设备绑定USB端口号
1.查看串口设备ID
使用 lsusb
可以看到
star@star:/etc/udev/rules.d$ lsusb
Bus 001 Device 002: ID 8087:8001 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 008: ID 0cf3:3004 Atheros Communications, Inc. AR3012 Bluetooth 4.0
Bus 002 Device 005: ID 13d3:5727 IMC Networks
Bus 002 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 002 Device 010: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 002 Device 006: ID 24ae:2013
Bus 002 Device 011: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 002 Device 002: ID 1a40:0801 Terminus Technology Inc.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
2.创建udev配置文件
sudo gedit /et

本文详细指导如何在Ubuntu 18.04系统中通过udev规则配置USB串口设备,包括查看设备ID、创建并编辑udev配置文件、绑定端口号及重启系统以确保链接生效。
最低0.47元/天 解锁文章
1011

被折叠的 条评论
为什么被折叠?



