From owner-freebsd-current@freebsd.org Fri Apr 28 12:59:25 2017 Return-Path: Delivered-To: freebsd-current@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 763BED53721 for ; Fri, 28 Apr 2017 12:59:25 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0BA3180F for ; Fri, 28 Apr 2017 12:59:25 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id m123so46060567wma.0 for ; Fri, 28 Apr 2017 05:59:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=t5jZr0vii34ZcdQf/OQT0JLzI0OKt/MgoSjiHH8xsuU=; b=gVLJYvQ3JrwJWMJAymXJOFIzx4tl79HM2fCA2X3YAsHMiaps3AYGbEPlX25bL+tHVI O7DtAImTCQGXx2mJ35Vjf9BHH2YNji8QMa3bHTHamZi3YozR+HA3obDvP3H978dyLjnv CT6XrxEWuQkWf2hKPsqMWtTDCJO8Ik8uc9jHapKP08bEZZ2gr87l8KhYhyQS9/kZogZj MHrB6zAC1Yu37A436N+qMeFYnmumQK1VRUAV19Kjj6/GJl0/Lb9BPCAezuf+BQsjZwVp Sf9AZILmQdHxMQzgvGnYTTcajwXX4TKtGXrX2qlwiE7GGBKwbmFJVdhFyXlU4mRCsYwm S7pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=t5jZr0vii34ZcdQf/OQT0JLzI0OKt/MgoSjiHH8xsuU=; b=Ni9SJAu2YNL0P0yzmuPrp9FrjB8fDIy7qnfH9CqWBvR3lx2RjPxU1jXQgdq25xFTkf +/tW5XbKNfOl05nxdC1Jvo8X+Z4kQkdkWj5RgClqOD6NqlP2afiCaTzrC+1tnfxaX+CO vLFh+7Ah46zK+BDo+HTRMXWn3jN71KS25a5b7To6hxqbDyMbKpNzpNkTP5gokxPBzG6/ 3fmNShg/Dd00ZRueNvMt5oShl3S2tRjQioCznlrJSUyutsohq5paY1oL+ynbhk1/Pj9r Xak+SGQVFiHIfe4xLKlMCNy7uJFNokcE3FSe47EMrPbKdB1wewnEXNneJ8ongfdpTCEZ ERLw== X-Gm-Message-State: AN3rC/5zqt4g/oEUzo50ipumh0+6+fD/6l9t1/ysSKZ24mgl8A+oVQKu eT+mqgR4BPFNTDiFrKLNlGV/gAxJR/rc X-Received: by 10.28.29.72 with SMTP id d69mr5687033wmd.25.1493384363306; Fri, 28 Apr 2017 05:59:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.164.23 with HTTP; Fri, 28 Apr 2017 05:59:22 -0700 (PDT) In-Reply-To: References: From: Johannes Lundberg Date: Fri, 28 Apr 2017 14:59:22 +0200 Message-ID: Subject: Re: 2013 Macbook Pro, sound OK in headphones but no sound in internal speakers To: Hans Petter Selasky Cc: freebsd-current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Fri, 28 Apr 2017 12:59:25 -0000 Hi Hans Thanks for the tip.. However I'm not sure what to do with it.. My configuration seems different. The hda code talks about model and codecs, how does that match to chip and card ids? For example, we have: #define HDA_INTEL_MACBOOKPRO92 HDA_MODEL_CONSTRUCT(INTEL, 0x7270) and #define HDA_INTEL_HSW3 HDA_MODEL_CONSTRUCT(INTEL, 0x0d0c) Both match depending if you look at card or chip.. hdac0@pci0:0:3:0: class=0x040300 card=0x012e106b chip=0x0d0c8086 rev=0x08 hdr=0x00 vendor = 'Intel Corporation' device = 'Crystal Well HD Audio Controller' class = multimedia subclass = HDA hdac1@pci0:0:27:0: class=0x040300 card=0x72708086 chip=0x8c208086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = '8 Series/C220 Series Chipset High Definition Audio Controller' class = multimedia subclass = HDA On Fri, Apr 28, 2017 at 1:35 PM, Hans Petter Selasky wrote: > On 04/28/17 13:30, Johannes Lundberg wrote: > >> Hi >> >> As the subject says... >> >> Anyone familiar with this? >> >> # cat /dev/random > /dev/dsp* >> only generate noise in the headphones.. >> >> > MBP requires some patches for the speakers to work: > > https://svnweb.freebsd.org/base?view=revision&revision=261507 > > --HPS >