All of lore.kernel.org
 help / color / mirror / Atom feed
* Two sound cards, only sound out of one
@ 2003-08-24  2:13 Erik de Castro Lopo
  2003-08-24  9:51 ` Chris Rankin
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Erik de Castro Lopo @ 2003-08-24  2:13 UTC (permalink / raw)
  To: alsa-devel

Hi all,

Using version 0.9.6 of alsa-*.

I have two ENS1371 based cards plugged into the one machine:

    root@sound:~# cat /proc/asound/cards
    0 [AudioPCI       ]: ENS1371 - Ensoniq AudioPCI
                         Ensoniq AudioPCI ENS1371 at 0xa400, irq 10
    1 [AudioPCI_1     ]: ENS1371 - Ensoniq AudioPCI
                         Ensoniq AudioPCI ENS1371 at 0x9400, irq 5

I have also set up a /etc/asound.conf file containing aliases for the
cards named "card0" and "card1".

I have also run alsamixergui with "-c 0" and "-c 1" parameters to set up
output volumes on the two cards (and the controls on the two alsamixergui
instances behave independantly).

However, when I playback a sound file using:

    aplay -D card0 a.wav
    aplay -D card1 a.wav

Only card0 produces sound. I have also tried physically swapping the cards
but only card0 produces sound. I have also tried the -v option to aplay to
confirm that the output is going to device 0 and device 1.

The relevant sections of /etc/modules.conf looks like this:

    alias char-major-116 snd
    alias snd-card-0 snd-ens1371
    alias snd-card-1 snd-ens1371
    alias char-major-14 soundcore
    alias sound-slot-0 snd-card-0
    alias sound-slot-1 snd-card-1
    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
    alias sound-service-1-0 snd-mixer-oss
    alias sound-service-1-1 snd-seq-oss
    alias sound-service-1-3 snd-pcm-oss
    alias sound-service-1-8 snd-seq-oss
    alias sound-service-1-12 snd-pcm-oss
    options snd major=116 cards_limit=2 device_gid=29 device_mode=0660
    options snd-ens1371 index=0,1

Anybody got any idea why this is not working?

Thanks,
Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam@mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
"If you don't know what you need Windows NT for, you don't need it."
  - Bill Gates


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2003-08-29  9:27 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-24  2:13 Two sound cards, only sound out of one Erik de Castro Lopo
2003-08-24  9:51 ` Chris Rankin
2003-08-24 10:37   ` Erik de Castro Lopo
2003-08-26 16:13     ` Mark Knecht
2003-08-29  2:54       ` Erik de Castro Lopo
2003-08-29  3:37         ` Mark Knecht
2003-08-25 10:59 ` Takashi Iwai
2003-08-29  3:21   ` Erik de Castro Lopo
2003-08-29  4:16     ` Mark Knecht
2003-08-29  6:57       ` Erik de Castro Lopo
2003-08-29  9:27         ` Clemens Ladisch
2003-08-29  9:12     ` Takashi Iwai
2003-08-25 11:13 ` Clemens Ladisch
2003-08-29  2:18   ` Erik de Castro Lopo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.