-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: use correct udev rule ordering, drop non-portable
MODE
and …
…`GROUP`. The existing solution with `GROUP="plugdev"`, `MODE="0660"` is Debian specific, and generally such groups are discouraged on modern Linux desktop systems. There is no group for "USB development tool" and we don't want to create one, but `TAG+="uaccess"` works fine for this. We already had `TAG+="uaccess"` but due to a rule ordering issue it did nothing. Move rules from `99-*.rules` to `70-*.rules` to fix this issue and have the tag assign the right ACL on ~most modern Linux desktop systems. Fixes #441.
- Loading branch information
1 parent
4709aa5
commit 459762b
Showing
4 changed files
with
7 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
SUBSYSTEM=="usb", ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="8613", \ | ||
MODE="0660", GROUP="plugdev", TAG+="uaccess" | ||
SUBSYSTEM=="usb", ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="8613", TAG+="uaccess" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
SUBSYSTEM=="usb", ATTRS{idVendor}=="20b7", ATTRS{idProduct}=="9db1", \ | ||
MODE="0660", GROUP="plugdev", TAG+="uaccess" | ||
SUBSYSTEM=="usb", ATTRS{idVendor}=="20b7", ATTRS{idProduct}=="9db1", TAG+="uaccess" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters