Contribute
Register

BrcmPatchRAM - Upload firmware into Broadcom Bluetooth USB devices

Status
Not open for further replies.
Joined
Jul 3, 2014
Messages
934
Motherboard
Dell XPS 9360 (KabyLake R)
CPU
Intel i7 8550U
Graphics
Intel UHD 620
Mac
  1. MacBook
  2. MacBook Pro
Mobile Phone
  1. Android
Hi big dev, sorry, i have an Asus Rampage V X99, wifi+bluetooth combo antenna, only wifi works, do you know a way to fix it?

Whats the bluetooth vendor id / product id showing on the USB bus in system profiler?
 
Joined
Jul 3, 2014
Messages
934
Motherboard
Dell XPS 9360 (KabyLake R)
CPU
Intel i7 8550U
Graphics
Intel UHD 620
Mac
  1. MacBook
  2. MacBook Pro
Mobile Phone
  1. Android
Hi,

I have an DELL XPS 13-9333 with a Broadcom BCM94352Z wifi/BT chip. I applied these patches when they where released in this thread. It enabled my Bluetooth. But my problem is, it almost always "dies" after a sleep/wake.

Any ideas? One thing that I noticed was that it looks like I have two kexts in S/L/E. Is that correct?

drwxr-xr-x@3 root wheel 102 Dec 8 14:58 BrcmNonApple.kext
drwxr-xr-x@3 root wheel 102 Dec 14 18:29 BrcmPatchRAM.kext

/DS

Two kexts are correct, one is for uploading the firmware, the other for making the Apple Broadcom USB drivers match against non-Apple hardware.

Post system log of when the Bluetooth fails to wake. If necessary we can deploy a debug kext for you to get more info.
 
Joined
Jul 3, 2014
Messages
934
Motherboard
Dell XPS 9360 (KabyLake R)
CPU
Intel i7 8550U
Graphics
Intel UHD 620
Mac
  1. MacBook
  2. MacBook Pro
Mobile Phone
  1. Android
Okay - I get that. So I install the kext and then what? Since my chip is supported, it will auto find the best firmware and apply it?

I would take the plunge myself and just install it, but I do not want to just throw it in the folder and then be left without a booting system.

Yes, a firmware is configured. However if your device is in the non-tested section, it might require a firmware reconfiguration.
That we can do after you confirm.

If you want to be safe, use an external Clover USB to boot in order to inject the kext.
That is how I recover from development errors easily.
 
Joined
Jul 3, 2014
Messages
934
Motherboard
Dell XPS 9360 (KabyLake R)
CPU
Intel i7 8550U
Graphics
Intel UHD 620
Mac
  1. MacBook
  2. MacBook Pro
Mobile Phone
  1. Android
Okay, so I went ahead and installed this since I saw my device ID was on the supported list in v2. However, I still cannot pair my phone. My phone is listed in my bluetooth preferences because I was able to pair it with a third party USB, but I want to get it to work with just the wifi/BT card.

What am I missing?

Its showing version 4096, means no firmware was successfully uploaded.
Check the system logs to see what BrcmPatchRAM said.

We can configure the device specific firmware for your bluetooth and see if that helps.
 
Joined
Nov 15, 2010
Messages
2,638
Motherboard
AsRock Z370M ITX/ac
CPU
i7-8700K
Graphics
AMD 5700XT
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Mobile Phone
  1. iOS
Joined
May 22, 2011
Messages
1,035
Motherboard
ASUS TUF Z390 Plus Gaming
CPU
i9-9900K
Graphics
UHD 630
Mac
  1. iMac
Mobile Phone
  1. iOS
I just add kext to my extension folder. After restart my bluetooth doesn't work on the menu bar icon says "Bluetooth:Not Available".

My bluetooth is GYMLE.

On terminal Im getting this;
Code:
Last login: Fri Dec 19 02:31:22 on console
Murats-Mac:~ MuratOzgul$ sudo dmesg | grep -i brcm
Password:
BrcmPatchRAM: Version 0.5 starting.
BrcmPatchRAM: USB [0a5c:21e8 000272D9E8DD v274] "BCM20702A0" by "Broadcom Corp"
BrcmFirmwareStore: Retrieved cached firmware for "BCM20702A1_001.002.014.1443.1612_v5708".
BrcmPatchRAM: device request failed (0xe00002ed).
BrcmPatchRAM: Failed to reset the device (0xe00002bd).
BrcmPatchRAM: Unable to get device status (0xe0004061).
BrcmPatchRAM: Firmware upgrade completed successfully.
BrcmPatchRAM: Version 0.5 starting.
BrcmPatchRAM: USB [0a5c:21e8 000272D9E8DD v274] "BCM20702A0" by "Broadcom Corp"
BrcmFirmwareStore: Retrieved cached firmware for "BCM20702A1_001.002.014.1443.1612_v5708".
BrcmPatchRAM: device request failed (0xe00002ed).
BrcmPatchRAM: Failed to reset the device (0xe00002bd).
BrcmPatchRAM: Unable to get device status (0xe0004061).
BrcmPatchRAM: Firmware upgrade completed successfully.
Murats-Mac:~ MuratOzgul$
 
Joined
Nov 15, 2010
Messages
2,638
Motherboard
AsRock Z370M ITX/ac
CPU
i7-8700K
Graphics
AMD 5700XT
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Mobile Phone
  1. iOS
Thank you sir! I will attempt it this evening

Bad news. With 0.5a and 0.6, still no luck. I've attached my sudo code as well as my screenshot (this was with 0.6)

Mikes-Mac-Pro:~ MikeFrank$ sudo dmesg | grep -i brcm
Password:
AirPort_Brcm4360_P2PInterface::init name <awdl0> role 4
AirPort_Brcm4360_P2PInterface::attachToBpf name <awdl0> role 4 successful attach to bpf type 147
AirPort_Brcm4360_P2PInterface::init <awdl> role 4
 

Attachments

  • Screen Shot 2014-12-18 at 10.37.15 PM.png
    Screen Shot 2014-12-18 at 10.37.15 PM.png
    122.6 KB · Views: 266
Status
Not open for further replies.
Top