I'd like my computer to run certain scripts when a specific keyboard is (1) plugged in, (2) plugged out, (3) detected at startup.Here's the device:[rob@X200 vim]$ lsusb | grep keybBus 005 Device 012: ID 04d9:1400 Holtek Semiconductor, Inc. PS/2 keyboard + mouse controllerand here's the .rules file:[rob@X200 rules.d]$ cat 080-model-m.rules ACTION==add, ATTRS{idVendor}==04d9, ATTRS{idProduct}==1400, RUN+=/home/rob/home/scripts/caps-equals-super.shACTION==remove, ATTRS{idVendor}==04d9, ATTRS{idProduct}==1400, RUN+=/home/rob/home/scripts/revert-keyboard-to-default.shThe scripts have been tested to work, but are not triggered upon device plugin/plugout. I'm not quite sure how I'd go about having the script triggered if the keyboard is detected at startup, but I imagine I have to tell something (systemd, udev?) not to run the script until certain resources are ready.Here's udevadm monitor -p on device plugin:KERNEL[78150.293418] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1 (usb)ACTION=addBUSNUM=005DEVNAME=/dev/bus/usb/005/014DEVNUM=014DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1DEVTYPE=usb_deviceMAJOR=189MINOR=525PRODUCT=4d9/1400/143SEQNUM=2260SUBSYSTEM=usbTYPE=0/0/0KERNEL[78150.297188] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0 (usb)ACTION=addDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0DEVTYPE=usb_interfaceINTERFACE=3/1/1MODALIAS=usb:v04D9p1400d0143dc00dsc00dp00ic03isc01ip01in00PRODUCT=4d9/1400/143SEQNUM=2261SUBSYSTEM=usbTYPE=0/0/0KERNEL[78150.315292] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0025 (hid)ACTION=addDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0025HID_ID=0003:000004D9:00001400HID_NAME=HID 04d9:1400HID_PHYS=usb-0000:00:1d.0-1/input0MODALIAS=hid:b0003g0001v000004D9p00001400SEQNUM=2262SUBSYSTEM=hidKERNEL[78150.315615] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0025/input/input44 (input)ACTION=addDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0025/input/input44EV=120013KEY=1000000000007 ff9f207ac14057ff febeffdfffefffff fffffffffffffffeLED=7MODALIAS=input:b0003v04D9p1400e0110-e0,1,4,11,14,k71,72,73,74,75,77,79,7A,7B,7C,7D,7E,7F,80,81,82,83,84,85,86,87,88,89,8A,8C,8E,96,98,9E,9F,A1,A3,A4,A5,A6,AD,B0,B1,B2,B3,B4,B7,B8,B9,BA,BB,BC,BD,BE,BF,C0,C1,C2,F0,ram4,l0,1,2,sfwMSC=10NAME=HID 04d9:1400PHYS=usb-0000:00:1d.0-1/input0PRODUCT=3/4d9/1400/110PROP=0SEQNUM=2263SUBSYSTEM=inputUNIQ=KERNEL[78150.315762] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0025/input/input44/event6 (input)ACTION=addDEVNAME=/dev/input/event6DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0025/input/input44/event6MAJOR=13MINOR=70SEQNUM=2264SUBSYSTEM=inputKERNEL[78150.315864] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0025/hidraw/hidraw0 (hidraw)ACTION=addDEVNAME=/dev/hidraw0DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0025/hidraw/hidraw0MAJOR=247MINOR=0SEQNUM=2265SUBSYSTEM=hidrawKERNEL[78150.315934] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1 (usb)ACTION=addDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1DEVTYPE=usb_interfaceINTERFACE=3/1/2MODALIAS=usb:v04D9p1400d0143dc00dsc00dp00ic03isc01ip02in01PRODUCT=4d9/1400/143SEQNUM=2266SUBSYSTEM=usbTYPE=0/0/0KERNEL[78150.348378] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0026 (hid)ACTION=addDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0026HID_ID=0003:000004D9:00001400HID_NAME=HID 04d9:1400HID_PHYS=usb-0000:00:1d.0-1/input1MODALIAS=hid:b0003g0001v000004D9p00001400SEQNUM=2267SUBSYSTEM=hidKERNEL[78150.348750] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0026/input/input45 (input)ACTION=addDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0026/input/input45EV=17KEY=1f0000 2000000 39fad941d001 1e000000000000 0MODALIAS=input:b0003v04D9p1400e0110-e0,1,2,4,k71,72,73,74,80,8C,8E,8F,90,96,98,9B,9C,9E,9F,A1,A3,A4,A5,A6,A7,A8,AB,AC,AD,D9,110,111,112,113,114,r0,1,8,am4,lsfwMSC=10NAME=HID 04d9:1400PHYS=usb-0000:00:1d.0-1/input1PRODUCT=3/4d9/1400/110PROP=0REL=103SEQNUM=2268SUBSYSTEM=inputUNIQ=KERNEL[78150.348806] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0026/input/input45/event7 (input)ACTION=addDEVNAME=/dev/input/event7DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0026/input/input45/event7MAJOR=13MINOR=71SEQNUM=2269SUBSYSTEM=inputKERNEL[78150.349215] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0026/input/input45/mouse0 (input)ACTION=addDEVNAME=/dev/input/mouse0DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0026/input/input45/mouse0MAJOR=13MINOR=32SEQNUM=2270SUBSYSTEM=inputKERNEL[78150.349570] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0026/hidraw/hidraw1 (hidraw)ACTION=addDEVNAME=/dev/hidraw1DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0026/hidraw/hidraw1MAJOR=247MINOR=1SEQNUM=2271SUBSYSTEM=hidrawUDEV  [78150.352414] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1 (usb)ACTION=addBUSNUM=005DEVNAME=/dev/bus/usb/005/014DEVNUM=014DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1DEVTYPE=usb_deviceID_BUS=usbID_MODEL=1400ID_MODEL_ENC=1400ID_MODEL_FROM_DATABASE=PS/2 keyboard + mouse controllerID_MODEL_ID=1400ID_REVISION=0143ID_SERIAL=04d9_1400ID_USB_INTERFACES=:030101:030102:ID_VENDOR=04d9ID_VENDOR_ENC=04d9ID_VENDOR_FROM_DATABASE=Holtek Semiconductor, Inc.ID_VENDOR_ID=04d9MAJOR=189MINOR=525PRODUCT=4d9/1400/143SEQNUM=2260SUBSYSTEM=usbTYPE=0/0/0USEC_INITIALIZED=150293560UDEV  [78150.359452] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0 (usb)ACTION=addDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0DEVTYPE=usb_interfaceID_MODEL_FROM_DATABASE=PS/2 keyboard + mouse controllerID_VENDOR_FROM_DATABASE=Holtek Semiconductor, Inc.INTERFACE=3/1/1MODALIAS=usb:v04D9p1400d0143dc00dsc00dp00ic03isc01ip01in00PRODUCT=4d9/1400/143SEQNUM=2261SUBSYSTEM=usbTYPE=0/0/0USEC_INITIALIZED=297361UDEV  [78150.361013] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0025 (hid)ACTION=addDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0025HID_ID=0003:000004D9:00001400HID_NAME=HID 04d9:1400HID_PHYS=usb-0000:00:1d.0-1/input0MODALIAS=hid:b0003g0001v000004D9p00001400SEQNUM=2262SUBSYSTEM=hidUSEC_INITIALIZED=315394UDEV  [78150.363279] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0025/input/input44 (input)ACTION=addDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0025/input/input44EV=120013ID_BUS=usbID_FOR_SEAT=input-pci-0000_00_1d_0-usb-0_1_1_0ID_INPUT=1ID_INPUT_KEY=1ID_INPUT_KEYBOARD=1ID_MODEL=1400ID_MODEL_ENC=1400ID_MODEL_ID=1400ID_PATH=pci-0000:00:1d.0-usb-0:1:1.0ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_1_0ID_REVISION=0143ID_SERIAL=04d9_1400ID_TYPE=hidID_USB_DRIVER=usbhidID_USB_INTERFACES=:030101:030102:ID_USB_INTERFACE_NUM=00ID_VENDOR=04d9ID_VENDOR_ENC=04d9ID_VENDOR_ID=04d9KEY=1000000000007 ff9f207ac14057ff febeffdfffefffff fffffffffffffffeLED=7MODALIAS=input:b0003v04D9p1400e0110-e0,1,4,11,14,k71,72,73,74,75,77,79,7A,7B,7C,7D,7E,7F,80,81,82,83,84,85,86,87,88,89,8A,8C,8E,96,98,9E,9F,A1,A3,A4,A5,A6,AD,B0,B1,B2,B3,B4,B7,B8,B9,BA,BB,BC,BD,BE,BF,C0,C1,C2,F0,ram4,l0,1,2,sfwMSC=10NAME=HID 04d9:1400PHYS=usb-0000:00:1d.0-1/input0PRODUCT=3/4d9/1400/110PROP=0SEQNUM=2263SUBSYSTEM=inputTAGS=:seat:UNIQ=USEC_INITIALIZED=315688UDEV  [78150.363612] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1 (usb)ACTION=addDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1DEVTYPE=usb_interfaceID_MODEL_FROM_DATABASE=PS/2 keyboard + mouse controllerID_VENDOR_FROM_DATABASE=Holtek Semiconductor, Inc.INTERFACE=3/1/2MODALIAS=usb:v04D9p1400d0143dc00dsc00dp00ic03isc01ip02in01PRODUCT=4d9/1400/143SEQNUM=2266SUBSYSTEM=usbTYPE=0/0/0USEC_INITIALIZED=150315976UDEV  [78150.366574] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0025/hidraw/hidraw0 (hidraw)ACTION=addDEVNAME=/dev/hidraw0DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0025/hidraw/hidraw0MAJOR=247MINOR=0SEQNUM=2265SUBSYSTEM=hidrawUSEC_INITIALIZED=150315900UDEV  [78150.367209] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0026 (hid)ACTION=addDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0026HID_ID=0003:000004D9:00001400HID_NAME=HID 04d9:1400HID_PHYS=usb-0000:00:1d.0-1/input1MODALIAS=hid:b0003g0001v000004D9p00001400SEQNUM=2267SUBSYSTEM=hidUSEC_INITIALIZED=348465UDEV  [78150.369365] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0026/input/input45 (input)ACTION=addDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0026/input/input45EV=17ID_BUS=usbID_FOR_SEAT=input-pci-0000_00_1d_0-usb-0_1_1_1ID_INPUT=1ID_INPUT_KEY=1ID_INPUT_MOUSE=1ID_MODEL=1400ID_MODEL_ENC=1400ID_MODEL_ID=1400ID_PATH=pci-0000:00:1d.0-usb-0:1:1.1ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_1_1ID_REVISION=0143ID_SERIAL=04d9_1400ID_TYPE=hidID_USB_DRIVER=usbhidID_USB_INTERFACES=:030101:030102:ID_USB_INTERFACE_NUM=01ID_VENDOR=04d9ID_VENDOR_ENC=04d9ID_VENDOR_ID=04d9KEY=1f0000 2000000 39fad941d001 1e000000000000 0MODALIAS=input:b0003v04D9p1400e0110-e0,1,2,4,k71,72,73,74,80,8C,8E,8F,90,96,98,9B,9C,9E,9F,A1,A3,A4,A5,A6,A7,A8,AB,AC,AD,D9,110,111,112,113,114,r0,1,8,am4,lsfwMSC=10NAME=HID 04d9:1400PHYS=usb-0000:00:1d.0-1/input1PRODUCT=3/4d9/1400/110PROP=0REL=103SEQNUM=2268SUBSYSTEM=inputTAGS=:seat:UNIQ=USEC_INITIALIZED=349029UDEV  [78150.370966] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0026/hidraw/hidraw1 (hidraw)ACTION=addDEVNAME=/dev/hidraw1DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0026/hidraw/hidraw1MAJOR=247MINOR=1SEQNUM=2271SUBSYSTEM=hidrawUSEC_INITIALIZED=349776UDEV  [78150.372975] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0026/input/input45/event7 (input)ACTION=addDEVLINKS=/dev/input/by-id/usb-04d9_1400-if01-event-mouse /dev/input/by-path/pci-0000:00:1d.0-usb-0:1:1.1-event-mouseDEVNAME=/dev/input/event7DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0026/input/input45/event7ID_BUS=usbID_INPUT=1ID_INPUT_KEY=1ID_INPUT_MOUSE=1ID_MODEL=1400ID_MODEL_ENC=1400ID_MODEL_ID=1400ID_PATH=pci-0000:00:1d.0-usb-0:1:1.1ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_1_1ID_REVISION=0143ID_SERIAL=04d9_1400ID_TYPE=hidID_USB_DRIVER=usbhidID_USB_INTERFACES=:030101:030102:ID_USB_INTERFACE_NUM=01ID_VENDOR=04d9ID_VENDOR_ENC=04d9ID_VENDOR_ID=04d9MAJOR=13MINOR=71SEQNUM=2269SUBSYSTEM=inputUSEC_INITIALIZED=349103UDEV  [78150.373507] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0025/input/input44/event6 (input)ACTION=addDEVLINKS=/dev/input/by-id/usb-04d9_1400-event-kbd /dev/input/by-path/pci-0000:00:1d.0-usb-0:1:1.0-event-kbdDEVNAME=/dev/input/event6DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0025/input/input44/event6ID_BUS=usbID_INPUT=1ID_INPUT_KEY=1ID_INPUT_KEYBOARD=1ID_MODEL=1400ID_MODEL_ENC=1400ID_MODEL_ID=1400ID_PATH=pci-0000:00:1d.0-usb-0:1:1.0ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_1_0ID_REVISION=0143ID_SERIAL=04d9_1400ID_TYPE=hidID_USB_DRIVER=usbhidID_USB_INTERFACES=:030101:030102:ID_USB_INTERFACE_NUM=00ID_VENDOR=04d9ID_VENDOR_ENC=04d9ID_VENDOR_ID=04d9MAJOR=13MINOR=70SEQNUM=2264SUBSYSTEM=inputUSEC_INITIALIZED=315738UDEV  [78150.408756] add      /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0026/input/input45/mouse0 (input)ACTION=addDEVLINKS=/dev/input/by-id/usb-04d9_1400-if01-mouse /dev/input/by-path/pci-0000:00:1d.0-usb-0:1:1.1-mouseDEVNAME=/dev/input/mouse0DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0026/input/input45/mouse0ID_BUS=usbID_INPUT=1ID_INPUT_KEY=1ID_INPUT_MOUSE=1ID_MODEL=1400ID_MODEL_ENC=1400ID_MODEL_ID=1400ID_PATH=pci-0000:00:1d.0-usb-0:1:1.1ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_1_1ID_REVISION=0143ID_SERIAL=04d9_1400ID_TYPE=hidID_USB_DRIVER=usbhidID_USB_INTERFACES=:030101:030102:ID_USB_INTERFACE_NUM=01ID_VENDOR=04d9ID_VENDOR_ENC=04d9ID_VENDOR_ID=04d9MAJOR=13MINOR=32SEQNUM=2270SUBSYSTEM=inputUSEC_INITIALIZED=150349156and plugout:KERNEL[78050.382672] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0023/input/input42/event6 (input)ACTION=removeDEVNAME=/dev/input/event6DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0023/input/input42/event6MAJOR=13MINOR=70SEQNUM=2248SUBSYSTEM=inputUDEV  [78050.385911] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0023/input/input42/event6 (input)ACTION=removeDEVLINKS=/dev/input/by-id/usb-04d9_1400-event-kbd /dev/input/by-path/pci-0000:00:1d.0-usb-0:1:1.0-event-kbdDEVNAME=/dev/input/event6DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0023/input/input42/event6ID_BUS=usbID_INPUT=1ID_INPUT_KEY=1ID_INPUT_KEYBOARD=1ID_MODEL=1400ID_MODEL_ENC=1400ID_MODEL_ID=1400ID_PATH=pci-0000:00:1d.0-usb-0:1:1.0ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_1_0ID_REVISION=0143ID_SERIAL=04d9_1400ID_TYPE=hidID_USB_DRIVER=usbhidID_USB_INTERFACES=:030101:030102:ID_USB_INTERFACE_NUM=00ID_VENDOR=04d9ID_VENDOR_ENC=04d9ID_VENDOR_ID=04d9MAJOR=13MINOR=70SEQNUM=2248SUBSYSTEM=inputUSEC_INITIALIZED=215964KERNEL[78050.399307] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0023/input/input42 (input)ACTION=removeDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0023/input/input42EV=120013KEY=1000000000007 ff9f207ac14057ff febeffdfffefffff fffffffffffffffeLED=7MODALIAS=input:b0003v04D9p1400e0110-e0,1,4,11,14,k71,72,73,74,75,77,79,7A,7B,7C,7D,7E,7F,80,81,82,83,84,85,86,87,88,89,8A,8C,8E,96,98,9E,9F,A1,A3,A4,A5,A6,AD,B0,B1,B2,B3,B4,B7,B8,B9,BA,BB,BC,BD,BE,BF,C0,C1,C2,F0,ram4,l0,1,2,sfwMSC=10NAME=HID 04d9:1400PHYS=usb-0000:00:1d.0-1/input0PRODUCT=3/4d9/1400/110PROP=0SEQNUM=2249SUBSYSTEM=inputUNIQ=KERNEL[78050.399658] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0023/hidraw/hidraw0 (hidraw)ACTION=removeDEVNAME=/dev/hidraw0DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0023/hidraw/hidraw0MAJOR=247MINOR=0SEQNUM=2250SUBSYSTEM=hidrawKERNEL[78050.399744] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0023 (hid)ACTION=removeDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0023HID_ID=0003:000004D9:00001400HID_NAME=HID 04d9:1400HID_PHYS=usb-0000:00:1d.0-1/input0MODALIAS=hid:b0003g0001v000004D9p00001400SEQNUM=2251SUBSYSTEM=hidKERNEL[78050.399821] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0 (usb)ACTION=removeDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0DEVTYPE=usb_interfaceINTERFACE=3/1/1MODALIAS=usb:v04D9p1400d0143dc00dsc00dp00ic03isc01ip01in00PRODUCT=4d9/1400/143SEQNUM=2252SUBSYSTEM=usbTYPE=0/0/0UDEV  [78050.402035] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0023/input/input42 (input)ACTION=removeDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0023/input/input42EV=120013ID_BUS=usbID_FOR_SEAT=input-pci-0000_00_1d_0-usb-0_1_1_0ID_INPUT=1ID_INPUT_KEY=1ID_INPUT_KEYBOARD=1ID_MODEL=1400ID_MODEL_ENC=1400ID_MODEL_ID=1400ID_PATH=pci-0000:00:1d.0-usb-0:1:1.0ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_1_0ID_REVISION=0143ID_SERIAL=04d9_1400ID_TYPE=hidID_USB_DRIVER=usbhidID_USB_INTERFACES=:030101:030102:ID_USB_INTERFACE_NUM=00ID_VENDOR=04d9ID_VENDOR_ENC=04d9ID_VENDOR_ID=04d9KEY=1000000000007 ff9f207ac14057ff febeffdfffefffff fffffffffffffffeLED=7MODALIAS=input:b0003v04D9p1400e0110-e0,1,4,11,14,k71,72,73,74,75,77,79,7A,7B,7C,7D,7E,7F,80,81,82,83,84,85,86,87,88,89,8A,8C,8E,96,98,9E,9F,A1,A3,A4,A5,A6,AD,B0,B1,B2,B3,B4,B7,B8,B9,BA,BB,BC,BD,BE,BF,C0,C1,C2,F0,ram4,l0,1,2,sfwMSC=10NAME=HID 04d9:1400PHYS=usb-0000:00:1d.0-1/input0PRODUCT=3/4d9/1400/110PROP=0SEQNUM=2249SUBSYSTEM=inputTAGS=:seat:UNIQ=USEC_INITIALIZED=215881UDEV  [78050.403745] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0023/hidraw/hidraw0 (hidraw)ACTION=removeDEVNAME=/dev/hidraw0DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0023/hidraw/hidraw0MAJOR=247MINOR=0SEQNUM=2250SUBSYSTEM=hidrawUSEC_INITIALIZED=50400126UDEV  [78050.405656] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0023 (hid)ACTION=removeDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:04D9:1400.0023HID_ID=0003:000004D9:00001400HID_NAME=HID 04d9:1400HID_PHYS=usb-0000:00:1d.0-1/input0MODALIAS=hid:b0003g0001v000004D9p00001400SEQNUM=2251SUBSYSTEM=hidUSEC_INITIALIZED=400682UDEV  [78050.407323] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0 (usb)ACTION=removeDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0DEVTYPE=usb_interfaceID_MODEL_FROM_DATABASE=PS/2 keyboard + mouse controllerID_VENDOR_FROM_DATABASE=Holtek Semiconductor, Inc.INTERFACE=3/1/1MODALIAS=usb:v04D9p1400d0143dc00dsc00dp00ic03isc01ip01in00PRODUCT=4d9/1400/143SEQNUM=2252SUBSYSTEM=usbTYPE=0/0/0USEC_INITIALIZED=197298KERNEL[78050.432446] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0024/input/input43/event7 (input)ACTION=removeDEVNAME=/dev/input/event7DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0024/input/input43/event7MAJOR=13MINOR=71SEQNUM=2253SUBSYSTEM=inputUDEV  [78050.434993] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0024/input/input43/event7 (input)ACTION=removeDEVLINKS=/dev/input/by-id/usb-04d9_1400-if01-event-mouse /dev/input/by-path/pci-0000:00:1d.0-usb-0:1:1.1-event-mouseDEVNAME=/dev/input/event7DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0024/input/input43/event7ID_BUS=usbID_INPUT=1ID_INPUT_KEY=1ID_INPUT_MOUSE=1ID_MODEL=1400ID_MODEL_ENC=1400ID_MODEL_ID=1400ID_PATH=pci-0000:00:1d.0-usb-0:1:1.1ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_1_1ID_REVISION=0143ID_SERIAL=04d9_1400ID_TYPE=hidID_USB_DRIVER=usbhidID_USB_INTERFACES=:030101:030102:ID_USB_INTERFACE_NUM=01ID_VENDOR=04d9ID_VENDOR_ENC=04d9ID_VENDOR_ID=04d9MAJOR=13MINOR=71SEQNUM=2253SUBSYSTEM=inputUSEC_INITIALIZED=248972KERNEL[78050.456155] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0024/input/input43/mouse0 (input)ACTION=removeDEVNAME=/dev/input/mouse0DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0024/input/input43/mouse0MAJOR=13MINOR=32SEQNUM=2254SUBSYSTEM=inputUDEV  [78050.457413] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0024/input/input43/mouse0 (input)ACTION=removeDEVLINKS=/dev/input/by-id/usb-04d9_1400-if01-mouse /dev/input/by-path/pci-0000:00:1d.0-usb-0:1:1.1-mouseDEVNAME=/dev/input/mouse0DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0024/input/input43/mouse0ID_BUS=usbID_INPUT=1ID_INPUT_KEY=1ID_INPUT_MOUSE=1ID_MODEL=1400ID_MODEL_ENC=1400ID_MODEL_ID=1400ID_PATH=pci-0000:00:1d.0-usb-0:1:1.1ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_1_1ID_REVISION=0143ID_SERIAL=04d9_1400ID_TYPE=hidID_USB_DRIVER=usbhidID_USB_INTERFACES=:030101:030102:ID_USB_INTERFACE_NUM=01ID_VENDOR=04d9ID_VENDOR_ENC=04d9ID_VENDOR_ID=04d9MAJOR=13MINOR=32SEQNUM=2254SUBSYSTEM=inputUSEC_INITIALIZED=249005KERNEL[78050.490161] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0024/input/input43 (input)ACTION=removeDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0024/input/input43EV=17KEY=1f0000 2000000 39fad941d001 1e000000000000 0MODALIAS=input:b0003v04D9p1400e0110-e0,1,2,4,k71,72,73,74,80,8C,8E,8F,90,96,98,9B,9C,9E,9F,A1,A3,A4,A5,A6,A7,A8,AB,AC,AD,D9,110,111,112,113,114,r0,1,8,am4,lsfwMSC=10NAME=HID 04d9:1400PHYS=usb-0000:00:1d.0-1/input1PRODUCT=3/4d9/1400/110PROP=0REL=103SEQNUM=2255SUBSYSTEM=inputUNIQ=KERNEL[78050.490227] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0024/hidraw/hidraw1 (hidraw)ACTION=removeDEVNAME=/dev/hidraw1DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0024/hidraw/hidraw1MAJOR=247MINOR=1SEQNUM=2256SUBSYSTEM=hidrawUDEV  [78050.490261] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0024/hidraw/hidraw1 (hidraw)ACTION=removeDEVNAME=/dev/hidraw1DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0024/hidraw/hidraw1MAJOR=247MINOR=1SEQNUM=2256SUBSYSTEM=hidrawUSEC_INITIALIZED=489761KERNEL[78050.490301] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0024 (hid)ACTION=removeDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0024HID_ID=0003:000004D9:00001400HID_NAME=HID 04d9:1400HID_PHYS=usb-0000:00:1d.0-1/input1MODALIAS=hid:b0003g0001v000004D9p00001400SEQNUM=2257SUBSYSTEM=hidKERNEL[78050.490340] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1 (usb)ACTION=removeDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1DEVTYPE=usb_interfaceINTERFACE=3/1/2MODALIAS=usb:v04D9p1400d0143dc00dsc00dp00ic03isc01ip02in01PRODUCT=4d9/1400/143SEQNUM=2258SUBSYSTEM=usbTYPE=0/0/0UDEV  [78050.491393] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0024/input/input43 (input)ACTION=removeDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0024/input/input43EV=17ID_BUS=usbID_FOR_SEAT=input-pci-0000_00_1d_0-usb-0_1_1_1ID_INPUT=1ID_INPUT_KEY=1ID_INPUT_MOUSE=1ID_MODEL=1400ID_MODEL_ENC=1400ID_MODEL_ID=1400ID_PATH=pci-0000:00:1d.0-usb-0:1:1.1ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_1_1ID_REVISION=0143ID_SERIAL=04d9_1400ID_TYPE=hidID_USB_DRIVER=usbhidID_USB_INTERFACES=:030101:030102:ID_USB_INTERFACE_NUM=01ID_VENDOR=04d9ID_VENDOR_ENC=04d9ID_VENDOR_ID=04d9KEY=1f0000 2000000 39fad941d001 1e000000000000 0MODALIAS=input:b0003v04D9p1400e0110-e0,1,2,4,k71,72,73,74,80,8C,8E,8F,90,96,98,9B,9C,9E,9F,A1,A3,A4,A5,A6,A7,A8,AB,AC,AD,D9,110,111,112,113,114,r0,1,8,am4,lsfwMSC=10NAME=HID 04d9:1400PHYS=usb-0000:00:1d.0-1/input1PRODUCT=3/4d9/1400/110PROP=0REL=103SEQNUM=2255SUBSYSTEM=inputTAGS=:seat:UNIQ=USEC_INITIALIZED=248939UDEV  [78050.491500] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0024 (hid)ACTION=removeDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/0003:04D9:1400.0024HID_ID=0003:000004D9:00001400HID_NAME=HID 04d9:1400HID_PHYS=usb-0000:00:1d.0-1/input1MODALIAS=hid:b0003g0001v000004D9p00001400SEQNUM=2257SUBSYSTEM=hidUSEC_INITIALIZED=489833UDEV  [78050.491546] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1 (usb)ACTION=removeDEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1DEVTYPE=usb_interfaceID_MODEL_FROM_DATABASE=PS/2 keyboard + mouse controllerID_VENDOR_FROM_DATABASE=Holtek Semiconductor, Inc.INTERFACE=3/1/2MODALIAS=usb:v04D9p1400d0143dc00dsc00dp00ic03isc01ip02in01PRODUCT=4d9/1400/143SEQNUM=2258SUBSYSTEM=usbTYPE=0/0/0USEC_INITIALIZED=32216435KERNEL[78050.509101] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1 (usb)ACTION=removeBUSNUM=005DEVNAME=/dev/bus/usb/005/013DEVNUM=013DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1DEVTYPE=usb_deviceMAJOR=189MINOR=524PRODUCT=4d9/1400/143SEQNUM=2259SUBSYSTEM=usbTYPE=0/0/0UDEV  [78050.509856] remove   /devices/pci0000:00/0000:00:1d.0/usb5/5-1 (usb)ACTION=removeBUSNUM=005DEVNAME=/dev/bus/usb/005/013DEVNUM=013DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1DEVTYPE=usb_deviceID_BUS=usbID_MODEL=1400ID_MODEL_ENC=1400ID_MODEL_FROM_DATABASE=PS/2 keyboard + mouse controllerID_MODEL_ID=1400ID_REVISION=0143ID_SERIAL=04d9_1400ID_USB_INTERFACES=:030101:030102:ID_VENDOR=04d9ID_VENDOR_ENC=04d9ID_VENDOR_FROM_DATABASE=Holtek Semiconductor, Inc.ID_VENDOR_ID=04d9MAJOR=189MINOR=524PRODUCT=4d9/1400/143SEQNUM=2259SUBSYSTEM=usbTYPE=0/0/0USEC_INITIALIZED=32193478
udev .rules not running script
arch linux;udev