# $ udevadm monitor --kernel --subsystem-match=sound # KERNEL[2082.099348] add /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/sound/card1 (sound) # KERNEL[2082.099631] add /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/sound/card1/controlC1 (sound) # KERNEL[2082.099831] add /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/sound/card1/pcmC1D0p (sound) # KERNEL[2082.100122] add /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/sound/card1/pcmC1D0c (sound) # KERNEL[2082.149885] change /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/sound/card1 (sound) SUBSYSTEM!="sound", GOTO="my_psvr_end" ACTION!="add", GOTO="my_psvr_end" DEVPATH=="/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/sound/card?", ATTR{id}="PSVR" LABEL="my_psvr_end"