[LAU] How to get Midiman USB midisport 4x4 working?

Folderol folderol at ukfsn.org
Fri Oct 16 17:45:56 EDT 2009


On Fri, 16 Oct 2009 14:26:57 -0700 (PDT)
degras <danwgrace at gmail.com> wrote:

> 
> tux maudio # fxload -L
> /usr/local/share/usb/maudio/midisport-firmware-1.2/MidiSport4x4.ihx  -D
> /proc/bus/usb/003/002
> 
> OK, looks good so far, but then:
> 
> tux maudio # modprobe snd-usb-audio
> FATAL: Module snd_usb_audio not found.
> 
> 
> Thanks.

For what it's worth this is the script I cobbled together for my 2x2.
It finds the USB port and the device number then does the firmware
load all by itself.

You will need to modify the 'fxload' line to suit your distro, as well
as changing the 2x2 to 4x4. The -D is all part of the same line (with a
space). Curses on auto word wrap!

It must be run by bash, not just sh





#!/bin/bash

# echo's can be removed -just for testing

name="Midisport"

lsusb | cat | while read line ; do
  if [[ "$line" =~ "$name" ]] ; then
    echo
    echo $line
    result=${line#'Bus '}
    busnumber=${result%' Device'*}
    result=${result#*'Device '}
    devicenumber=${result%': ID'*}
    echo $busnumber
    echo $devicenumber
    result="sudo fxload -I /usr/share/usb/maudio/MidiSport2x2.ihx
-D /dev/bus/usb/"$busnumber"/"$devicenumber exec $result
  fi
done
echo


-- 
Will J Godfrey
http://www.musically.me.uk



More information about the Linux-audio-user mailing list