50-udev-default.rules revision a06c8219a324825c8043cc72508e423b267caab8
023a4f67011f24d4b085995a4a3a02661c4794a2Lennart Poettering# do not edit this file, it will be overwritten on update
dd1eb43ba771d4d56b20b4c93ba3acc59475f642Lennart Poettering
12b42c76672a66c2d4ea7212c14f8f1b5a62b78dTom Gundersen# run a command on remove events
dd1eb43ba771d4d56b20b4c93ba3acc59475f642Lennart PoetteringACTION=="remove", ENV{REMOVE_CMD}!="", RUN+="$env{REMOVE_CMD}"
dd1eb43ba771d4d56b20b4c93ba3acc59475f642Lennart PoetteringACTION=="remove", GOTO="default_end"
dd1eb43ba771d4d56b20b4c93ba3acc59475f642Lennart Poettering
dd1eb43ba771d4d56b20b4c93ba3acc59475f642Lennart PoetteringSUBSYSTEM=="virtio-ports", KERNEL=="vport*", ATTR{name}=="?*", SYMLINK+="virtio-ports/$attr{name}"
dd1eb43ba771d4d56b20b4c93ba3acc59475f642Lennart Poettering
dd1eb43ba771d4d56b20b4c93ba3acc59475f642Lennart Poettering# select "system RTC" or just use the first one
dd1eb43ba771d4d56b20b4c93ba3acc59475f642Lennart PoetteringSUBSYSTEM=="rtc", ATTR{hctosys}=="1", SYMLINK+="rtc"
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart PoetteringSUBSYSTEM=="rtc", KERNEL=="rtc0", SYMLINK+="rtc", OPTIONS+="link_priority=-100"
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering
dd1eb43ba771d4d56b20b4c93ba3acc59475f642Lennart PoetteringSUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb --subsystem=usb"
dd1eb43ba771d4d56b20b4c93ba3acc59475f642Lennart PoetteringSUBSYSTEM=="input", ENV{ID_INPUT}=="", IMPORT{builtin}="input_id"
dd1eb43ba771d4d56b20b4c93ba3acc59475f642Lennart PoetteringENV{MODALIAS}!="", IMPORT{builtin}="hwdb --subsystem=$env{SUBSYSTEM}"
dd1eb43ba771d4d56b20b4c93ba3acc59475f642Lennart Poettering
dd1eb43ba771d4d56b20b4c93ba3acc59475f642Lennart PoetteringACTION!="add", GOTO="default_end"
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering
dd1eb43ba771d4d56b20b4c93ba3acc59475f642Lennart PoetteringSUBSYSTEM=="tty", KERNEL=="ptmx", GROUP="tty", MODE="0666"
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart PoetteringSUBSYSTEM=="tty", KERNEL=="tty", GROUP="tty", MODE="0666"
dd1eb43ba771d4d56b20b4c93ba3acc59475f642Lennart PoetteringSUBSYSTEM=="tty", KERNEL=="tty[0-9]*", GROUP="tty", MODE="0620"
dd1eb43ba771d4d56b20b4c93ba3acc59475f642Lennart PoetteringSUBSYSTEM=="tty", KERNEL=="sclp_line[0-9]*", GROUP="tty", MODE="0620"
dd1eb43ba771d4d56b20b4c93ba3acc59475f642Lennart PoetteringSUBSYSTEM=="tty", KERNEL=="ttysclp[0-9]*", GROUP="tty", MODE="0620"
dd1eb43ba771d4d56b20b4c93ba3acc59475f642Lennart PoetteringSUBSYSTEM=="tty", KERNEL=="3270/tty[0-9]*", GROUP="tty", MODE="0620"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="vc", KERNEL=="vcs*|vcsa*", GROUP="tty"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekKERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP="dialout"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="mem", KERNEL=="mem|kmem|port", GROUP="kmem", MODE="0640"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="input", GROUP="input"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="input", KERNEL=="js[0-9]*", MODE="0664"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="video4linux", GROUP="video"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="graphics", GROUP="video"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="drm", GROUP="video"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="dvb", GROUP="video"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="sound", GROUP="audio", \
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek OPTIONS+="static_node=snd/seq", OPTIONS+="static_node=snd/timer"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x00010*", GROUP="video"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="firewire", ATTR{units}=="*0x00b09d:0x00010*", GROUP="video"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x010001*", GROUP="video"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x014001*", GROUP="video"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekKERNEL=="parport[0-9]*", GROUP="lp"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="printer", KERNEL=="lp*", GROUP="lp"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="ppdev", GROUP="lp"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekKERNEL=="lp[0-9]*", GROUP="lp"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekKERNEL=="irlpt[0-9]*", GROUP="lp"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", GROUP="lp"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="block", GROUP="disk"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="block", KERNEL=="sr[0-9]*", GROUP="cdrom"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="4|5", GROUP="cdrom"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekKERNEL=="sch[0-9]*", GROUP="cdrom"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekKERNEL=="pktcdvd[0-9]*", GROUP="cdrom"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekKERNEL=="pktcdvd", GROUP="cdrom"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="scsi_generic|scsi_tape", SUBSYSTEMS=="scsi", ATTRS{type}=="1|8", GROUP="tape"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="0", GROUP="disk"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekKERNEL=="qft[0-9]*|nqft[0-9]*|zqft[0-9]*|nzqft[0-9]*|rawqft[0-9]*|nrawqft[0-9]*", GROUP="disk"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekKERNEL=="loop-control", GROUP="disk", OPTIONS+="static_node=loop-control"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekKERNEL=="btrfs-control", GROUP="disk"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekKERNEL=="rawctl", GROUP="disk"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="raw", KERNEL=="raw[0-9]*", GROUP="disk"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="aoe", GROUP="disk", MODE="0220"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekSUBSYSTEM=="aoe", KERNEL=="err", MODE="0440"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekKERNEL=="rfkill", MODE="0664"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekKERNEL=="tun", MODE="0666", OPTIONS+="static_node=net/tun"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekKERNEL=="fuse", MODE="0666", OPTIONS+="static_node=fuse"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-SzmekLABEL="default_end"
798d3a524ea57aaf40cb53858aaa45ec702f012dZbigniew Jędrzejewski-Szmek