Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Mar 2010 17:19:01 -0500
From:      Adam K Kirchhoff <adamk@voicenet.com>
To:        freebsd-multimedia@freebsd.org
Subject:   snd_hda mixer problems.
Message-ID:  <4B8C3D55.2090909@voicenet.com>

next in thread | raw e-mail | index | archive | help

I am currently running 9.0-CURRENT from February 24th.  I'm having 
strange mixer problems with snd_hda.  I have two high definition audio 
devices on my system, one on the motherboard and one on the HD4850 I have.

[ adamk@sorrow - ~ ]: cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: <HDA ATI R6xx HDMI PCM #0 HDMI> (play)
pcm1: <HDA Sigmatel STAC9220 PCM #0 Analog> (play/rec) default

Since I don't have any HDMI audio speakers, I'm using pcm1 from the 
motherboard.  And audio plays back fine, and records fine.  I have 
hw.snd.default_unit set to 1 so that audio applications use that device 
by default.

However...  I have three mixer devices:

[ adamk@sorrow - ~ ]: ls -l /dev/mixer*
crw-rw-rw-  1 root  wheel    0, 161 Mar  1 16:39 /dev/mixer
crw-rw-rw-  1 root  wheel    0,  88 Mar  1 16:38 /dev/mixer0
crw-rw-rw-  1 root  wheel    0,  89 Mar  1 16:38 /dev/mixer1

I have no idea what /dev/mixer is, but it does nothing:

[ adamk@sorrow - ~ ]: mixer
mixer: SOUND_MIXER_READ_DEVMASK: Device not configured

/dev/mixer0 is the HDA device on the radeon and /dev/mixer1 is the HDA 
device on the motherboard.

So what exactly is /dev/mixer current?  And is it at all possible to 
have /dev/mixer point to the correct HDA device by default, the way 
/dev/dsp does?

Adam




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B8C3D55.2090909>