snd_hda mixer problems.

Adam K Kirchhoff adamk at voicenet.com
Mon Mar 1 22:49:44 UTC 2010


Sorry for the needless traffic.  Stupid user error.  If I'm going to use 
the drivers in the FreeBSD base system, it helps if I make sure the 
script that loads OSSv4 isn't executable.

Adam

On 03/01/10 17:19, Adam K Kirchhoff wrote:
>
> 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 at 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 at 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 at 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
>
> _______________________________________________
> freebsd-multimedia at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> To unsubscribe, send any mail to 
> "freebsd-multimedia-unsubscribe at freebsd.org"
>



More information about the freebsd-multimedia mailing list