Contribute
Register

BrcmPatchRAM - Upload firmware into Broadcom Bluetooth USB devices

Status
Not open for further replies.
indeed rehabman i tried and get it to the point where my bluetooth ear piece connect and work properly but my apple magic mouse just connect temporary then disconnect

Was BrcmPatchRAM successful in loading firmware? Check your system log.
 
all in attachment .zip
1. ioreg
2. terminal in textedit
3. clover(EFI)

thank you rehab

Your kextcache output shows BrcmPatchRAM.kext is installed. And ioreg shows 10.11.6.
BrcmPatchRAM.kext is for 10.10.x and earlier.
BrcmPatchRAM2.kext must be used for 10.11.
Also, your kextcache output also shows that BrcmFirmwareRepo.kext is not installed. It is required.

Correct installation procedures are covered quite clearly in the BrcmPatchRAM README.
 
Rehabman - did you see my post on the last page? I'm experiencing issues with bluetooth not loading correctly using these kexts after wake from sleep. Sometimes it works, sometimes it does not.
 
Hey @RehabMan - can you take a look at an issue I'm having with this kext in regards to sleep/wake on my machine? I made an issue over on Github for it:
https://github.com/RehabMan/OS-X-BrcmPatchRAM/issues/23

Thanks.


Attach ioreg as ZIP: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

Provide output (in Terminal):
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
kextstat|grep -y applelpc
kextstat|grep -y applehda

Attach EFI/Clover folder as ZIP (press F4 at main Clover screen before collecting). Please eliminate 'themes' directory. Provide only EFI/Clover, not the entire EFI folder.

Attach output of (in Terminal):
Code:
sudo touch /System/Library/Extensions && sudo kextcache -u /

Compress all files as ZIP. Do not use external links. Attach all files using site attachments only.
 
Attach ioreg as ZIP: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

Provide output (in Terminal):
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
kextstat|grep -y applelpc
kextstat|grep -y applehda

Attach EFI/Clover folder as ZIP (press F4 at main Clover screen before collecting). Please eliminate 'themes' directory. Provide only EFI/Clover, not the entire EFI folder.

Attach output of (in Terminal):
Code:
sudo touch /System/Library/Extensions && sudo kextcache -u /

Compress all files as ZIP. Do not use external links. Attach all files using site attachments only.
See attached zip files. Here is output from kextstat (AppleIntelCPU provided no output):
Code:
   13    2 0xffffff7f82c7c000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (4.0) A29C7512-D3A8-3AED-9721-3A5FF1A32EB2 <12 11 7 6 5 4 3 1>
  102    0 0xffffff7f82668000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 32BDCF9F-0473-32D4-9DAE-F523EFB2D244 <88 12 5 4 3>
   99    1 0xffffff7f82955000 0x1e000    0x1e000    com.apple.driver.AppleHDAController (274.12) D532D0E1-0A58-3DBA-AB37-3979E2659B2B <98 97 73 12 7 6 5 4 3 1>
  113    0 0xffffff7f82ac1000 0xb3000    0xb3000    com.apple.driver.AppleHDA (9267.0) 4BBAF30A-0068-3ADC-9DE8-D0800405AFD1 <112 99 98 97 78 73 12 11 6 5 4 3 1>
  114    0 0xffffff7f82bc6000 0x2000     0x2000     com.apple.driver.AppleHDAHardwareConfigDriver (274.12) 42F04DB7-1B29-34BB-83CE-1A3E9251E8B7 <4 3>

Output of kextcache:
Code:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelMausiEthernet.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelBacklight.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_XHCIMux.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HD_Graphics.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Broadcom_WiFi.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CPUSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CodecCommander.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmPatchRAM2.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmFirmwareRepo.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleHDA_ALC292.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext

All of my kexts are installed in /S/L/E. The issue I'm having is that bluetooth randomly does not come back after sleep. All of the attachments I put in this post are after a fresh boot when BT is working. I can get you output when the BT fails if you need that too.

Thanks in advance for helping.
 

Attachments

  • CLOVER.zip
    1.5 MB · Views: 66
  • Josh-Lenovo.ioreg.zip
    513.6 KB · Views: 71
