# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# hook any usb device plug into our own GR-1 script, which informs our application
#SUBSYSTEM=="usb", ACTION=="add", RUN+="/root/notify_midi_connect.sh &"
SUBSYSTEMS=="usb", DRIVERS=="snd-usb-audio", ACTION=="add", RUN+="/root/notify_midi_connect.sh &"

# this always maps the onboard ethernet device to eth0
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="smsc95xx", ATTR{address}=="*", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
