[linux-audio-user] Last attemp at USB m-audio quattro.
Greg Wilder
greg at gregwilder.com
Sat Jan 22 17:40:51 EST 2005
It's been a considerable amount of time since I last fired up my quattro.
Like everyone else, I had very mixed results and eventually gave up. Here's
the last incarnation of my .asoundrc file. At the time, I was running FC1...
# quattro1 is pcm0 which has a maximum sample rate of 44100 and 16 bit stereo
pcm.quattro1 {
type hw
card 0
device 0
}
ctl.quattro1 {
type hw
card 0
}
# quattro2 is pcm1 which has a maximum sample rate of 96000 and 24 bit stereo
pcm.quattro2 {
type hw
card 0
device 1
}
ctl.quattro2 {
type hw
card 0
}
# quattro2 is pcm2 which has a maximum sample rate of 96000 and 24 bit stereo
pcm.quattro3 {
type hw
card 0
device 2
}
ctl.quattro3 {
type hw
card 0
}
#----
#
# compose 4 channels from two channel x two devices, hw:2,1 and hw:2,2
# assuming that hw:2,1 and hw:2,2 give the same condition, 24_3LE/96k
#
pcm.quattro {
type multi;
slaves.a.pcm "hw:0,1";
slaves.a.channels 2;
slaves.b.pcm "hw:0,2";
slaves.b.channels 2;
bindings.0.slave a;
bindings.0.channel 0;
bindings.1.slave a;
bindings.1.channel 1;
bindings.2.slave b;
bindings.2.channel 0;
bindings.3.slave b;
bindings.3.channel 1;
}
ctl.quattro {
type hw;
card 0;
}
#
# remap 4 channels as interleaved.
# use plug instead of route here, since 24_3LE is unlikely supported by
# applications.
#
# arecord -r 44100 -c 4 -f s16_le -D q4 -d 5 /home/xxx/q4.wav
pcm.q4 {
type plug;
slave.pcm "quattro";
ttable.0.0 1;
ttable.1.1 1;
ttable.2.2 1;
ttable.3.3 1;
}
ctl.q4 {
type hw;
card 0;
}
#
# Use route plugin for applications that do support 24_3LE
# This lowers latency which the plug plugin introduces due to resampling.
#
# arecord -r 44100 -c 4 -f s16_le -D q41 -d 5 /home/xxx/q41.wav
pcm.q41 {
type route;
slave.pcm "quattro";
ttable.0.0 1;
ttable.1.1 1;
ttable.2.2 1;
ttable.3.3 1;
}
ctl.q41 {
type hw;
card 0;
}
#----
HTH...
Greg
www.gregwilder.com
On Saturday 22 January 2005 03:12 pm, timg at expressmart.com wrote:
> Forst of all Thank you for your help.
> but..
> HMM failure...(output below)
>
> Any ideas
> jackstart/jackd -r 48000 -d alsa -d quattro
>
> Gives me
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> jackd 0.99.0
> Copyright 2001-2003 Paul Davis and others.
> jackd comes with ABSOLUTELY NO WARRANTY
> This is free software, and you are welcome to redistribute it
> under certain conditions; see the file COPYING for details
>
>
> creating alsa driver ...
> quattro|quattro|4096|2|48000|0|0|nomon|swmeter|-|32bit
> ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC2D2p failed: No
> such device
> ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC2D2c failed: No
> such device
> ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to
> capture-only mode
> cannot load driver module alsa
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> That device is there.. is it just invalid?
>
> > I'll Try This when my child takes a mid-day sleep. ;)
> >
> >> Hallo,
> >>
> >> timg at expressmart.com hat gesagt: // timg at expressmart.com wrote:
> >>> OK here we go ...;)Prom going to annoy several of you with this ;)
> >>>
> >>>
> >>> -- OK guys and gals,
> >>> Working on my USB quattro issue...
> >>>
> >>> My .asoundrc file looks like this...(thanks to the alsa page)
> >>>
> >>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >>>+++++++++++++++++ # quattro1 is pcm0 which has a maximum sample rate of
> >>> 44100 and 16 bit stereo
> >>>
> >>> pcm.quattro1 {
> >>> type hw
> >>> card 0
> >>> device 0
> >>> }
> >>
> >> ...
> >>
> >>> ctl.q41 {
> >>> type hw;
> >>> card 0;
> >>> }
> >>>
> >>> #----
> >>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >>>++++++++++++++++++++++++++++++++++ When I do cat /proc/asound/cards I
> >>> get this.. (any way to kill that modem
> >>> from showing up in alsa mixers)
> >>>
> >>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >>>++++++++++++++++++++++++++++++++++ 0 [Modem ]: ICH-MODEM -
> >>> Intel 82801CA-ICH3 Modem
> >>> Intel 82801CA-ICH3 Modem at 0x2400, irq 10
> >>> 1 [I82801CAICH3 ]: ICH - Intel 82801CA-ICH3
> >>> Intel 82801CA-ICH3 at 0x1c00, irq 10
> >>> 2 [Quattro ]: USB-Audio - USB Audio Quattro
> >>> M Audio USB Audio Quattro at usb-00:1d.0-1, full
> >>> speed
> >>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >>>++++++++++++++++++++++++++++++++++
> >>>
> >>>
> >>> My bigest dillema are ...
> >>>
> >>> 1> How exactly do I modify my .asoind rc file to hit the right hw
> >>> devoce?
> >>
> >> Everywhere you find "card 0" or "hw:0" you need to replace this with
> >> "card 2" or "hw:2". Do not touch the "device 0" stuff, though.
> >>
> >>> 2> how do I start jackd?
> >>
> >> For example:
> >> $ jackstart/jackd -r 48000 -d alsa -d quattro
> >>
> >>> 3> How do start jackd in the other various modes?
> >>
> >> Replace "quattro" with the setup you want to use, e.g. "q4" or "q4b",
> >> and "48000" with other samplerates, if you want to use higher rates.
> >> Do not use 44100!
> >>
> >> Ciao
> >> --
> >> Frank Barknecht _ ______footils.org__
> >
> > --
> > When asked the definition of "pi":
> > The Mathematician:
> > Pi is the number expressing the relationship between the
> > circumference of a circle and its diameter.
> > The Physicist:
> > Pi is 3.1415927, plus or minus 0.000000005.
> > The Engineer:
> > Pi is about 3.
More information about the Linux-audio-user
mailing list