Skip to content

Commit

Permalink
Merge pull request #4264 from Firefishy/udev-serial-rule-for-ttyACM-d…
Browse files Browse the repository at this point in the history
…evices

udev: T6985: Fix udev rule to also register ttyACM serial devices
  • Loading branch information
dmbaturin authored Dec 28, 2024
2 parents ad1f626 + 13dfb50 commit f510f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/udev/rules.d/90-vyos-serial.rules
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down

0 comments on commit f510f10

Please sign in to comment.