summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Slater <github@firefishy.com>2024-12-28 09:03:06 +0000
committerGrant Slater <github@firefishy.com>2024-12-28 09:03:06 +0000
commit13dfb5093345abf14fe635a6aee83ad801dab027 (patch)
treefb246b9bc2d3ee0bc7c61e823fefeb87f7abadac
parentad1f62688ec1ea7319d7aa0bb62082e553be1863 (diff)
downloadvyos-1x-13dfb5093345abf14fe635a6aee83ad801dab027.tar.gz
vyos-1x-13dfb5093345abf14fe635a6aee83ad801dab027.zip
udev: T6985: Fix udev rule to also register ttyACM serial devices
-rw-r--r--src/etc/udev/rules.d/90-vyos-serial.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/udev/rules.d/90-vyos-serial.rules b/src/etc/udev/rules.d/90-vyos-serial.rules
index 30c1d3170..f86b2258f 100644
--- a/src/etc/udev/rules.d/90-vyos-serial.rules
+++ b/src/etc/udev/rules.d/90-vyos-serial.rules
@@ -8,7 +8,7 @@ SUBSYSTEMS=="pci", IMPORT{builtin}="hwdb --subsystem=pci"
SUBSYSTEMS=="usb", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb --subsystem=usb"
# /dev/serial/by-path/, /dev/serial/by-id/ for USB devices
-KERNEL!="ttyUSB[0-9]*", GOTO="serial_end"
+KERNEL!="ttyUSB[0-9]*|ttyACM[0-9]*", GOTO="serial_end"
SUBSYSTEMS=="usb-serial", ENV{.ID_PORT}="$attr{port_number}"