Re: 2013 Macbook Pro, sound OK in headphones but no sound in internal speakers

2017-04-29 Thread Michael Gmelin
I tried on this model and things basically worked out of the box once I changed the default output: root@sound:~ # uname -a FreeBSD sound 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r313561: Fri Feb 10 20:18:01 UTC 2017 r...@releng3.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 root@sound:~ #

Re: 2013 Macbook Pro, sound OK in headphones but no sound in internal speakers

2017-04-28 Thread Bob Bishop
Hi, > On 28 Apr 2017, at 18:10, Johannes Lundberg wrote: > > That would be awesome! Yes, my model is also A1398. [etc] FWIW, A1398 is MacBookPro 11,3 -- Bob Bishop r...@gid.co.uk ___ freebsd-current@freebsd.org mailing list

Re: 2013 Macbook Pro, sound OK in headphones but no sound in internal speakers

2017-04-28 Thread Johannes Lundberg
That would be awesome! Yes, my model is also A1398. After patching the asmc driver (has been committed) freebsd runs great on it. All that's missing is sound :) On Fri, Apr 28, 2017 at 7:06 PM, Michael Gmelin wrote: > A friend has a model A1398 (which is very similar I

Re: 2013 Macbook Pro, sound OK in headphones but no sound in internal speakers

2017-04-28 Thread Michael Gmelin
A friend has a model A1398 (which is very similar I guess). He'd be willing to give it to me for experiments. -m > On 28. Apr 2017, at 17:07, Johannes Lundberg wrote: > > Sorry I meant device.hints. > > Its a 2013 MBP 15" Retina. (11,2 I belive) > > > >> On Fri, Apr

Re: 2013 Macbook Pro, sound OK in headphones but no sound in internal speakers

2017-04-28 Thread Johannes Lundberg
Sorry I meant device.hints. Its a 2013 MBP 15" Retina. (11,2 I belive) On Fri, Apr 28, 2017 at 5:05 PM, Michael Gmelin wrote: > device.conf or device.hints? > > Note that you can also set these using sysctl for experimentation. > Which exact model number of the macbook pro

Re: 2013 Macbook Pro, sound OK in headphones but no sound in internal speakers

2017-04-28 Thread Michael Gmelin
device.conf or device.hints? Note that you can also set these using sysctl for experimentation. Which exact model number of the macbook pro are you using? -m On Fri, 28 Apr 2017 16:48:30 +0200 Johannes Lundberg wrote: > Hmm nothing at all.. Only headset gives sound. > >

Re: 2013 Macbook Pro, sound OK in headphones but no sound in internal speakers

2017-04-28 Thread Johannes Lundberg
Hmm nothing at all.. Only headset gives sound. Using this now in device.conf: (tried different combinations) # Headset out hint.hdaa.1.nid16.config="as=1 seq=0" # Headset in hint.hdaa.1.nid24.config="as=2 seq=0" # Internal Mic hint.hdaa.1.nid28.config="as=3 seq=0" # Speakers

Re: 2013 Macbook Pro, sound OK in headphones but no sound in internal speakers

2017-04-28 Thread Michael Gmelin
Without looking through all of this myself, could you try the two solutions at the end of this thread? https://forums.macrumors.com/threads/sound-settings-on-freebsd.1658457/ > On 28. Apr 2017, at 15:06, Johannes Lundberg wrote: > > Hi Michael > > Thanks! Here's the

Re: 2013 Macbook Pro, sound OK in headphones but no sound in internal speakers

2017-04-28 Thread Johannes Lundberg
Hi Michael Thanks! Here's the output dev.pcm.3.%parent: hdaa1 dev.pcm.2.%parent: hdaa1 dev.pcm.1.%parent: hdaa1 dev.pcm.0.%parent: hdaa0 dev.hdaa.1.reconfig: 0 dev.hdaa.1.gpo_config: 0=keep 1=keep dev.hdaa.1.gpo_state: 0=0 1=0 dev.hdaa.1.gpio_config: 0=keep 1=keep 2=keep 3=keep 4=keep 5=keep

Re: 2013 Macbook Pro, sound OK in headphones but no sound in internal speakers

2017-04-28 Thread Michael Gmelin
On Fri, 28 Apr 2017 14:59:22 +0200 Johannes Lundberg 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

Re: 2013 Macbook Pro, sound OK in headphones but no sound in internal speakers

2017-04-28 Thread Johannes Lundberg
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_MACBOOKPRO92HDA_MODEL_CONSTRUCT(INTEL, 0x7270) and #define

Re: 2013 Macbook Pro, sound OK in headphones but no sound in internal speakers

2017-04-28 Thread Hans Petter Selasky
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=261507 --HPS

2013 Macbook Pro, sound OK in headphones but no sound in internal speakers

2017-04-28 Thread Johannes Lundberg
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