added rfxcom device

This commit is contained in:
= 2023-01-05 10:20:40 +01:00
parent a469b8a7ea
commit f861bb3aca
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1 @@
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", SYMLINK+="rfxcom", MODE="0666"

View File

@ -1,4 +1,18 @@
{% from 'lib.sls' import container_deploy with context %}
Create udev-rule for rfxcom usb dongel:
file.managed:
- name: /etc/udev/rules.d/99-rfxcom-serial.rules
- source: salt://podman/files/99-rfxcom-serial.rules
- user: root
- group: root
- mode: "0644"
Relead udev rules for rfxcom dongel:
cmd.run:
- name: udevadm control --reload-rules
- onchanges:
- file: Create udev-rule for rfxcom usb dongel
{{ container_deploy('nodered') }}