Skip to content

添加新串口小板配置#34

Open
ZiDXie wants to merge 3 commits into
gdut-dynamic-x:masterfrom
ZiDXie:master
Open

添加新串口小板配置#34
ZiDXie wants to merge 3 commits into
gdut-dynamic-x:masterfrom
ZiDXie:master

Conversation

@ZiDXie
Copy link
Copy Markdown

@ZiDXie ZiDXie commented May 5, 2026

增加了新的映射规则。

Copilot AI review requested due to automatic review settings May 5, 2026 09:19
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

该 PR 旨在为新的串口小板添加 udev 设备映射规则,以便在系统中通过固定的符号链接识别设备;同时调整了开发工具链,移除了 pre-commit 中的 catkin_lint 钩子配置。

Changes:

  • scripts/udev/rm.rules 中新增基于 USB 属性的规则,尝试为新串口设备设置权限与 usbReferee 符号链接,并忽略 ModemManager 探测。
  • 将原先 ecat 相关的两条 udev 规则注释掉。
  • .pre-commit-config.yaml 中移除 catkin_lint pre-commit hook。

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
scripts/udev/rm.rules 新增“新串口小板”相关 udev 匹配/映射规则,并注释部分旧规则
.pre-commit-config.yaml 移除 catkin_lint 的 pre-commit 钩子

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/udev/rm.rules

#udevadm info -a -n /dev/ttyACM* | grep -E "idVendor|idProduct|bInterfaceNumber"
# use for new serial
SUBSYSTEM=="usb", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="55d2", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
Comment thread scripts/udev/rm.rules
#udevadm info -a -n /dev/ttyACM* | grep -E "idVendor|idProduct|bInterfaceNumber"
# use for new serial
SUBSYSTEM=="usb", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="55d2", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="02", MODE:="0666", SYMLINK+="usbReferee"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants