Re: Howto make one of two sound cards default?

2003-11-06 Thread Jean-Baptiste Quenot
* Alexey V. Litvinov:

> My  researches point  me  to /dev/dsp  and  i'm tried  to  make ln  -s
> /dev/dsp1.0 /dev/dsp

Just tell your  applications that the sound device  is /dev/dsp1.0.  For
example, here is the config of the Enlightenment Sound Daemon:

[esd]
auto_spawn=1
spawn_options=-terminate -nobeeps -as 2 -d /dev/dsp1.0
spawn_wait_ms=100

HTH,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/


pgp0.pgp
Description: PGP signature


Re: Howto make one of two sound cards default?

2003-11-01 Thread Lowell Gilbert
"Alexey V. Litvinov" <[EMAIL PROTECTED]> writes:

>  Problem: I have two sound cards one inserted into PCI slot and one
>  integrated into motherboard, all cards detected and working fine.
>  First is pcm0 and second is pcm1.
>  Since first (external) detected on boot first it is default to sound
>  output, but i wish to use second (integrated) card by default since its
>  more new.
>  My researches point me to /dev/dsp and i'm tried to make
>  ln -s /dev/dsp1.0 /dev/dsp
>  but system says: file is exists... (i doesnt see it in /dev ? )
>  How to make it default?
>  
>  (FreeBSD 5.0-RELEASE)

To start with, you should definitely update your system to something
more recent.  5.0 was, after all, a very early "technology preview"
release from a branch that, after nearly a year, still isn't ready to
produce a production release.  Unless you have some (at least minimal)
skills at tracking down these kinds of problems, you should probably
move to the latest release, 4.9.

I can't give you very exact advice here, because I'm still running 4.9
myself, but I think you want to advise the devfs system by setting up
rules for these nodes, so that (for example) /dev/dsp will refer to
the device that you want.  The devfs(8) utility seems to be designed
for this, and I suspect there is a system startup script intended to
initialize such rules, if you can just find the right place to
configure it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Howto make one of two sound cards default?

2003-10-30 Thread Alexey V. Litvinov
Hello All!,

 Problem: I have two sound cards one inserted into PCI slot and one
 integrated into motherboard, all cards detected and working fine.
 First is pcm0 and second is pcm1.
 Since first (external) detected on boot first it is default to sound
 output, but i wish to use second (integrated) card by default since its
 more new.
 My researches point me to /dev/dsp and i'm tried to make
 ln -s /dev/dsp1.0 /dev/dsp
 but system says: file is exists... (i doesnt see it in /dev ? )
 How to make it default?
 
 (FreeBSD 5.0-RELEASE)

-- 
Best regards,
 Alexey  mailto:[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"