ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0c4b", GROUP="cyberjack", MODE="660" # using the cyberJack libusb driver ACTION=="add", SUBSYSTEM=="usb", ENV{PRODUCT}=="c4b/100/*", RUN+="cyberjack.sh" ACTION=="add", SUBSYSTEM=="usb", ENV{PRODUCT}=="c4b/300/*", RUN+="cyberjack.sh" ACTION=="add", SUBSYSTEM=="usb", ENV{PRODUCT}=="c4b/400/*", RUN+="cyberjack.sh" ACTION=="add", SUBSYSTEM=="usb", ENV{PRODUCT}=="c4b/401/*", RUN+="cyberjack.sh" # using the cyberJack kernel module ACTION=="add", SUBSYSTEM=="tty", DRIVERS=="cyberjack", RUN+="cyberjack.sh"