[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Two sound cards?



On Sat, Jan 11, 2003 at 03:17:54PM +0100, Burkhard Ritter wrote:
> On Sat, 11 Jan 2003, Qian Gong wrote:
> 
> > On Fri, Jan 10, 2003 at 12:08:57PM -0500, David Z Maze wrote:
> > > Qian Gong <q.gong@tue.nl> writes:
> > > > I have VIA on board sound and an additional Xwave 4000 PCI sound card.
> > > > The first one (VIA) is supported by kernel (built-in) and for xwave 4000
> > > > I use alsa-0.9. The confusing thing is which card is connected to
> > > > /dev/dsp0 and which to /dev/dsp1. How can I configure this and let
> > > > application (e.g. xmms) use specified sound device? Thanks a lot.
> > > 
> > > If you're using ALSA for one, I'd use ALSA for both; it seems like
> > > it'd be clearer.  You can definitely specify within ALSA which card is
> > > which by changing which card snd-card-(n) points to in
> > > /etc/modutils/alsa.
> > > 
> > 
> > Thanks. Maybe using ALSA for both is better. But now the configuration is
> > VIA support built into the customized kernel. And later I added another
> > sound card and compiled ALSA driver fot it. If I disable the on board
> > sound from BIOS, the xwave 4000 PCI sound card works well using /dev/dsp.
> > If I enable the on board sound, /dev/dsp is used by on board sound since
> > it's early seen by the kernel. lsmod shows the ALSA modules for xwave 4000
> > are loaded. But I don't know by whitch device name /dev/dsp? to access
> > the card. I tried all /dev/dsp1-3, but failed with "No such device". Any
> > idea? 
> > 
> > Qian
> [...]
> To see if it works at all try with aplay as it is alsa specific.
> 
Yes, aplay works. No idea which /dev/dsp? device it uses. BTW, it's clear VIA 
on board sound uses /dev/dsp. Thanks.

Qian
PS
$ ls -l /dev/dsp /dev/dsp?
crw-rw----    1 root     audio     14,   3 Mar 14  2002 /dev/dsp
crw-rw----    1 root     audio     14,  19 Mar 14  2002 /dev/dsp1
crw-rw----    1 root     audio     14,  35 Mar 14  2002 /dev/dsp2
crw-rw----    1 root     audio     14,  51 Mar 14  2002 /dev/dsp3



Reply to: