Contribute
Register

DW1830 Bluetooth not available (power saving issue?)

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,088
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Here you have!
Why did you change this:
Code:
                Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake
                {
                    Return (GPRW (0x69, 0x04))
                }
To this:
Code:
                Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake
                {
                    Return (GPRW (0x09, 0x04))
                }
It is so obviously a wrong patch, that I stopped looking for other issues...
 
Joined
Mar 9, 2013
Messages
115
Motherboard
Dell XPS 13 9360
CPU
Intel i7-8550U
Graphics
Intel HD620
Why did you change this:
Code:
                Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake
                {
                    Return (GPRW (0x69, 0x04))
                }
To this:
Code:
                Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake
                {
                    Return (GPRW (0x09, 0x04))
                }
It is so obviously a wrong patch, that I stopped looking for other issues...
I can find
Code:
Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x09, 0x04))
                }
only on Device RP05. All other devices have Return (GPRW (0x69, 0x04)).

I have to change that to Return (GPRW (0x69, 0x04))?
Or did you meant the opposite (change all 0x69 to 0x09)?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,088
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,088
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Joined
Mar 9, 2013
Messages
115
Motherboard
Dell XPS 13 9360
CPU
Intel i7-8550U
Graphics
Intel HD620
Did you completely re-patch from fresh extract?
Done now. Extracted everything, fixed PARSE-OP IF, applied "recommended patches" from the guide, patched BRT6 Method for brightness keys.
In this debug you see BT card working and discovered as BCM920703 (because I'm on AC). Now I will sleep -> resume in battery and edit this post to tell you if there is still the BT issue.

EDIT: BT issue still there (attached a new "ioreg-2.ioreg" to show you)
 

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,088
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Done now. Extracted everything, fixed PARSE-OP IF, applied "recommended patches" from the guide, patched BRT6 Method for brightness keys.
In this debug you see BT card working and discovered as BCM920703 (because I'm on AC). Now I will sleep -> resume in battery and edit this post to tell you if there is still the BT issue.

EDIT: BT issue still there (attached a new "ioreg-2.ioreg" to show you)
The ioreg-2.ioreg shows no BT device on the USB bus.

Other notes:
- SMBUS Fix not applicable to your hardware
- should apply only one "OS Check Fix" patch, not multiple
- _WAK fix not applicable to your version of macOS (read the comments in the patch)
- HPET Fix not needed
- you should try without "IRQ Fix" as well (sometimes not needed)
- you could use config.plist/ACPI/DSDT/Fixes/FixMutex=true instead of patching DSDT for Mutex...
- might try SMBIOS MacBookPro11,1
- model name of BT controller likely changes once firmware is loaded (you can check by doing cold boot with no firmware loader)
 
Last edited:
Joined
Mar 9, 2013
Messages
115
Motherboard
Dell XPS 13 9360
CPU
Intel i7-8550U
Graphics
Intel HD620
The ioreg-2.ioreg shows no BT device on the USB bus.

Other notes:
- SMBUS Fix not applicable to your hardware
- should apply only one "OS Check Fix" patch, not multiple
- _WAK fix not applicable to your version of macOS (read the comments in the patch)
- HPET Fix not needed
- you should try without "IRQ Fix" as well (sometimes not needed)
- you could use config.plist/ACPI/DSDT/Fixes/FixMutex=true instead of patching DSDT for Mutex...
- might try SMBIOS MacBookPro11,1
- model name of BT controller likely changes once firmware is loaded (you can check by doing cold boot with no firmware loader)
Hi! Have done all you said (extracted DSDT again, applied only RTC patch and Brightness Key patch + added FixMutex in config.plist). Then I removed BrcmFirmwareRepo and BrcmPatch2. Of course BT is not working, but as you can see from the ioreg attached it is discovered as BCM2045A0.

The ioreg-2.ioreg shows no BT device on the USB bus.
Yes, but from ioreg you can see the device BCM2045A0 WAS DETECTED after sleep, then as soon as I tried to connect my AirPods it disappeared. If I don't connect anything it spontaneously disappear after some minutes. But this ONLY when it's on battery!
I think this is caused by a failure of BrcmRAM2 to inject the BT firmware, but no log is shown in system.log so I'm not sure.
Recap:
  • Device is detected as BCM2045A0 when come out from sleep while in battery --> BT doesn't work properly
  • Device is detected as BCM920703 when come out from sleep while on AC --> BT works with zero issue

So, the question is, why it works when on AC and does not when on battery? That's so weird.
Thank you for everything! :)

Ps. without BrcmPatchRAM device is discovered as BCM2045A0 even when on AC. So must be BrcmPatchRAM issue. Or Am I wrong?

EDIT: With BrcmPatchRAM2 and BrcmFirmwareRepo after cold clean boot device is always discovered as BCM2045A0 (no matter if is AC or batter), and it works. It's only after sleep that BCM2045A0 doesn't work for some reason. After sleep device does work if laptop is on AC and BT is then discovered as BCM920703
 

Attachments

Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,088
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Yes, but from ioreg you can see the device BCM2045A0 WAS DETECTED after sleep,
Red indicates present at one time, then not present.
 
Joined
Mar 9, 2013
Messages
115
Motherboard
Dell XPS 13 9360
CPU
Intel i7-8550U
Graphics
Intel HD620
Red indicates present at one time, then not present.
Yes. Right after sleep it's not red. Then it becomes red after 2 mins or as soon as I try to connect something. But only when I wake up while on battery, because BT is detected as BCM2045A0 when on battery and does not work properly.
Again, if I wake up on AC then BT is detected as BCM920703 and works properly.
 
Top