From owner-freebsd-hackers@freebsd.org Mon Apr 30 14:57:49 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B510CFAD6E7 for ; Mon, 30 Apr 2018 14:57:49 +0000 (UTC) (envelope-from ryao@gentoo.org) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 51DAD741CB for ; Mon, 30 Apr 2018 14:57:49 +0000 (UTC) (envelope-from ryao@gentoo.org) Received: from [IPv6:2600:1:f45e:b478:dd3a:c418:c4d8:a451] (unknown [IPv6:2600:1:f45e:b478:dd3a:c418:c4d8:a451]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ryao) by smtp.gentoo.org (Postfix) with ESMTPSA id BB55A335C8A; Mon, 30 Apr 2018 14:57:45 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: new laptop, no sound in spite of driver attaching From: Richard Yao X-Mailer: iPhone Mail (15E302) In-Reply-To: <83d82ee4-ea07-1082-e4d9-a969a8588167@vangyzen.net> Date: Mon, 30 Apr 2018 10:57:41 -0400 Cc: Wojciech Puchar , freebsd-hackers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <83d82ee4-ea07-1082-e4d9-a969a8588167@vangyzen.net> To: Eric van Gyzen X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 14:57:49 -0000 > On Apr 30, 2018, at 10:43 AM, Eric van Gyzen wrote: >=20 >> On 04/30/2018 06:58, Wojciech Puchar wrote: >> and no idea where to search for a solution >>=20 >> FreeBSD laptop.wojtek.intra 11.1-STABLE FreeBSD 11.1-STABLE #2: Mon Apr >> 30 13:35:54 CEST 2018 >> root@laptop.wojtek.intra:/usr/src/sys/amd64/compile/laptop amd64 >>=20 >>=20 >> in dmesg >> hdac0: mem 0x91410000-0x91413fff irq 22 >> at device 27.0 on pci0 >> hdacc0: at cad 0 on hdac0 >> hdaa0: at nid 1 on hdacc0 >> pcm0: at nid 20 and 25 on hdaa0 >> pcm1: at nid 33 and 18 on hdaa0 >> hdacc1: at cad 2 on hdac0 >> hdaa1: at nid 1 on hdacc1 >> pcm2: at nid 5 on hdaa1 >>=20 >>=20 >> tried to change hw.snd.default_unit to 0, 1 or 2 - no sound in any case. >>=20 >> mixer when default_unit is 0 >>=20 >> Mixer vol is currently set to 65:65 >> Mixer pcm is currently set to 100:100 >> Mixer speaker is currently set to 100:100 >> Mixer mic is currently set to 0:0 >> Mixer mix is currently set to 100:100 >> Mixer rec is currently set to 0:0 >> Mixer igain is currently set to 0:0 >> Mixer ogain is currently set to 100:100 >> Recording source: mic >>=20 >>=20 >> mixer when default_unit is 1 >>=20 >> Mixer vol is currently set to 100:100 >> Mixer pcm is currently set to 100:100 >> Mixer rec is currently set to 37:37 >> Mixer igain is currently set to 0:0 >> Mixer monitor is currently set to 56:56 >>=20 >> mixer when default_unit is 2 >>=20 >> Mixer vol is currently set to 100:100 >> Mixer pcm is currently set to 100:100 >>=20 >> this is HP 250 G5 laptop >=20 > HDA is apparently very difficult for vendors to get right. Linux has > thousands of lines of vendor- and model-specific patches to fix it. > Start here: >=20 > https://github.com/torvalds/linux/blob/master/sound/pci/hda/patch_realtek.= c >=20 > If you're lucky, you'll find a patch for your laptop or a similar laptop > that has the same problem(s). The next step is to figure out how to > express the patch in FreeBSD's driver. >=20 > Hopefully, someone will take interest in porting many of Linux's HDA > patches to FreeBSD. Sound is probably one of the top three reasons > people fail to run FreeBSD on their laptop. What are the other two? Graphics support and easy management of WiFi? I hate to say that, but those are the two that kept me from adopting Gentoo = FreeBSD on my laptop when I wanted to install it several years ago. The inte= l sandy bridge graphics support was new enough that it had not really made i= t downstream to Gentoo FreeBSD and the lack of a network manager equivalent f= or doing easy connection and disconnection to WiFi networks from a BSD userl= and was a headache. :/ >=20 > Eric > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"=