Sniki
Moderator
- Joined
- Jan 5, 2016
- Messages
- 2,313
- Motherboard
- HP Elite 8300 SFF
- CPU
- i7-3770
- Graphics
- Intel HD 3000 | GTX 1650 LP
- Mac
- Mobile Phone
Im aware of this issue which i faced myself during testing on my DW1820A but mine is CN-096JNT model, mine only works with brcmfx-driver 1 property, no need for ASPM disable, no issue during installer, no kernel panics, even Continuity seems to work like with original Apple Card, will have to test the Instant Hotspot.dw1820 wifi: to get reliable wake up from sleep, I have to set "pci-aspm-default = 0"
I patch it in Clover with this, and it works:
View attachment 469476XML:<key>PciRoot(0)/Pci(0x1c,0x01)/Pci(0x0,0x0)</key> <dict> <key>pci-aspm-default</key> <integer>0</integer> </dict>
Porting it over to OpenCore is much more challenging than I expected ... I've tried this:
That's a 2 byte data field of 0x0000. It doesn't work like the clover config, and I end up with ASPM still enabled. I've tried 1 byte 0x00, and Integer of 0, because maybe it's a data type thing? None of the values sticks.XML:<key>PciRoot(0x0)/Pci(0x1C,0x1)/Pci(0x0,0x0)</key> <dict> <key>brcmfx-country</key> <string>#a</string> <key>brcmfx-driver</key> <integer>1</integer> <key>pci-aspm-default</key> <data> AAA= </data> </dict>
So I decided I'd clobber this field for other pci devices to see if I was just doing it wrong. I added an <integer>0</integer> to everything that has ASPM enabled. I get this outcome:
View attachment 469480
Opencore debug logging says they all succeed:
Code:09:234 00:002 OC: Setting devprop PciRoot(0x0)/Pci(0x1C,0x0):pci-aspm-default - Success 09:237 00:003 OC: Setting devprop PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0):pci-aspm-default - Success 09:239 00:002 OC: Setting devprop PciRoot(0x0)/Pci(0x1C,0x1):pci-aspm-default - Success 09:241 00:002 OC: Setting devprop PciRoot(0x0)/Pci(0x1C,0x1)/Pci(0x0,0x0):brcmfx-country - Success 09:243 00:002 OC: Setting devprop PciRoot(0x0)/Pci(0x1C,0x1)/Pci(0x0,0x0):brcmfx-driver - Success 09:246 00:002 OC: Setting devprop PciRoot(0x0)/Pci(0x1C,0x1)/Pci(0x0,0x0):pci-aspm-default - Success
So something is coming along after Opencore and re-enabling ASPM, or the "success" is a lie, or something else?
Obvious google searches are failing me. Anybody want to give me a hint?
Which model do you have ?
So about ASPM there was an issue listed on Acidanthera Bugtracker somewhere, i will link it later if i can find it.
I will upload a patched kext for this, the MacPeet Audio patch doesn't have WakeConfigData therefore there are issues after wake from sleep which i will fix them soon.I am having a strange problem with the audio.
I woke up the Thinkpad from sleep and started a video playback in the IINA app on built in speakers. There was no audio. I had to switch the audio device to Line out (was Internal speakers) and back to Internal speakers to get the sound working.
After a few minutes the audio dropped out. I had to switch it again to Line out and back to internal speakers. Then it worked OK for the 20 minutes I needed it.
Anyone with similar experience? I wonder what what the problem might be. I did not connect the audio jack at any point.