Skip to content

Commit

Permalink
Fixes #12 systemd-udevd "Invalid value".
Browse files Browse the repository at this point in the history
  • Loading branch information
burtyb committed Aug 8, 2024
1 parent 204f06d commit 08a2e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/etc/udev/rules.d/90-clusterctrl.rules
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ SUBSYSTEM=="tty", ATTRS{idVendor}=="3171", ATTRS{idProduct}=="0020", ENV{ID_USB_

# Rules to load the correct kernel module for Cluster CTRL devices
# and add a link to /dev/ClusterCTRL-X to /dev/i2c-X for simple enumeration
ACTION=="add", ATTRS{idVendor}=="3171", ATTRS{idProduct}=="001?", RUN+="/sbin/modprobe i2c_tiny_usb" RUN+="/bin/bash -c 'echo 0x3171 0x$ID_MODEL_ID >> /sys/bus/usb/drivers/i2c-tiny-usb/new_id'"
ACTION=="add", ATTRS{idVendor}=="3171", ATTRS{idProduct}=="001?", RUN+="/sbin/modprobe i2c_tiny_usb" RUN+="/bin/bash -c 'echo 0x3171 0x$$ID_MODEL_ID >> /sys/bus/usb/drivers/i2c-tiny-usb/new_id'"
ACTION=="add", ATTRS{idVendor}=="3171", ATTRS{idProduct}=="001?", SUBSYSTEM=="i2c-dev", SYMLINK+="ClusterCTRL-%n"

0 comments on commit 08a2e61

Please sign in to comment.