Skip to content

Commit 896cd91

Browse files
authored
fix udev rules
Change udev rules from `ATTR{idProduct}=[...]` to `ATTR{idProduct}==[...]`. A single `=` tells udev to write to the idProduct attribute and results in a ton of startup errors of the form: error opening ATTR{/sys/devices/virtual/sound/timer/idProduct} for writing: Permission denied
1 parent ee9f85a commit 896cd91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ DIRNAME=/tmp/$(VERNAME)
66
acdcontrol: acdcontrol.cpp
77

88
99-acdcontrol.rules: acdcontrol
9-
./acdcontrol -l | sed --r -e 's/Vendor= 0x([0-9a-f]*) \(.*\), Product=0x([0-9a-f]*) \[(.*)\]/\# \3\nATTR{idVendor}=\"\1\", ATTR{idProduct}=\"\2\", MODE=\"0666\"/g' > 99-acdcontrol.rules
9+
./acdcontrol -l | sed --r -e 's/Vendor= 0x([0-9a-f]*) \(.*\), Product=0x([0-9a-f]*) \[(.*)\]/\# \3\nATTR{idVendor}==\"\1\", ATTR{idProduct}==\"\2\", MODE=\"0666\"/g' > 99-acdcontrol.rules
1010

1111
release:
1212
mkdir -p $(DIRNAME)

0 commit comments

Comments
 (0)