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

Doug White dwhite at gumbysoft.com
Thu Oct 14 10:40:27 PDT 2004


On Thu, 14 Oct 2004, Daniel O'Connor wrote:

> 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

To explain what happens here in the 4.x case ...

The /dev/audio and /dev/dsp symlinks get pointed to the last device
created. So when running MAKEDEV in this order snd0/pcm0's devices get
made first and the symlinks pointed to them, then snd1/pcm1's devices get
created and the symlinks repointed to snd1's devices.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-stable mailing list