#7 Fixed 42-madfuload.rules.in with SuSE 10.2

open
5
2006-12-26
2006-12-26
No

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

Discussion

  • 42-madfuload.rules.in working with SuSE 10.1 and 10.2

     
    Attachments
  • hobey
    hobey
    2007-02-09

    Logged In: YES
    user_id=1715169
    Originator: NO

    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.

     
  • fixed version of SuSE 10.2 compatible rule template

     
    Attachments
  • Logged In: YES
    user_id=880808
    Originator: YES

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

     
  • hobey
    hobey
    2008-01-26

    Logged In: YES
    user_id=1715169
    Originator: NO

    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.