2006-12-13 14:24:33 +00:00
|
|
|
# Miscellaneous devices.
|
2006-12-21 19:22:06 +00:00
|
|
|
KERNEL=="mem|kmem", MODE="0600"
|
|
|
|
KERNEL=="port", MODE="0600"
|
|
|
|
KERNEL=="nvram", MODE="0600"
|
|
|
|
KERNEL=="null", MODE="0666"
|
|
|
|
KERNEL=="zero", MODE="0666"
|
|
|
|
KERNEL=="full", MODE="0622"
|
|
|
|
KERNEL=="random", MODE="0666"
|
|
|
|
KERNEL=="urandom", MODE="0644"
|
|
|
|
KERNEL=="rtc", MODE="0600"
|
2006-12-13 14:24:33 +00:00
|
|
|
KERNEL=="sonypi", MODE="0666"
|
2006-12-21 19:22:06 +00:00
|
|
|
KERNEL=="agpgart", MODE="0600"
|
2006-12-13 14:24:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Input devices go under /dev/input.
|
|
|
|
KERNEL=="mouse*|mice", NAME="input/%k", MODE="0640"
|
|
|
|
KERNEL=="event*", NAME="input/%k", MODE="0640"
|
|
|
|
KERNEL=="js*", NAME="input/%k", MODE="0644"
|
|
|
|
KERNEL=="ts*", NAME="input/%k", MODE="0600"
|
|
|
|
KERNEL=="uinput", NAME="input/%k", MODE="0600"
|
|
|
|
|
|
|
|
|
|
|
|
# Create a symlink for the CD-ROM device.
|
|
|
|
KERNEL=="hd[a-z]", BUS=="ide", SYSFS{removable}=="1", SYSFS{device/media}=="cdrom", SYMLINK+="cdrom cdrom-%k"
|