Re: i915kms breakage

2017-04-28 Thread Andrey Fesenko
On Fri, Apr 28, 2017 at 10:10 PM, Maurizio Vairani wrote: > 2017-04-22 14:47 GMT+02:00 Domagoj Stolfa : > >> Hello, >> >> ever since I've merged yesterday, it would seem that the i915kms driver >> panics every time it is loaded. Unfortunately, I am not able to provide >> a dump of the panic, as I

Re: Panic String: solaris assert: (lsize != psize) implies ((flags & ZIO_FLAG_RAW) != 0), file: /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c, line: 631

2017-04-28 Thread Andriy Gapon
On 28/04/2017 14:56, Michael Jung wrote: > I have mad the requested change.. > > [root@bsd11 /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs]# diff > zio.c > ~mikej/zio.c.orig > 965c965 > < size, NULL, NULL, ZIO_TYPE_FREE, ZIO_PRIORITY_NOW, > --- >> BP_GET_PSIZE(bp), NULL,

Re: i915kms breakage

2017-04-28 Thread Maurizio Vairani
2017-04-22 14:47 GMT+02:00 Domagoj Stolfa : > Hello, > > ever since I've merged yesterday, it would seem that the i915kms driver > panics every time it is loaded. Unfortunately, I am not able to provide > a dump of the panic, as I am unable to see what the panic is, or what is > even going on as a

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 https://lists.freebsd.

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 guess). He'd be > willin

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 28, 2017 at 5:05 PM, Mi

Re: Add support for ACPI Module Device ACPI0004?

2017-04-28 Thread John Baldwin
On Friday, April 28, 2017 05:38:32 PM Sepherosa Ziehau wrote: > On Thu, Apr 27, 2017 at 12:14 AM, John Baldwin wrote: > > On Wednesday, April 26, 2017 09:18:48 AM Sepherosa Ziehau wrote: > >> On Wed, Apr 26, 2017 at 4:36 AM, John Baldwin wrote: > >> > On Thursday, April 20, 2017 02:29:30 AM Dexua

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 are you using? > >

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. > > Using this now in devi

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 hint.hdaa.1.nid18.

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 output > > dev.pcm.3.%pa

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 dev.

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 example, we have: > #

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 HDA

Re: Panic String: solaris assert: (lsize != psize) implies ((flags & ZIO_FLAG_RAW) != 0), file: /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c, line: 631

2017-04-28 Thread Michael Jung
On 2017-04-27 17:57, Andriy Gapon wrote: On 27/04/2017 18:52, Michael Jung wrote: Hi: Recently upgraded from r315905 to r317435 and during a poudriere run got this panic which I have not seen before. https://charon.gopai.com/core.txt.1 https://charon.gopai.com/info.1 Let me know what additi

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&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 0xa0a1-0xa0

Re: Add support for ACPI Module Device ACPI0004?

2017-04-28 Thread Sepherosa Ziehau
On Thu, Apr 27, 2017 at 12:14 AM, John Baldwin wrote: > On Wednesday, April 26, 2017 09:18:48 AM Sepherosa Ziehau wrote: >> On Wed, Apr 26, 2017 at 4:36 AM, John Baldwin wrote: >> > On Thursday, April 20, 2017 02:29:30 AM Dexuan Cui wrote: >> >> > From: John Baldwin [mailto:j...@freebsd.org] >> >

RE: Add support for ACPI Module Device ACPI0004?

2017-04-28 Thread Dexuan Cui
> From: John Baldwin > Sent: Thursday, April 27, 2017 00:14 > On Wednesday, April 26, 2017 09:18:48 AM Sepherosa Ziehau wrote: > > On Wed, Apr 26, 2017 at 4:36 AM, John Baldwin wrote: > > > On Thursday, April 20, 2017 02:29:30 AM Dexuan Cui wrote: > > >> > From: John Baldwin [mailto:j...@freebsd.o