From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 1 22:32:20 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BB2F1065679 for ; Mon, 1 Mar 2010 22:32:20 +0000 (UTC) (envelope-from adamk@voicenet.com) Received: from qmta10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [76.96.62.17]) by mx1.freebsd.org (Postfix) with ESMTP id 2DCEE8FC29 for ; Mon, 1 Mar 2010 22:32:18 +0000 (UTC) Received: from omta21.westchester.pa.mail.comcast.net ([76.96.62.72]) by qmta10.westchester.pa.mail.comcast.net with comcast id nqer1d0091ZXKqc5AyK3Q8; Mon, 01 Mar 2010 22:19:03 +0000 Received: from sorrow.ashke.com ([68.45.22.62]) by omta21.westchester.pa.mail.comcast.net with comcast id nyMA1d00K1LNQfY3hyMBgD; Mon, 01 Mar 2010 22:21:11 +0000 Message-ID: <4B8C3D55.2090909@voicenet.com> Date: Mon, 01 Mar 2010 17:19:01 -0500 From: Adam K Kirchhoff User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.7) Gecko/20100208 Thunderbird/3.0.1 MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: snd_hda mixer problems. X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2010 22:32:20 -0000 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: (play) pcm1: (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