---
name: madfufw
version: 1.0_1
origin: audio/madfufw
comment: M-Audio DFU Firmware for Transit, Ozone, Sonica, MobilePre
arch: freebsd:9:x86:64
www: http://usb-midi-fw.sourceforge.net/
maintainer: aragon@phat.za.net
prefix: /usr/local
licenselogic: single
flatsize: 35416
desc: "Userland scaffolding to load M-Audio firmware into supported\nsound devices
  upon attachment.  Supported devices:\n\n* Sonica\n* Ozone\n* MobilePre USB (some
  newer models don't need this port)\n* Transit \n\nBased upon the madfuload package.\n\nWWW:
  http://usb-midi-fw.sourceforge.net/\n"
deps:
  dfu-util: {origin: comms/dfu-util, version: 0.7}
categories: [audio]
files:
  /usr/local/etc/devd/maudio-devd.conf: 38ddefbaa5c2ca3c33f8d7b037d3ac724689272e9ec6addbd6125d0192da2869
  /usr/local/etc/rc.d/maudio: 73b1208d7d22050f8769f3e29e0cdd80e55777d785e7f1226125525303abd3de
  /usr/local/share/maudio/ma003101.bin: 8539d790ed567dc4724dec842057415dc3ebe35aa3d2e9ff976bf63a01d50536
  /usr/local/share/maudio/ma004103.bin: e55cbfe79d3958b1fd8f32b3276cfaff8a12cb3c8be7fc6680eda80bd5b2581b
  /usr/local/share/maudio/ma005101.bin: 736b69c669373ca3db48a4d239aa363fcad53cbf9f48600f059cedae731ffeb6
  /usr/local/share/maudio/ma006100.bin: 0640cdaf189bfdeeff8229ea71498a7fbf651e0be99bc37de3f47d73003cae83
  /usr/local/share/maudio/ma008100.bin: 327aa53fe485d5932c75aa719390d9e8a754018c74df2ffa3463b1c5ade29735
directories:
  /usr/local/share/maudio/: n
scripts:
  post-install: |
    cd /usr/local
  pre-deinstall: |
    cd /usr/local
  post-deinstall: |
    cd /usr/local
message: |
  A devd(8) configuration has been installed at:
  /usr/local/etc/devd/maudio-devd.conf.

  You must add 'maudio_enable="YES"' to rc.conf
  and restart devd(8) for this port to work.

  You can optionally add 'maudio_default="YES"'
  to rc.conf if you'd like M-Audio devices to
  be setup as the default sound device upon
  detection.

  Some devices (eg. Transit) may also require
  sysctl modifications:

  hw.usb.uaudio.default_bits=16
  hw.usb.uaudio.default_rate=48000
