From owner-freebsd-current@freebsd.org Tue Oct 2 07:36:44 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 9976B10BA253 for ; Tue, 2 Oct 2018 07:36:44 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from out.alvermark.net (out.alvermark.net [185.34.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 39BBA8057F for ; Tue, 2 Oct 2018 07:36:44 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from c-42bc70d5.06-431-73746f70.bbcust.telenor.se ([213.112.188.66] helo=mail.alvermark.net) by out.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1g7FEX-000PiT-Sz; Tue, 02 Oct 2018 09:36:41 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alvermark.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=OnfpPvY+YJYbfMMf+BTvRRTOB4Rq+Pw/WfU4jd0mnmY=; b=O+2D1mCIlx9OHrI+luOwbwfnlB CoxAQdddYl+QTLqG/71djWIp4bqx08U4EQ8nKC/DErjtW1AY0LlIHxFXoTwDO1Amm+eVgv2bdRl8O jhmBu4eFn3whNxLLeIvwrkHMAo9soPanYCcpxJwPKJBuz7+5s78eoNdzcTo7cVvL/vOgJ3Jr2HBQI tJHaV7pWeSpkPfLPrO37PGn6ncZRbuyQK16A9EbNxBRTa7LosdkwmjgJ426HKTaew6V4xUxOGvw3f CDTNrul3trPWSiR4RocygHLQFJjK/ZmWSJg2R/HH2LEMBfQJ25h9xX97KDbCuyJMg4Mtk/2Gi7fNW Z3WW+MxA==; Received: from [192.168.67.33] by mail.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1g7FEX-000JbV-Aq; Tue, 02 Oct 2018 09:36:41 +0200 Subject: Re: Sound issues with Dell Latitude 7490 (kabylake) To: "Rodney W. Grimes" , Johannes Lundberg Cc: freebsd-current References: <201810011643.w91Gh2VH092607@pdx.rh.CN85.dnsmgr.net> From: Jakob Alvermark Message-ID: Date: Tue, 2 Oct 2018 09:36:41 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 In-Reply-To: <201810011643.w91Gh2VH092607@pdx.rh.CN85.dnsmgr.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US 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: Tue, 02 Oct 2018 07:36:44 -0000 On 10/1/18 6:43 PM, Rodney W. Grimes wrote: >> Hi >> >> While sound work out of the box (with headphone switching) on the 1-2 year >> older Latitude 7270, it does not on my new machine. >> >> The internal speaker works fine. If I plug in external speakers in the >> headphone jack, sound still goes to the internal speaker while a very load >> buzz comes from the external speakers. >> >> Do we have a solution for this? > I do not believe we have anything that detects stuff plugged into > and removed from the newer sound stuff that needs switching to > change from internal to external speakers. > > I think you need to do what I have to do when I plug in external > speakers on my thinkpad x230: > sysctl hw.snd.default_unit=1 > > And when I unplug them I have to do: > sysctl hw.snd.default_unit=0 > > to switch back to the internal speakers. Hi Rod, Can you post the output of 'sysctl dev.pcm' and 'sysctl dev.hdaa'