Re: [PATCH 00/12] Thunderbolt hotplug support for Apple hardware (testers needed)

From: Matthew Garrett
Date: Tue Mar 11 2014 - 10:00:34 EST


On Tue, Mar 11, 2014 at 02:08:55PM +0100, Andreas Noever wrote:

> That seems to do it. I was afraid that setting OSDW globally would
> affect other parts (USB?) But that does not seem to be the case.

I think it results in the USB ports coming up in XHCI mode by default,
but we can handle that. There's one other thing - the battery switches
from being a control method battery to being an SBS one, and Apple's
implementation seems to break our driver. I've got a trivial patch that
makes it work (attached).

> What is the reason for clearing the PME flag?

It looks like the PME flag gets cleared on the _OSC route in non-Darwin
mode? I'll go back and check that to make sure.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx