Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ::::::::::::::
- /etc/udev/rules.d/51-lirc.rules
- ::::::::::::::
- #
- # This is a hack since /sys info for event devices is incomplete
- #
- # Check if the name of the event device contains the string IR and
- # create the /dev/input/ir symlink.
- KERNEL=="event*", SUBSYSTEM=="input", ATTRS{name}=="*IR*", SYMLINK+="input/ir"
- # If your remote does not have 'IR' in it's name add a line like the
- # following (this one is for the Cinergy T2). You can look up the
- # name of the device in /proc/bus/input/devices
- KERNEL=="event*", SUBSYSTEM=="input", ATTRS{name}=="TerraTec/qanu USB2.0 Highspeed DVB-T Receiver remote control", SYMLINK+="input/ir"
- ::::::::::::::
- /etc/udev/rules.d/55-hpmud.rules
- ::::::::::::::
- # HPLIP udev rules file for HP printer and all-in-one products.
- #
- # Notes for downstream implementers.
- #
- # 1. The 55-hpmud.rules name was chosen in order to run after the default udev rule /etc/udev/rules.d/50-udev.rules. See
- # "Writing udev rules" Ver 0.74, Daniel Drake. Although it seems 50-udev.rules is no longer used I continue to reuse "55-"
- # name for backward compatibility with older distros. 2/11/2009, D Suffield
- #
- # 2. It seems SFSFS has been replaced or depreciated by ATTR/ATTRS, but I continue to use SFSFS in order to be compatible with
- # older distros. SFSFS was defined in "Writing udev rules" Ver 0.72, Daniel Drake. 2/11/2009, D Suffield
- #
- # 3. This rules file is an attempt at being compatable with all distros. Feel free to make your own changes and if you feel your
- # changes are not distro specific please send your patch to us. 2/11/2009, D Suffield
- #
- # Novell/Suse changed:
- #
- # SYSFS{idVendor} to ATTR{idVendor} and
- # SYSFS{idProduct to ATTR{idProduct}
- # because SYSFS is deprecated and ATTR works for openSUSE.
- #
- # MODE="660" to MODE="0664"
- # because it is sufficiently secure to let any user read the device nodes
- # because HPLIP opens the device nodes exclusively so that sniffing
- # of print jobs or scanner image data should not be possible and
- # read permissions for any user is required in particular for USB devices
- # so that any user can see the USB devices when he runs the command "lsusb".
- #
- # Added ENV{sane_hpaio}="yes" to all entries for USB devices
- # to get the SANE driver "hpaio" automatically activated in any case
- # (only scanners in HP parallel port all-in-one devices are ignored)
- # because not only "AiO products (0x03f0xx11)" can have scanner units
- # but also Photosmart products, inkjet printers, and laser printers
- # (e.g. the LaserJet 1220 03f0:0417 has a scanner unit).
- # An activated SANE driver does not cause continuous system load because
- # it is only run when the user launches a scanning frontend (e.g. xsane)
- # and then all what the driver does is to scan the USB device information
- # to find devices which belong to the driver and if nothing found it exits.
- # Additionally see https://bugzilla.novell.com/show_bug.cgi?id=469721#c9
- #
- # Added ENV{libsane_matched}="yes" to all entries for USB devices
- # to get normal user access permissions via udev, see
- # https://bugzilla.novell.com/show_bug.cgi?id=542473#c14
- #
- # Added same rule to disable USB autosuspend
- # as in /etc/udev/rules.d/55-libsane.rules
- #
- ACTION!="add", GOTO="hpmud_rules_end"
- SUBSYSTEM=="ppdev", OWNER="root", GROUP="lp", MODE="0664"
- SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="hplip_pid_test"
- SUBSYSTEM!="usb_device", GOTO="hpmud_rules_end"
- LABEL="hplip_pid_test"
- # Check for AiO products (0x03f0xx11).
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="??11", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # Check for Photosmart products without wildcard since cameras and scanners also used (0x03f0xx02).
- # The xx02 pid has been retired so this explicit list should not change.
- # photosmart_d2300_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="c302", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_100
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="3802", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_1115
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="3402", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_1215
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="3202", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_1218
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="3302", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_130
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="3902", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_1315
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="3602", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_140_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="1002", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_230
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="3502", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_240_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="1102", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_320_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="1202", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_330_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="1602", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_370_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="1302", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_380_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="1702", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_420_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="1502", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_470_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="1802", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_7150
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="3a02", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="3b02", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_7200_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="b002", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_7345
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="2002", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_7350
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="3c02", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_7400_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="b802", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_7550
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="3e02", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_7600_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="b202", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_7700_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="b402", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_7800_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="c002", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_7900_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="b602", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_8000_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="c102", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_8100_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="ba02", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_8200_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="c202", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_8400_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="bb02", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_8700_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="bc02", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_a310_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="1d02", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_a320_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="1e02", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_a430_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="1902", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_a440_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="1f02", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_a510_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="1a02", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_a520_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="2602", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_a530_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="2b02", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_a610_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="1b02", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_a620_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="2702", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_a630_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="2c02", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_a710_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="1c02", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_a820_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="2902", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_d5060_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="c802", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_d5100_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="c402", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_d6100_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="c502", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_d7100_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="c602", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_d7300_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="c702", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_pro_b8300_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="be02", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_b8800_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="d002", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # photosmart_pro_b9100_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="bd02", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # Photosmart_B8500_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="d102", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # Photosmart_A640_series
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="7902", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # Check for Business Inkjet products (0x03f0xx12).
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="??12", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # Check for Deskjet products (0x03f0xx04).
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="??04", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # Check for LaserJet products (0x03f0xx17).
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="??17", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # Check for LaserJet products (0x03f0xx2a).
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="??2a", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # Check for DesignJet product (0x03f0xx14).
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="??14", OWNER="root", GROUP="lp", MODE="0664", ENV{sane_hpaio}="yes", ENV{libsane_matched}="yes
- "
- # Removed the following rule because FHS states that /etc should be reserved for static files only. This
- # functionality should be done in a deb/rpm post install script. 2/11/2009, D Suffield
- #
- # Novell/openSUSE re-enabled it
- # because it is how it works with SANE regardless what FHS think how it should work.
- # Files in /etc/ are config files which can be adapted as needed during runtime.
- # Adapting /etc/sane.d/dll.conf only during package install time is insufficient
- # because a device may be not connected by the admin during package install time
- # but later during runtime by the system's end-user (e.g. on a company workstation).
- #
- # If sane-bankends is installed add hpaio backend support to dll.conf if needed.
- ENV{sane_hpaio}=="yes", RUN+="/bin/sh -c 'grep -q ^#hpaio /etc/sane.d/dll.conf;if [ $$? -eq 0 ];then sed -i -e s/^#hpaio/hpaio/ /etc/san
- e.d/dll.conf;else grep -q ^hpaio /etc/sane.d/dll.conf;if [ $$? -ne 0 ];then echo hpaio >>/etc/sane.d/dll.conf;fi;fi'"
- # The following rule will disable USB autosuspend for the device
- ENV{libsane_matched}=="yes", RUN+="/bin/sh -c 'test -e /sys/$env{DEVPATH}/power/level && echo on > /sys/$env{DEVPATH}/power/level'"
- LABEL="hpmud_rules_end"
- ::::::::::::::
- /etc/udev/rules.d/56-hpmud_support.rules
- ::::::::::::::
- # HPLIP udev rules file. Notify console user if plugin support is required for this device.
- ACTION!="add", GOTO="hpmud_support_rules_end"
- SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="hpmud_support_pid_test"
- SUBSYSTEM!="usb_device", GOTO="hpmud_support_rules_end"
- LABEL="hpmud_support_pid_test"
- # Check for LaserJet products (0x03f0xx17).
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="??17", ENV{hp_model}="$sysfs{product}", ENV{hp_test}="yes"
- # Check for LaserJet products (0x03f0xx2a).
- ATTR{idVendor}=="03f0", ATTR{idProduct}=="??2a", ENV{hp_model}="$sysfs{product}", ENV{hp_test}="yes"
- ENV{hp_test}=="yes", RUN+="bin/sh -c '/usr/bin/hp-mkuri -c &'"
- LABEL="hpmud_support_rules_end"
- ::::::::::::::
- /etc/udev/rules.d/70-kpartx.rules
- ::::::::::::::
- #
- # persistent links for device-mapper devices
- # only hardware-backed device-mapper devices (ie multipath, dmraid,
- # and kpartx) have meaningful persistent device names
- #
- KERNEL!="dm-*", GOTO="kpartx_end"
- ACTION=="remove", GOTO="kpartx_end"
- ENV{DM_TABLE_STATE}!="LIVE", GOTO="kpartx_end"
- ENV{DM_UUID}=="?*", IMPORT{program}=="kpartx_id %M %m $env{DM_UUID}"
- ENV{DM_UUID}=="mpath-*", IMPORT{program}="vol_id --export $tempnode"
- ENV{DM_PART}=="?*", IMPORT{program}="vol_id --export $tempnode"
- OPTIONS="link_priority=50"
- # Create persistent links for multipath tables
- ENV{DM_UUID}=="mpath-*", \
- SYMLINK+="disk/by-id/$env{DM_TYPE}-$env{DM_NAME}"
- ENV{DM_MPATH}=="?*", ENV{DM_PART}!="?*", \
- SYMLINK+="disk/by-id/$env{DM_TYPE}-$env{DM_MPATH}"
- # Create persistent links for dmraid tables
- ENV{DM_UUID}=="DMRAID-*|dmraid-*", \
- SYMLINK+="disk/by-id/$env{DM_TYPE}-$env{DM_NAME}"
- # Create persistent links for linear tables
- ENV{DM_UUID}=="linear-*", \
- SYMLINK+="disk/by-id/$env{DM_TYPE}-$env{DM_NAME}"
- # Create persistent links for partitions
- ENV{DM_PART}=="?*", \
- SYMLINK+="disk/by-id/$env{DM_TYPE}-$env{DM_NAME}-part$env{DM_PART}"
- ENV{DM_MPATH}=="?*", ENV{DM_PART}=="?*", \
- SYMLINK+="disk/by-id/$env{DM_TYPE}-$env{DM_MPATH}-part$env{DM_PART}"
- # Create persistent by-label/by-uuid links
- ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", \
- SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
- ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", \
- SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"
- # Create dm tables for partitions
- ENV{DM_ACTION}=="PATH_FAILED|PATH_REINSTATED", GOTO="kpartx_end"
- ENV{DM_STATE}!="SUSPENDED", ENV{DM_DEPS}!="0", ENV{DM_UUID}=="mpath-*", \
- RUN+="/sbin/kpartx -u -p _part /dev/$kernel"
- ENV{DM_STATE}=="ACTIVE", ENV{DM_UUID}=="DMRAID-*|dmraid-*", \
- RUN+="/sbin/kpartx -u -p _part /dev/$kernel"
- ENV{DM_STATE}=="ACTIVE", ENV{DM_UUID}=="linear-*", \
- RUN+="/sbin/kpartx -u -p _part /dev/$kernel"
- LABEL="kpartx_end"
- ::::::::::::::
- /etc/udev/rules.d/70-persistent-cd.rules
- ::::::::::::::
- # This file was automatically generated by the /lib/udev/write_cd_rules
- # program, run by the cd-aliases-generator.rules rules file.
- #
- # You can modify it, as long as you keep each rule on a single
- # line, and set the $GENERATED variable.
- # QEMU_DVD-ROM (pci-0000:00:01.1-scsi-1:0:0:0)
- SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:01.1-scsi-1:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
- SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:01.1-scsi-1:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
- ::::::::::::::
- /etc/udev/rules.d/70-persistent-net.rules
- ::::::::::::::
- # This file was automatically generated by the /lib/udev/write_net_rules
- # program,run by the persistent-net-generator.rules rules file.
- #
- # You can modify it,as long as you keep each rule on a single
- # line,and change only the value of the NAME= key.
- # PCI device 0x10ec:0x8139 (8139cp)
- # This file was automatically generated by the /lib/udev/write_net_rules
- # program,run by the persistent-net-generator.rules rules file.
- #
- # You can modify it,as long as you keep each rule on a single
- # line,and change only the value of the NAME= key.
- # PCI device 0x10ec:0x8139 (8139cp)
- SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:16:3e:00:00:21", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*"
- , NAME="eth0"
- ::::::::::::::
- /etc/udev/rules.d/71-multipath.rules
- ::::::::::::::
- #
- # udev rules for multipathing.
- # The persistent symlinks are created with the kpartx rules
- #
- # socket for uevents
- SUBSYSTEM=="block", RUN+="socket:/org/kernel/dm/multipath_event"
- ::::::::::::::
- /etc/udev/rules.d/77-network.rules
- ::::::::::::::
- # Driver module ipw3945 requires an userspace daemon to register network
- # interfaces.
- SUBSYSTEM=="drivers", ACTION=="add", DEVPATH=="/bus/pci/drivers/ipw3945", RUN+="ipw3945d.sh"
- #
- # Apply per interface sysctl settings before setup (see man 5 ifsysctl):
- #
- SUBSYSTEM=="net", ACTION=="add", RUN+="/etc/sysconfig/network/scripts/ifup-sysctl $env{INTERFACE} -o hotplug"
- #
- # The following rules are to:
- # - mark a (physical) interface as renamed to it's persistent name and
- # ready to configure by the network service.
- # - set up a (physical) network interface automatically when there is
- # a configuration for and the network service is already active.
- # - clean up things by calling ifdown when the interface gets removed
- # (e.g. kill ifplugd or another daemon) and in fact vanished already.
- #
- # There are (virtual) interfaces, which are created with ifup. We have
- # to ignore these interfaces to avoid nested ifup / ifdown execution.
- # We do it here name based for the well known/default interface names,
- # ifup makes it again by interface type to catch also custom names.
- #
- SUBSYSTEM=="net", ENV{INTERFACE}=="lo*|dummy*|vif*.*|br*|bond*|vlan*|gre*|sit*|tap*|tun*|ipip*|ip6tnl*|ipsec*|ppp*|ippp*|isdn*|modem*|ds
- l*|plip*|irda*", GOTO="skip_ifup"
- SUBSYSTEM=="net", ACTION=="add", RUN+="/sbin/ifup $env{INTERFACE} -o hotplug"
- SUBSYSTEM=="net", ACTION=="remove", RUN+="/sbin/ifdown %k -o hotplug"
- LABEL="skip_ifup"
- ::::::::::::::
- /etc/udev/rules.d/81-mount.rules
- ::::::::::::::
- # Udev rules for udevmountd
- # Skip 'add' events for device-mapper
- ACTION=="add", SUBSYSTEM=="block", KERNEL=="dm-*", GOTO="skip_mount"
- ACTION=="add", SUBSYSTEM=="block", KERNEL=="md*", GOTO="skip_mount"
- # don't handle crypto devices, boot.crypto does that already (bnc#569942)
- ACTION=="change", SUBSYSTEM=="block", KERNEL=="dm-*", ENV{DM_TARGET_TYPES}=="crypt", GOTO="skip_mount"
- ACTION=="add|change", SUBSYSTEM=="block", ENV{FSTAB_OPTS}=="*nofail*", IMPORT="udevmountd"
- ACTION=="add|change", ENV{FSCK_STATE}=="unknown|clean", RUN+="udevmountd add"
- ACTION=="remove", ENV{FSTAB_OPTS}=="*nofail*", RUN+="udevmountd remove"
- LABEL="skip_mount"
- ::::::::::::::
- /etc/udev/rules.d/99-iwlwifi-led.rules
- ::::::::::::::
- SUBSYSTEM=="leds", ACTION=="add", KERNEL=="iwl-phy*:assoc", RUN+="/lib/udev/iwlwifi-led.sh"
- ::::::::::::::
- /etc/modprobe.d/00-system.conf
- ::::::::::::::
- #
- # Copyright (c) 1996-2002 SuSE Linux AG Nuernberg, Germany.
- # All rights reserved.
- #
- # Author: Hubert Mantel <mantel@suse.de>, 1996-2002
- #
- # Configuration file for loadable modules; used by modprobe
- #
- # Please don't edit this file. Place your settings into
- # /etc/modprobe.d/99-local.conf instead.
- #
- #
- ########################################################################
- # If you want to use the new autofs4
- ########################################################################
- alias autofs autofs4
- ########################################################################
- # block dev aliases
- ########################################################################
- # network block device
- alias block-major-45 pd
- alias block-major-47 pf
- ########################################################################
- # char dev aliases
- ########################################################################
- install char-major-10-134 /bin/true
- install char-major-10-135 /bin/true
- alias char-major-10-181 toshiba
- alias char-major-10-250 sonypi
- options sonypi minor=250
- ########################################################################
- # ISDN
- ########################################################################
- install b1pci /bin/true
- install c4 /bin/true
- install sc /bin/true
- install hisax /bin/true
- install hisax_fcpcipnp /bin/true
- install hfc4s8s_l1 /bin/true
- install hysdn /bin/true
- install pcbit /bin/true
- install t1pci /bin/true
- install divas /bin/true
- # NFS
- alias nfs4 nfs
- # rpc_pipefs
- install rpc_pipefs /sbin/modprobe sunrpc
- # we don't want ide-scsi handle CD drives (bnc#242009)
- options ide-scsi idescsi_nocd=1
- # pata_acpi is useful for certain limited cases but it tries to attach any
- # controller with IDE class code causing more harm than good if loaded by
- # default. Blacklist it so that it can be used selectively.
- blacklist pata_acpi
- # "Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not
- # after" (bnc#449853)
- # mkinitrd hints:
- # SUSE INITRD: uhci-hcd REQUIRES ehci-hcd
- # SUSE INITRD: ohci-hcd REQUIRES ehci-hcd
- install uhci-hcd /sbin/modprobe ehci-hcd; /sbin/modprobe --ignore-install uhci-hcd
- install ohci-hcd /sbin/modprobe ehci-hcd; /sbin/modprobe --ignore-install ohci-hcd
- # libcrc32c calls crypto_alloc_shash("crc32c", 0, 0), which results in a
- # request_module("crc32c"), but that dependency is not seen by modpost/depmod
- # https://bugzilla.novell.com/552443
- # SUSE INITRD: libcrc32c REQUIRES crc32c
- # end of common part for modprobe.conf
- # begin of x86_64 part for modprobe.conf
- alias parport_lowlevel parport_pc
- # disable DMA for parallel port (bnc#180390)
- options parport_pc dma=none
- # options parport_pc io=0x378 irq=none
- # If you have multiple parallel ports, specify them this way:
- # options parport_pc io=0x378,0x278 irq=none,none
- # ata_piix can't handle ICH6 in AHCI mode
- install ata_piix /sbin/modprobe ahci 2>&1 |:; /sbin/modprobe --ignore-install ata_piix
- # QEMU/KVM can handle ACPI Hotplugging
- alias dmi:bvnQEMU:bvrQEMU:* acpiphp
- # end of x86_64 part for modprobe.conf
- ::::::::::::::
- /etc/modprobe.d/10-unsupported-modules.conf
- ::::::::::::::
- #
- # Every kernel module has a flag 'supported'. If this flag is not set loading
- # this module will taint your kernel. You will not get much help with a kernel
- # problem if your kernel is marked as tainted. In this case you firstly have
- # to avoid loading of unsupported modules.
- #
- # Setting allow_unsupported_modules 1 enables loading of unsupported modules
- # by modprobe, setting allow_unsupported_modules 0 disables it. This can
- # be overriden using the --allow-unsupported-modules commandline switch.
- allow_unsupported_modules 1
- ::::::::::::::
- /etc/modprobe.d/50-blacklist.conf
- ::::::::::::::
- #
- # $Id$
- #
- # Listing a module here prevents modprobe from loading it via modalias (only
- # aliases from /lib/modules/*/modules.alias). You may still load it explicitely.
- # We blacklist some modules becaus they may harm on certain devices or they
- # prevent other modules from grabbing the device.
- #
- # Syntax: blacklist <driver name>
- # See 'man modprobe'.
- #
- # uhci ... usb-uhci handles the same pci class
- blacklist uhci
- # usbcore ... module is loaded implicitly, ignore it otherwise
- blacklist usbcore
- # tulip ... de4x5, xircom_tulip_cb, dmfe (...) handle same devices
- blacklist de4x5
- # At least 2.4.3 and later xircom_tulip doesn't have that conflict
- # xircom_tulip_cb
- blacklist dmfe
- # list all framebuffer drivers, some of them tend to crash during boot
- # they are either compiled into the kernel, or vesafb is active
- # X works fine without them, rcfbset can load them if really required
- # sed -e '/\/drivers\/video\/.*\.\(o\|ko\)$/{s@^.*/@@;s@\..*$@@;p};d'
- blacklist aty128fb
- blacklist atyfb
- blacklist clgenfb
- blacklist cyber2000fb
- # cyblafb, bug 466280
- blacklist cyblafb
- blacklist encode-big5
- blacklist encode-gb
- blacklist encode-gbk
- blacklist encode-jis
- blacklist encode-kscm
- blacklist fbcon-afb
- blacklist fbcon-cfb2
- blacklist fbcon-cfb4
- blacklist fbcon-hga
- blacklist fbcon-ilbm
- blacklist fbcon-iplan2p2
- blacklist fbcon-iplan2p4
- blacklist fbcon-iplan2p8
- blacklist fbcon-mac
- blacklist fbcon-mfb
- blacklist fbcon-vga
- blacklist fbcon-vga-planes
- blacklist fbgen
- blacklist g450_pll
- blacklist hgafb
- blacklist i2c-matroxfb
- blacklist i810fb
- blacklist intelfbdrv
- blacklist intelfbhw
- blacklist matroxfb_accel
- blacklist matroxfb_base
- blacklist matroxfb_crtc2
- blacklist matroxfb_DAC1064
- blacklist matroxfb_g450
- blacklist matroxfb_maven
- blacklist matroxfb_misc
- blacklist matroxfb_proc
- blacklist matroxfb_Ti3026
- blacklist mdacon
- blacklist neofb
- blacklist pm2fb
- blacklist pm3fb
- blacklist radeonfb
- blacklist rivafb
- blacklist sisfb
- blacklist sstfb
- blacklist tdfxfb
- blacklist tridentfb
- blacklist unikey
- blacklist vga16fb
- blacklist vgastate
- blacklist vmware
- # for kyrofb see Bug 35810
- blacklist kyrofb
- # list was not complete (bug 106715)
- blacklist arcfb
- blacklist backlight
- blacklist lcd
- blacklist cirrusfb
- blacklist gx1fb
- blacklist intelfb
- blacklist macmodes
- blacklist nvidiafb
- blacklist s1d13xxxfb
- blacklist savagefb
- # additional modules since SLE11, bug 468964
- blacklist arkfb
- blacklist carminefb
- blacklist gxfb
- blacklist hecubafb
- blacklist lxfb
- blacklist s3fb
- blacklist sm501fb
- blacklist viafb
- blacklist vmlfb
- blacklist vt8623fb
- # ISDN modules are load from /lib/udev/isdn.sh
- blacklist fcusb
- blacklist fcusb2
- blacklist fxusb
- blacklist fxusb_CZ
- blacklist fcdslusb
- blacklist fcdslusb2
- blacklist fcdslusba
- blacklist fcdslslusb
- blacklist fcdslslusb2
- blacklist e2220pc
- blacklist e5520pc
- blacklist bfusb
- blacklist b1isa
- blacklist b1pci
- blacklist b1pcmcia
- blacklist c4
- blacklist t1isa
- blacklist t1pci
- blacklist divas
- blacklist act2000
- blacklist hfc_usb
- blacklist hisax
- blacklist hisax_fcpcipnp
- blacklist hisax_st5481
- blacklist hysdn
- blacklist icn
- blacklist pcbit
- blacklist sc
- blacklist tpam
- blacklist fcpci
- blacklist fcclassic
- blacklist fcdsl
- blacklist fcdsl2
- # mISDN modules
- blacklist hfcsusb
- blacklist hfcpci
- blacklist hfcmulti
- blacklist l1oip
- blacklist mISDN_dsp
- blacklist mISDN_core
- # OSS PCI sound modules
- blacklist ad1889
- blacklist ali5455
- blacklist btaudio
- blacklist cmpci
- blacklist cs4281
- blacklist emu10k1
- blacklist es1370
- blacklist es1371
- blacklist esssolo1
- blacklist forte
- blacklist i810_audio
- blacklist maestro
- blacklist maestro3
- blacklist nm256_audio
- blacklist opl3sa2 # Bug 219758
- blacklist rme96xx
- blacklist sonicvibes
- blacklist trident
- blacklist via82cxxx_audio
- blacklist ymfpci
- # If you really need firewire direct networking, then remove this entry
- blacklist eth1394
- # this is a debugging module which should only be loaded manually
- blacklist evbug
- # These mtd drivers should be loaded manually.
- blacklist scb2_flash
- blacklist ich2rom
- blacklist pci
- blacklist l440gx
- blacklist amd76xrom
- # job of rcdvb
- blacklist snd_bt87x
- blacklist snd-bt87x
- # HP Touch Screen usb input driver. breaks all other mouse input devices
- blacklist tsdev
- # https://bugzilla.novell.com/show_bug.cgi?id=115132
- blacklist slamr
- blacklist slusb
- # This module seems to be good for nothing. See bug 129301.
- blacklist dpt_i2o
- # This driver is obsolete and should never be loaded as default.
- # See https://bugzilla.novell.com/show_bug.cgi?id=146728
- blacklist eepro100
- # This driver is obsolete and should never be loaded as default.
- # See https://bugzilla.novell.com/show_bug.cgi?id=146930
- blacklist sk98lin
- # This driver is rarely needed and causes trouble when scanning devices.
- # See: https://bugzilla.novell.com/show_bug.cgi?id=144623
- blacklist stradis
- # These devices have bt878 chip without PCI Subsystem ID. Without that info bttv
- # does not know how to treat them properly. Therefore we disable autoloading of
- # modules for these devices.
- # See https://bugzilla.novell.com/show_bug.cgi?id=149588
- # To enable your device create a hardware configuration file for your device.
- # See man hwup for details.
- # You will probably have to specify an option to identify your card. Have a
- # look in /usr/src/linux/Documentation/video4linux/CARDLIST.bttv.
- alias pci:v0000109Ed0000036Esv00000000sd00000000bc04sc00i00 bttv_skip_it
- alias pci:v0000109Ed00000878sv00000000sd00000000bc04sc80i00 bttv_skip_it
- install bttv_skip_it /bin/echo "module alias skipped (bt878 chip without PCI Subsystem ID)"
- # For some bridges both intel-agp and i82875p_edac are loaded. If i82875p_edac
- # is loaded first it will grab the device. Then intel-agp doesn't work.
- # Therefore we disable automatic loading of 82875p_edac. (Bug 213840)
- blacklist i82875p_edac
- #
- # Blacklist the IBM s390 module for I/O dynamic configuration support
- # Bug bnc#478601
- blacklist chsc_sch
- ::::::::::::::
- /etc/modprobe.d/50-bluetooth.conf
- ::::::::::::::
- # use "reset=1" as default, since it should be safe for recent devices and
- # solves all kind of problems.
- options btusb reset=1
- ::::::::::::::
- /etc/modprobe.d/50-ipw2200.conf
- ::::::::::::::
- options ipw2200 hwcrypto=0 led=1
- ::::::::::::::
- /etc/modprobe.d/50-iwagn.conf
- ::::::::::::::
- options iwlagn 11n_disable=0
- ::::::::::::::
- /etc/modprobe.d/50-iwl3945.conf
- ::::::::::::::
- options iwl3945 disable_hw_scan=1
- ::::::::::::::
- /etc/modprobe.d/50-nvidia.conf
- ::::::::::::::
- options nvidia NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=33 NVreg_DeviceFileMode=0660
- ::::::::::::::
- /etc/modprobe.d/50-prism54.conf
- ::::::::::::::
- blacklist prism54
- ::::::::::::::
- /etc/modprobe.d/50-thinkpad_acpi.conf
- ::::::::::::::
- #
- # IBM/Lenovo ThinkPad ACPI driver options
- #
- # A detailed description of the parameters for the ThinkPad ACPI driver can be found
- # in /usr/src/linux/Documentation/laptops/thinkpad-acpi.txt which is part of the package
- # 'kernel-source'.
- #
- # If you encounter problems with the hotkey mask please file a bug on
- # http://bugzilla.novell.com/
- #
- options thinkpad_acpi experimental=1 hotkey=0xffffff
- ::::::::::::::
- /etc/modprobe.d/50-tv.conf
- ::::::::::::::
- ::::::::::::::
- /etc/modprobe.d/99-local.conf
- ::::::::::::::
- #
- # please add local extensions to this file
- #
- ::::::::::::::
- /etc/modprobe.d/xen_pvdrivers.conf
- ::::::::::::::
- # Install the paravirtualized drivers
- install libata /sbin/modprobe xen-vbd 2>&1 |:; /sbin/modprobe --ignore-install libata
- install 8139cp /sbin/modprobe xen-vnif 2>&1 |:; /sbin/modprobe --ignore-install 8139cp
- install 8139too /sbin/modprobe xen-vnif 2>&1 |:; /sbin/modprobe --ignore-install 8139too
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement