Comment 48 for bug 27833

Revision history for this message
peter (register-tonhof) wrote :

PJ, Thanks a lot for the script:

#!/bin/sh
fw=/usr/share/usb/maudio/MidiSport2x2.ihx

bd=$( lsusb | grep Midisport | cut -d ' ' -f 2,4 | sed -e 's/ /\//' -e 's/://' )

dev=/dev/bus/usb/$bd

echo fxload -I $fw -D $dev
fxload -I $fw -D $dev

it works fine for me , however I had to replace Midisport with Midiman, I guess this is because my Midisport is about 8 years old.

By the way , the modifications of the rules script as described by Padlarren (that is adding -D $env{DEVNAME} ) did not load the firmware for me, only the explicit call to fxload did that.

Thanks again
peter