Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Sep 2016 21:10:12 +0200
From:      Polytropon <>
To:        Manish Jain <>
Cc:        freebsd-questions <>
Subject:   Re: Will installing a separate sound card work?
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sat, 10 Sep 2016 18:51:08 +0000, Manish Jain wrote:
> The onboard sound would have been great had it not been for that hiss 
> that comes along. The hiss is loud enough to be a real game-spoiler. I 
> plugged in my headphones in place of the speakers, and the hiss is 
> present on the headphones too. So it had to be a problem with the 
> onboard chip or the driver. I eliminated the driver by installing 
> Windows XP, and the hiss is present in WMP playback too. So the only 
> option now is to install a separate sound card. I don't mind that, as 
> long as the card can be made to work with FreeBSD 10.x/11.

Maybe it's really low quality (historically, the primary reason
to complain about on-board audio) and should therefore not be
in use.

> 'man snd_cmi' does not list CMI8786. If FreeBSD 11 supports that 
> chipset, I can reinstall/rebuild world.

You can maybe use snd_hda, as many modern audio chipsets do support
this driver.

And you don't need to rebuild or install anything. The GENERIC
kernel should have sound included, and if it's not, just add


or maybe even


in /boot/loader.conf - that's all you need to do. You can even
do "simplified testing" by using the kldload command.

See for

> This is what I currently have :
> /usr/home/bourne # dmesg | grep -iE '(hda)|(pcm)'
> hdac0: <NVIDIA (0x0e0f) HDA Controller> mem 0xfe080000-0xfe083fff irq 25 
> at device 0.1 on pci1
> hdac1: <ATI SB600 HDA Controller> mem 0xfe300000-0xfe303fff irq 16 at 
> device 20.2 on pci0
> hdacc0: <NVIDIA (0x0051) HDA CODEC> at cad 0 on hdac0
> hdaa0: <NVIDIA (0x0051) Audio Function Group> at nid 1 on hdacc0
> pcm0: <NVIDIA (0x0051) (HDMI/DP 8ch)> at nid 4 on hdaa0
> pcm1: <NVIDIA (0x0051) (HDMI/DP 8ch)> at nid 5 on hdaa0
> hdacc1: <Realtek ALC887 HDA CODEC> at cad 0 on hdac1
> hdaa1: <Realtek ALC887 Audio Function Group> at nid 1 on hdacc1
> pcm2: <Realtek ALC887 (Rear Analog)> at nid 20 and 24,26 on hdaa1
> pcm3: <Realtek ALC887 (Front Analog)> at nid 27 and 25 on hdaa1
> pcm4: <Realtek ALC887 (Onboard Digital)> at nid 17 on hdaa1
> /usr/home/bourne # cat /dev/sndstat
> Installed devices:
> pcm0: <NVIDIA (0x0051) (HDMI/DP 8ch)> (play)
> pcm1: <NVIDIA (0x0051) (HDMI/DP 8ch)> (play)
> pcm2: <Realtek ALC887 (Rear Analog)> (play/rec) default
> pcm3: <Realtek ALC887 (Front Analog)> (play/rec)
> pcm4: <Realtek ALC887 (Onboard Digital)> (play)

Interesting combination. FreeBSD uses the correct driver, but the
best driver cannot help when the hardware is bad...

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

Want to link to this message? Use this URL: <>