the-darkvoid / BrcmPatchRAM

Broadcom PatchRAM driver for OS X
GNU General Public License v2.0
88 stars 62 forks source link

Fix for issue the-darkvoid#12 (performance regression) #14

Closed RehabMan closed 9 years ago

RehabMan commented 9 years ago

It seems to be working well for me here. The final addition of the IOSleep calls seem to fix some intermittent problems I was having (where firmware was loaded but native BT driver didn't work). The IOSleep calls are conservative (10ms each) compared to the original code (5ms, 100ms, 50ms).

Please test and provide feedback.

Link to performance issue: https://github.com/the-darkvoid/BrcmPatchRAM/issues/12

RehabMan commented 9 years ago

I had another occurrence of bluetooth not starting after wake from sleep. Not sure if it is a new problem or old problem. I'll let you know when I figure it out...

RehabMan commented 9 years ago

Tracking the issue of intermittent lack of probe after sleep/wake cycle here: https://github.com/RehabMan/OS-X-BrcmPatchRAM/issues/2

It will take a few days to test the latest solution...

RehabMan commented 9 years ago

This appears to be solid now. No case of bluetooth failure after wake from sleep in more than 48 hours of testing. And bluetooth is available immediately after sleep without delay.