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.
PJ, Thanks a lot for the script:
#!/bin/sh share/usb/ maudio/ MidiSport2x2. ihx
fw=/usr/
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