FakePCIID: Broadcom BCM57XX network OOB

Discussion in 'Network' started by the-darkvoid, Feb 2, 2015.

  1. the-darkvoid

    the-darkvoid

    Joined:
    Jul 3, 2014
    Messages:
    819
    Mobo:
    Dell XPS 9360 (KabyLake R)
    CPU:
    Intel i7 8550U
    Graphics:
    Intel UHD 620
    Mac:
    MacBook, MacBook Pro
    Mobile Phone:
    Android
    Feb 2, 2015 at 2:06 PM #1
    the-darkvoid

    the-darkvoid

    Joined:
    Jul 3, 2014
    Messages:
    819
    Mobo:
    Dell XPS 9360 (KabyLake R)
    CPU:
    Intel i7 8550U
    Graphics:
    Intel UHD 620
    Mac:
    MacBook, MacBook Pro
    Mobile Phone:
    Android
    BCM57XX on OS X

    A wide range of Broadcom network adapters can be supported OOB on OS X, without any kext patches required.
    This will allow installing OS X updates without losing network functionality due to the patches changing.

    It currently supports the following Broadcom devices:


    • Broadcom NetXtreme BCM5700 Gigabit Ethernet [14e4:1644]
    • Broadcom NetXtreme BCM5701 Gigabit Ethernet PCIe [14e4:1645]
    • Broadcom NetXtreme BCM5702 Gigabit Ethernet PCIe [14e4:1646]
    • Broadcom NetXtreme BCM5703 Gigabit Ethernet PCIe [14e4:1647]
    • Broadcom NetXtreme BCM5717 Gigabit Ethernet PCIe [14e4:1655]
    • Broadcom NetXtreme BCM5717 Gigabit Ethernet PCIe [14e4:1665]
    • Broadcom NetXtreme BCM5718 Gigabit Ethernet PCIe [14e4:1656]
    • Broadcom NetXtreme BCM5719 Gigabit Ethernet PCIe [14e4:1657]
    • Broadcom NetXtreme BCM5725 Gigabit Ethernet PCIe [14e4:1643]
    • Broadcom NetXtreme BCM5727 Gigabit Ethernet PCIe [14e4:16f3]
    • Broadcom NetXtreme BCM5761 10/100/1000BASE-T Ethernet [14e4:1688]
    • Broadcom NetXtreme BCM5762 Gigabit Ethernet PCIe [14e4:1687]
    • Broadcom NetXtreme BCM57760 Gigabit Ethernet PCIe [14e4:1690]
    • Broadcom NetXtreme BCM57764 Gigabit Ethernet PCIe [14e4:1642]
    • Broadcom NetXtreme BCM57767 Gigabit Ethernet PCIe [14e4:1683]
    • Broadcom NetLink BCM57781 Gigabit Ethernet PCIe [14e4:16b1]
    • Broadcom NetXtreme BCM57782 Gigabit Ethernet PCIe [14e4:16b7]
    • Broadcom NetLink BCM57785 Gigabit Ethernet PCIe [14e4:16b5] -- Confirmed
    • Broadcom NetXtreme BCM57786 Gigabit Ethernet PCIe [14e4:16b3] -- Confirmed
    • Broadcom NetXtreme BCM57787 Gigabit Ethernet PCIe [14e4:1641]
    • Broadcom NetLink BCM57788 Gigabit Ethernet PCIe [14e4:1691]
    • Broadcom NetLink BCM57790 Gigabit Ethernet PCIe [14e4:1694]
    • Broadcom NetLink BCM57791 Gigabit Ethernet PCIe [14e4:16b2]
    • Broadcom NetLink BCM57795 Gigabit Ethernet PCIe [14e4:16b6]
    • Broadcom NetLink BCM5785 Gigabit Ethernet [14e4:1699]
    • Broadcom NetLink BCM5785 Fast Ethernet [14e4:16a0]
    • Broadcom NetLink BCM5787M Gigabit Ethernet PCI Express [14e4:1693]
    • Broadcom Network Adapter [14e4:1689]

    Note: These devices were obtained from the Broadcom Tigon3 driver and should be compatible.
    I believe more devices could be supported in the future, depending on feedback.


    Installation

    Use Clover kext injection or place the attached kexts (FakePCIID.kext and FakePCIID_BCM577XX_as_BCM57765.kext) in /System/Library/Extensions and rebuild the kext cache.

    Ensure your AppleBCM5701Ethernet.kext is vanilla and any previous Clover patches for the BCM577XX are removed.

    Information & Download

    For now the initial version is attached to this post, however the home of FakePCIID should have this injector available in the future.

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

    Troubleshooting

    In case it does not work, it would be helpful providing an IORegistry dump to debug issues.
     

    Attached Files:

  2. T1hom7as

    T1hom7as

    Joined:
    Feb 26, 2012
    Messages:
    865
    Mobo:
    Acer Aspire 5750G
    CPU:
    Intel Core i7 2630QM @ 2GHz
    Graphics:
    NVIDIA GeForce GT 540M + Intel HD Graphics 3000
    Mobile Phone:
    iOS
    Feb 2, 2015 at 8:50 PM #2
    T1hom7as

    T1hom7as

    Joined:
    Feb 26, 2012
    Messages:
    865
    Mobo:
    Acer Aspire 5750G
    CPU:
    Intel Core i7 2630QM @ 2GHz
    Graphics:
    NVIDIA GeForce GT 540M + Intel HD Graphics 3000
    Mobile Phone:
    iOS
    FakePCIID: BCM577XX as BCM57765 [Testers Required!]

    I have BCM57785 and was using a Kext (attached) which injected the NIC, however never actually tested.
    Both the kext and your FakePCIID's show the NIC, but the kext that I was already using looks like it injects better (cosmetically).
    As I said I am yet to actually test as I don't need Ethernet at any point.
     

    Attached Files:

  3. the-darkvoid

    the-darkvoid

    Joined:
    Jul 3, 2014
    Messages:
    819
    Mobo:
    Dell XPS 9360 (KabyLake R)
    CPU:
    Intel i7 8550U
    Graphics:
    Intel UHD 620
    Mac:
    MacBook, MacBook Pro
    Mobile Phone:
    Android
    Feb 3, 2015 at 3:08 AM #3
    the-darkvoid

    the-darkvoid

    Joined:
    Jul 3, 2014
    Messages:
    819
    Mobo:
    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,

    Just checked the driver you attached. That is actually a custom driver written from scratch for the Broadcom.

    Original source: http://www.insanelymac.com/forum/to...5m-bcm5787m-and-bcm5906m-nic-driver-3264-bit/

    While its a great option, it might not have the same performance characteristics as the original Apple driver. Also the original Apple driver seems to be much more up to date.

    Regarding the cosmetic differences, I will take a look to see what I can do.
    I believe that can be easily resolved, so it shows the nice 'Product name'.

    I will have to look at your IORegistry dumps on my Mac, but the initial results from your test look good.

    Interesting would be to test the actual network link and also performance between the two drivers.
     
  4. the-darkvoid

    the-darkvoid

    Joined:
    Jul 3, 2014
    Messages:
    819
    Mobo:
    Dell XPS 9360 (KabyLake R)
    CPU:
    Intel i7 8550U
    Graphics:
    Intel UHD 620
    Mac:
    MacBook, MacBook Pro
    Mobile Phone:
    Android
    Feb 3, 2015 at 4:47 PM #4
    the-darkvoid

    the-darkvoid

    Joined:
    Jul 3, 2014
    Messages:
    819
    Mobo:
    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,

    Please try version "test2". I have taken up your feedback about cosmetic display and added that to the driver.
    It should now display the product name properly. Additionally many more Broadcom devices were added.

    Much appreciated if you can give it another try.

    Also other testers with different Broadcom hardware are still required to ensure all is working properly.
     
  5. T1hom7as

    T1hom7as

    Joined:
    Feb 26, 2012
    Messages:
    865
    Mobo:
    Acer Aspire 5750G
    CPU:
    Intel Core i7 2630QM @ 2GHz
    Graphics:
    NVIDIA GeForce GT 540M + Intel HD Graphics 3000
    Mobile Phone:
    iOS
    Feb 3, 2015 at 5:07 PM #5
    T1hom7as

    T1hom7as

    Joined:
    Feb 26, 2012
    Messages:
    865
    Mobo:
    Acer Aspire 5750G
    CPU:
    Intel Core i7 2630QM @ 2GHz
    Graphics:
    NVIDIA GeForce GT 540M + Intel HD Graphics 3000
    Mobile Phone:
    iOS
    FakePCIID: BCM577XX as BCM57765 [Testers Required!]

    Still looks the same.
    All tests are done with the Clover DSDT patches FixLAN_2000. But the only difference is injecting the PCI information.
    When this is resolved, would you be able to implement a Clover patch on the fly/FakeID patch so that we wouldn't have to install additional kexts?
     

    Attached Files:

    • Screen Shot 2015-02-03 at 17.01.58.png  (99.6 KB, 567 views)
    • Screen Shot 2015-02-03 at 17.01.02.png  (112.4 KB, 530 views)
  6. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    164,915
    Mobo:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Feb 3, 2015 at 5:12 PM #6
    RehabMan

    RehabMan Moderator

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

    There is nothing wrong with using additional kexts in a situation like this. In fact, in many cases, it is preferable to using patches.
     
  7. T1hom7as

    T1hom7as

    Joined:
    Feb 26, 2012
    Messages:
    865
    Mobo:
    Acer Aspire 5750G
    CPU:
    Intel Core i7 2630QM @ 2GHz
    Graphics:
    NVIDIA GeForce GT 540M + Intel HD Graphics 3000
    Mobile Phone:
    iOS
    Feb 3, 2015 at 5:21 PM #7
    T1hom7as

    T1hom7as

    Joined:
    Feb 26, 2012
    Messages:
    865
    Mobo:
    Acer Aspire 5750G
    CPU:
    Intel Core i7 2630QM @ 2GHz
    Graphics:
    NVIDIA GeForce GT 540M + Intel HD Graphics 3000
    Mobile Phone:
    iOS
    FakePCIID: BCM577XX as BCM57765 [Testers Required!]

    IMO just clears things up a bit.
     
  8. the-darkvoid

    the-darkvoid

    Joined:
    Jul 3, 2014
    Messages:
    819
    Mobo:
    Dell XPS 9360 (KabyLake R)
    CPU:
    Intel i7 8550U
    Graphics:
    Intel UHD 620
    Mac:
    MacBook, MacBook Pro
    Mobile Phone:
    Android
    Feb 3, 2015 at 6:11 PM #8
    the-darkvoid

    the-darkvoid

    Joined:
    Jul 3, 2014
    Messages:
    819
    Mobo:
    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,

    Can you please post the ioregistry of "test2"?
    I want to figure out why the model name is not showing as expected.
    It should have shown in system profiler.
     
  9. T1hom7as

    T1hom7as

    Joined:
    Feb 26, 2012
    Messages:
    865
    Mobo:
    Acer Aspire 5750G
    CPU:
    Intel Core i7 2630QM @ 2GHz
    Graphics:
    NVIDIA GeForce GT 540M + Intel HD Graphics 3000
    Mobile Phone:
    iOS
    Feb 3, 2015 at 6:13 PM #9
    T1hom7as

    T1hom7as

    Joined:
    Feb 26, 2012
    Messages:
    865
    Mobo:
    Acer Aspire 5750G
    CPU:
    Intel Core i7 2630QM @ 2GHz
    Graphics:
    NVIDIA GeForce GT 540M + Intel HD Graphics 3000
    Mobile Phone:
    iOS
    FakePCIID: BCM577XX as BCM57765 [Testers Required!]

    Attached:
     

    Attached Files:

  10. BigBanc

    BigBanc

    Joined:
    Jan 31, 2015
    Messages:
    8
    Mobo:
    Yosemite
    CPU:
    I3570K
    Graphics:
    Dual AMD 7970 OC edition
    Mac:
    MacBook Pro
    Mobile Phone:
    iOS
    Feb 3, 2015 at 9:31 PM #10
    BigBanc

    BigBanc

    Joined:
    Jan 31, 2015
    Messages:
    8
    Mobo:
    Yosemite
    CPU:
    I3570K
    Graphics:
    Dual AMD 7970 OC edition
    Mac:
    MacBook Pro
    Mobile Phone:
    iOS
    FakePCIID: BCM577XX as BCM57765 [Testers Required!]

    Hi,

    I would like to help out on this since I have a Broadcom BCM57781. I have one problem which is I do not have a vanilla version of the kext for my BCM57781. I load the one on this webpage http://www.insanelymac.com/forum/to...atch-the-kext-for-ml-1085/page-4#entry2106396 . To see if I can get internet and connect to the appstore. While that one work it make my build freeze after 30 to 40 mins of use. Can you provide me a link to the vanilla BCM57781?. thanks.

    PS.. in that link there us a post about FakePCIID, am assuming that is you right?
     

Share This Page