chiark / gitweb /
release 127
[elogind.git] / rules / redhat / 40-redhat.rules
1 # do not edit this file, it will be overwritten on update
2
3 KERNEL=="hd*[!0-9]", SUBSYSTEMS=="ide", ATTRS{media}=="floppy", SYMLINK+="floppy floppy-%k", OPTIONS+="ignore_remove"
4 KERNEL=="hd*[0-9]", ATTRS{media}=="floppy", ATTRS{removable}=="1", SYMLINK+="floppy-%k", OPTIONS+="ignore_remove"
5
6 KERNEL=="fw*", PROGRAM="fw_unit_symlinks.sh %k %n", SYMLINK+="$result"
7
8 ACTION=="add", KERNEL=="sg[0-9]*", BUS=="scsi", ATTRS{type}=="3|6", SYMLINK+="scanner scanner-%k", MODE="0660"
9
10 ACTION=="add", KERNEL=="sg[0-9]*", BUS=="scsi", ATTRS{type}=="8", SYMLINK+="changer changer-%k", MODE="0660", GROUP="disk"
11
12 BUS=="usb", KERNEL=="sd*", ATTRS{bInterfaceClass}=="08", ATTRS{bInterfaceSubClass}=="04", GROUP="floppy", MODE="0660",  SYMLINK+="floppy floppy-%k"
13
14 KERNEL=="fd[0-9]*",             SYMLINK+="floppy floppy-%k"
15
16 ACTION=="add", SUBSYSTEM=="scsi_device", ATTRS{type}=="0|7|14", \
17         RUN+="/sbin/modprobe sd_mod"
18 ACTION=="add", SUBSYSTEM=="scsi_device", ATTRS{type}=="[45]", \
19         RUN+="/sbin/modprobe sr_mod"
20
21 KERNEL=="vcs",                 OWNER="vcsa", GROUP="tty"
22 KERNEL=="vcs[0-9]*",           OWNER="vcsa", GROUP="tty"
23 KERNEL=="vcsa",                OWNER="vcsa", GROUP="tty"
24 KERNEL=="vcsa[0-9]*",          OWNER="vcsa", GROUP="tty"
25 KERNEL=="vcc/*",               OWNER="vcsa", GROUP="tty"
26
27 KERNEL=="event*", ATTRS{idVendor}=="03f0", ATTRS{interface}=="Virtual Mouse", ATTRS{bInterfaceProtocol}=="02", SYMLINK+="input/hp_ilo_mouse"