From owner-freebsd-questions@freebsd.org Sat Sep 10 18:51:24 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 DDFD0BD557E for ; Sat, 10 Sep 2016 18:51:24 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from COL004-OMC2S14.hotmail.com (col004-omc2s14.hotmail.com [65.55.34.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9BFB5367 for ; Sat, 10 Sep 2016 18:51:24 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR01-HE1-obe.outbound.protection.outlook.com ([65.55.34.73]) by COL004-OMC2S14.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sat, 10 Sep 2016 11:51:18 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Fkl59wxTg6iZtuIlPfwu+4rHXH/cJwtA+iwztKiv2Kg=; b=ZfuCNjbBkePVSB3yW8l3bM/eRzrRtstnZXVGMDF2OBbghKuHFWCEqn4vdZEnshG5UgjWQZ1u83obC641mi6PvHACuPP7opprynpWpNuN9lJx/cMBhUCQX1nt7adUjBeLy1D3h2uRAo9p49GO19+IfICf5+ZKzLhmPa6tGJvuT1TMF61Tg7j1F4EqzsVomNXuBSrZpz9Yoc1P/7xpdwmVwThpaqXhdLUnQsph9RF6yRX0XgCB/+LBXV6Sa0iUEgVU60++LkyCkNXD9n/34q6dGwO9NQ7tMD6OMUgl1WILmEGt0FtiO2JtjCQRrNLDuxaSlbqzmmCUEPRuv91TZlFALg== Received: from HE1EUR01FT051.eop-EUR01.prod.protection.outlook.com (10.152.0.56) by HE1EUR01HT121.eop-EUR01.prod.protection.outlook.com (10.152.0.245) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.587.6; Sat, 10 Sep 2016 18:51:09 +0000 Received: from VI1PR02MB0974.eurprd02.prod.outlook.com (10.152.0.57) by HE1EUR01FT051.mail.protection.outlook.com (10.152.1.71) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.587.6 via Frontend Transport; Sat, 10 Sep 2016 18:51:09 +0000 Received: from VI1PR02MB0974.eurprd02.prod.outlook.com ([10.163.162.28]) by VI1PR02MB0974.eurprd02.prod.outlook.com ([10.163.162.28]) with mapi id 15.01.0609.016; Sat, 10 Sep 2016 18:51:08 +0000 From: Manish Jain To: Polytropon CC: freebsd-questions Subject: Re: Will installing a separate sound card work? Thread-Topic: Will installing a separate sound card work? Thread-Index: AQHSC4uGUSupz5BzTUujX2zDoQDm7KBzCCsAgAAJQYA= Date: Sat, 10 Sep 2016 18:51:08 +0000 Message-ID: References: <20160910201746.e62bd384.freebsd@edvax.de> In-Reply-To: <20160910201746.e62bd384.freebsd@edvax.de> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=softfail (sender IP is 10.152.0.57) smtp.mailfrom=hotmail.com; edvax.de; dkim=none (message not signed) header.d=none;edvax.de; dmarc=fail action=none header.from=hotmail.com; received-spf: SoftFail (protection.outlook.com: domain of transitioning hotmail.com discourages use of 10.152.0.57 as permitted sender) x-ms-exchange-messagesentrepresentingtype: 1 x-eopattributedmessage: 0 x-forefront-antispam-report: CIP:10.152.0.57; IPV:NLI; CTRY:; EFV:NLI; SFV:NSPM; SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1EUR01HT121; H:VI1PR02MB0974.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:en; x-microsoft-exchange-diagnostics: 1; HE1EUR01HT121; 6:3RdvKP8SEmn17nKTHxng8zVpzUqkz7Y8eUyxEFt6eMpybxSIFA9kLhEkb0FFloQ4JdCQq8D5WjCKg3SMCB0FNdQfXY59705N2fGp2NWmgqfVclLt3ENXjADP8tzEwyeTqgJ9bEq/81CpExrfcSp7ePotry1mwv+od+7AkJFyZMVMahKWd1hp13hE0KpZwL2IV0MTAtuxCmBzzhx/vYkeHug+UuSXVid1B3LA5xrawj6DqQDnpAg3uuWDGl73CA8zDIxO1Yvatz8J2X6yWnnjIOJDDEPk31kyqavIVdr1RaybxuAksjuXbp+EPYYEeHZC; 5:FCm6nly6F3wzzZQl9MdWFPtPUJOYYxLfGwY9n9gUx3NTVA/2eNqkmkWYsjkWstxjpIbKFoH47JnvQBgzeiEzy60ZnSc60Q/ApmY1lKAP/2XrQBweLouiWYN8QR8GzRBGHtkLHWXwKCn03Bu+IqRjwA==; 24:X7m9Rx4ps/KgFdqMYOXWcq/V3TJLgfE6yEahBmnpMl/dkXD88WZUbqctEubPEcvFvHchvCbuhPiAvLjgG+qRpIIpmj60XfdDYKoYEj6+Nqs=; 7:Tbca5MgWqwRu7fAgj2fhupaTaRTnVGBXLybC6cv0iUzccfX8VSFUFDtnb+GWVohsd8umXBLTYBcYcSh4KGAIJ1zUEkHp3H5HqRtqd4ByS3oF2meGFMr4arnHdhUSw95M9KUZiAWPDs/MvDjika9D4r6IpdHdP6YOlhP1TeFLX3Ck/a+RncIMWeoY4HtTS1GyMOoAWnNUs6aqxgAumosq2sCR7oQNBB9/zFJNN8z9RHZsmbsym+GtdkBHLSlJ5Eq5 x-ms-office365-filtering-correlation-id: fa47a6ca-6c32-4af8-a320-08d3d9ab6c7a x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(1601124038)(1603103081)(1601125047); SRVR:HE1EUR01HT121; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(82015046); SRVR:HE1EUR01HT121; BCL:0; PCL:0; RULEID:; SRVR:HE1EUR01HT121; x-forefront-prvs: 0061C35778 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="Windows-1252" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Sep 2016 18:51:08.7265 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR01HT121 X-OriginalArrivalTime: 10 Sep 2016 18:51:18.0537 (UTC) FILETIME=[50C5C790:01D20B94] 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 18:51:25 -0000 On 09/10/16 23:47, Polytropon wrote: > On Sat, 10 Sep 2016 17:48:23 +0000, Manish Jain wrote: >> In my computer hardware upgrade project (which has already seen me switc= h >> 3 motherboards and 2 CPU's in 1 month), I have reached a point where I n= eed >> to invest a bit further. My current Gigabyte GA970 motherboard is workin= g >> perfectly, except that the onboard sound (Realtek) is aweful, with a who= le >> lot of high-pitch hiss accompanying the sound whenever I try to play any >> music. > > That sounds terrible. Which sound driver do you currently use? > > Example: > > % dmesg | grep ^hda > hdac0: > mem 0xbfffc000-0xbfffffff at device 1.0 on pci128 > hdac0: HDA Driver Revision: 20100226_0142 > hdac0: [ITHREAD] > hdac0: HDA Codec #0: VIA VT1708_8 > > % dmesg | grep ^pcm > pcm0: at cad 0 nid 1 on hdac0 > pcm1: at cad 0 nid 1 on hdac0 > pcm2: at cad 0 nid 1 on hdac0 > > % cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) > Installed devices: > pcm0: (play/rec) default > pcm1: (rec) > pcm2: (play) > > This machine is using a VIA on-board audio chipset, using the > snd_hda driver included in the (custom) kernel. > > > >> I would like to solve the problem by installing a separate internal soun= d >> card - the best option appears to be Asus Xonar DG PCI Internal Sound Ca= rd >> with a C-Media CMI8786 chipset. > > In my previous home system, I had a C-Media PCI sound card > (using the snd_cmi kernel module) which provided excellent > playback and recording. > > > >> Will my idea of disabling the onboard >> sound and installing the separate card work ? > > Yes, it should work. Disabling the on-board sound is not exactly > required, but recommended (you _can_ have multiple audio "cards" > in your system, but reducing the "irritation surface" is always > a good idea). > > > >> My motherboard's BIOS does >> provide the option to disable the onboard sound. So I think the question >> simply boils down to whether the CMI8786 chipset be supported by the >> FreeBSD kernel. > > Check "man snd_cmi" to find out if the chipset of that sound card > is supported. Luckily, this information is easily accessible. :-) > > Hi Poly, Nice to hear from you. I knew I could always count on your reply : - ) The onboard sound would have been great had it not been for that hiss=20 that comes along. The hiss is loud enough to be a real game-spoiler. I=20 plugged in my headphones in place of the speakers, and the hiss is=20 present on the headphones too. So it had to be a problem with the=20 onboard chip or the driver. I eliminated the driver by installing=20 Windows XP, and the hiss is present in WMP playback too. So the only=20 option now is to install a separate sound card. I don't mind that, as=20 long as the card can be made to work with FreeBSD 10.x/11. 'man snd_cmi' does not list CMI8786. If FreeBSD 11 supports that=20 chipset, I can reinstall/rebuild world. This is what I currently have : /usr/home/bourne # dmesg | grep -iE '(hda)|(pcm)' hdac0: mem 0xfe080000-0xfe083fff irq 25=20 at device 0.1 on pci1 hdac1: mem 0xfe300000-0xfe303fff irq 16 at=20 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)