Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2008 09:33:38 -0700
From:      "Steve Franks" <stevefranks@ieee.org>
To:        bridd@bridd.com
Cc:        ports@freebsd.org, mcampos@bpsw.biz, FreeBSD Mailing List <freebsd-questions@freebsd.org>, freebsd-usb@freebsd.org
Subject:   Re: fxload (ports/misc/ezload for usb firmware loading)
Message-ID:  <539c60b90805210933l6f0ee304q7ed6e88145bbc27e@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
------=_Part_11529_14857475.1211387618335
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Wed, May 21, 2008 at 5:28 AM, bridd <bridd@bridd.com> wrote:
> Hi Steve,
>
> I saw your thread
> http://lists.freebsd.org/pipermail/freebsd-usb/2008-April/004753.html
> via googling for FreeBSD fxload equivalents.  Did you get any further
> with it?
>
> I'm wondering, because I've got an m-audio USB midi keyboard, and under
> linux it's possible to use it, using a combo of fxload, the firmware and
> a nice auto-detect script... It'd be great for me if I could get this up
> and running under FreeBSD.
>
> Anyway, I hope you don't mind the email out of the blue like this, I was
> wondering and figured it was easy enough to just ask :)
>
> Cheers,
>
> Dave // bridd
>
>

Dave,

FreeBSD has an equivalent program in ports/misc called ezload.  I just
had to add one line to it to recognize the newer hardware and it works
like a charm.  Annoyingly, the installed binary is called ezdownload,
so it took awhile to find the thing after it installed.  Included is
the patch to add the line, tell me if you don't understand patches
(patch file.c < file.patch) - basically just open it and add the line
that starts with "+" manually to the mentioned file - everyone always
assumes everyone with a *nix box is a super-hacker, and I sure ain't.

I tried pestering the ezdownload maintainer/author (can't remember
which) to add my patch and make a new release, but I never heard back.
 Guess I will have to follow up on that - don't love patching 20
programs every time I bring up a new box, and I haven't heard of old
hardware in several years, making ezload pretty much irrelevant
without the patch - everything uses the "fx2" cypress usb devices now.

I'll ask you a question in return - what software & drivers do you use
with the m-audio stuff?  I've got an m-audio UNO USB<->MIDI dongle
I've never attempted to plug in - maybe you can point me in the
direction of the apps I need to make it go!

Steve

------=_Part_11529_14857475.1211387618335
Content-Type: text/x-patch; name=ezdownload-0.4.1.patch
Content-Transfer-Encoding: base64
X-Attachment-Id: f_fgi4nhno0
Content-Disposition: attachment; filename=ezdownload-0.4.1.patch

LS0tIC4vZXpkb3dubG9hZC0wLjQuMC9lemRvd25sb2FkLmMJMjAwNC0xMi0yMyAxNjoxNDo0My4w
MDAwMDAwMDAgLTA3MDAKKysrIGV6ZG93bmxvYWQuYwkyMDA4LTA0LTA3IDEzOjQ5OjEwLjAwMDAw
MDAwMCAtMDcwMApAQCAtOTYsNyArOTYsNyBAQAogLyogU2VlIGh0dHA6Ly93d3cuYW5jaG9yY2hp
cHMuY29tIGZvciB0aGUKICAqIEVaLVVTQiBUZWNobmljYWwgUmVmZXJlbmNlIE1hbnVhbCAoRVpV
U0JfVFJNLnBkZikuCiAgKi8KLSNkZWZpbmUgQ1BVQ1MgMHg3ZjkyCitzdGF0aWMgdW5zaWduZWQg
aW50IENQVUNTID0gMHg3ZjkyOwogI2RlZmluZSBVU0JTQyAweDdmZDYKIAogLyogVGhpcyB3aG9s
ZSByZWFkaW5nIHJvdXRpbmUgc3Vja3MuIHlvdSBjb3VsZCBkbyBpdCBpbgpAQCAtMzQwLDcgKzM0
MCw3IEBACiBjaGFyICogcHJvZ25hbWU7CiB2b2lkIHVzYWdlKCkgCiB7Ci0JZnByaW50ZihzdGRl
cnIsICJTeW50YXg6ICVzIFstcl0gWy12XSBbLWYgaGV4ZmlsZV0gZGV2aWNlXG4iLCBwcm9nbmFt
ZSk7CisJZnByaW50ZihzdGRlcnIsICJTeW50YXg6ICVzIFstcl0gWy12XSBbLTJdIFstZiBoZXhm
aWxlXSBkZXZpY2VcbiIsIHByb2duYW1lKTsKIAlleGl0KDEpOwogfQogCkBAIC0zNjMsNyArMzYz
LDcgQEAKIAlwcm9nbmFtZSA9IGFyZ3ZbMF07CiAKIAkvKiBoYW5kbGUgdGhlIGFyZ3VtZW50cyAq
LwotCXdoaWxlKChjaCA9IGdldG9wdChhcmdjLCBhcmd2LCAieHJ2ZjoiKSkgIT0gLTEpIAorCXdo
aWxlKChjaCA9IGdldG9wdChhcmdjLCBhcmd2LCAiMnhydmY6IikpICE9IC0xKSAKIAkJc3dpdGNo
IChjaCkgewogCQljYXNlICd2JzoKIAkJCXZlcmJvc2UrKzsKQEAgLTM3NCw2ICszNzQsOSBAQAog
CQljYXNlICdmJzoKIAkJCWhleGZpbGUgPSBvcHRhcmc7CiAJCQlicmVhazsKKwkJY2FzZSAnMic6
CisJCQlDUFVDUyAgPSAweGU2MDA7CisJCQlicmVhazsKIAkJY2FzZSAneCc6CiAJCQlmb3JjZSA9
IDE7CiAJCQlicmVhazsK
------=_Part_11529_14857475.1211387618335--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?539c60b90805210933l6f0ee304q7ed6e88145bbc27e>