]> sigrok.org Git - libsigrok.git/commitdiff
udev: add 'hidraw' subsystem to 60-libsigrok.rules
authorGerhard Sittig <redacted>
Sat, 4 May 2019 07:59:15 +0000 (09:59 +0200)
committerUwe Hermann <redacted>
Tue, 4 Jun 2019 16:59:04 +0000 (18:59 +0200)
WCH CH9325 and SiL CP2110 chips (and other HID cables) won't match the
currently used 'usb' subsystem when the platform registers these as
'hidraw' devices. Adjust the 60-libsigrok.rules SUBSYSTEM condition.

contrib/60-libsigrok.rules

index b10f0e5b60e0833ec90b209bc0fbbb31f903737d..e98425b22f7aee2a4cfb78368913d4385189238f 100644 (file)
@@ -33,7 +33,7 @@
 #
 
 ACTION!="add|change", GOTO="libsigrok_rules_end"
-SUBSYSTEM!="usb|usbmisc|usb_device", GOTO="libsigrok_rules_end"
+SUBSYSTEM!="usb|usbmisc|usb_device|hidraw", GOTO="libsigrok_rules_end"
 
 # Agilent USBTMC-connected devices
 # 34405A