summaryrefslogtreecommitdiffstats
path: root/recipes-core/udev/usb-can-udev-conf/60-usb-can.rules
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/udev/usb-can-udev-conf/60-usb-can.rules')
-rw-r--r--recipes-core/udev/usb-can-udev-conf/60-usb-can.rules7
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes-core/udev/usb-can-udev-conf/60-usb-can.rules b/recipes-core/udev/usb-can-udev-conf/60-usb-can.rules
new file mode 100644
index 0000000..3aa800a
--- /dev/null
+++ b/recipes-core/udev/usb-can-udev-conf/60-usb-can.rules
@@ -0,0 +1,7 @@
+# udev rules for USB CAN adapters
+SUBSYSTEM!="tty", GOTO="usb_can_rules_end"
+
+# VScom USB-CAN Plus
+ATTRS{idProduct}=="6015", ATTRS{idVendor}=="0403", SYMLINK+="usbcan%n", TAG+="systemd", ENV{SYSTEMD_WANTS}="slcand@%k.service"
+
+LABEL="usb_can_rules_end"