am7xxx: add comment about detaching kernel drivers before setting configuration
[libam7xxx.git] / contrib / 99-am7xxx-autodisplay.rules
1 # Example rules to show how to run a program when the device is plugged in or out
2 ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1de1", ATTRS{idProduct}=="c101", MODE="0660", GROUP="plugdev", RUN+="am7xxx-autodisplay.sh start"
3 ACTION=="remove", SUBSYSTEM=="usb", ENV{ID_VENDOR_ID}=="1de1", ENV{ID_MODEL_ID}=="c101", RUN+="am7xxx-autodisplay.sh stop"