linamh/app-emulation/opencbm/files/0.4.99.94/002_opencbm-0.4.99.94-udev-rules-1.patch

31 lines
1.4 KiB
Diff
Raw Normal View History

2017-11-10 12:02:18 +01:00
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
Date: 2017-05-05
Initial Package Version: 0.4.99.94
Origin: me
Upstream Status: committed
Description: update rules files for consistency
diff -Naur opencbm-0.4.99.94.orig/xu1541/udev/45-opencbm.rules opencbm-0.4.99.94/xu1541/udev/45-opencbm.rules
--- opencbm-0.4.99.94.orig/xu1541/udev/45-opencbm.rules 2017-05-05 15:27:35.123976085 +0000
+++ opencbm-0.4.99.94/xu1541/udev/45-opencbm.rules 2017-05-05 08:52:45.430454453 +0000
@@ -1,6 +1,6 @@
SUBSYSTEM!="usb_device", ACTION!="add", GOTO="opencbm_rules_end"
# xu1541
-SYSFS{idVendor}=="0403", SYSFS{idProduct}=="c632", GROUP="plugdev", MODE="0664"
+SUBSYSTEM=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="c632", GROUP="users", MODE="0664"
LABEL="opencbm_rules_end"
diff -Naur opencbm-0.4.99.94.orig/xum1541/udev/45-opencbm-usb.rules opencbm-0.4.99.94/xum1541/udev/45-opencbm-usb.rules
--- opencbm-0.4.99.94.orig/xum1541/udev/45-opencbm-usb.rules 2017-05-05 15:27:35.132976374 +0000
+++ opencbm-0.4.99.94/xum1541/udev/45-opencbm-usb.rules 2017-05-05 08:52:45.450455086 +0000
@@ -1,7 +1,6 @@
SUBSYSTEM!="usb_device", ACTION!="add", GOTO="opencbm_rules_end"
# xum1541
-SUBSYSTEM=="usb", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0504",
-MODE="0664", GROUP="cdrom"
+SUBSYSTEM=="usb", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0504", MODE="0664", GROUP="users"
LABEL="opencbm_rules_end"