From bc4553264914253e3115c5b939ecd56c014c31d2 Mon Sep 17 00:00:00 2001 From: liuyi Date: Wed, 2 Aug 2017 14:52:40 +0800 Subject: [PATCH] add 99-rk-rockusb.rules to run tool without sudo Signed-off-by: liuyi --- 99-rk-rockusb.rules | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 99-rk-rockusb.rules diff --git a/99-rk-rockusb.rules b/99-rk-rockusb.rules new file mode 100644 index 0000000..c4ff227 --- /dev/null +++ b/99-rk-rockusb.rules @@ -0,0 +1,12 @@ +SUBSYSTEM!="usb", GOTO="end_rules" + +# RK3288 +ATTRS{idVendor}=="2207", ATTRS{idProduct}=="320a", MODE="0666", GROUP="users" +# RK3328 +ATTRS{idVendor}=="2207", ATTRS{idProduct}=="320c", MODE="0666", GROUP="users" +# RK3368 +ATTRS{idVendor}=="2207", ATTRS{idProduct}=="330a", MODE="0666", GROUP="users" +# RK3399 +ATTRS{idVendor}=="2207", ATTRS{idProduct}=="330c", MODE="0666", GROUP="users" + +LABEL="end_rules"