From owner-freebsd-current@freebsd.org Sun Sep 30 09:47:20 2018 Return-Path: Delivered-To: freebsd-current@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 C583A10BA194 for ; Sun, 30 Sep 2018 09:47:20 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5AF387B772 for ; Sun, 30 Sep 2018 09:47:20 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: by mailman.ysv.freebsd.org (Postfix) id 1F56510BA193; Sun, 30 Sep 2018 09:47:20 +0000 (UTC) Delivered-To: current@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 0E19210BA192 for ; Sun, 30 Sep 2018 09:47:20 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 660E37B771 for ; Sun, 30 Sep 2018 09:47:19 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 903f24d3; Sun, 30 Sep 2018 11:47:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=GIGwWBvidH8U9YEf/xEMj2k94DE=; b=fqMCLGTNEIwWaJbWW1hFNAT2A2N3 RWUpM8OczXoQC170kq8+tH8wBKa7NkfXSe8NEUwPi+pA0h1c2lJ5O131pw/WoM2R CQ8DGpVo1tsjwf6l3EsAf09qw0+NPBtSUFoono6s0BaqgCeUYIFqd/VYMTGB5IJh gDGZxeq2xnjwQxM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=JOAcYhCUH+S51fHb6o04ZfvBgCsjrtRjfl80ka/0JdUMiCmS1vQ+vM8v XUu43KDkImY0vSljYUnFojSsm9MqLmanviDbQzlUEglie0ZHIJJZ5uCHPRVc+sGY is+WNGiGbvldkUYNNiJUnCShwsukyxTNPxeh6vfjSvMGjXKx7Xw= Received: from knuckles.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id f34832b5 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sun, 30 Sep 2018 11:47:17 +0200 (CEST) Date: Sun, 30 Sep 2018 11:47:17 +0200 From: Emmanuel Vadot To: Poul-Henning Kamp Cc: current@freebsd.org Subject: Re: devmatch sideeffec: No sound Message-Id: <20180930114717.0cfb5e6cdc881f39dbf4ba2b@bidouilliste.com> In-Reply-To: <1121.1538293898@critter.freebsd.dk> References: <1121.1538293898@critter.freebsd.dk> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 09:47:21 -0000 On Sun, 30 Sep 2018 07:51:38 +0000 Poul-Henning Kamp wrote: > HW: Thinkpad T480 with T3 Dock. > > SW: -current, r338952 > > With devmatch enabled in /etc/rc.conf (the default0, snd_uaudio > gets loaded automatically and finds the audio stuff in the dock, > which is connected to a screen output(s) I do not use. > > Firefox ends up with /dev/dsp2.0 which goes there, and as a result > I get no sound through the laptops speakers where I expect it. > > Obvious workaround: Disable devmatch. Warner talked about adding blacklist to devmatch > Yet to be discovered workaround: Prioritize sound devices, when > there are multiple. hw.snd.default_unit=XXX hw.snd.default_auto=0 in /etc/sysctl.conf should do the trick. > This kind of thing may cause some support-work when 12 comes out... The only new "issue" is that now with devmatch every hardware got its driver loaded, so on this case this would cause "problems" but for other it solve the problem of finding which driver you need to load to use your usb/pci/blah driver. > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- Emmanuel Vadot