Date: 01 Nov 2003 10:37:34 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: freebsd-questions@freebsd.org Cc: "Alexey V. Litvinov" <lial@newmail.ru> Subject: Re: Howto make one of two sound cards default? Message-ID: <44u15onlq9.fsf@be-well.ilk.org> In-Reply-To: <9210248484.20031031121005@newmail.ru> References: <9210248484.20031031121005@newmail.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
"Alexey V. Litvinov" <lial@newmail.ru> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44u15onlq9.fsf>