summaryrefslogtreecommitdiff
path: root/rules/gentoo/40-gentoo.rules
blob: 4751b51bce05da1d57f996c3b8e58ef0cf4c18c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# do not edit this file, it will be overwritten on update

# old devfs path, removing this could break systems
# Bug 195839
KERNEL=="md[0-9]*",	SYMLINK+="md/%n"
KERNEL=="loop[0-9]*",	SYMLINK+="loop/%n"
KERNEL=="ram[0-9]*",	SYMLINK+="rd/%n"

# keep devices after driver unload
KERNEL=="ppp", OPTIONS+="ignore_remove"
KERNEL=="tun", OPTIONS+="ignore_remove"


# setting permissions
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usb"

# dialout devices
KERNEL=="ippp*|isdn*|dcbri*|rfcomm*|ttyACM[0-9]*|pilot", GROUP="dialout"

# sound devices (oss)
SUBSYSTEM=="snd",	GROUP="audio"

# Sony Vaio Jogdial sonypi device
KERNEL=="sonypi",	MODE="0666"