# UDEV Rules for Greaseweazle
#
# To install, type this command in a terminal:
#   sudo cp 49-greaseweazle.rules /etc/udev/rules.d/.
#
# After this file is installed, physically unplug and reconnect Greaseweazle.
#
ATTRS{manufacturer}=="Keir Fraser", ATTRS{product}=="Greaseweazle", \
    ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{manufacturer}=="Keir Fraser", ATTRS{product}=="Greaseweazle", \
    ENV{MTP_NO_PROBE}="1"
ATTRS{manufacturer}=="Keir Fraser", ATTRS{product}=="Greaseweazle", \
    SUBSYSTEMS=="usb", MODE:="0666"
ATTRS{manufacturer}=="Keir Fraser", ATTRS{product}=="Greaseweazle", \
    KERNEL=="ttyACM*", MODE:="0666"
ACTION=="add", \
    ATTRS{manufacturer}=="Keir Fraser", ATTRS{product}=="Greaseweazle", \
    SYMLINK+="greaseweazle"
#
# If you share your linux system with other users, or just don't like the
# idea of write permission for everybody, you can replace MODE:="0666" with
# OWNER:="yourusername" to create the device owned by you, or with
# GROUP:="somegroupname" and mange access using standard unix groups.