summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-12-21 13:01:40 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-12-21 13:01:40 +0100
commit23456b19eba54a5b9d760f134b574191f459c71d (patch)
tree6fb5fb6ded49eff849424a81fb64887525531a96 /rules
parentc4e63d54124062659f9d8cf18ad3cb7430326938 (diff)
rules: more changes toward Ubuntu rules merge
specialix_rioctl: no kernel name symlink specialix_sxctl: no kernel name symlink bus/usb: 0644 -> 0664 ppdev: lp dri: 0666 -> 0660 js: no kernel name symlink
Diffstat (limited to 'rules')
-rw-r--r--rules/rules.d/50-udev-default.rules13
1 files changed, 7 insertions, 6 deletions
diff --git a/rules/rules.d/50-udev-default.rules b/rules/rules.d/50-udev-default.rules
index c58e24f66e..c2dda7688e 100644
--- a/rules/rules.d/50-udev-default.rules
+++ b/rules/rules.d/50-udev-default.rules
@@ -27,8 +27,8 @@ KERNEL=="ram1", SYMLINK+="ram"
# input
KERNEL=="mouse*|mice|event*", NAME="input/%k", MODE="0640"
-KERNEL=="ts[0-9]*|uinput", NAME="input/%k", MODE="0600"
-KERNEL=="js[0-9]*", NAME="input/%k", MODE="0644", SYMLINK+="%k"
+KERNEL=="ts[0-9]*|uinput", NAME="input/%k", MODE="0640"
+KERNEL=="js[0-9]*", NAME="input/%k", MODE="0644"
# video4linux
SUBSYSTEM=="video4linux", GROUP="video"
@@ -41,7 +41,7 @@ KERNEL=="video0", SYMLINK+="video"
# graphics
KERNEL=="agpgart", MODE="0600", GROUP="video"
-KERNEL=="card[0-9]*", NAME="dri/%k", MODE="0666"
+KERNEL=="card[0-9]*", NAME="dri/%k"
KERNEL=="fb0", SYMLINK+="fb"
KERNEL=="pmu", GROUP="video"
KERNEL=="nvidia*|nvidiactl*", GROUP="video"
@@ -57,11 +57,12 @@ KERNEL=="video1394*", NAME="video1394/%n"
KERNEL=="dv1394*|video1394*|raw1394*", GROUP="video"
# libusb device nodes
-SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0644"
+SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0664"
# printer
KERNEL=="parport[0-9]*", GROUP="lp"
SUBSYSTEM=="printer", KERNEL=="lp*", GROUP="lp"
+SUBSYSTEM=="ppdev", GROUP="lp"
SUBSYSTEM=="usb", KERNEL=="lp*", NAME="usb/%k", SYMLINK+="usb%k", GROUP="lp"
KERNEL=="lp[0-9]*", GROUP="lp", SYMLINK+="par%n"
KERNEL=="irlpt[0-9]*", GROUP="lp"
@@ -106,8 +107,8 @@ KERNEL=="rflash[0-9]*", MODE="0400"
KERNEL=="rrom[0-9]*", MODE="0400"
KERNEL=="sbpcd0", SYMLINK+="sbpcd"
KERNEL=="slram[0-9]*", SYMLINK+="xpram%n"
-KERNEL=="sxctl", NAME="specialix_sxctl", SYMLINK+="%k"
-KERNEL=="rioctl", NAME="specialix_rioctl", SYMLINK+="%k"
+KERNEL=="sxctl", NAME="specialix_sxctl""
+KERNEL=="rioctl", NAME="specialix_rioctl"
KERNEL=="iowarrior[0-9]*", NAME="usb/%k"
KERNEL=="hiddev[0-9]*", NAME="usb/%k"
KERNEL=="legousbtower[0-9]*", NAME="usb/%k"