Re: How to get Midiman USB midisport 4x4 working?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 16 Oct 2009 14:26:57 -0700 (PDT)
degras <danwgrace@xxxxxxxxx> 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
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux