[linux-audio-user] MIDI In on SB Live! Value

Nathan Callahan ncalla at netspace.net.au
Tue Oct 12 00:21:25 EDT 2004


On Tue, 12 Oct 2004 01:48 am, Clemens Ladisch wrote:
> Nathan Callahan wrote:
> > On Mon, 11 Oct 2004 10:37 pm, Arnold Krille wrote:
> > > On Monday 11 October 2004 12:49, Nathan Callahan wrote:
> > > > Anyone got any clues as to why I don't seem to be able to get any
> > > > MIDI messages from the MIDI/gameport on my SB Live! Value?
>
> Do you see anything when running "amidi -a -d -p portname" for all
> ports listed by "amidi -l"?

[nathan at gandalf nathan]$ amidi -l
Device    Name
hw:0,0    EMU10K1 MPU-401 (UART)
hw:1,0    Mia  // This is interesting.  Dunno why this is in there as a MIDI 
device, it can't do MIDI at all.

[nathan at gandalf nathan]$ amidi -a -d -p hw:0,0
hit keys, wiggle wheel, change settings... nup... nothing...

> > > You are sure you have the right adapter-cable?
> >
> > Unfortunately, yes I'm sure.  It works under that other OS fine.
>
> When you connect the MIDI Out directly to the In (or connect pins 12
> and 15 on the gameport), can you receive data that you're sending?

Don't really have the gear to check that one.

> > /proc/asound/seq/drivers looks a little like this...
> >
> > snd-emu10k1-synth,empty,1
> > snd-seq-midi,empty,2
> >
> > Should there be something in there?
>
> It says "loaded" when the particular module is loaded.  (The external
> MIDI port is handled by snd-seq-midi.)  Some CVS version after the
> 1.0.7rc1 release deactivated autoloading of sequencer drivers because
> of a locking bug when initializing, but this has been fixed in the
> latest CVS.

Cool, so it probably isn't the source of the problem then? 

On Tue, 12 Oct 2004 01:53 am, tim hall wrote:
> Absolutely no idea, this is probably just telling you what you already
> know, that MIDI is not configured. I don't know Mandrake. Under Debian
> you'd be looking for something like /etc/alsa/modutils/1,0 (assuming you're
> using ALSA
>
> >= 1.0) or /etc/modutils/alsa-base, whatever file is created by alsaconf,
> > you
>
> would need to insert an options line into it. Need to know what soundcard
> you have.
> Info from
> uname -a
Linux gandalf 2.6.8-0.rc2.2mdk #4 Mon Aug 9 13:57:16 EST 2004 i686 unknown 
unknown GNU/Linux

> lsmod
Module                  Size  Used by
snd-mia                57892  1
snd-pcm-oss            51944  0
snd-mixer-oss          18496  1 snd-pcm-oss
snd-emu10k1            96200  1
snd-rawmidi            22848  2 snd-mia,snd-emu10k1
snd-pcm                88996  3 snd-mia,snd-pcm-oss,snd-emu10k1
snd-timer              24452  1 snd-pcm
snd-seq-device          7560  2 snd-emu10k1,snd-rawmidi
snd-ac97-codec         70788  1 snd-emu10k1
snd-page-alloc         11016  3 snd-mia,snd-emu10k1,snd-pcm
snd-util-mem            3840  1 snd-emu10k1
snd-hwdep               8480  1 snd-emu10k1
snd                    52644  15 
snd-mia,snd-pcm-oss,snd-mixer-oss,snd-emu10k1,snd-rawmidi,snd-pcm,snd-timer,snd-seq-device,snd-ac97-codec,snd-util-mem,snd-hwdep
soundcore               7584  1 snd
joydev                  8192  0
DAC960                 72232  0

lots of definitely irrellevant stuff deleted.

> /etc/modules.conf

# cat /etc/modprobe.conf
alias sound-card-0 snd-emu10k1
alias sound-card-1 snd-mia
alias sound-card-2 snd-usb

alias sound-slot-0 snd-emu10k1
alias sound-slot-1 snd-mia
alias sound-slot-2 snd-usb

options acx100_pci firmware_dir=/lib/modules/acx100_fmwe
options analog js=auto
options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1
options bttv radio=1 card=37 tuner=5 gbuffers=4 pll=1
alias wlan0 acx100_pci
install input /sbin/modprobe --first-time --ignore-install input && 
{ /sbin/modprobe joydev; /sbin/modprobe emu10k1-gp; /sbin/modprobe 
analog; /bin/true; }
install scsi_hostadapter /sbin/modprobe DAC960; /bin/true
install snd-emu10k1 /sbin/modprobe --first-time --ignore-install snd-emu10k1 
&&{ /sbin/modprobe snd-pcm-oss; /bin/true; }
install usb-interface /sbin/modprobe usb-uhci; /bin/true
remove input { /sbin/modprobe -r joydev; /sbin/modprobe -r 
emu10k1-gp; /sbin/modprobe -r analog; } ; /sbin/modprobe -r --first-time 
--ignore-remove input
remove snd-emu10k1 { /sbin/modprobe -r snd-pcm-oss; } ; /sbin/modprobe -r 
--first-time --ignore-remove snd-emu10k1

options realtime gid=81

alias /dev/nvidia*   nvidia

> etc.
> would be useful here.
>
> cheers
>
> tim hall

As you can probably tell, I've also got an Echo Mia in the same box, and a 
US428 (MIDI works fine on that) sometimes hooked up externally.

Thanks for the help so far guys.



More information about the Linux-audio-user mailing list