z60_flashprog.rules: Add udev rule for CH347
This allows the CH347 programmer to be used without root permissions.
Change-Id: Ica223318a2cbdfb7a328b65b68b8da0637fc22ac
Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/149
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: Nico Huber <nico.h@gmx.de>
diff --git a/util/z60_flashprog.rules b/util/z60_flashprog.rules
index 4651e1e..3efad57 100644
--- a/util/z60_flashprog.rules
+++ b/util/z60_flashprog.rules
@@ -93,4 +93,7 @@
# Winchiphead (WCH) CH341a based programmer
ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="5512", MODE="664", GROUP="plugdev"
+# Winchiphead (WCH) CH347 based programmer
+ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="55db", MODE="664", GROUP="plugdev"
+
LABEL="flashprog_rules_end"