Contribute
Register

Broadcom WiFi/Bluetooth [Guide]

@Gareth23,

Glad to read your up and running .... i recommend installing AirportBrcmFixup (+Lilu) see guide :-

https://www.tonymacx86.com/threads/an-idiots-guide-to-lilu-and-its-plug-ins.260063/

If you continue to have BT continuity issues after installing AirportBrcmFixup then also try installing BT4LEContiunityFixup

Cheers
Jay
Thanks for that info Jay ....Tried those but still the wake from sleep happing, It did it before with the old wifi/ bluetooth card the came with the ASUS P8Z77-I DELUXE I had to turn off bluetooth in bios to allow it to sleep or it would wake up ...... here is
pmset -g log
2018-10-15 17:16:41 +0100 Assertions PID 124(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.AppleHDAEngineOutputDP:0,1,0,1,1:0:{2D4C-0669-00000001}.context.preventuseridledisplaysleep" 00:06:57 id:0x0x500008282 [System: PrevIdle DeclUser BGTask SRPrevSleep kCPU kDisp]

2018-10-15 17:16:41 +0100 Assertions PID 124(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.AppleHDAEngineOutputDP:0,1,0,1,1:0:{2D4C-0669-00000001}.context.preventuseridlesleep" 00:06:57 id:0x0x100008281 [System: PrevIdle DeclUser BGTask SRPrevSleep kCPU kDisp]

2018-10-15 17:16:42 +0100 Wake DarkWake to FullWake from Normal Sleep [CDNVA] due to HID Activity: Using AC (Charge:0%)

2018-10-15 17:16:42 +0100 WakeDetails DriverReason:EHC2 - DriverDetails:

2018-10-15 17:16:42 +0100 HibernateStats hibmode=0 standbydelay=0 12

2018-10-15 17:16:42 +0100 Kernel Client Acks Delays to Wake notifications: [AppleHDAHDMI_DPDriver driver is slow(msg: SetState to 1)(417 ms)] [NVDA driver is slow(msg: SetState to 2)(531 ms)] [AppleHDADriver driver is slow(msg: SetState to 1)(1465 ms)]

2018-10-15 17:16:53 +0100 Assertions PID 54(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:13 id:0x0xd00008346 [System: PrevIdle DeclUser BGTask SRPrevSleep kCPU kDisp]


Total Sleep/Wakes since boot at 2018-10-15 16:58:09 +0100 :2


2018-10-15 17:16:55 +0100 : Showing all currently held IOKit power assertions

Assertion status system-wide:

BackgroundTask 1

ApplePushServiceTask 0

UserIsActive 1

PreventUserIdleDisplaySleep 0

PreventSystemSleep 0

ExternalMedia 0

PreventUserIdleSystemSleep 1

NetworkClientActive 0

InternalPreventSleep 1

Listed by owning process:

pid 93(hidd): [0x00000010000980f1] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968148.3"

Timeout will fire in 600 secs Action=TimeoutActionRelease

pid 306(sharingd): [0x000004520001834b] 00:00:15 PreventUserIdleSystemSleep named: "Handoff"

pid 204(mds_stores): [0x00000461000b838f] 00:00:00 BackgroundTask named: "com.apple.metadata.mds_stores.power"

pid 54(powerd): [0x00000452000d8347] 00:00:15 InternalPreventSleep named: "com.apple.powermanagement.acwakelinger"

Timeout will fire in 30 secs Action=TimeoutActionRelease

Kernel Assertions: 0x4=USB

id=500 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.1a100000 owner=IOUSBHostDevice

id=501 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.1d100000 owner=IOUSBHostDevice

id=504 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.1d150000 owner=USB PnP Sound Device

id=507 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14100000 owner=NovaT 500Stick

id=508 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14200000 owner=Wired Keyboard

id=509 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14300000 owner=Corsair Gaming SCIMITAR PRO RGB Mouse

id=510 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.1d160000

id=512 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.1a150000 owner=BCM20702A0

Idle sleep preventers: IODisplayWrangler

Best regards Gareth
@Gareth23,


Glad to read your up and running .... i recommend installing AirportBrcmFixup (+Lilu) see guide :-

https://www.tonymacx86.com/threads/an-idiots-guide-to-lilu-and-its-plug-ins.260063/

If you continue to have BT continuity issues after installing AirportBrcmFixup then also try installing BT4LEContiunityFixup

Cheers
Jay
 
Hi! By guide I thought you meant guide I followed to install macOS. I followed this guide to the letter for installing WiFi/BT.

I just installed Rehabman's kexts, following #1/Bluetooth Injection, but it didn't work. In any case, my card is a native card, so it should work. The USB header is attached to the motherboard, and BT works in Ubuntu/Windows.

I've attached all the requested files in this ZIP as described in Problem Reporting. They're all in the ZIP.

Basically, the USB is detected as shown in System Info/HW/USB but System Info/HW/BT doesn't show and/or detect it for some reason. Like I said, installing the Rehabman kexts doesn't work.
 

Attachments

  • hameerabbasi.zip
    1.5 MB · Views: 81
Hi! By guide I thought you meant guide I followed to install macOS. I followed this guide to the letter for installing WiFi/BT.

I just installed Rehabman's kexts, following #1/Bluetooth Injection, but it didn't work. In any case, my card is a native card, so it should work. The USB header is attached to the motherboard, and BT works in Ubuntu/Windows.

I've attached all the requested files in this ZIP as described in Problem Reporting. They're all in the ZIP.

Basically, the USB is detected as shown in System Info/HW/USB but System Info/HW/BT doesn't show and/or detect it for some reason. Like I said, installing the Rehabman kexts doesn't work.

BT controller is 05ac:828d. No support in current BrcmPatchRAM.kext. Is it a PatchRAM device? (check in Windows Device Manager to see if there is associated firmware). If it is not a PatchRAM device (eg. has built-in firmware), you can simply add the required entry to BrcmNonPatchRAM2.kext/Content/Info.plist (refer to the other entries as an example). If it is a PatchRAM device, then the procedures are more involved... as you'll need to determine if firmware support can be added to BrcmPatchRAM2.kext.
 
Here goes :wave:

1.I have IOGEAR Bluetooth 4.0 USB Micro Adapter, GBU521 which shows up in System Info/Bluetooth/USB which I can pair my iPhone with but I don't think it's functioning as it should.One second it's Discoverable/Connectable (Off/No) next minute its' ON/Yes once I toggle it on.Also no Handoff etc.Tried all the Kexts in OS-X-BrcmPatchRAM and tried placing them in Other, S/L/E and L/E rebuilding caches etc each time but based on what I've read the firmware still says 4096 so I did not bother trying the Continuity-Activation-Tool nor digging deeper.

2.System Specs in Sig (Z77X...) and I'm on 10.13.6

3.The Guide I used was Bluetooth Injection Method. Attached is the files as per the Problem Reporting minus the DCPIManager boot log :shh:



 

Attachments

  • iRebel Z77X IOGEAR Dongle..zip
    2.2 MB · Views: 86
Last edited:
I checked in Windows device manager, I couldn't find any mention of firmware either in the driver itself in device manager, or any related device for firmware. I may be looking in the wrong place though.

I edited the kext's info.plist as shown, and restarted, but it didn't work for some reason. Kextstat also doesn't show the kexts being loaded:

Code:
$ kextstat | grep Brcm
   61    0 0xffffff7f81de9000 0x7bd000   0x7bd000   com.apple.driver.AirPort.BrcmNIC (1400.1.1) 1612D979-847A-3A4A-9AB5-79CD4645E11E <60 59 58 15 12 7 6 5 4 3 1>

BrcmNonPatchRAM2-Info.png

The Device ID is already native and should be detected, but it's not for some reason.

Edit: I put all three kexts in as suggested in the README.
Edit 2: Even moving it to a different USB header on the motherboard doesn't work.
 
Last edited:
I checked in Windows device manager, I couldn't find any mention of firmware either in the driver itself in device manager, or any related device for firmware. I may be looking in the wrong place though.

You should be looking at the list of files that make up the Windows driver in Device Manager.

I edited the kext's info.plist as shown, and restarted, but it didn't work for some reason. Kextstat also doesn't show the kexts being loaded:

Code:
$ kextstat | grep Brcm
   61    0 0xffffff7f81de9000 0x7bd000   0x7bd000   com.apple.driver.AirPort.BrcmNIC (1400.1.1) 1612D979-847A-3A4A-9AB5-79CD4645E11E <60 59 58 15 12 7 6 5 4 3 1>

View attachment 358113

The Device ID is already native and should be detected, but it's not for some reason.

Edit: I put all three kexts in as suggested in the README.
Edit 2: Even moving it to a different USB header on the motherboard doesn't work.

You will need to attach full PR files as per laptop FAQ.
Also, you will need to attach your modified BrcmNonPatchRAM2.kext.
 
You should be looking at the list of files that make up the Windows driver in Device Manager.



You will need to attach full PR files as per laptop FAQ.
Also, you will need to attach your modified BrcmNonPatchRAM2.kext.

Here are the files. Thanks for trying to help!
 

Attachments

  • debug_26602.zip
    3.2 MB · Views: 91
  • Driver-Files.PNG
    Driver-Files.PNG
    13.7 KB · Views: 211
  • BrcmNonPatchRAM2.kext.zip
    3.1 KB · Views: 81
Here are the files. Thanks for trying to help!

Android File Transfer is known to cause problems.
Read laptop FAQ:
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/

Also, there seems to be some native support:
NUC6i7KYK:whatevergreen.git rehabman$ grep 33421 -R /System/Library/Extensions/
/System/Library/Extensions//IOBluetoothFamily.kext/Contents/PlugIns/BroadcomBluetoothHostControllerUSBTransport.kext/Contents/Info.plist: <integer>33421</integer>
/System/Library/Extensions//IOBluetoothFamily.kext/Contents/PlugIns/IOBluetoothUSBDFU.kext/Contents/Info.plist: <integer>33421</integer>

So, you may not want to mess with it as far as BrcmNonPatchRAM (maybe Android File Transfer was causing problems all along).

But your USB configuration is wrong.
See guide:
https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/

Also, your profile/signature seems incomplete (the specs you have there does not correlate with the data you just uploaded).
 
Back
Top