Share

USB MIDI Firmware Loaders

Tracker: Bugs

5 Fixed 42-madfuload.rules.in with SuSE 10.2 - ID: 1622573
Last Update: Comment added ( hobey )

With SuSE 10.2, as with 10.1 the provided udev rule with madfuload does not
work. The command does not get the DEVICE environment variable anymore.
10.1 provided the posibility to mount the usbfs for fixing this problem,
but usbfs is not provided in the 10.2 default kernel.

With the help of linux-hotplug-devel@lists.sourceforge.net I was able the
to fix the rules an get my M-Audio Transit working again. I'll attach a
fixed 42-madfuload.rules.in that should work for the other cards also.

Kind regards
Berthold


Berthold Höllmann ( bhoel ) - 2006-12-26 20:30

5

Open

None

Clemens Ladisch

M-Audio DFU loader

None

Public


Comments ( 3 )




Date: 2008-01-26 18:50
Sender: hobey


To make it work in OpenSUSE 10.3, I had to change

SUBSYSTEM=="usb_device"

to

SUBSYSTEM=="usb"

otherwise it would not work. Hope this helps.


Date: 2007-02-09 18:55
Sender: bhoel


Yes of course, the " -D $env{DEVNAME}" part of the rule is vital. Thanks
for the fix.
File Added: 42-madfuload.rules.in


Date: 2007-02-09 18:22
Sender: hobey


There seems to be a mistake in the attached file. However, after tracking
down the mailing list postings mentioned above, I was able to make it work
by changing the line

ACTION=="add", SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0763",
SYSFS{idProduct}=="2806", RUN+="@sbindir@/madfuload -l -3 -f
@firmwaredir@/ma006100.bin"

to

ACTION=="add", SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0763",
SYSFS{idProduct}=="2806", RUN+="@sbindir@/madfuload -l -3 -f
@firmwaredir@/ma006100.bin -D $env{DEVNAME}"

Hope this helps. Thanks to all who have contributed to making this work.


Log in to comment.

Attached Files ( 2 )

Filename Description Download
42-madfuload.rules.in 42-madfuload.rules.in working with SuSE 10.1 and 10.2 Download
42-madfuload.rules.in fixed version of SuSE 10.2 compatible rule template Download

Changes ( 2 )

Field Old Value Date By
File Added 215246: 42-madfuload.rules.in 2007-02-09 18:55 bhoel
File Added 208586: 42-madfuload.rules.in 2006-12-26 20:30 bhoel