# madfuload.rules - udev rules for loading firmware into M-Audio DFU devices
#/etc/udev/rules.d/42-madfuload.rules for ubuntu 7.04/710
ACTION=="add", SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0763", SYSFS{idProduct}=="2803", RUN+="/usr/local/sbin/madfuload -l -3 -f /usr/local/share/usb/maudio/ma003101.bin -D $env{DEVNAME}"
ACTION=="add", SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0763", SYSFS{idProduct}=="2804", RUN+="/usr/local/sbin/madfuload -l -3 -f /usr/local/share/usb/maudio/ma004103.bin -D $env{DEVNAME}"
ACTION=="add", SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0763", SYSFS{idProduct}=="2805", RUN+="/usr/local/sbin/madfuload -l -3 -f /usr/local/share/usb/maudio/ma005101.bin -D $env{DEVNAME}"
ACTION=="add", SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0763", SYSFS{idProduct}=="2806", RUN+="/usr/local/sbin/madfuload -l -3 -f /usr/local/share/usb/maudio/ma006100.bin -D $env{DEVNAME}"
ACTION=="add", SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0763", SYSFS{idProduct}=="2808", RUN+="/usr/local/sbin/madfuload -l -3 -f /usr/local/share/usb/maudio/ma008100.bin -D $env{DEVNAME}"



%d bloggers like this: