Contribute
Register

BrcmPatchRAM - Upload firmware into Broadcom Bluetooth USB devices

Status
Not open for further replies.
Thanks for the responses. Just an update.

I removed toledaARPT.kext and BTFirmwareuploader.kext from s/l/e. Bluetooth willow pair with my magic mouse and function. It will attempt to pair with my iPhone6 plus, but not connect.

The wifi is greyed out with the error, "no hardware installed". Originally, I used the toleda kext to get wifi functionality. I removed it and the BTFirmwareuploader.kext, see if there is a conflict with the BRCMPatchRAM.kext.

To sum it up.
BRCMPatchRAM.kext Bluetooth pairs and works with magic mouse, not iPhone. (same as BTFirmwareuploader.kext)

No wifi with BRCMPatchRAM.kext

Can get wifi with toledaARPT.kext (but will not share my internet, (ethernet), or work as an airport base station)

Thanks again,
dchaf
 
dchaf,

BrcmPatchRAM indeed does not give you WiFi, it enables Bluetooth only.

It works with Toleda's injector provided the injector used does not provide both WiFi + Bluetooth, but rather WiFi only. Its described in his guide.

For your device the Windows specific firmware is already configured, so there is nothing specific that can be done regarding the iPhone 6 pairing issue. Maybe when a new firmware comes out it can be used.

Does the iPhone 6 pair under Windows? Also anything shows in /var/log/system.log when the pairing fails?
 
Darkvoid,
Haven't yet loaded windows onto my machine. I have a dedicated Intel ssd, waiting, just haven't gotten around to it yet. BTW I am running Yosemite 10.10.1 and installed with unibeast/multibeast and chimera. I couldn't get clover to work.

I appreciate all your help. It's a project for me, I am learning a lot and enjoying the journey.

Thanks again,
dchaf
 
Kaminoreal,

The latest version of BrcmPatchRAM is now built against Mac OS X SDK 10.6 with deployment target 10.6.
This should work with Snow Leopard and newer out of the box.

It does load now, but with OSBundleLibraries corrected for Snow Leopard(example on modified source I posted), however the new xcode project still does not build with snow's xcode 3.2.6.(about 41 errors)
I cannot test for functionality since still in vacation, but noticed that on snow there is no BroadcomBluetoothHostControllerUSBTransport but BroadcomUSBBluetoothHCIController, so for snow support BrcmNonApple.kext will need some rework, I will test and see if worth the trouble.

Thanks for support.
 
Kaminoreal,

Thank you for testing it.

I am not too worried about it not building on older XCode, as long as it runs,

The OSBundleLibraries change I will merge into the existing code (if it doesn't break Yosemite).

BrcmNonApple should indeed be available in 2 versions then, for both newer and older OS X.

Since BrcmNonApple is now part of the build project, this can maybe be done with a compile definition to place the correct data in the plist when building.

Update:

I do not see any change in OSBundleLibraries in either BrcmPatchRAM or BrmNonApple Info.plist.
Also I do not see the com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport replacement.

Maybe your archive is not updated properly? Can you let me know what change was made?
 
Kaminoreal,
Update:

I do not see any change in OSBundleLibraries in either BrcmPatchRAM or BrmNonApple Info.plist.
Also I do not see the com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport replacement.

Maybe your archive is not updated properly? Can you let me know what change was made?

Sorry, indeed on the uploaded zip I added originals, for snow I used:
Code:
	<key>OSBundleLibraries</key>
	<dict>
		<key>com.apple.iokit.IOUSBFamily</key>
		<string>1.8</string>
		<key>com.apple.kpi.iokit</key>
		<string>10.0</string>
		<key>com.apple.kpi.libkern</key>
		<string>10.0</string>
		<key>com.apple.kpi.mach</key>
		<string>10.0</string>
	</dict>

As for the BroadcomUSBBluetoothHCIController, I need first to test and see if works, if not then snow will be a lost cause.
 
Kaminoreal,

Ok. I will test from my side if downgrading the OSBundleLibraries to the Snow Leopard versions works fine.

And I will await your testing results for BroadcomUSBBluetoothHCIController.

I have ordered some BCM20702A based bluetooth USB sticks which should be coming in shortly.
So I will be able to test those in either a VM with Snow Leopard or on my MacBook with Lion.
 
I'm not using the GenricUSBXHCI.kext because when I tried it, my computer freeze every time I plugged a usb storage stick. Right now I'm using just the native apple drivers.

here are my wake up logs so you can see how of ten it wakes up by itself:

Dec 30 04:44:02 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 04:45:06 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 04:46:10 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 04:47:13 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 04:48:17 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 04:49:22 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 04:50:27 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 04:51:31 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 04:52:35 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 04:53:40 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 04:54:44 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 04:55:49 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 04:56:54 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 04:57:57 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 04:59:02 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 05:00:05 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 05:01:09 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 05:02:12 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 05:03:16 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 05:04:20 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 05:05:17 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 05:06:27 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 05:07:30 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 05:08:34 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 08:54:59 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 19:01:02 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 19:11:09 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 19:39:51 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 19:55:50 iMac kernel[0] <Notice>: Wake reason: XHC1
Dec 30 20:04:28 iMac kernel[0] <Notice>: Wake reason: XHC1

Any help will be really appreciated since I had to uninstall the BrcmPatchRAM to avoid the wake up issue and now the magic mouse and apple wireless keyboard not always works like they used with your patch.

Here are my logs after uninstalling the patch (Note that all those wakes were induced and not automatically)


Dec 31 19:33:19 iMac kernel[0] <Notice>: Wake reason: XHC
Jan 1 12:01:56 iMac kernel[0] <Notice>: Wake reason: XHC
Jan 1 13:18:31 iMac kernel[0] <Notice>: Wake reason: XHC
Jan 1 13:20:08 iMac kernel[0] <Notice>: Wake reason: XHC
Jan 1 14:38:40 iMac kernel[0] <Notice>: Wake reason: XHC

Hey Darkvoid, any chance you can help me out using your patch? I posted the logs as you requested.

Thanks in advance and have a happy new year!
 
gus,

Sorry but your problem is not related to BrcmPatchRAM.
You need to fix your USB to work properly, most likely through DSDT patching.

Open a thread for that in the relevant forum (either desktop or laptop).
 
Thank you for your response. I ran the script you provided "
Code:
[COLOR=#000000]sudo cat /var/log/system.log | grep -i brcm[fp][/COLOR]
" and here are the logs for it:

Jan 5 15:25:33 localhost kernel[0]: BrcmPatchRAM [0a5c:21e8]: Version 0.6a starting.
Jan 5 15:25:33 localhost kernel[0]: BrcmPatchRAM [0a5c:21e8]: USB [000272CCDAE2 v274] "BCM20702A0" by "Broadcom Corp"
Jan 5 15:25:33 localhost kernel[0]: BrcmFirmwareStore: Retrieved firmware for firmware key "BCM20702A1_001.002.014.1443.1459_v5555".
Jan 5 15:25:33 localhost kernel[0]: BrcmFirmwareStore: Decompressed firmware (29726 bytes --> 70001 bytes).
Jan 5 15:25:38 localhost kernel[0]: BrcmPatchRAM [0a5c:21e8]: device request failed ("Unknown" 0xe000404f).
Jan 5 15:25:38 localhost kernel[0]: BrcmPatchRAM [0a5c:21e8]: Failed to reset the device ("Unable to allocate memory" 0xe00002bd).
Jan 5 15:25:38 localhost kernel[0]: BrcmPatchRAM [0a5c:21e8]: Unable to get device status ("Unknown" 0xe0004061).
Jan 5 15:25:38 localhost kernel[0]: BrcmPatchRAM [0a5c:21e8]: Firmware upgrade completed successfully.
Jan 5 15:25:38 localhost kernel[0]: BrcmPatchRAM [0a5c:21e8]: Version 0.6a starting.
Jan 5 15:25:38 localhost kernel[0]: BrcmPatchRAM [0a5c:21e8]: USB [000272CCDAE2 v274] "BCM20702A0" by "Broadcom Corp"
Jan 5 15:25:38 localhost kernel[0]: BrcmFirmwareStore: Retrieved cached firmware for "BCM20702A1_001.002.014.1443.1459_v5555".
Jan 5 15:25:39 localhost kernel[0]: BrcmPatchRAM [0a5c:21e8]: Firmware upgrade completed successfully.


I Was wondering if you can tell me if the BrcmPatchRAM is working like it should, so then I can work something out with the usb in order to fix the auto wake up problem after installing the patch.

Thanks in advance for your help :)
 
Status
Not open for further replies.
Back
Top