Contribute
Register

FakePCIID: Broadcom BCM57XX network OOB

Joined
Jul 3, 2014
Messages
930
Motherboard
Dell XPS 9360 (KabyLake R)
CPU
Intel i7 8550U
Graphics
Intel UHD 620
Mac
MacBook, MacBook Pro
Mobile Phone
Android
FakePCIID: BCM577XX as BCM57765 [Testers Required!]

T1hom7as,

I will have to do some tests regarding the cosmetic fix.
However when comparing to an iMac14,1 your results are identical, i.e. on an original iMac the same display test appears.

So ideally trying to fix the cosmetic issue moves away from the original Apple Mac behavior.
I will create some test plists to see what can be done for your request.

In the meanwhile it would be great if you can test the network throughput, performance, wake-on-lan etc.
 
Joined
Oct 20, 2010
Messages
120
Motherboard
Asus
CPU
i7
Graphics
GTX 660
Mac
iMac, MacBook, MacBook Air
Classic Mac
20th Anniv. Mac
Mobile Phone
Android, iOS
FakePCIID: BCM577XX as BCM57765 [Testers Required!]

I dont have the BCM57xxx, this is a snippet from my Atheros 9285 which shows the correct name in system profiler. Might help

<key>IOProviderMergeProperties</key>
<dict>
<key>IOName</key>
<string>pci168c,2a</string>
<key>compatible</key>
<string>pci168c,2a</string>
<key>model</key>
<string>Atheros 9285 802.11 b/g/n Wireless Network Adapter</string>
<key>name</key>
<string>pci168c,2a</string>
<key>revision-id</key>
<data>AQAAAA==</data>
</dict>
 
Joined
Jul 3, 2014
Messages
930
Motherboard
Dell XPS 9360 (KabyLake R)
CPU
Intel i7 8550U
Graphics
Intel UHD 620
Mac
MacBook, MacBook Pro
Mobile Phone
Android
FakePCIID: BCM577XX as BCM57765 [Testers Required!]

rals,

Thank you. Currently I am setting the model name through property merging with AppleMergeUSBNub.

Code:
 <key>model</key>
 <string>Broadcom NetLink BCM57785 Gigabit Ethernet PCIe</string>
However I think it does not happen early enough in the boot process.

Because in his IORegistry it looks like this:
Code:
 <key>model</key>
 <string>Broadcom 57765-B0</string>
A nearly equivalent adapter [14e4:1686] in original iMac14,1 looks like this:
Code:
  <key>model</key>
  <string>Broadcom 57766-A1</string>

If T1hom7as really wants to fix the issue, he could inject the "model" property for his device PCI0@0/RP01@1c0000/PXSX@0 through DSDT.

I believe that will surely work, I am just seeing if there are other possibilities also.

Rehabman, care to chip in here?
 
Joined
Jan 31, 2015
Messages
8
Motherboard
Yosemite
CPU
I3570K
Graphics
Dual AMD 7970 OC edition
Mac
MacBook Pro
Classic Mac
Mobile Phone
iOS
FakePCIID: BCM577XX as BCM57765 [Testers Required!]

Hope this is what you need. Let me know if not. I still do not understand what is that you are working. If you can explain to a noob I appreciate, what ever it is you just fix my weird freezes :headbang: at least for now. lets see in 24h
 

Attachments

Joined
Jul 3, 2014
Messages
930
Motherboard
Dell XPS 9360 (KabyLake R)
CPU
Intel i7 8550U
Graphics
Intel UHD 620
Mac
MacBook, MacBook Pro
Mobile Phone
Android
FakePCIID: BCM577XX as BCM57765 [Testers Required!]

BigBanc,

Your card is 14e4:16b1 NetLink BCM57781 Gigabit Ethernet PCIe.
It looks like it is loaded fine with the native unpatched AppleBCM5701Ethernet.kext.

I do believe FakePCIID injection is working great in this situation, we might be able to add more supported devices even.

What we are trying to accomplish is create an injector for many Broadcom network cards to work directly with the Apple provided drivers.
The advantage is that this injector does not require patching the original AppleBCM5701Ethernet.kext.
This means that you will not have a problem when a new update or version of OS X comes out, the injector will just keep working as-is.
Needless to say being able to remove all patches from a Hackintosh system will make it more stable and future proof.
So your Broadcom card will pretty much be working out of the box.

I am not sure if your freeze is related to your network card, because assuming the binary patch was done right, it should yield the same results.
You can check your system logs when a freeze occurs and raise a topic for the issue.

For T1hom7as it is different as he was using an alternate driver instead of the original AppleBCM5701Ethernet driver.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,716
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
FakePCIID: BCM577XX as BCM57765 [Testers Required!]

rals,

Thank you. Currently I am setting the model name through property merging with AppleMergeUSBNub.

Code:
 <key>model</key>
 <string>Broadcom NetLink BCM57785 Gigabit Ethernet PCIe</string>
However I think it does not happen early enough in the boot process.

Because in his IORegistry it looks like this:
Code:
 <key>model</key>
 <string>Broadcom 57765-B0</string>
A nearly equivalent adapter [14e4:1686] in original iMac14,1 looks like this:
Code:
  <key>model</key>
  <string>Broadcom 57766-A1</string>

If T1hom7as really wants to fix the issue, he could inject the "model" property for his device PCI0@0/RP01@1c0000/PXSX@0 through DSDT.

I believe that will surely work, I am just seeing if there are other possibilities also.

Rehabman, care to chip in here?
Trying to fix issues which are purely cosmetic is silly.

If someone really wants to, they can take care of whatever cosmetic issues giving them fits by editing their DSDT.
 
Joined
Jul 3, 2014
Messages
930
Motherboard
Dell XPS 9360 (KabyLake R)
CPU
Intel i7 8550U
Graphics
Intel UHD 620
Mac
MacBook, MacBook Pro
Mobile Phone
Android
FakePCIID: BCM577XX as BCM57765 [Testers Required!]

Rehabman,

I agree with you here. The network card behaving exactly like it is on the original iMac14,1 is the way it should be.

I will simplify the plist to handle only the required injection values.
This means I can group all AppleMergeNubUSB injections into one IOKit personality.

After that I will push it to the repository.
 
Joined
Jul 3, 2014
Messages
930
Motherboard
Dell XPS 9360 (KabyLake R)
CPU
Intel i7 8550U
Graphics
Intel UHD 620
Mac
MacBook, MacBook Pro
Mobile Phone
Android
FakePCIID: BCM577XX as BCM57765 [Testers Required!]

After the positive test results, I have committed the code and made a pull request for Rehabman's repo.

https://github.com/RehabMan/OS-X-Fake-PCI-ID/pull/8

It looks like the technique works fine, which means there is now an OOB solution for a wide range of Broadcom cards.
 
Top