[Alsa-user] Two USB devices, mixer?
Brought to you by:
perex
From: Bob H. <bh...@vi...> - 2004-02-14 02:23:15
|
-M-audio MidiSport 4x4 USB and M-audio Mobile Duo (USB) -SuSE 9.0 Pro, (reiserfs) KDE, ALSA CVS from a couple weeks ago, JACK 0.94.0 For some reason the MidiSport always worked and I haven't killed it yet. The Duo audio works too with ALSA driver snd-usb-audio. So there are 2 ALSA devices with the same name... xmms gives me some pops and clicks on a CD but it plays MP3s and .wav's fine. Alsaplayer will play midi files but not CDs. Jack won't connect to anything. Of course I have an on-board Ensoniq AudioPCI to make things worse. -- I just found out I can =alsamixer -c 1 = neat tool. If only I had some use for that device.. I only installed it in hopes it would help me trouble-shoot. It has. The 2 USB devices give me 'no mixer elems found' I've read that neither have a hardware audio mixer, so what do I use instead? <--- I think that's the crux of my question. Online doc for .asoundrc was light on examples. I'll surely share my successes.. thanks to Jonathan Rockway and 2004-02-11 16:49. ------------------- Here's some console output that someone might get an _aha_ from. It would seem that c 0 is the MIDI controller, c 1 is the on-board, and c 2 is the USB Audio Duo (the one I want to use for RoseGarden, Audacity, whatever..) hitshed:/home/bob # ls testwave.wav testwave.wav hitshed:/home/bob # aplay -D hw:1,0 testwave.wav Playing WAVE 'testwave.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono # BH-- it "played" but I didn't hear it. The same file is sweet in xmms. hitshed:/home/bob # aplay -D hw:0,0 testwave.wav ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: No such device aplay: main:502: audio open error: No such device #BH-- that's the MIDI controller. non-problem hitshed:/home/bob # aplay -D hw:2,0 testwave.wav Playing WAVE 'testwave.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono aplay: set_params:832: Channels count non available # BH-- no mixer, no channels. you don't get JACK! but it did get somewhere. Don't know where. -------------------- hitshed:/home/bob # lsmod | grep snd snd-pcm-oss 49728 0 (autoclean) (unused) snd-mixer-oss 15576 0 (autoclean) [snd-pcm-oss] snd-seq-midi 5088 6 (autoclean) snd-seq-midi-event 3840 0 (autoclean) [snd-seq-midi] snd-seq 41424 7 (autoclean) [snd-seq-midi snd-seq-midi-event] snd-usb-audio 48448 5 snd-ens1371 15304 1 snd-pcm 74148 0 [snd-pcm-oss snd-usb-audio snd-ens1371] snd-timer 17024 0 [snd-seq snd-pcm] snd-rawmidi 15968 0 [snd-seq-midi snd-usb-audio snd-ens1371] snd-seq-device 4528 0 [snd-seq-midi snd-seq snd-rawmidi] gameport 1692 0 [snd-ens1371] snd-ac97-codec 45400 0 [snd-ens1371] snd 40388 0 [snd-pcm-oss snd-mixer-oss snd-seq-midi snd-seq-midi-event snd-seq snd-usb-audio snd-ens1371 snd-pcm snd-timer snd-rawmidi snd-seq-device snd-ac97-codec] soundcore 3940 0 [snd] snd-page-alloc 6676 0 [snd-pcm] usbcore 64364 1 [snd-usb-audio usbserial usb-uhci ehci-hcd] |