From owner-freebsd-current@freebsd.org Fri Apr 28 11:30:15 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 187D2D54670 for ; Fri, 28 Apr 2017 11:30:15 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wr0-x22c.google.com (mail-wr0-x22c.google.com [IPv6:2a00:1450:400c:c0c::22c]) (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 9E5421FBC for ; Fri, 28 Apr 2017 11:30:14 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wr0-x22c.google.com with SMTP id z52so32083779wrc.2 for ; Fri, 28 Apr 2017 04:30:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ChnEfqd81lhGTCbM0iDwgO5ck4GBMhqY3E2uhfWnIdA=; b=mzSPMvC4B7t2YOgXcRCkzbtqs5WA+w/uZ6WieULscl8cTFGxLW6GVgo6E/ltzWa3gI t7VGp0flKGx1ujpnhbADVU9MRjD7lM7nHcVwDqKLElIJbdSWogT6wm3XCamfKyfSlqTo F8d78S60OGTsB30hXe3xCUNpzWh26wrZj4mae+kpMtfpQJhE/SaYlkkCde8Ojt6E62Oj BWzcUAbDyw9dNmh4xW0GPzdMjSkQWCoZm06MrjjbNjZfa54hyI8Vb527ZuKw9BaE4H8K i0r1m9hOCfhTpLmwnnuz+5WHcHi2zIzsP5dyYdAzrOdRJhFKw3Ibr72oPA8AJvQklXRk T+XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ChnEfqd81lhGTCbM0iDwgO5ck4GBMhqY3E2uhfWnIdA=; b=acqAO7aqRnYWQ85HwjdJtiP5wbsltqA1ivRvt6aPmjf/COufni07JQGYA+H89P9BCr q0CTtjNrTO99kz+m2LZXTIIFP09Ug5SErQghl+N5mmSrJMe5BdYatDqbh2IbeTgqJgta L1RR41tO4icSh1GM2RdvFYHlYSYS9TvQKPr1oyTz1/g9/RfGF9SQ+wSNJhQHdDnQ6kA9 rcPmJQa2wS+gDbryi5ioGZeJ3VI7PsvTFMdxn3RRrfzyTNdZvuv63fA8I6ZfgZr9J9fT wOmVZECGVmDeQ44tbky56BXrbHw+TnJSk9bRzVk0ucRWP4pf7/rfcQGoCkQGrji5sRef 1SUQ== X-Gm-Message-State: AN3rC/7c4+8ClqrFmehiHTELiqmmIbEyUvVSf9tuW7I4K9m4c/Adg+Qv WBA7kZ89pKe1JRmjP3z65MlJekDc2yaj X-Received: by 10.223.148.132 with SMTP id 4mr8237480wrr.119.1493379011993; Fri, 28 Apr 2017 04:30:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.164.23 with HTTP; Fri, 28 Apr 2017 04:30:11 -0700 (PDT) From: Johannes Lundberg Date: Fri, 28 Apr 2017 13:30:11 +0200 Message-ID: Subject: 2013 Macbook Pro, sound OK in headphones but no sound in internal speakers To: 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 11:30:15 -0000 Hi As the subject says... Anyone familiar with this? # cat /dev/random > /dev/dsp* only generate noise in the headphones.. /dev/sndstat Installed devices: pcm0: (play) pcm1: (play/rec) pcm2: (play) default pcm3: (play) No devices installed from userspace. dmesg: hdac0: mem 0xa0a10000-0xa0a13fff at device 3.0 on pci0 hdac1: mem 0xa0a14000-0xa0a17fff at device 27.0 on pci0 hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 3 on hdaa0 hdacc1: at cad 0 on hdac1 hdaa1: at nid 1 on hdacc1 pcm1: at nid 18,19 and 24 on hdaa1 pcm2: at nid 16 on hdaa1 pcm3: at nid 33 on hdaa1 ppc0: cannot reserve I/O port range ppc0: cannot reserve I/O port range ppc0: cannot reserve I/O port range ppc0: cannot reserve I/O port range ppc0: cannot reserve I/O port range ppc0: cannot reserve I/O port range sndbuf_resize(): b=0xfffff8013d501800 65536 [16384] NOCHANGE sndbuf_remalloc(): b=0xfffff801f174e800 16384 [16384] NOCHANGE pcm0: chn_resizebuf(): PCMDIR_PLAY (hardware) timeout=10 b[2048/1024/2] bs[2048/1024/2] limit=0 sndbuf_remalloc(): b=0xfffff80008411c00 65536 [65536] NOCHANGE pcm0: chn_resizebuf(): PCMDIR_PLAY (virtual) timeout=10 b[0/0/0] bs[4096/512/8] limit=85 pcm0: chn_resizebuf(): PCMDIR_PLAY (hardware) timeout=10 b[2048/1024/2] bs[2048/1024/2] limit=0 sndbuf_remalloc(): b=0xfffff80008411c00 65536 -> 4096 [128] pcm0: chn_resizebuf(): PCMDIR_PLAY (virtual) timeout=10 b[0/0/0] bs[128/64/2] limit=85 pcm0: chn_start(): PCMDIR_PLAY (virtual) threshold i=1 j=0 pcm0: chn_start(): VCHAN PARENT starting! (PCMDIR_PLAY/running) (ready=2048 force=1 i=1 j=0 intrtimeout=10 latency=10ms) hdac0: 1536Kbps of 46080Kbps bandwidth used pcm0: PCMDIR_PLAY: Stream setup fmt=00200010 (2.0) speed=48000 pcm0: PCMDIR_PLAY: Stream setup nid=2: fmt=0x0011, dfmt=0x0001, chan=0x0010, chan_count=0x01, stripe=0 pcm0: chn_trigger() pcm0:play:dsp0.p0: calling go=0x00000001 , prev=0xffffffff pcm0: chn_trigger() pcm0:virtual:dsp0.vp0: calling go=0x00000001 , prev=0xffffffff pcm0: chn_trigger() pcm0:play:dsp0.p0: calling go=0xffffffff , prev=0x00000001 pcm0: chn_trigger() pcm0:virtual:dsp0.vp0: calling go=0xffffffff , prev=0x00000001 pcm0: chn_resizebuf(): PCMDIR_PLAY (hardware) timeout=10 b[2048/1024/2] bs[2048/1024/2] limit=0 pcm0: chn_resizebuf(): PCMDIR_PLAY (virtual) timeout=10 b[0/0/0] bs[128/64/2] limit=85 sndbuf_remalloc(): b=0xfffff80114003a00 0 -> 4096 [1024] pcm1: chn_resizebuf(): PCMDIR_PLAY (virtual) timeout=85 b[0/0/0] bs[1024/64/16] limit=682 pcm1: chn_resizebuf(): PCMDIR_PLAY (virtual) timeout=85 b[0/0/0] bs[1024/64/16] limit=682 pcm1: chn_start(): PCMDIR_PLAY (virtual) threshold i=1 j=0 pcm1: chn_trigger() pcm1:virtual:dsp1.vp1: calling go=0x00000001 , prev=0x00000000 pcm1: chn_trigger() pcm1:virtual:dsp1.vp1: calling go=0xffffffff , prev=0x00000001 pcm1: chn_resizebuf(): PCMDIR_PLAY (virtual) timeout=85 b[0/0/0] bs[1024/64/16] limit=682 sndbuf_resize(): b=0xfffff8013d503400 65536 [16384] NOCHANGE sndbuf_remalloc(): b=0xfffff8013d503a00 16384 [16384] NOCHANGE pcm2: chn_resizebuf(): PCMDIR_PLAY (hardware) timeout=10 b[2048/1024/2] bs[2048/1024/2] limit=0 sndbuf_remalloc(): b=0xfffff8013d501200 65536 [65536] NOCHANGE pcm2: chn_resizebuf(): PCMDIR_PLAY (virtual) timeout=10 b[0/0/0] bs[4096/512/8] limit=85 pcm2: chn_resizebuf(): PCMDIR_PLAY (hardware) timeout=10 b[2048/1024/2] bs[2048/1024/2] limit=0 sndbuf_remalloc(): b=0xfffff8013d501200 65536 -> 4096 [128] pcm2: chn_resizebuf(): PCMDIR_PLAY (virtual) timeout=10 b[0/0/0] bs[128/64/2] limit=85 pcm2: chn_start(): PCMDIR_PLAY (virtual) threshold i=1 j=0 pcm2: chn_start(): VCHAN PARENT starting! (PCMDIR_PLAY/running) (ready=2048 force=1 i=1 j=0 intrtimeout=10 latency=10ms) hdac1: 3072Kbps of 46080Kbps bandwidth used pcm2: PCMDIR_PLAY: Stream setup fmt=00200010 (2.0) speed=48000 pcm2: PCMDIR_PLAY: Stream setup nid=2: fmt=0x0011, dfmt=0x0001, chan=0x0020, chan_count=0x01, stripe=0 pcm2: chn_trigger() pcm2:play:dsp2.p0: calling go=0x00000001 , prev=0xffffffff pcm2: chn_trigger() pcm2:virtual:dsp2.vp0: calling go=0x00000001 , prev=0xffffffff pcm2: chn_trigger() pcm2:play:dsp2.p0: calling go=0xffffffff , prev=0x00000001 pcm2: chn_trigger() pcm2:virtual:dsp2.vp0: calling go=0xffffffff , prev=0x00000001 pcm2: chn_resizebuf(): PCMDIR_PLAY (hardware) timeout=10 b[2048/1024/2] bs[2048/1024/2] limit=0 pcm2: chn_resizebuf(): PCMDIR_PLAY (virtual) timeout=10 b[0/0/0] bs[128/64/2] limit=85 hdaa1: Unsolicited response 40000000 hdaa1: Pin sense: nid=16 sense=0x00000000 (disconnected) pcm2: Playback channel set is: Front Left, Front Right, pcm2: Playback channel matrix is: 2.0 (disconnected) pcm2: chn_resizebuf(): PCMDIR_PLAY (hardware) timeout=10 b[2048/1024/2] bs[2048/1024/2] limit=0 pcm2: chn_resizebuf(): PCMDIR_PLAY (virtual) timeout=10 b[0/0/0] bs[128/64/2] limit=85 pcm2: chn_resizebuf(): PCMDIR_PLAY (hardware) timeout=10 b[2048/1024/2] bs[2048/1024/2] limit=0 pcm2: chn_resizebuf(): PCMDIR_PLAY (virtual) timeout=10 b[0/0/0] bs[128/64/2] limit=85 pcm2: chn_start(): PCMDIR_PLAY (virtual) threshold i=1 j=0 pcm2: chn_start(): VCHAN PARENT starting! (PCMDIR_PLAY/running) (ready=2048 force=1 i=1 j=0 intrtimeout=10 latency=10ms) hdac1: 3072Kbps of 46080Kbps bandwidth used pcm2: PCMDIR_PLAY: Stream setup fmt=00200010 (2.0) speed=48000 pcm2: PCMDIR_PLAY: Stream setup nid=2: fmt=0x0011, dfmt=0x0001, chan=0x0020, chan_count=0x01, stripe=0 pcm2: chn_trigger() pcm2:play:dsp2.p0: calling go=0x00000001 , prev=0xffffffff pcm2: chn_trigger() pcm2:virtual:dsp2.vp0: calling go=0x00000001 , prev=0xffffffff hdaa1: Unsolicited response 40000001 hdaa1: Pin sense: nid=16 sense=0x80000000 (connected) pcm2: Playback channel set is: Front Left, Front Right, pcm2: Playback channel matrix is: 2.0 (connected) hdaa1: Unsolicited response 40000000 hdaa1: Pin sense: nid=16 sense=0x00000000 (disconnected) pcm2: Playback channel set is: Front Left, Front Right, pcm2: Playback channel matrix is: 2.0 (disconnected) hdaa1: Unsolicited response 84000001 hdaa1: Pin sense: nid=33 sense=0x80000000 (connected) pcm3: Playback channel set is: Front Left, Front Right, pcm3: Playback channel matrix is: 2.0 (connected) hdaa1: Unsolicited response 40000001 hdaa1: Pin sense: nid=16 sense=0x80000000 (connected) pcm2: Playback channel set is: Front Left, Front Right, pcm2: Playback channel matrix is: 2.0 (connected) hdaa1: Unsolicited response 84000000 hdaa1: Pin sense: nid=33 sense=0x00000000 (disconnected) pcm3: Playback channel set is: Front Left, Front Right, pcm3: Playback channel matrix is: 2.0 (disconnected) pcm2: chn_trigger() pcm2:play:dsp2.p0: calling go=0xffffffff , prev=0x00000001 pcm2: chn_trigger() pcm2:virtual:dsp2.vp0: calling go=0xffffffff , prev=0x00000001 pcm2: chn_resizebuf(): PCMDIR_PLAY (hardware) timeout=10 b[2048/1024/2] bs[2048/1024/2] limit=0 pcm2: chn_resizebuf(): PCMDIR_PLAY (virtual) timeout=10 b[0/0/0] bs[128/64/2] limit=85 sndbuf_resize(): b=0xfffff801758ed200 65536 [16384] NOCHANGE sndbuf_remalloc(): b=0xfffff801f1760c00 16384 [16384] NOCHANGE pcm3: chn_resizebuf(): PCMDIR_PLAY (hardware) timeout=10 b[2048/1024/2] bs[2048/1024/2] limit=0 sndbuf_remalloc(): b=0xfffff8013d3a6200 65536 [65536] NOCHANGE pcm3: chn_resizebuf(): PCMDIR_PLAY (virtual) timeout=10 b[0/0/0] bs[4096/512/8] limit=85 pcm3: chn_resizebuf(): PCMDIR_PLAY (hardware) timeout=10 b[2048/1024/2] bs[2048/1024/2] limit=0 sndbuf_remalloc(): b=0xfffff8013d3a6200 65536 -> 4096 [128] pcm3: chn_resizebuf(): PCMDIR_PLAY (virtual) timeout=10 b[0/0/0] bs[128/64/2] limit=85 pcm3: chn_start(): PCMDIR_PLAY (virtual) threshold i=1 j=0 pcm3: chn_start(): VCHAN PARENT starting! (PCMDIR_PLAY/running) (ready=2048 force=1 i=1 j=0 intrtimeout=10 latency=10ms) hdac1: 3072Kbps of 46080Kbps bandwidth used pcm3: PCMDIR_PLAY: Stream setup fmt=00200010 (2.0) speed=48000 pcm3: PCMDIR_PLAY: Stream setup nid=14: fmt=0x0011, dfmt=0x0001, chan=0x0020, chan_count=0x01, stripe=0 pcm3: chn_trigger() pcm3:play:dsp3.p0: calling go=0x00000001 , prev=0xffffffff pcm3: chn_trigger() pcm3:virtual:dsp3.vp0: calling go=0x00000001 , prev=0xffffffff pcm3: chn_trigger() pcm3:play:dsp3.p0: calling go=0xffffffff , prev=0x00000001 pcm3: chn_trigger() pcm3:virtual:dsp3.vp0: calling go=0xffffffff , prev=0x00000001 pcm3: chn_resizebuf(): PCMDIR_PLAY (hardware) timeout=10 b[2048/1024/2] bs[2048/1024/2] limit=0 pcm3: chn_resizebuf(): PCMDIR_PLAY (virtual) timeout=10 b[0/0/0] bs[128/64/2] limit=85