[linux-audio-user] [pw_lists at slinkp.com: snd-usb-audio and Midiman Oxygen]

Paul Winkler pw_lists at slinkp.com
Sun Dec 8 23:24:01 EST 2002


sorry for the crosspost, but i'm not getting any response from
alsa-user list and I know these devices have been discussed
here before. I've searched the archives thoroughly, but
found no report of anyone succeeding in using an oxygen
via usb with recent version of alsa.  Is that still the
case?

--PW


----- Forwarded message from Paul Winkler <pw_lists at slinkp.com> -----

Subject: snd-usb-audio and Midiman Oxygen
Date: Sun, 8 Dec 2002 02:01:55 -0800
From: Paul Winkler <pw_lists at slinkp.com>
To: alsa-user at lists.sourceforge.net
Mail-Followup-To: Paul Winkler <pw_lists at slinkp.com>,
	alsa-user at lists.sourceforge.net

I picked up an Oxygen today, and I seem to get as far as
getting the firmware loaded (via midisport_firmware)
and loading the snd-usb-audio module,
but I don't seem to be able to actually use it.

I have kernel 2.4.19, with the latest hotplug and fxload
sources from the hotplug sourceforge page (not from cvs).

When I start alsa, the snd-usb-audio module starts:
$ sudo /etc/init.d/alsasound restart
Shutting down sound driver: done
Starting sound driver: snd-ice1712 done
Starting sound driver: snd-usb-audio done
Starting sound driver: snd-virmidi done
Starting sound driver: dummy done
No state is present for card virmidi


When I plug in the oxygen I get this in /var/log/messages:

Dec  8 00:50:27 kermit kernel: hub.c: USB new device connect on bus1/1, assigned device number 5
Dec  8 00:50:28 kermit kernel: usb.c: USB device 5 (vend/prod 0x763/0x1014) is not claimed by any active driver.
Dec  8 00:50:31 kermit /etc/hotplug/usb.agent: Setup midisport_fw for USB product 763/1014/1
Dec  8 00:50:31 kermit /etc/hotplug/usb.agent: Module setup midisport_fw for USB product 763/1014/1
Dec  8 00:50:31 kermit /etc/hotplug/usb/midisport_fw: load /usr/share/usb/MidiSportKS.ihx for 763/1014/1 to /proc/bus/usb/001/005



I expect the oxygen to show up as snd-card-1 because that's what's in
my modules.conf:


# begin of alsa section of modules.conf

# for alsa native support
alias char-major-116 snd
alias snd-card-0 snd-ice1712
alias snd-card-1 snd-usb-audio
alias snd-card-2 snd-virmidi
alias snd-card-3 dummy


# for OSS support
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
alias sound-slot-2 snd-card-2
alias sound-slot-3 snd-card-3

# for Alsa's OSS emulation
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-12 snd-pcm-oss

alias sound-service-1-1 snd-seq-oss
alias sound-service-1-8 snd-seq-oss

alias sound-service-2-1 snd-seq-oss
alias sound-service-2-8 snd-seq-oss

alias sound-service-3-0 snd-mixer-oss
alias sound-service-3-3 snd-pcm-oss
alias sound-service-3-12 snd-pcm-oss



# Here are specific module options for ALSA.
options snd major=116 \
        cards_limit=4 \
        device_mode=0666 \
        device_gid=0 device_uid=0

options snd-ice1712 enable=1  \
                        index=0 \
                        id="Delta66"


options snd-usb-audio enable=1 \
                      index=1 \
			id="oxygen"

options snd-virmidi enable=1 \
                        index=2 \
                        id="virmidi"


options snd-dummy enable=1 \
                  index=3 \
                  id="dummy"

# end of modules.conf


... but here's what I have:
$ cat /proc/asound/cards   
0 [Delta66        ]: ICE1712 - M Audio Delta 66
                     M Audio Delta 66 at 0xe000, irq 16
2 [virmidi        ]: VirMIDI - VirMIDI
                     Virtual MIDI Card 1

$ aconnect -i
client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
client 80: 'Virtual Raw MIDI 2-0' [type=kernel]
    0 'VirMIDI 2-0     '
client 81: 'Virtual Raw MIDI 2-1' [type=kernel]
    0 'VirMIDI 2-1     '
client 82: 'Virtual Raw MIDI 2-2' [type=kernel]
    0 'VirMIDI 2-2     '
client 83: 'Virtual Raw MIDI 2-3' [type=kernel]
    0 'VirMIDI 2-3     '


So where's the oxygen????

What am I missing?

-- 

Paul Winkler
http://www.slinkp.com
"Welcome to Muppet Labs, where the future is made - today!"

----- End forwarded message -----

-- 

Paul Winkler
http://www.slinkp.com
"Welcome to Muppet Labs, where the future is made - today!"



More information about the Linux-audio-user mailing list