Re: [linux-audio-user] Newbie advice on MIDI, please?

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] Newbie advice on MIDI, please?
From: matt yee-king (yeeking_AT_no-future.com)
Date: Sat Apr 13 2002 - 00:46:22 EEST


> I have a midisport 2x2 USB/MIDI adapter and MIDI cables,

ok... i can help you get the midisport running. it is worth mentioning
at this point that the midisport 2x2 is not working fully in linux yet
(according to the docs for the software discussed below) - i have a
midisport 1x1 and that is working great, but i haven't tried the 2x2
yet. but since i looked at the docs, there seems to be an update, so
maybe it works better now.

1. i think you need to have the source code + headers for your kernel
installed.

if not installed, easiest to get this from here:

ftp://rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/kernel-source-2.4.2-2.i386.rpm
ftp://rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/kernel-headers-2.4.2-2.i386.rpm

install as root, with

# rpm -ivh kernel-source-2.4.2-2.i386.rpm
# rpm -ivh kernel-headers-2.4.2-2.i386.rpm

really you should get a newer kernel as well, but not sure of your linux
skills... i guess you can just intsall it from the rpms if you want
to...

2. now you are ready to build and install the extra kenel modules that
will allow you to use your midi interface.

 - get this (source code for a generic usb midi interface kernel
module):
http://member.nifty.ne.jp/Breeze/softwares/unix/bin/usbmidi-20020324.tar.gz

- get this (source code for a kernel module that allows you to download
a new firmware into you midisport so that it will talk to the previous
module)

http://prdownloads.sourceforge.net/ezusb2131/Ezusb2131-0.3.tar.gz

now you have to extract and build these modules (i did roughly this on
my system, if it doesn't work, send the error) .

$ tar zxf usbmidi-20020324.tar.gz
$ cd usbmidi-20020324
$ make -f Makefile.RedHat install
(last step needs to be done as root i think)

then

$ tar zxf Ezusb2131-0.3.tar.gz
$ cd Ezusb2131
$ make
$ cp ezusb2131.o /lib/modules/<your kernel version>/usb/
(you might need to create that directory)
$ depmod

3. now you are ready to fire up the kernel modules and dump the firmware
to the midi interface.
 - plug it in
 - find this file: ezusbmidi2x2.ihx (comes with usbmidi-20020324.tar.gz,
prolly in the 'testing' directory)

as root:

# modprobe ezusb2131 vendor_id=0x763 product_id=0x1001
# modprobe usb-midi
# cat <the location of ezusbmidi_2x2.ihx> > /proc/ezusb/devx

In the second command, 'x' of "/proc/bus/devx" will be the appropriate
     number on your machine. in mine its '0'

thats it. the interface should light up and then it should wink when you
send midi into it.

i've got a shell script that does the last 3 commands whenever i want to
use the interface.

apparently you can get it to download the firmware automatically, but i
haven't tried this yet.

 - matthew


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Apr 12 2002 - 23:33:53 EEST