2013 Macbook Pro, sound OK in headphones but no sound in internal speakers
Michael Gmelin
freebsd at grem.de
Fri Apr 28 13:04:37 UTC 2017
On Fri, 28 Apr 2017 14:59:22 +0200
Johannes Lundberg <johalun0 at gmail.com> wrote:
> 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 at 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 at 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 <hps at selasky.org>
You might have to change audio routing using sysctls or device hints,
see below for examples I use on my laptop (different model, so it's
more about the general idea)
Keep speakers and headphone jack separate (two separate audio devices):
cat >>/boot/device.hints <<EOF
hint.hdaa.1.nid26.config="as=2"
hint.hdaa.1.nid33.config="as=3"
EOF
Use headphone jack like most people do (recommended):
cat >>/boot/device.hints <<EOF
hint.hdaa.1.nid20.config="as=3 seq=0"
hint.hdaa.1.nid26.config="as=2 seq=14"
hint.hdaa.1.nid25.config="as=2 seq=15"
hint.hdaa.1.nid33.config="as=3 seq=15"
EOF
Maybe you could send the the output of sysctl -a | grep hdaa?
-m
> 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
> >
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
> "freebsd-current-unsubscribe at freebsd.org"
--
Michael Gmelin
More information about the freebsd-current
mailing list