Fantastic. aconnect -i now lists:
client 72: 'Evolution Electronics Ltd. USB MIDI keyboard'
   1 'USB MIDI keyboard Port 1'

BUT now my snd-cmipci card doesn't work. My /etc/modules.conf
(attached) looks like this at the sound area:

# WL76.leFtcOMtGx0:CMI8738/C3DX PCI Audio Device

#

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.9.0 ---
alias char-major-116 snd
alias snd-card-0 snd-cmipci
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
options snd snd_major=116 snd_cards_limit=2
options snd-cmipci snd_index=0
alias snd-card-1 snd-usb-midi
options snd-usb-midi snd_index=1
# --- END: Generated by ALSACONF, do not edit. ---

NB: I edited the bit inside the ALSACONF area (which I don't think matters?)
to include settings for the usb audio device aswell as the snd-cmipci card

Mike

-----Original Message-----
From: Clemens Ladisch [mailto:[EMAIL PROTECTED]]
Sent: 22 August 2002 09:22
To: Michael Martin
Cc: Alsa Users (E-mail)
Subject: Re: [Alsa-user] ALSA USB MIDI Input


On Tue, 20 Aug 2002, Michael Martin wrote:
> The kernel had this to say
>
> Aug 20 15:55:36 linux kernel: hub.c: USB new device connect on bus1/2,
> assigned device number 3
> Aug 20 15:55:36 linux kernel: snd-usb-midi: using interface 1
> Aug 20 15:55:36 linux kernel: snd-usb-midi: MIDIStreaming version 01.00
> Aug 20 15:55:36 linux kernel: snd-usb-midi: detected 1 input jack(s) on
> endpoint 1
> Aug 20 15:55:36 linux kernel: snd-usb-midi: detected 1 output jack(s) on
> endpoint 2
> Aug 20 15:55:36 linux kernel: snd-usb-midi: detected Evolution Electronics
> Ltd. MK-249 USB MIDI keyboard
> Aug 20 15:55:36 linux kernel: ALSA ../alsa-kernel/usb/usbmidi.c:1196:
cannot
> create card (error code -12)
>
> but 15:55:36 was when I unplugged and re plugged in the keyboard. I want
> hotplugging.

The hotplugging code works, but for some reason, the driver isn't able to
create the sound card object. I'd guess that the snd_cards_limit parameter
is set to 1, so that ALSA refuses to use more than one sound card.
(Maybe the SuSE installation sets this to 1 because it doesn't know about
USB MIDI.)

The following lines for /etc/modules.conf should work for your
configuration:

        alias char-major-116 snd
        options snd snd_cards_limit=2

        alias snd-card-0 snd-cmipci
        options snd-cmipci snd_index=0

        alias snd-card-1 snd-usb-midi
        options snd-usb-midi snd_index=1

        # (entries for OSS omitted, see my other mail)


HTH
Clemens


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to