See attached zip files. Here is output from kextstat (AppleIntelCPU provided no output):
Code:
   13    2 0xffffff7f82c7c000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (4.0) A29C7512-D3A8-3AED-9721-3A5FF1A32EB2 <12 11 7 6 5 4 3 1>
  102    0 0xffffff7f82668000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 32BDCF9F-0473-32D4-9DAE-F523EFB2D244 <88 12 5 4 3>
   99    1 0xffffff7f82955000 0x1e000    0x1e000    com.apple.driver.AppleHDAController (274.12) D532D0E1-0A58-3DBA-AB37-3979E2659B2B <98 97 73 12 7 6 5 4 3 1>
  113    0 0xffffff7f82ac1000 0xb3000    0xb3000    com.apple.driver.AppleHDA (9267.0) 4BBAF30A-0068-3ADC-9DE8-D0800405AFD1 <112 99 98 97 78 73 12 11 6 5 4 3 1>
  114    0 0xffffff7f82bc6000 0x2000     0x2000     com.apple.driver.AppleHDAHardwareConfigDriver (274.12) 42F04DB7-1B29-34BB-83CE-1A3E9251E8B7 <4 3>

Output of kextcache:
Code:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelMausiEthernet.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelBacklight.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_XHCIMux.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HD_Graphics.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Broadcom_WiFi.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CPUSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CodecCommander.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmPatchRAM2.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmFirmwareRepo.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleHDA_ALC292.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext

All of my kexts are installed in /S/L/E. The issue I'm having is that bluetooth randomly does not come back after sleep. All of the attachments I put in this post are after a fresh boot when BT is working. I can get you output when the BT fails if you need that too.

Thanks in advance for helping.

It is probably a USB issue. Consider disabling the EHCI controller and having all USB ports on XHC instead.
 
Is that explained here?
https://www.tonymacx86.com/threads/guide-10-11-usb-changes-and-solutions.173616/

I couldn't find anything about disabling EHCI. I did realize, however, that in my DSDT I must of missed renaming EHC1 to EH01 in a few cases. I made those changes and will test again. Is that what you meant?

There is an SSDT for disabling EHCI. See my ACPI hotpatch guide for links... (or just browse my github repo).
Disabling EHCI is different from renaming EHCx->EH0x.

If your BIOS has an option for XHCI mode="Enabled" it will likely disable the EHCI controller.
Keep in mind using FakePCIID_XHCIMux.kext with the EHCI disabled is a mistake.
 
i tried it before i ask for your input it didnt work i will try it again tonight and let u know
 
There is an SSDT for disabling EHCI. See my ACPI hotpatch guide for links... (or just browse my github repo).
Disabling EHCI is different from renaming EHCx->EH0x.

If your BIOS has an option for XHCI mode="Enabled" it will likely disable the EHCI controller.
Keep in mind using FakePCIID_XHCIMux.kext with the EHCI disabled is a mistake.
I installed the SSDT to disable EHCI and I removed the FakePCIID_XHCIMux.kext. When I did this, I realized that all of my USB devices now show up under the USB 3.0 bus. When I did that, I had to redo my SSD-UIAC file to inject the correct ports.

It seemed to work for a while, but I just had it break again after a wake from sleep. Here are the last 2 sleep/wake cycles from terminal output:
Code:
Nov 16 19:18:59 Josh-Lenovo kernel[0]: BrcmPatchRAM2: Version 2.2.7 starting on OS X Darwin 15.6.
Nov 16 19:18:59 Josh-Lenovo kernel[0]: BrcmPatchRAM2: [0a5c:216f]: USB [C48E8FF8AA1A v274] "BCM20702A0" by "Broadcom Corp"
Nov 16 19:18:59 Josh-Lenovo kernel[0]: BrcmPatchRAM2: [0a5c:216f]: Firmware upgrade not needed.
Nov 16 19:18:59 Josh-Lenovo kernel[0]: BrcmPatchRAM2: [0a5c:216f]: Found existing IOKit personality "com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport".
Nov 16 19:18:59 Josh-Lenovo kernel[0]: BrcmPatchRAM2: Processing time 0.4 seconds.
Nov 16 21:17:12 Josh-Lenovo kernel[0]: BrcmPatchRAM2: Version 2.2.7 starting on OS X Darwin 15.6.
Nov 16 21:17:12 Josh-Lenovo kernel[0]: BrcmPatchRAM2: [0a5c:216f]: USB [C48E8FF8AA1A v274] "BCM20702A0" by "Broadcom Corp"
Nov 16 21:18:16 Josh-Lenovo kernel[0]: BrcmPatchRAM2: [0a5c:216f]: device request failed ("0xe00002eb (UNDEFINED)" 0xe00002eb).
Nov 16 21:18:16 Josh-Lenovo kernel[0]: BrcmPatchRAM2: [0a5c:216f]: continuousRead - Failed to queue read (0xe00002d8)

I just checked IOReg and the bluetooth adapter is still present, even though bluetooth is not correctly loaded. I've discovered that BT will sometimes come back after another sleep/wake cycle, or it will always come back on a restart.

Any other ideas?
 
Status
Not open for further replies.
Back
Top