Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2017 13:30:11 +0200
From:      Johannes Lundberg <johalun0@gmail.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   2013 Macbook Pro, sound OK in headphones but no sound in internal speakers
Message-ID:  <CAECmPwvAAUKo4qODrucLgyr7qWQGqbpEcd-9=AQO0_NA4CDVUg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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: <Intel Haswell (HDMI/DP 8ch)> (play)
pcm1: <Cirrus Logic (0x4208) (Analog 4.0/2.0)> (play/rec)
pcm2: <Cirrus Logic (0x4208) (Analog Headphones)> (play) default
pcm3: <Cirrus Logic (0x4208) (Digital)> (play)
No devices installed from userspace.

dmesg:
hdac0: <Intel Haswell HDA Controller> mem 0xa0a10000-0xa0a13fff at device
3.0 on pci0
hdac1: <Intel Lynx Point HDA Controller> mem 0xa0a14000-0xa0a17fff at
device 27.0 on pci0
hdacc0: <Intel Haswell HDA CODEC> at cad 0 on hdac0
hdaa0: <Intel Haswell Audio Function Group> at nid 1 on hdacc0
pcm0: <Intel Haswell (HDMI/DP 8ch)> at nid 3 on hdaa0
hdacc1: <Cirrus Logic (0x4208) HDA CODEC> at cad 0 on hdac1
hdaa1: <Cirrus Logic (0x4208) Audio Function Group> at nid 1 on hdacc1
pcm1: <Cirrus Logic (0x4208) (Analog 4.0/2.0)> at nid 18,19 and 24 on hdaa1
pcm2: <Cirrus Logic (0x4208) (Analog Headphones)> at nid 16 on hdaa1
pcm3: <Cirrus Logic (0x4208) (Digital)> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAECmPwvAAUKo4qODrucLgyr7qWQGqbpEcd-9=AQO0_NA4CDVUg>