]> sigrok.org Git - libsigrok.git/commitdiff
contrib: add udev rule for V-USB based HID devices (USB relay card)
authorGerhard Sittig <redacted>
Wed, 21 Jul 2021 18:44:25 +0000 (20:44 +0200)
committerGerhard Sittig <redacted>
Wed, 21 Jul 2021 20:03:59 +0000 (22:03 +0200)
Add the USB identification of the dcttech.com USBRelay<n> card. Which
happens to be shared with other V-USB based firmware projects. Thus is
rather generic. The USB relay card is just the first supported device
of that kind.

contrib/60-libsigrok.rules

index b059ac3f7383826d7c38c8582a18864face42eb4..f6ae259f4f9666b4f2acf01485bc0716cabb1eea 100644 (file)
@@ -97,6 +97,9 @@ ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ENV{ID_SIGROK}="1"
 # Dangerous Prototypes Buspirate (v4)
 ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fb00", ENV{ID_SIGROK}="1"
 
+# dcttech.com USB relay card, and other V-USB based firmware
+ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05df", ENV{ID_SIGROK}="1"
+
 # DreamSourceLab DSLogic
 ATTRS{idVendor}=="2a0e", ATTRS{idProduct}=="0001", ENV{ID_SIGROK}="1"
 # DreamSourceLab DSLogic Pro