On Mon, Nov 23, 2015 at 09:22:04AM -0500, Bryan C. Everly wrote:
> I tried a few months ago to boot this into OpenBSD and one of the big
> problems I ran into was that this is a USB 3 only machine and as such, the
> keyboard worked at the boot prompt but did not work when I got to the first
> installer prompt.

I never had any success with any Apple machine of recent vintage until
efiboot became available very recently. Now with the changes to
inteldrm(4) over the weekend, most things are working well for me.

> I'm seeing people talking about working on Macbook Air machines (some of
> quite recent vintage) so I'm wondering if:
> 
> 1.  There is a patch I can apply to get keyboard support working on the
> Macbook Pro Retina; or

I was corresponding with Joerg Jung about his 2015 12-inch Retina
MacBook and he also has the same issue. I also booted up my 2015 12-inch
Retina MacBook yesterday and had no keyboard at all. His solution was a
USB keyboard and a USB hub. I didn't have either handy but may try that
later today. In the case of the 12-inch Retina MacBook, there is only
that single USB-C port so I'm not sure if the USB hub was needed for any
reason other than to provide at least two ports (one for USB flash drive
and one for USB keyboard).

> 2.  The Macbook Air doesn't have all USB 3 ports so this isn't a problem
> for that hardware

The last several generations only show xhci(4) rather than any uhci(4).
I don't know what is different about the MacBook Air systems that allows
the keyboard to work since the keyboard does attach as ukbd(4).

> Any suggestions would be appreciated.

My solution was to create an OpenBSD efiboot flash drive and then things
worked fairly well. In your case, you probably need a USB keyboard and
possibly a USB hub. I will post a separate post soon with more
information about both of my MacBook Air systems but, in short, the 2013
MacBook Air, which is a Haswell system like your MacBook Pro, works
quite well.  Obviously wireless is not supported but a urtwn(4) USB
wireless adapter works fine. X acceleration works fine as does
xbacklight(1) to set screen brightness. The brightness buttons on the
keyboard do not work though. Keyboard backlight is functional (although
not yet adjustable) due to Joerg Jung's recent asmc(4) driver.

The 2015 MacBook Air which is a Broadwell system works almost as well
but does not have X acceleration at this time (disabled for now due to
instability) and also does not respond to xbacklight(1) so there is no
way to adjust screen brightness. To see the state of things in Linux, I
also installed Fedora 23 last week which comes with Linux kernel 4.2 and
that also could not adjust the brightness of the display at all even
though it acted as though it was working.

I am interested to see what you find with your system since I am looking
to pick up a similar Haswell Retina MacBook Pro from the refurbished
store to use with OpenBSD as well.

Bryan

Reply via email to