[linux-audio-user] M-Audio USB Omnistudio

mryback at caltech.edu mryback at caltech.edu
Thu Nov 18 09:46:37 EST 2004


Mr. Ladisch,

First off, thanks for you time and trouble creating the patch. Good news:
I had no trouble compiling it in, and there doesn't appear to and
endianess issue. At least at 48kHz sound quality wasn't garbled (see
attached with cat /proc/asound/card1/stream{0,1} [Attached file:
alsa-proc-output.txt).

However jack would not allow me to create a four channel device
[Attached file: alsa-jack-start.text]. The fist log is where I attempted
to create a 4 channel alsa device (which fails), the second a two channel
device (always succeeds)

Is this a .asoundrc issue? This [1] is the generic .asoundrc file I
tweaked slightly for my use. I'm really not all that familiar with how to
configure .asoundrc files...

Thanks in advance,


Mark Ryback
GALCIT sysadmin
mryback at caltech.edu


[1] .asoundrc

pcm.usb-audio {
        type multi;

        slaves.a.pcm "hw:1,0";
        slaves.a.channels 2;
        slaves.b.pcm "hw:1,1";
        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.usb-audio {
        type hw;
        card 1;
}
-------------- next part --------------
22:47:55.812 /usr/bin/jackd -dalsa -dhw:1 -r48000 -p1024 -n2 -i4 -o4
22:47:55.820 JACK was started with PID=10437 (0x28c5).
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
loading driver ..
apparent rate = 48000
creating alsa driver
... hw:1|hw:1|1024|2|48000|4|4|nomon|swmeter|-|32bit
control device hw:1
configuring for 48000Hz, period = 1024 frames, buffer = 2 periods
Couldn't open hw:1 for 32bit samples trying 24bit instead
ALSA: cannot set channel count to 4 for capture
ALSA: cannot configure capture channel
cannot load driver module alsa
22:47:55.882 JACK was stopped successfully.


22:49:21.721 JACK was started with PID=10449 (0x28d1).
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
loading driver ..
apparent rate = 48000
creating alsa driver
... hw:1|hw:1|1024|2|48000|2|2|nomon|swmeter|-|32bit
control device hw:1
configuring for 48000Hz, period = 1024 frames, buffer = 2 periods
Couldn't open hw:1 for 32bit samples trying 24bit instead
Couldn't open hw:1 for 32bit samples trying 24bit instead
22:49:23.869 Server configuration saved to "/home/mryback/.jackdrc".
22:49:23.871 Statistics reset.
22:49:23.891 Client activated.
-------------- next part --------------
M-Audio OmniStudio USB at usb-00:1d.0-1, full speed : USB Audio

Playback:
  Status: Running
    Interface = 4
    Altset = 2
    URBs = 5 [ 4 4 4 4 4 ]
    Packet Size = 288
    Momentary freq = 48000 Hz
  Interface 1
    Altset 4
    Format: S16_LE
    Channels: 2
    Endpoint: 3 OUT (ADAPTIVE)
    Rates: 11025, 22050, 44100
  Interface 4
    Altset 1
    Format: S24_3LE
    Channels: 2
    Endpoint: 3 OUT (ADAPTIVE)
    Rates: 88200, 96000
  Interface 4
    Altset 3
    Format: S24_3LE
    Channels: 2
    Endpoint: 3 OUT (ADAPTIVE)
    Rates: 11025, 22050, 44100, 48000
  Interface 4
    Altset 4
    Format: S16_LE
    Channels: 2
    Endpoint: 3 OUT (ADAPTIVE)
    Rates: 11025, 22050, 44100, 48000

Capture:
  Status: Running
    Interface = 5
    Altset = 2
    URBs = 5 [ 4 4 4 4 4 ]
    Packet Size = 294
    Momentary freq = 48000 Hz
  Interface 2
    Altset 4
    Format: S16_LE
    Channels: 2
    Endpoint: 5 IN (SYNC)
    Rates: 11025, 22050, 44100
  Interface 5
    Altset 1
    Format: S24_3LE
    Channels: 2
    Endpoint: 5 IN (SYNC)
    Rates: 88200, 96000
  Interface 5
    Altset 3
    Format: S24_3LE
    Channels: 2
    Endpoint: 5 IN (SYNC)
    Rates: 11025, 22050, 44100, 48000
  Interface 5
    Altset 4
    Format: S16_LE
    Channels: 2
    Endpoint: 5 IN (SYNC)
    Rates: 11025, 22050, 44100, 48000
M-Audio OmniStudio USB at usb-00:1d.0-1, full speed : USB Audio #1

Playback:
  Status: Stop
  Interface 7
    Altset 1
    Format: S24_3LE
    Channels: 2
    Endpoint: 4 OUT (ADAPTIVE)
    Rates: 88200, 96000
  Interface 7
    Altset 3
    Format: S24_3LE
    Channels: 2
    Endpoint: 4 OUT (ADAPTIVE)
    Rates: 11025, 22050, 44100, 48000
  Interface 7
    Altset 4
    Format: S16_LE
    Channels: 2
    Endpoint: 4 OUT (ADAPTIVE)
    Rates: 11025, 22050, 44100, 48000

Capture:
  Status: Stop
  Interface 8
    Altset 1
    Format: S24_3LE
    Channels: 2
    Endpoint: 6 IN (SYNC)
    Rates: 88200, 96000
  Interface 8
    Altset 3
    Format: S24_3LE
    Channels: 2
    Endpoint: 6 IN (SYNC)
    Rates: 11025, 22050, 44100, 48000
  Interface 8
    Altset 4
    Format: S16_LE
    Channels: 2
    Endpoint: 6 IN (SYNC)
    Rates: 11025, 22050, 44100, 48000


More information about the Linux-audio-user mailing list