diff options
author | Jake | 2021-08-03 21:30:20 +0200 |
---|---|---|
committer | Jake | 2021-08-03 21:31:08 +0200 |
commit | 2c8c1fe2a4f28d67db33cfb096b2d9eda875177f (patch) | |
tree | c2539e1ddcfc05965713616df4b2403d415ef5b7 /45-ddcutil-i2c.rules | |
parent | 1fdf187bb5a4d078fc6fc99dde731d4177b3e04a (diff) | |
download | aur-2c8c1fe2a4f28d67db33cfb096b2d9eda875177f.tar.gz |
Add i2c udev rules
Diffstat (limited to '45-ddcutil-i2c.rules')
-rw-r--r-- | 45-ddcutil-i2c.rules | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/45-ddcutil-i2c.rules b/45-ddcutil-i2c.rules new file mode 100644 index 000000000000..1b01907448ea --- /dev/null +++ b/45-ddcutil-i2c.rules @@ -0,0 +1,8 @@ +# On some distributions, package i2c-tools provides a udev rule. +# For example, on Ubuntu, see 40-i2c-tools.rules. + +# Assigns the i2c devices to group i2c, and gives that group RW access: +KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660" + +# Gives everyone RW access to the /dev/i2c devices: +# KERNEL=="i2c-[0-9]*", MODE="0666" |