From owner-freebsd-questions@freebsd.org Sat Sep 10 19:10:16 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38F40BD5AF7 for ; Sat, 10 Sep 2016 19:10:16 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A57E7DF8 for ; Sat, 10 Sep 2016 19:10:14 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-180-184.dynamic.qsc.de [92.195.180.184]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 0F70C277DF; Sat, 10 Sep 2016 21:10:12 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u8AJACpw002162; Sat, 10 Sep 2016 21:10:12 +0200 (CEST) (envelope-from freebsd@edvax.de) 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: <20160910211012.108b6022.freebsd@edvax.de> In-Reply-To: References: <20160910201746.e62bd384.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2016 19:10:16 -0000 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 snd_hda_load="YES" or maybe even snd_cmi_load="YES" in /boot/loader.conf - that's all you need to do. You can even do "simplified testing" by using the kldload command. See https://www.freebsd.org/doc/handbook/sound-setup.html for details. > This is what I currently have : > > /usr/home/bourne # dmesg | grep -iE '(hda)|(pcm)' > hdac0: mem 0xfe080000-0xfe083fff irq 25 > at device 0.1 on pci1 > hdac1: mem 0xfe300000-0xfe303fff irq 16 at > device 20.2 on pci0 > hdacc0: at cad 0 on hdac0 > hdaa0: at nid 1 on hdacc0 > pcm0: at nid 4 on hdaa0 > pcm1: at nid 5 on hdaa0 > hdacc1: at cad 0 on hdac1 > hdaa1: at nid 1 on hdacc1 > pcm2: at nid 20 and 24,26 on hdaa1 > pcm3: at nid 27 and 25 on hdaa1 > pcm4: at nid 17 on hdaa1 > > /usr/home/bourne # cat /dev/sndstat > Installed devices: > pcm0: (play) > pcm1: (play) > pcm2: (play/rec) default > pcm3: (play/rec) > pcm4: (play) Interesting combination. FreeBSD uses the correct driver, but the best driver cannot help when the hardware is bad... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...