How do I change so pcm1 is pcm0 and vice versa?

Daniel O'Connor doconnor at gsoft.com.au
Wed Oct 13 17:07:40 PDT 2004


On Thu, 14 Oct 2004 01:00, Jesper Wallin wrote:
> First of all, thanks for your replies.. My goal was to use _both_ cards, I
> just wanted my emu10k1 card to be the "default" one which spares me the
> time from changing sound device in all programs (mplayer, xmms, mpg123,
> etc) ..
>
> By adding snd_emu10k1_load="YES" to /boot/loader.conf and loading my other
> card (snd_via82c686) using a file in /usr/local/etc/rc.d works flawless..
> :) Now my emu10k1 card is pcm0 and my built-in card is pcm1.. :)
>
> Once again, thanks for your replies! :D

If you're running 5.x you can set the sysctl hw.snd.unit.
If you're running 4.x you can do
cd /dev
sh ./MAKEDEV snd0
sh ./MAKEDEV snd1

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20041014/cb444a04/attachment.bin


More information about the freebsd-stable mailing list