Mac OS X on x86 Hardware 2008–2024 Technical Archive
InfiniteMac OSx86 › OSx86 Core & 10.X › BCM5754/M,BCM5755/M,BCM5787/M,BCM5906/M NIC driver for 10.6 …
273,637 reads · 2011-02-12 – 2012-08-23
Dossier 10.X Core

BCM5754/M,BCM5755/M,BCM5787/M,BCM5906/M NIC driver for 10.6 (32/64)

10.6.X Broadcom NIC driver for BCM5754/M,BCM5755/M,BCM5787/M,BCM5906/M (32/64) i've decided to scratch an itch and develop a driver for my nic(5787m). Although there has been a working driver for the card, it is a hexedited version which i…

Primary Author
@adlan Published 2011-02-12
Collection
OSx86 Core & 10.X
Archival Footprint
273,637 historical reads · 81 curated field notes (from 125 dispatches) · 2011-02-12 – 2012-08-23
Credited Voices (61)
@adlan (36)@fyooo (7)@Astarael (6)@rals2007 (4)@ludacrisvp (3)@VIVXIX (3)@cephalopod (3)@quinielascom (2)@Dabluest (2)@abiogenesis (2)@tmacyunn (2)@ronin510 (2)@FredWst (2)@majamudo (2)@waldrondigital (2)@righteye (2)+45 more

10.6.X Broadcom NIC driver for BCM5754/M,BCM5755/M,BCM5787/M,BCM5906/M (32/64)

i've decided to scratch an itch and develop a driver for my nic(5787m). Although there has been a working driver for the card, it is a hexedited version which i thought is not a permanent solution plus no source code is accessible. well, if it did, this project wouldn't exist .

This driver is implemented based on the BCM5722 Programmer's Guide provided in Broadcom's open source developer resource. Additional information is gleaned from Linux(tg3) and FreeBSD(if_bge) driver. Since the manual covers more than one model, I decided to include support for some of the models documented.

It should support the following models:

  1. BCM5722
  2. BCM5754
  3. BCM5754M
  4. BCM5755
  5. BCM5755M
  6. BCM5787
  7. BCM5787M #
  8. BCM5906 #
  9. BCM5906M #

# - tested

Features not implemented as of this release:

  • Wake-on-LAN

Installation

Install to /System/Library/Extensions.

Either manually copy it to S/L/E and repair permissions or simply use KextWizard (k exts.com/view/1068-latest_kext_wizard_from_janek202.html) (kexts.com mirror)

Issues

Please report any issues you found at https://github.com/adlan/BCM5722D/issues ↗

Contributing

Source code is available at https://github.com/adlan/BCM5722D ↗

Credits

  • broadcom for releasing the programmer's guide
  • authors of Linux(tg3) and FreeBSD(if_bge) driver
  • early beta testers from insanelymac forum (acero,Hacktrix2006,quadomatic,queshaolangman,Zprood)

Disclaimer
This driver is neither supported nor endorsed by Broadcom. Zombies may invade your house and I take no responsibility for whatever happens. Use at your own risk

Update
Fix device detection problem affected to those who have cards with alphabets in its device id(5722,5754,5755,5787). Thanks to FredWst (osx 86.co/member.php?u=90020393) for spotting the culprit

enjoy!

Author Updates & Technical Revisions

Follow-up dispatches by @adlan

Author Update #2 @adlan 2011-02-17 ↳ Re: @pat98usb
@pat98usbCan you make it work for also for broadcom bmc57780 ,, pci14e4,1692

sorry, i'm afraid that is not possible for me now. I'll release the source code, so anybody interested can try to work on it if possible.

Author Update #3 @adlan 2011-02-17 ↳ Re: @quinielascom
@quinielascomThanks seem work fine, tested with BCM5787M. Is possible set your driver to display nothing in system log ? In my system log I have: BCM5722D (Build date/time: Feb 11 2011 16:21:32) BCM5722D (setupDriver:920): MSI index on 1 BCM5722D (resetAdapter:144): 4B657654 to B49A89AB in 2687 iterations my_name_adlan_BCM5722D: Model: BCM5787M…

no , i'll upload a non-chatty version later.
thank you for testing!

Author Update #4 @adlan 2011-03-06 ↳ Re: @webwolf
@webwolfI have a Dell XPS m1330, Hardware Info reports a 5906M network card, but I tried to install your driver without success: I can't see any new interface in System Preferences / Network. In /var/log the only mention I found is in system.log: com.apple.kextd[10]: BCM5722D.kext has no Info.plist file. com.apple.kextcache[591]:…

from the log, I see the the kext failed to load because there is no Info.plist file, can you verify that the installed kext does indeed not contain Info.plist? if it is, try removing and reinstalling the kext? verify the downloaded kext too.

Terminal,
ls /System/Library/Extensions/BCM5722D.kext/Contents

Author Update #5 @adlan 2011-03-06 ↳ Re: @adminio
@adminioThanks! I have a Acer5315 w/BCM5906M works!

glad to hear that

@DabluestYou got my 5906M card working (even in Lion)! I'm almost speechless. I never thought that would happen! You rock! Thank you.

oooh, on Lion too? great! hey, where did you get that? :-$

Author Update #6 @adlan 2011-03-14 ↳ Re: @abiogenesis
@abiogenesisOMG i've found this thread and I'm ruined. Because I was writing my own driver for bcm5906m too I started reading 5722-PG101-R.pdf and if_bge.c in January and just today got working rx and tx without checksum offloading support, multicast and power state switching. And now I don't know what to do, either to delete my…

ugh, sorry to hear that,
initially, i developed this driver for my card(5787m), since bcm5906 is also documented in the manual, i decided to support the model.

since you have started, don't stop! just finish it, take this as an exercise for you, it gives you experience and it can be beneficial to you and the community in the future. surely it seems like a waste of time, but it's your choice. if it were for me, i would go for that route

Author Update #7 @adlan 2011-03-16 ↳ Re: @rals2007
@rals2007adlan Superb! Better to have a log with only, my_name_adlan_BCM5722D: Model: BCM5787M NetLink (TM) Gigabit Ethernet my_name_adlan_BCM5722D: Ethernet address 00:11:22:33:44:55 This way, much cleaner.

i've uploaded the non-chatty version.

Author Update #8 @adlan 2011-03-17 ↳ Re: @abiogenesis
@abiogenesisThanks to your code I've fixed a couple of my bugs and I think I've found one in your setMulticastList function. Here, according to 5722-PG101-R.pdf, crc should be calculated for every address in the array, so it would be "addrs + i" or "&addrs".

my bad, how could I missed that
thanks for pointing that out

Author Update #9 @adlan 2011-03-20 ↳ Re: @Medienmensch
@Medienmenschis it possible to make a Driver for BCM4357 rev1 ? I have a Lenovo G560 with this Wlan Card. That would be so great! And if not, what Wlan Card would you recomend me to buy for use in osx?

right now, all i can say as is it's not possible. no public api documentation is available and also i don't know if any datasheet/programmer manual/open source driver is available for that model.

I recommend buying external wireless usb adapter and I personally use dlink dwa-110. you can find more supported models in the Hardware Compatibility List at OSx86 project wiki ↗

Author Update #10 @adlan 2011-03-25 ↳ Re: @tmacyunn
@tmacyunnHi adlan, I have a problem in the 10.6.7, when I put the laptop to sleep for a hour or a little longer the driver can't work, network disconnect. After using Kextload command to unload and reload it work come back. Is it a problem of system ? maybe we should compile it in the 10.6.7, I have try repair permissions and rebuild kernel…

I'll investigate this further. Can you provide the log message after waking up from sleep?

For the warning message, you can just ignore it as there are some conversion which requires a 64bit value to be broken into 2 32bit value to fit it into the hardware registers.

Author Update #11 @adlan 2011-04-07 ↳ Re: @Astarael
@AstaraelI have just tested your kext - it makes my BCM5787M work. Moreover in "System Profiler" I can see correct information about the card (while using 10.6.3 modified BCM5701 plugin i got pci14e4,1693 instead of real name despite of DSDT patches I added). But there's one problem - after loading the kext my system slowed down a lot. I…

hi,
can you try this kext,

cl .ly/3e3l2N2t1n242a3O0T0I

and send me the log? take the line starting with BCM5722D

PS no problem, me too

Author Update #12 @adlan 2011-04-16 ↳ Re: @Domenic211
@Domenic211I've got an Acer Aspire 2920 with broadcom BCM5787M. I tried to add the file in attachment of this post "BCM5722D.kext" in system\library\extesion but after reboot my lan still don't work... . PC: Acer Aspire 2920 ( Intel Core 2 Duo chipset: intel 965) Mac Os X: 10.6.6i By hazard p.s.: I have also tried to install max os x 10.6.2 but…

hi,

usually that error message pops up when kext doesn't have the proper permission. To fix this, you need to change the kext permission

either run disk utility then repair permission

or in terminal,

cd /System/Library/Extensions
sudo chmod -R 755 BCM5722D.kext
sudo chown -R 0:0 BCM5722D.kext

a simpler solution is to install using Kext Helper (k exts.com/downloads.php?do=file&id=250) (as of this reply, the main site is currently down. the link points to kexts.com download)

Author Update #13 @adlan 2011-04-19 ↳ Re: @Astarael

sorry for the delay, sometimes i didn't notice new post on this thread.

@AstaraelHi, sorry it took me so long, I've been very busy recently. Anyway, I placed the kext you gave me in /S/L/E, then chmod and chown it and loaded it with kextload. This is what I got in system Console: 11-04-18 18:13:12 sudo[255] astarael : TTY=ttys000 ; PWD=/Users/astarael ; USER=root ; COMMAND=/sbin/kextload…

did the problem still persist?
is that the only message logged for the kext? and after that your system starts slowing down?

PS, yeah, kexthelper freeze on exit that it requires force quitting, though i didn't bother looking for another since the app still does what it should do . Anyway thank you for the advice, I'll try the app you mentioned and update the first post.

Author Update #14 @adlan 2011-04-19 ↳ Re: @scritchy
@scritchyI have device 14e4:167b Broadcomm 5755 onboard nic on an hp xw6600 machine. The kext appears to fail to do anything at all. There is no mention of it in any of the logs in var/log i've tried deleting and reinstalling the kext with both kext helper b7 and kext wizard, and rebuilding kext cache. I've tried using the zip file attachee to…

try as what Astarael said, try loading the kext manually, and look for any fail message logged. if the kext is loading, it should at least log a build date/time message.

actually there has been a report on the same behavior as this. i'm still investigating what causes this problem and most likely come to a dead end.

btw, do you have a vanilla or distro install?

Author Update #15 @adlan 2011-04-19 ↳ Re: @Astarael
@AstaraelI didn't wan to say it to early, but now it seems to be fine... Somehow The kext is loaded since about 24 hours and slow-down event didn't occur. At least so far While searching BCM in Console I got more results now. These is all I got since I have loaded the kext. 11-04-18 18:13:12 sudo[255] astarael : TTY=ttys000 ;…

that's what i want to hear!

..
11-04-19 14:39:59	kernel	BCM5722D (setPowerState:84): Changing power state from 1 to 0
11-04-19 14:39:59	kernel	BCM5722D (setPowerState:84): Changing power state from 0 to 1
..
11-04-19 14:52:49	kernel	BCM5722D (setPowerState:84): Changing power state from 1 to 0
11-04-19 14:53:03	kernel	BCM5722D (setPowerState:84): Changing power state from 0 to 1

regarding the log message, i'm quite curious of what is happening.. seeing a lot of sudden power state changes and didn't see any link state announcement.

anyway, thank you for testing

Author Update #16 @adlan 2011-04-20 ↳ Re: @Astarael
@AstaraelI think these power state changes are here because I used sleep a few times. So no need to worry, also your kext doesn't break sleep

the small time difference between on and off state is what made me curious.
since you didn't have any problems with it, i'll just ignore the curiosity

Author Update #17 @adlan 2011-04-20 ↳ Re: @ronin510
@ronin510I've been using your kext for my Lenovo S10 (with a BCM5906). So far, it's been working great! On your "not implemented" list you have: BCM5906/M - Isochronous Send Ring I was wondering what that actually means for us BCM56906 users? Do we lose any common feature/functionality? Also, I get 6MB/sec when transferring data from the…

hey, glad to hear that!

the isochronous send ring is just a performance enhancement on the transmit side, it's great for data streaming. I don't remember stumbling upon that feature implementation while reading tg3(linux) and if_bge(*bsd) source code though (maybe I missed it, but I'm quite sure about it).

I don't know how much other people got since nobody put it up and I didn't ask for it either. Although I did do some benchmarking using tools like netperf (net perf.org/netperf/) and iperf (iperf.sourc eforge.net/). Generally I can say its performance is on par with the available driver with only slight difference. If you want the result, I can post it later as I need to dive deep into the disk looking for it .

Author Update #18 @adlan 2011-04-26 ↳ Re: @michalskie
@michalskiei have a lenovo g530 i installed the kext and got a kernel panic .

hi, sorry for the delay

can you provide me your
- card model
- method of os installation (vanilla/distro(hazard,iatkos,etc)

Author Update #19 @adlan 2011-05-03 ↳ Re: @derekj0571
@derekj0571Your kext works flawlessly (So Far) I just add the HID for the BCM 57778 (1691) and off to the races. Throughput so far seems good. If I were you, just add the same to your distro and will include this card. Oh yes, this is a DVD Retail install of OSX Server 10.6 with Combo Update 10.6.7

hi, sorry for the delay, been away on holiday

great!, I didn't expect that, if it works flawlessly, I'll add it to the supported models list.

thank you for testing!

Author Update #20 @adlan 2011-05-04 ↳ Re: @ludacrisvp
@ludacrisvpDoes not work on the Dell PowerEdge T110 (brand new Intel Xeon server) 14e4:165A kext appears to be able to be manually loaded but will not auto load and will not 'see' the device. LSPCI can see the card it is the BCM5722. So since the kext will not attach to the card there is no network support

I assume you've tried adding 14E4,165A to the IONameMatch array in Info.plist.

Despite the project name, I actually left BCM5722 out of the supported model list and didn't considered it while developing. I'll check the programmer manual and send you the kext to test if there is any modification to the code to support this model as soon as possible (probably this weekend).

Author Update #21 @adlan 2011-05-17 ↳ Re: @ronin510
@ronin510Sorry if this has been mentioned in the forum already, but I only pay attention to this thread. It seems some posts/updates were deleted since the last time I visited. The site perhaps reloaded from a backup? The first post/kext is out of date again. Maybe this is why you thought you uploaded a newer version, but the site was reverted…

yeah, just noticed that. some of the post is missing and the front page has the old content although I've updated it recently.

Author Update #22 @adlan 2011-05-17 ↳ Re: @ludacrisvp
@ludacrisvpI did actually get it to almost work. I had to manually set the MAC address for my work network to allow DHCP on my corporate network to assign an IP for me. It starts to load a webpage and KP! With complaints about IONetworking.kext. If I don't try to load a page I get about 5 mins of uptime prior to KP with same error. If I don't…

actually I have no idea about your problem, sorry. Did you try the latest kext I sent?

anyway, I just noticed the spec on your sig, are you installing it on leopard? I don't know if it will work on that without a recompilation and modification of Info.plist.

Author Update #23 @adlan 2011-05-17 ↳ Re: @rals2007
@rals2007adlan Source is synced with your latest binary release ?

yes, i just updated the kext in the first post with the new build based on the latest commit

Author Update #24 @adlan 2011-05-17 ↳ Re: @fyooo
@fyoooI can't see anything about BCM in my system.log and even my /var/log directory

If the kext is loaded, it should at least shows a build date/time. So that means the kext isn't loaded. Actually I didn't have the chance to see the image of error message you posted before, can you post it again?

Author Update #25 @adlan 2011-05-18 ↳ Re: @fyooo
@fyoooI just tried to load this kext manually in terminal: bash-3.2# kextload BCM5722D.kext/ /Users/oo/Downloads/BCM5722D.kext failed to load - (libkern/kext) authentication failure (file ownership/permissions); check the system/kernel logs for errors or try kextutil(8). bash-3.2#

you need to change the kext ownership/permissions , else kextd will not load the kext.

sudo chown -R root:wheel BCM5722D.kext
sudo chmod -R 755 BCM5722D.kext
Author Update #26 @adlan 2011-05-19 ↳ Re: @fyooo
@fyoooI'd tried to use KextHelper to install this kext, but it can not work. I can't see any information about BCM in system.log

try loading it using kextutil with high verbosity level and put its output here

sudo kextutil -v 4 BCM5722D.kext
Author Update #27 @adlan 2011-05-19 ↳ Re: @fyooo
@fyoooThanks, that's what it shows: ... After that, I checked the system.log file: oos-iMac:Downloads oo$ grep BCM /var/log/system.log May 19 19:56:04 oos-iMac sudo[152]: oo : TTY=ttys000 ; PWD=/Users/oo/Downloads ; USER=root ; COMMAND=/usr/bin/kextutil -v 4 BCM5722D.kext oos-iMac:Downloads oo$ It seems to be success, but I still can't…

you searched in the wrong file, the log entry will be in kernel.log
can you also post here the output of ifconfig after the kext is loaded?

Author Update #28 @adlan 2011-05-22 ↳ Re: @FredWst
@FredWstHi i was having the same trouble with BCM 5754 on dell optiplex 745. 10.6.7 retail install lspci -nn result: 03:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5754 Gigabit Ethernet PCI Express [14e4:167a] (rev 02) I fixe this changing in info.plist of kext this line: pci14e4,167A -> pci14e4,167a Deep sleep working…

hey, thanks!

I really have no idea what's causing that problem and now you found the culprit.
my bad, I totally missed that and to be honest, at first look I wouldn't have thought that would cause a problem..

my observation, I may be wrong.

.. and indeed it is. I've gone through the xnu source code and manually tracing function calls for the kext loading process. In the matching process, the values in IONameMatch array is compared using strncmp function. This string comparison function is case-sensitive, so comparing 14e4,167a and 14e4,167A will yield false result and thus the matching process will fail.

The kext will load if it's load manually but it will sits there doing nothing since the matching process has failed thus no initialization process is initiated.

thanks a million again FredWst!

Author Update #29 @adlan 2011-05-22 ↳ Re: @VIVXIX
@VIVXIXI always need to use IPv6 proxy for connecting to internet. However,I find the driver may has some problem of IPv6 proxy, which is that the connection of IPv6 proxy becomes disconnected sooner or later. I can figure out it is not cause by the proxy. But I found a temper solution that ifconfig the en0 down and up.

it works on 5706 too? great! problem is expected, though.

I'll look at it when I have time. However, I do hope others to contribute to add support for other model if possible. But, since project documentation is currently sparse, I'm not expecting any

anyway, thank you for testing!

Author Update #30 @adlan 2011-05-24 ↳ Re: @FredWst
@FredWstI've installed Lion on my optiplex 745. BCM5722 is also working for my BCM 5754. Fred Ps: ATI 4350 is also working without green apple and qe/ci enable.

great!

@VIVXIXI am sorry, I make a mistake.It 's bcm5906.,not BCM5706. :'(:'(:'(:'(:'(

^_^, no problem mate

@fyoooadlan&FredWst It works!
@VIVXIXThanks .I think the IPv6 proxy problem posted before just disappear. The ifconfig en0 down and ifconfig en0 up commons dos't need anymore.

glad to hear that!

Author Update #31 @adlan 2011-06-02 ↳ Re: @cephalopod
@cephalopodHi Adlan... thanks for your work on this, I've been suffering with hex-editing the original 5701 kext trying to get my card working (device ID 1681). I thought on the off-chance I'd try your kext and with an Info.plist addition it picked it up straight away - really impressed! I just have to sort out the blank MAC address and give it…
@cephalopodOddly, on reboot with a link the MAC address is identified but the speed isn't negotiated properly... on first attempt to do anything with the interface/driver it drops the connection permanently, preventing reconfiguration; only resuming use after another reboot. Any ideas Adlan please?

sorry for the lateness, been quite busy for the last few days.

anyway I checked the linux and *bsd driver, it seems that, there are some fixes/additional initialization steps/different register value for that model. maybe it has something to do with that, I'll try to include those changes and send you the kext to test this weekend.

thank you for testing!

Synthesized Community Field Notes

81 technical responses curated from 125 original dispatches

Field Note #1 @chinasky 2011-02-15

Laptop lenovo n500, with a bcm5906M. Working fine, no kp at the moment.

Field Note #2 @pat98usb 2011-02-16

Can you make it work for also for broadcom bmc57780 ,, pci14e4,1692

Field Note #3 @quinielascom 2011-02-16

Thanks seem work fine, tested with BCM5787M.

Is possible set your driver to display nothing in system log ?

In my system log I have:

BCM5722D (Build date/time: Feb 11 2011 16:21:32)
BCM5722D (setupDriver:920): MSI index on 1
BCM5722D (resetAdapter:144): 4B657654 to B49A89AB in 2687 iterations
my_name_adlan_BCM5722D: Model: BCM5787M NetLink (TM) Gigabit Ethernet
my_name_adlan_BCM5722D: Loaded successfully
BCM5722D (setPowerState:84): Changing power state from 1 to 0
my_name_adlan_BCM5722D: Ethernet address 00:11:22:33:44:55
BCM5722D (resetAdapter:144): 4B657654 to B49A89AB in 2638 iterations
BCM5722D (setMedium:471): Change medium: kIOMediumEthernetAuto
BCM5722D (setMedium:496): Change medium: kLinkDuplexNegotiate
BCM5722D (configureLinkAdvertisement:364): advertiseFe: 5E1
BCM5722D (configureLinkAdvertisement:365): advertiseGe: 300
BCM5722D (startAutoNegotiation:522): Adv reg: 5E1
Field Note #4 @Dabluest 2011-03-04

You got my 5906M card working (even in Lion)! I'm almost speechless. I never thought that would happen! You rock! Thank you.

Field Note #5 @webwolf 2011-03-05

Dell XPS m1330

I have a Dell XPS m1330, Hardware Info reports a 5906M network card, but I tried to install your driver without success: I can't see any new interface in System Preferences / Network.
In /var/log the only mention I found is in system.log:
com.apple.kextd[10]: BCM5722D.kext has no Info.plist file.
com.apple.kextcache[591]: BCM5722D.kext has no Info.plist file.

Any idea?
Marco

Field Note #6 @Dabluest 2011-03-07 ↳ Re: @adlan
@adlanglad to hear that oooh, on Lion too? great! hey, where did you get that? :-$

A certain green devil

Field Note #7 @abiogenesis 2011-03-13

OMG i've found this thread and I'm ruined.
Because I was writing my own driver for bcm5906m too
I started reading 5722-PG101-R.pdf and if_bge.c in January and just today got working rx and tx without checksum offloading support, multicast and power state switching.

And now I don't know what to do, either to delete my http://code.google.com/p/osx-bcm5906m/ ↗ project which is still under construction, or finish the driver and upload it there, but now it doesn't make any sense
:

Field Note #8 @rals2007 2011-03-14

adlan

Superb!

Better to have a log with only,

my_name_adlan_BCM5722D: Model: BCM5787M NetLink (TM) Gigabit Ethernet
my_name_adlan_BCM5722D: Ethernet address 00:11:22:33:44:55

This way, much cleaner.

Field Note #9 @abiogenesis 2011-03-17

Thanks to your code I've fixed a couple of my bugs and I think I've found one in your setMulticastList function.

for (i = 0; i < count; i++) { crc = computeCRC32((const UInt8 *) addrs, 6); ... }

Here, according to 5722-PG101-R.pdf, crc should be calculated for every address in the array, so it would be "addrs + i" or "&addrs".

Field Note #10 @Medienmensch 2011-03-18

is it possible to make a Driver for BCM4357 rev1

I have a Lenovo G560 with this Wlan Card.

That would be so great!

And if not, what Wlan Card would you recomend me to buy for use in osx?

Field Note #11 @volgin7 2011-03-20

Works in the Lenovo S12

Excellent! Works for (LAN) BCM 5906M on the Lenovo S12
Thank's!

Field Note #12 @parlae 2011-03-20 ↳ Re: @pat98usb

Thanks, thanks, thanks! It is really unbelievable that someone have done this at last!
keep up the good work!
Work's great on my lenovo s10e 4086RLG :

@pat98usbCan you make it work for also for broadcom bmc57780 ,, pci14e4,1692

I think that's the airport driver as it says below that device ID airport.kext or something. Ethernet isn't shown at all until u install this kext, and after that u will have 2 ethernet cards: airport pci14e4 and ethernet.

Field Note #13 @quinielascom 2011-03-20 ↳ Re: @adlan
@adlani've uploaded the non-chatty version.

Another thing, Please, do you can compile your driver for Leopard 10.5.x too?

Field Note #14 @tmacyunn 2011-03-25

Hi adlan, I have a problem in the 10.6.7, when I put the laptop to sleep for a hour or a little longer the driver can't work, network disconnect. After using Kextload command to unload and reload it work come back.
Is it a problem of system ? maybe we should compile it in the 10.6.7, I have try repair permissions and rebuild kernel caches

Edit:
I try to compile the sources code under 32bit 10.6.7 with xcode 3.2.5 and get some warnings like :

BCM5722D-18e3e93/BCM5722D.cpp:536: warning: implicit conversion shortens 64-bit value into a 32-bit value
Field Note #15 @tmacyunn 2011-03-25

Here is:

 Friday, March 25, 2011 4:49:52 PM Asia/Shanghai 
Mar 25 16:49:57 yuns-MacBook-Pro kernel[0]: System Sleep
Mar 25 16:50:17 yuns-MacBook-Pro kernel[0]: Wake reason = 
Mar 25 16:50:17 yuns-MacBook-Pro kernel[0]: System Wake
Mar 25 16:50:17 yuns-MacBook-Pro kernel[0]: ApplePS2ALPSGlidePoint: ABMod Waking up Touchpad setting setTapEnable to 1
Mar 25 16:50:17 yuns-MacBook-Pro kernel[0]: USB (EHCI):Port 3 on bus 0xfa connected or disTconnectedhe USB d:ev porticSC(e 0x301US8B Op03ti)
Mar 25 16:50:17 yuns-MacBook-Pro kernel[0]: cal Mouse (Port 1 of Hub at 0x5d000000) may have caused a wake by issuing a remote wakeup (2)
Mar 25 16:50:18 yuns-MacBook-Pro kernel[0]: USBMSC Identifier (non-unique): 20060413092100000 0xbda 0x158 0x5195

And i notice when wakeup from sleep, the system preference shows network is connected, but actually it doesn't.

This is the kext logs you release before:

Mar 19 22:51:18 yuns-MacBook-Pro kernel[0]: System Sleep
Mar 19 22:51:27 yuns-MacBook-Pro kernel[0]: Wake reason = 
Mar 19 22:51:27 yuns-MacBook-Pro kernel[0]: System Wake
Mar 19 22:51:27 yuns-MacBook-Pro kernel[0]: ApplePS2ALPSGlidePoint: ABMod Waking up Touchpad setting setTapEnable to 1
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: USB (EHCI):Port 3 on bus 0xfa connected or disconnected: portSC(0x301803)
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: The USB device USB Optical Mouse (Port 1 of Hub at 0x5d000000) may have caused a wake by issuing a remote wakeup (2)
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (setPowerState:84): Changing power state from 0 to 1
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (resetAdapter:144): 4B657654 to B49A89AB in 0 iterations
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (setMedium:471): Change medium: kIOMediumEthernetAuto
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (setMedium:496): Change medium: kLinkDuplexNegotiate
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (configureLinkAdvertisement:364): advertiseFe: 1E1
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (configureLinkAdvertisement:365): advertiseGe: 0
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (startAutoNegotiation:522): Adv reg: 1E1
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: USBMSC Identifier (non-unique): 20060413092100000 0xbda 0x158 0x5195
Mar 19 22:51:29 yuns-MacBook-Pro kernel[0]: BCM5722D (setupPHY:100): Auxillary status: F53F
Mar 19 22:51:29 yuns-MacBook-Pro kernel[0]: BCM5722D (setupFlowControl:621): flowControl: 0
Mar 19 22:51:29 yuns-MacBook-Pro kernel[0]: my_name_adlan_BCM5722D: Link up: 100 MBps, full duplex. Flow control: disabled
Field Note #16 @Astarael 2011-04-06

I have just tested your kext - it makes my BCM5787M work. Moreover in "System Profiler" I can see correct information about the card (while using 10.6.3 modified BCM5701 plugin i got pci14e4,1693 instead of real name despite of DSDT patches I added).

But there's one problem - after loading the kext my system slowed down a lot. I barely managed to type sudo kextunload BCM5722D.kext in terminal. I didn't got such effects after loading hexedited plugin.
About 5 minutes later I used kextload command and got slow down again - but the negative effect was much lighter, I'd say about one tenth of first one.
Maybe it might have something to do with code optimizations? I really dunno.

I keep my fingers crossed for this project - who knows, how long 10.6.3 kext is going to work? It may get broken in Lion or even next update.

Regards,
Astarael

PS Sorry for my English, still learning

Field Note #17 @Domenic211 2011-04-15

I've got an Acer Aspire 2920 with broadcom BCM5787M.
I tried to add the file in attachment of this post "BCM5722D.kext" in system\library\extesion but after reboot my lan still don't work... .

PC: Acer Aspire 2920 ( Intel Core 2 Duo chipset: intel 965)
Mac Os X: 10.6.6i By hazard

p.s.: I have also tried to install max os x 10.6.2 but the result is the same with this kext my lan don't working… in mac manager as Ethernet Cards don't result anything.

p.p.s. after added the kext file in library directory displays a message :
System extesion cannot be used
The system extension " /System/library …" was installed improperly and cannot be used.
Please try reinstalling it…

what's my problem?
thank u guys
greetings from Italy

Field Note #18 @Astarael 2011-04-18 ↳ Re: @adlan
@adlancan you try this kext, cl .ly/3e3l2N2t1n242a3O0T0I and send me the log? take the line starting with BCM5722D PS no problem, me too

Hi, sorry it took me so long, I've been very busy recently.
Anyway, I placed the kext you gave me in /S/L/E, then chmod and chown it and loaded it with kextload. This is what I got in system Console:

11-04-18 18:13:12	sudo[255]	astarael : TTY=ttys000 ; PWD=/Users/astarael ; USER=root ; COMMAND=/sbin/kextload /System/Library/Extensions/BCM5722D.kext/
11-04-18 18:13:13	kernel	BCM5722D (Build date/time: Mar 25 2011 23:28:49)
11-04-18 18:13:14	kernel	BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-18 18:13:14	kernel	my_name_adlan_BCM5722D: Model: BCM5787M NetLink (TM) Gigabit Ethernet
11-04-18 18:13:14	kernel	my_name_adlan_BCM5722D: Loaded successfully
11-04-18 18:13:14	kernel	my_name_adlan_BCM5722D: Ethernet address 00:1e:37:24:13:81
11-04-18 18:13:14	kernel	BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-18 18:13:14	kernel	BCM5722D (setMedium:367): Change medium: kIOMediumEthernetAuto
11-04-18 18:13:14	kernel	BCM5722D (setMedium:392): Change medium: kLinkDuplexNegotiate
11-04-18 18:13:14	kernel	BCM5722D (configureLinkAdvertisement:567): advertiseFe: 5E1
11-04-18 18:13:14	kernel	BCM5722D (configureLinkAdvertisement:568): advertiseGe: 300
11-04-18 18:13:14	kernel	BCM5722D (startAutoNegotiation:590): Adv reg: 5E1

I'm not sure if it is what you wanted :-|

PS I wouldn't advise using KextHelper in Snow Leopard - it doesn't work well. You might want to test KextWizard instead (I won't post a link 'cos I'm not sure if it is permitted )

Field Note #19 @scritchy 2011-04-18

I have device 14e4:167b Broadcomm 5755 onboard nic on an hp xw6600 machine. The kext appears to fail to do anything at all. There is no mention of it in any of the logs in var/log

i've tried deleting and reinstalling the kext with both kext helper b7 and kext wizard, and rebuilding kext cache. I've tried using the zip file attachee to this thread, and rebuilding the kext from the source. No difference. I verified the device id w/ dpci manager.

Not sure what else to try?

it "works" with the hacked 5701 kext floating around, in that it gets an ip and can connect, but the hacked 5701 has horrible upload problems that make it incredibly slow or times out, which is why I arrived here.

Field Note #20 @Astarael 2011-04-19

After you start your system, try to type in the terminal kextstat | grep BCM and see if there are any results. If not - kext in fact is not being loaded at all...
Did you trierd to force it with kextload command?

Field Note #21 @Astarael 2011-04-19

I didn't wan to say it to early, but now it seems to be fine... Somehow
The kext is loaded since about 24 hours and slow-down event didn't occur. At least so far
While searching BCM in Console I got more results now. These is all I got since I have loaded the kext.

11-04-18 18:13:12	sudo[255]	astarael : TTY=ttys000 ; PWD=/Users/astarael ; USER=root ; COMMAND=/sbin/kextload /System/Library/Extensions/BCM5722D.kext/
11-04-18 18:13:13	kernel	BCM5722D (Build date/time: Mar 25 2011 23:28:49)
11-04-18 18:13:14	kernel	BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-18 18:13:14	kernel	my_name_adlan_BCM5722D: Model: BCM5787M NetLink (TM) Gigabit Ethernet
11-04-18 18:13:14	kernel	my_name_adlan_BCM5722D: Loaded successfully
11-04-18 18:13:14	kernel	my_name_adlan_BCM5722D: Ethernet address 00:1e:37:24:13:81
11-04-18 18:13:14	kernel	BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-18 18:13:14	kernel	BCM5722D (setMedium:367): Change medium: kIOMediumEthernetAuto
11-04-18 18:13:14	kernel	BCM5722D (setMedium:392): Change medium: kLinkDuplexNegotiate
11-04-18 18:13:14	kernel	BCM5722D (configureLinkAdvertisement:567): advertiseFe: 5E1
11-04-18 18:13:14	kernel	BCM5722D (configureLinkAdvertisement:568): advertiseGe: 300
11-04-18 18:13:14	kernel	BCM5722D (startAutoNegotiation:590): Adv reg: 5E1
11-04-18 22:04:02	kernel	BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-18 22:04:02	kernel	BCM5722D (setPowerState:84): Changing power state from 1 to 0
11-04-19 06:01:56	kernel	BCM5722D (setPowerState:84): Changing power state from 0 to 1
11-04-19 06:01:57	kernel	BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-19 06:01:57	kernel	BCM5722D (setMedium:367): Change medium: kIOMediumEthernetAuto
11-04-19 06:01:57	kernel	BCM5722D (setMedium:392): Change medium: kLinkDuplexNegotiate
11-04-19 06:01:57	kernel	BCM5722D (configureLinkAdvertisement:567): advertiseFe: 5E1
11-04-19 06:01:57	kernel	BCM5722D (configureLinkAdvertisement:568): advertiseGe: 300
11-04-19 06:01:57	kernel	BCM5722D (startAutoNegotiation:590): Adv reg: 5E1
11-04-19 14:39:59	kernel	BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-19 14:39:59	kernel	BCM5722D (setPowerState:84): Changing power state from 1 to 0
11-04-19 14:39:59	kernel	BCM5722D (setPowerState:84): Changing power state from 0 to 1
11-04-19 14:39:59	kernel	BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-19 14:39:59	kernel	BCM5722D (setMedium:367): Change medium: kIOMediumEthernetAuto
11-04-19 14:39:59	kernel	BCM5722D (setMedium:392): Change medium: kLinkDuplexNegotiate
11-04-19 14:39:59	kernel	BCM5722D (configureLinkAdvertisement:567): advertiseFe: 5E1
11-04-19 14:39:59	kernel	BCM5722D (configureLinkAdvertisement:568): advertiseGe: 300
11-04-19 14:39:59	kernel	BCM5722D (startAutoNegotiation:590): Adv reg: 5E1
11-04-19 14:52:49	kernel	BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-19 14:52:49	kernel	BCM5722D (setPowerState:84): Changing power state from 1 to 0
11-04-19 14:53:03	kernel	BCM5722D (setPowerState:84): Changing power state from 0 to 1
11-04-19 14:53:03	kernel	BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-19 14:53:03	kernel	BCM5722D (setMedium:367): Change medium: kIOMediumEthernetAuto
11-04-19 14:53:03	kernel	BCM5722D (setMedium:392): Change medium: kLinkDuplexNegotiate
11-04-19 14:53:03	kernel	BCM5722D (configureLinkAdvertisement:567): advertiseFe: 5E1
11-04-19 14:53:03	kernel	BCM5722D (configureLinkAdvertisement:568): advertiseGe: 300
11-04-19 14:53:03	kernel	BCM5722D (startAutoNegotiation:590): Adv reg: 5E1

PS I hardly ever connect via ethernet, but I tested the drive before and connection was fine. Now I see controller in ifconfig output and system profile so I think it shall work too. Anyway, I will do some tests once I get back home for Easter.

Field Note #22 @Astarael 2011-04-19

I think these power state changes are here because I used sleep a few times. So no need to worry, also your kext doesn't break sleep

Field Note #23 @ronin510 2011-04-19

I've been using your kext for my Lenovo S10 (with a BCM5906). So far, it's been working great!

On your "not implemented" list you have:
BCM5906/M - Isochronous Send Ring

I was wondering what that actually means for us BCM56906 users? Do we lose any common feature/functionality?

Also, I get 6MB/sec when transferring data from the ethernet connection. What do other people get?

Field Note #24 @michalskie 2011-04-25

i have a lenovo g530

i installed the kext and got a kernel panic .

Field Note #25 @derekj0571 2011-04-30

BCM 57778 support

Your kext works flawlessly (So Far)
I just add the HID for the BCM 57778 (1691) and off to the races.
Throughput so far seems good.

If I were you, just add the same to your distro and will include this card.

Oh yes, this is a DVD Retail install of OSX Server 10.6 with Combo Update 10.6.7

Field Note #26 @ludacrisvp 2011-05-03

Does not work on the Dell PowerEdge T110 (brand new Intel Xeon server)
14e4:165A kext appears to be able to be manually loaded but will not auto load and will not 'see' the device. LSPCI can see the card it is the BCM5722.
So since the kext will not attach to the card there is no network support

Field Note #27 @anibalin 2011-05-07

dell precision t7400

Hi mate, I tried the kext on this box but the kext is not even loaded (s/l/e)
I also put the kext in ionetworkingfamily,kext/contents/plugins but no luck either (ionetworkingfamily does get loaded).
10.6.7 x64

lspci -nn turns: 14e4_167a rev 02

for any help.

Field Note #28 @ludacrisvp 2011-05-15

I did actually get it to almost work. I had to manually set the MAC address for my work network to allow DHCP on my corporate network to assign an IP for me. It starts to load a webpage and KP! With complaints about IONetworking.kext. If I don't try to load a page I get about 5 mins of uptime prior to KP with same error. If I don't assign a MAC it still does the same thing with the KP. This was done last week sometime. I got fed up with it and bought the apple USB to Ethernet adapter for the air. However I might do some testing of more kexts on the built in adapter when I get back to work on Monday.

Field Note #29 @ronin510 2011-05-15

Sorry if this has been mentioned in the forum already, but I only pay attention to this thread.

It seems some posts/updates were deleted since the last time I visited. The site perhaps reloaded from a backup? The first post/kext is out of date again. Maybe this is why you thought you uploaded a newer version, but the site was reverted back to a previous state.

Field Note #30 @fyooo 2011-05-17

I can't see anything about BCM in my system.log and even my /var/log directory

bash-3.2# pwd /var/log bash-3.2# grep BCM * bash-3.2# ls /System/Library/Extensions/BCM5722D.kext/Contents/ Info.plist MacOS Resources bash-3.2#
Show 51 additional community field notes (#31–#81)
Field Note #31 @rals2007 2011-05-17

adlan

Source is synced with your latest binary release ?

Field Note #32 @fyooo 2011-05-18 ↳ Re: @adlan
@adlanIf the kext is loaded, it should at least shows a build date/time. So that means the kext isn't loaded. Actually I didn't have the chance to see the image of error message you posted before, can you post it again?

I just tried to load this kext manually in terminal:

bash-3.2# kextload BCM5722D.kext/ /Users/oo/Downloads/BCM5722D.kext failed to load - (libkern/kext) authentication failure (file ownership/permissions); check the system/kernel logs for errors or try kextutil(8). bash-3.2#
Field Note #33 @fyooo 2011-05-18 ↳ Re: @adlan
@adlanyou need to change the kext ownership/permissions , else kextd will not load the kext. sudo chown -R root:wheel BCM5722D.kext sudo chmod -R 755 BCM5722D.kext

Thanks, adlan
Maybe I should show my NIC information first:

14e4; Broadcom Corporation; 167a; NetXtreme BCM5754 Gigabit Ethernet PCI Express; Network controller; Ethernet controller

So now I change the permission of the kext file:

oos-iMac:Downloads oo$ ls BCM5722D.kext/
Contents
oos-iMac:Downloads oo$ sudo chown -R root:wheel BCM5722D.kext
oos-iMac:Downloads oo$ sudo chmod -R 755 BCM5722D.kext
oos-iMac:Downloads oo$ sudo kextload BCM5722D.kext

It seems nothing happen.
THe log is:

oos-iMac:Downloads oo$ grep BCM /var/log/*
/var/log/system.log:May 18 15:35:29 oos-iMac sudo[155]: oo : TTY=ttys000 ; PWD=/Users/oo/Downloads ; USER=root ; COMMAND=/usr/sbin/chown -R root:wheel BCM5722D.kext
/var/log/system.log:May 18 15:35:40 oos-iMac sudo[156]: oo : TTY=ttys000 ; PWD=/Users/oo/Downloads ; USER=root ; COMMAND=/bin/chmod -R 755 BCM5722D.kext
/var/log/system.log:May 18 15:35:49 oos-iMac sudo[157]: oo : TTY=ttys000 ; PWD=/Users/oo/Downloads ; USER=root ; COMMAND=/sbin/kextload BCM5722D.kext
oos-iMac:Downloads oo$ 

Thank you all the same:)

Field Note #34 @rals2007 2011-05-19

fyooo

You fix it where you installed the kexts.

chmod -R 755 /System/Library/Extensions/BCM5722D.kext
chown -R root:wheel /System/Library/Extensions/BCM5722D.kext
touch /System/Library/Extensions
Field Note #35 @fyooo 2011-05-19 ↳ Re: @rals2007
@rals2007fyooo You fix it where you installed the kexts. chmod -R 755 /System/Library/Extensions/BCM5722D.kext chown -R root:wheel /System/Library/Extensions/BCM5722D.kext touch /System/Library/Extensions

I'd tried to use KextHelper to install this kext, but it can not work.
I can't see any information about BCM in system.log

Field Note #36 @fyooo 2011-05-19 ↳ Re: @adlan
@adlantry loading it using kextutil with high verbosity level and put its output here sudo kextutil -v 4 BCM5722D.kext

Thanks, that's what it shows:

oos-iMac:Downloads oo$ sudo kextutil -v 4 BCM5722D.kext
Password:
Kext library architecture set to x86_64.
Kext library recording diagnostics for: validation authentication dependencies warnings.
BCM5722D.kext appears to be loadable (not including linkage for on-disk libraries).
Loading BCM5722D.kext.
Reading load info for all kexts.
Reading loaded kext info from kernel.
Adding /Users/oo/Downloads/BCM5722D.kext to mkext.
/Users/oo/Downloads/BCM5722D.kext added 79552-byte noncompressed executable to mkext.
Created mkext for architecture x86_64 containing 1 kexts.
Loading BCM5722D.kext.
(kernel) Received request from user space to load kext my.name.adlan.BCM5722D.
(kernel) Recorded kext my.name.adlan.BCM5722D as a candidate for inclusion in prelinked kernel.
(kernel) Loading kext my.name.adlan.BCM5722D.
(kernel) Allocated link buffer for kext my.name.adlan.BCM5722D at 0xffffff7f8076f000 (28672 bytes).
(kernel) Kext my.name.adlan.BCM5722D executable loaded; 7 pages at 0xffffff7f8076f000 (load tag 95).
(kernel) Kext my.name.adlan.BCM5722D calling module start function.
(kernel) Kext my.name.adlan.BCM5722D registered class my_name_adlan_BCM5722D.
(kernel) Kext my.name.adlan.BCM5722D has IOService subclass my_name_adlan_BCM5722D; enabling autounload.
(kernel) Kext my.name.adlan.BCM5722D is now started.
(kernel) Kext my.name.adlan.BCM5722D sending 1 personality to the IOCatalogue and starting matching.
(kernel) Kext my.name.adlan.BCM5722D loaded.
Successfully loaded BCM5722D.kext.
BCM5722D.kext successfully loaded (or already loaded).

After that, I checked the system.log file:

oos-iMac:Downloads oo$ grep BCM /var/log/system.log 
May 19 19:56:04 oos-iMac sudo[152]: oo : TTY=ttys000 ; PWD=/Users/oo/Downloads ; USER=root ; COMMAND=/usr/bin/kextutil -v 4 BCM5722D.kext
oos-iMac:Downloads oo$ 

It seems to be success, but I still can't connect to internet.

Field Note #37 @fyooo 2011-05-20 ↳ Re: @adlan
@adlanyou searched in the wrong file, the log entry will be in kernel.log can you also post here the output of ifconfig after the kext is loaded?

adlan, thanks:)

Once again

oos-iMac:Downloads oo$ sudo kextutil -v 4 BCM5722D.kext
Password:
Kext library architecture set to x86_64.
Kext library recording diagnostics for: validation authentication dependencies warnings.
BCM5722D.kext appears to be loadable (not including linkage for on-disk libraries).
Loading BCM5722D.kext.
Reading load info for all kexts.
Reading loaded kext info from kernel.
Adding /Users/oo/Downloads/BCM5722D.kext to mkext.
/Users/oo/Downloads/BCM5722D.kext added 79552-byte noncompressed executable to mkext.
Created mkext for architecture x86_64 containing 1 kexts.
Loading BCM5722D.kext.
(kernel) Received request from user space to load kext my.name.adlan.BCM5722D.
(kernel) Recorded kext my.name.adlan.BCM5722D as a candidate for inclusion in prelinked kernel.
(kernel) Loading kext my.name.adlan.BCM5722D.
(kernel) Allocated link buffer for kext my.name.adlan.BCM5722D at 0xffffff7f807a5000 (28672 bytes).
(kernel) Kext my.name.adlan.BCM5722D executable loaded; 7 pages at 0xffffff7f807a5000 (load tag 95).
(kernel) Kext my.name.adlan.BCM5722D calling module start function.
(kernel) Kext my.name.adlan.BCM5722D registered class my_name_adlan_BCM5722D.
(kernel) Kext my.name.adlan.BCM5722D has IOService subclass my_name_adlan_BCM5722D; enabling autounload.
(kernel) Kext my.name.adlan.BCM5722D is now started.
(kernel) Kext my.name.adlan.BCM5722D sending 1 personality to the IOCatalogue and starting matching.
(kernel) Kext my.name.adlan.BCM5722D loaded.
Successfully loaded BCM5722D.kext.
BCM5722D.kext successfully loaded (or already loaded).

And nothing found in kernel.log:

oos-iMac:Downloads oo$ grep BCM /var/log/kernel.log 
oos-iMac:Downloads oo$ sudo ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
	inet 127.0.0.1 netmask 0xff000000 
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
oos-iMac:Downloads oo$ 
Field Note #38 @VIVXIX 2011-05-21

I use bcm5706,and thanks for your driver,but IPv6 proxy.

I always need to use IPv6 proxy for connecting to internet.
However,I find the driver may has some problem of IPv6 proxy,
which is that the connection of IPv6 proxy becomes disconnected sooner or later.
I can figure out it is not cause by the proxy.
But I found a temper solution that ifconfig the en0 down and up.

Field Note #39 @FredWst 2011-05-21 ↳ Re: @fyooo
@fyoooadlan, thanks:) Once again oos-iMac:Downloads oo$ sudo kextutil -v 4 BCM5722D.kext Password: Kext library architecture set to x86_64. Kext library recording diagnostics for: validation authentication dependencies warnings. BCM5722D.kext appears to be loadable (not including linkage for on-disk libraries). Loading BCM5722D.kext.…

Hi i was having the same trouble with BCM 5754 on dell optiplex 745. 10.6.7 retail install

lspci -nn result:
03:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5754 Gigabit Ethernet PCI Express [14e4:167a] (rev 02)

I fixe this changing in info.plist of kext this line:
pci14e4,167A -> pci14e4,167a

Deep sleep working

it made some weeks i search, now both i386 and x86_64 working fine.

Fred

Field Note #40 @FredWst 2011-05-22

I've installed Lion on my optiplex 745.

BCM5722 is also working for my BCM 5754.

Fred

Ps: ATI 4350 is also working without green apple and qe/ci enable.

Field Note #41 @VIVXIX 2011-05-22 ↳ Re: @adlan
@adlanit works on 5706 too? great! problem is expected, though. I'll look at it when I have time. However, I do hope others to contribute to add support for other model if possible. But, since project documentation is currently sparse, I'm not expecting any anyway, thank you for testing!

I am sorry, I make a mistake.It 's bcm5906.,not BCM5706.
:'(:'(:'(:'(:'(

Field Note #42 @fyooo 2011-05-23 ↳ Re: @adlan
@adlanI really have no idea what's causing that problem and now you found the culprit. my bad, I totally missed that and to be honest, at first look I wouldn't have thought that would cause a problem.. my observation, I may be wrong. .. and indeed it is. I've gone through the xnu source code and manually tracing function calls for the kext…

adlan&FredWst
It works!

Field Note #43 @VIVXIX 2011-05-24 ↳ Re: @fyooo

The new version works well for BCM5906M in sl 10.6.7

@fyoooadlan&FredWst It works!

Thanks .I think the IPv6 proxy problem posted before just disappear.
The ifconfig en0 down and ifconfig en0 up commons dos't need anymore.

Field Note #44 @cephalopod 2011-05-27

Broadcom NetXtreme 5761

Hi Adlan... thanks for your work on this, I've been suffering with hex-editing the original 5701 kext trying to get my card working (device ID 1681). I thought on the off-chance I'd try your kext and with an Info.plist addition it picked it up straight away - really impressed!

I just have to sort out the blank MAC address and give it some proper testing.

Field Note #45 @cephalopod 2011-06-02 ↳ Re: @cephalopod
@cephalopodHi Adlan... thanks for your work on this, I've been suffering with hex-editing the original 5701 kext trying to get my card working (device ID 1681). I thought on the off-chance I'd try your kext and with an Info.plist addition it picked it up straight away - really impressed! I just have to sort out the blank MAC address and give it…

Oddly, on reboot with a link the MAC address is identified but the speed isn't negotiated properly... on first attempt to do anything with the interface/driver it drops the connection permanently, preventing reconfiguration; only resuming use after another reboot. Any ideas Adlan please?

Field Note #46 @ifumi 2011-06-04

work flawlesly with 5754 on Dell optiplex 745

thank's adlan, you rock..

thank god to show me the page 7 & 8 now time to work with GMA3000, hope work soon.

many thank's adlan.

Field Note #47 @tc2468 2011-06-09 ↳ Re: @scritchy
@scritchyI have device 14e4:167b Broadcomm 5755 onboard nic on an hp xw6600 machine. The kext appears to fail to do anything at all. There is no mention of it in any of the logs in var/log i've tried deleting and reinstalling the kext with both kext helper b7 and kext wizard, and rebuilding kext cache. I've tried using the zip file attachee to…

Try this one, it works for my HP xw4400 works with the onboard broadcom 167b. I've tried it with 10.6.2 - 10.6.7

Field Note #48 @fiatitude 2011-06-17

Dell Optiplex 330

Thanks for your driver. Able to install and detect BCM5787 but DHCP wasn't able to grab a valid IP keep geting 169.x.x.x. Even static IP i was not able to connect to Internet.

Any idea what went wrong?

Field Note #49 @cephalopod 2011-06-22 ↳ Re: @adlan
@adlansorry for the lateness, been quite busy for the last few days. anyway I checked the linux and *bsd driver, it seems that, there are some fixes/additional initialization steps/different register value for that model. maybe it has something to do with that, I'll try to include those changes and send you the kext to test this weekend.…

Thanks adlan... appreciate life is hectic - keen to test when you're ready.

Field Note #50 @zoso 2011-06-27

Thanks for all the hard work on this one ceph.

Successful install with a BCM5755M on a Dell Precision M4300.

Field Note #51 @Astarael 2011-07-15

I've got one more thing to test for those, who have problem with loading the kext. I've been recently helping with os x installation on lenovo y530 (or sth like that) and installing the kext was not enough to make BCM5906M ethernet card work. Adding Device (LAN) in DSDT solved the problem (there was no ethernet device at all) and ethernet works fine.

Field Note #52 @ce_infmac 2011-07-25

BCM57781 - 14e4:16b1

tried it on Lion with a BCM57781 (14e4:16b1).
Changed the info.plist - driver loads - ifconfig shows en0, link speed is fine, but no packets are sent or received.
Any idea?

Thanks,
Christian

Field Note #53 @UserOSX 2011-07-28

Onboard Broadcom® 5754 Gigabit Ethernet LAN solution 10/100/1000 Ethernet (Dell Optiplex 745 desktop PC) works fine (as of now) on H@ckint0sh OS X Lion 10.7 with your BCM5722D.kext.zip

ethernet:

Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x14e4
Device ID: 0x167a
Subsystem Vendor ID: 0x1028
Subsystem ID: 0x01da
Revision ID: 0x0002
Link Width: x1
BSD name: en1
Kext name: BCM5722D.kext
Location: /System/Library/Extensions/BCM5722D.kext
Version: 1

Indeed the problem with your earlier revision lied in the upper case alphabetical characters in device ID string. They needed to be lower case.

Thanks a million times for your time and effort.

Field Note #54 @ludacrisvp 2011-07-28

Hey, we used Xcode to compile the kext again using your latest sources. The best we can get now is 100BaseTX Full-Duplex. Using the kext from May it loaded up as half duplex 100BaseTX. It does seem to drop out the connection after a few hours and requires the kext to be unloaded and reloaded. This is on a Dell poweredge T110.

Any ideas on getting 1000BaseT Full duplex working?
I tried forcing the setting but it will either show cable unplugged or it does a self assigned IP and manually setting it does nothing. Now on a side note it doesn't need the MAC address manually set anymore, it is able to pick it up from the hardware.

Another side note... Do you know of any working pci-e GigE LAN cards that will work in osx? As work will buy the card that will work for the machine.

Field Note #55 @majamudo 2011-08-09

BCM57781 - 14e4,16b1

after having no solution for my onboard nic i decided to give it a try and changed/added my device id to info.plist, like some other here as well .

The result is as follow:

en1: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500
	options=3<RXCSUM,TXCSUM>
	ether 00:25:22:bc:b8:9b 
	media: <unknown type>

Do you think there is any chance to get this working somehow?

Any help is much appreciated. Many thanks
M

Field Note #56 @majamudo 2011-08-09

BCM57781 - 14e4,16b1

after some more testing I now get following:

en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=3<RXCSUM,TXCSUM>
	ether 00:25:22:bc:b8:9b 
	inet6 fe80::225:22ff:febc:b89b%en1 prefixlen 64 scopeid 0x5 
	inet 169.254.217.110 netmask 0xffff0000 broadcast 169.254.255.255
	media: autoselect (1000baseT <half-duplex>)
	status: active

of course...it still doesn't work. but why is it different now?

M

Field Note #57 @PinInCalgary 2011-08-16

Works for Dell Gx745 with BCOM 5754

Thank you! Works on my Dell Gx745 SFF with a BCOM 5754

Vendor Id: 0x14e4
Device Id: 0x167a
Subsystem Vendor Id: 0x1028
Revision Id: 0x0002
Link Width: x1

Field Note #58 @aaronson 2011-08-17

DELL Optiplex GX620 - BCM5751, Device ID 0x1677

I inserted the 1677 to the kext plist. The driver loads, assigns the correct MAC address, but does not transmit and recieve.

Is there anything else I should do?

Field Note #59 @antikus 2011-08-21

Adlan,

Would it be possible to add support for BCM5723? I added the device id (165b) to plist. The kext gets loaded, but when I try to use it I get

serviceRxInterrupt:1036): replaceOrCopyPacket returns 0
and a bunch of messages like
outputPacket:568: 1514 -> 2 segments, 1 free, consumer index: 59

Field Note #60 @m4f1050 2011-08-25

OS X 10.6.8 and Broadcom 5754 (14e4-167a) working 100%

Congratulations! Great job!

Works perfect!

Off topic: I am using a DELL 390 (with this nic and a Quadro NVS 285 do you happen to have any info/link for Quadro NVS 285? It's all I need for a smoothly running hackintosh with DELL 390 and OS X 10.6.8 (upgraded from iATKOS S3 v2 using 10.6.8 Combo Update 1.1)

Field Note #61 @reysillo 2011-09-12

Latest KEXT

I am very interested in getting the latest kext of BCM5722D, but I have no idea, how compile or make your GIT repository code, you can give me a hand?

thanks for that wonderful work

Field Note #62 @niclo43 2011-09-23

my lan detected,, but no internet connection or cannot ping to another pc on net,,

i am add in Info.plist

--------
<string>pci14e4.16b5</string>
---------

it's detect my lan,, but cannot get connection,,

Field Note #63 @danybr 2011-10-09

I've tried this on my Acer Aspire 2920.

It works!

After 2 weeks I was looking for suitable driver, now works!

Thank you. I love you!

Field Note #64 @onelife 2011-10-24

Sleep not working?

Only unload&load kext after sleep to get it work again?

Field Note #65 @ocw-inf 2011-11-23

Broadcom Netlink (TM) Gigabit Ethernet / Lion 10.7.2

Driver works on
- Packard Bell LJ65
- Broadcom Netlink (TM) Gigabit Ethernet
- BCM5784M

Lion 10.7.2
- Iatkos L2

Field Note #66 @waldrondigital 2011-11-29

Thanks

Dell Precision 390 owner! Happy as can be. Your kext is the only one that works 100%! Thank you x 1000000

Field Note #67 @nveronesi 2012-01-13

I confirm my Ethernet Broadcom 5784M on on my Acer Aspire 5738G Dual core is working as well!

- Broadcom Netlink (TM) Gigabit Ethernet
- BCM5784M

Lion 10.7.2
- Iatkos L2

I'm happy! Great job, man! Thanks! ) )

Field Note #68 @waldrondigital 2012-01-16

Gigabit Speeds

Is there any progress on getting this Kext to operate at gigabit speeds... the best I can get is 100baseTX.

It was my cable... the driver works fine at gigabit.

Field Note #69 @privateprotected 2012-01-22

ing great.

Before I say something to you,
did someone say that you are damn good developer who
developer these drivers.. If no one haven't done that then I would
love to say that you ARE ----IING good… Please excuse my language.

This damn thing took me 4 days to find these drivers and after doing
what you have said in this thread, it worked like a CHARM…

I do appreciate from the bottom of my heart that you developed and shared
this with other users. I mean it.

Though I am also a software developer and mostly develop applications
in Microsoft technologies i.e. .Net etc and was keen to start
some software development for iPhone, I just couldn't get the drivers of this damn
LAN.

You are a saviour, once again thank you very much for developing and
sharing this with us… THanks.

Field Note #70 @cparm 2012-01-26 ↳ Re: @adlan

Thx adlan,

works great on my lenovo S20 at works

@adlanDisclaimer This driver is neither supported nor endorsed by Broadcom. Zombies may invade your house and I take no responsibility for whatever happens. Use at your own risk

lol, don't worry i've got some plants for these Zombies

Field Note #71 @h224nh 2012-02-25

Thanks adlan for the great driver.
I get stuck with Broadcom BCM5786 [14e4:169a]
I am not sure what should be edited in your source code, could you please show me how to do it ?
Thank.

Updated:
Luckily, I added [14e4:169a] definition to plist, recompile and install IONetworkingFamily.kext of my friend, and now everything works like charm.

Field Note #72 @silicman 2012-03-11

Just want to say thank, adlan, love you!

Your driver work for my Ethernet card, the Broadcom 5752, which on the old guy DELL 490 with some minor fix.

I did 2 minor fix on your kext to support Broadcom 5752:

1. infor.plist. I replace <string>pci14e4,167A</string> with <string>pci14e4,1600</string>
2. BCM5722D. I hex this file, looking for "7A 16" then replace all with "00 16". (flip word anyway).

Finally, I put them inside IONetworking kext which replace the original one. Reinstall this kext. Re-build cache. Re boot. Viola!

No kernal panic, MAC address just there, DHCP ok, even though I haven't plug in network yet.

Which OS I run huh? iAtKos L2 (Lion 10.7.2).

Thank you so much, adlan.

Field Note #73 @mikegoh 2012-03-29

Work like charm for acer aspire 2920. The next i have been looking for..

Field Note #74 @chefk0k 2012-04-07

Thanks a lot for you work on making this driver.

I need a working Kext for the desktop version of this network card: Broadcom BCM5784. (Without the M)
Is there any way to modify this kext for it to work on the non-M version?
I'm on OSX 10.6.8. (AMD)

Field Note #75 @Unrealized 2012-04-13 ↳ Re: @chefk0k
@chefk0kThanks a lot for you work on making this driver. I need a working Kext for the desktop version of this network card: Broadcom BCM5784. (Without the M) Is there any way to modify this kext for it to work on the non-M version? I'm on OSX 10.6.8. (AMD)

Modifying the .plist is your best bet

Field Note #76 @squinn66 2012-05-15

Hardware:
Dell PowerEdge T110
2.39 Quad Core Intel Xeon
4GB 1333 DDR3
Nvidia GeForce 7300GT
OS: OS X Lion 10.7

I have a Broadcom Nextreme Gigabit network controller and i tried putting in the BCM5722D.kext using Kextdrop but the internet will not work. I look under the Network setting and none appear. Any suggestions. Thanks for your help. Any more information needed let me know.

Field Note #77 @lilbiscuit 2012-06-04

Works for Dell Precision T5400 w/Broadcom 5754

Used kextWizard 3.7.10 and installed and rebooted in 1 min.

At first glance, worked perfectly. DHCP, mac address, until…

UPDATE: Networking stops working after awaking from sleep, as others have said. I didn't see that resolved in the thread...did I miss something?

OSX Lion 10.7.4
Dell Precision T5400
(2) Intel X5450 XEON Quad Core CPUs
4 GM RAM
Broadcom 5754
M-Audio Revolution 7.1 (work in progress)
nvidia Quadro FX 4600 (work in progress)

Field Note #78 @symbiote187 2012-07-15

Thank you very much for your hard work in developing this driver!

I have a small problem though, I have a BCM5755 and everything works but the driver crashes after copying lots of data over the LAN (roughly 100GB or 60k packets). Unloading the driver and reloading does not fix it and I have to reboot to get networking back.

Any ideas why this is happening and anything I can try to get it fixed?

Lion 10.7.4
HP xw6600
BCM5755 onboard

Field Note #79 @righteye 2012-08-05

Downloaded the source code and made some slight changes + added the BCM5784M 0x1698 device, compiled for ML ...
Still have 6 Semantic Issues and 5 Logic errors in the code but the compilation went fine. It works but after some intense usage, as symbiote187 pointed out, it stops working and the only solution is to reboot.
I am not a coder so ... but i really appreciate your involvement on this and i Thank You!

Field Note #80 @ghostanime2001 2012-08-21

I have the same device and vendor ID for ethernet as this kext 14e4:1698. But will my ethernet work since my wireless card is unsupported (1510 AGN) ? I am trying to get my ethernet to work on a Dell Studio 1555 running on P8600 CPU and 512 MB ATI mobility 4570. Thanks for anyone's reply.

Field Note #81 @righteye 2012-08-23 ↳ Re: @ghostanime2001
@ghostanime2001I have the same device and vendor ID for ethernet as this kext 14e4:1698. But will my ethernet work since my wireless card is unsupported (1510 AGN) ? I am trying to get my ethernet to work on a Dell Studio 1555 running on P8600 CPU and 512 MB ATI mobility 4570. Thanks for anyone's reply.

Try this one osx 86.net/downloads.php?do=file&id=3074 if you are using ML

Sources & Contributor Provenance (61 credited usernames · Thread #6946)
UsernameDossier ContributionDispatchesActive Window
@adlanPrimary Author362011-02-12 → 2011-06-02
@fyoooCore Contributor72011-05-17 → 2011-05-23
@AstaraelCore Contributor62011-04-06 → 2011-07-15
@rals2007Core Contributor42011-03-14 → 2011-05-19
@ludacrisvpCore Contributor32011-05-03 → 2011-07-28
@VIVXIXCore Contributor32011-05-21 → 2011-05-24
@cephalopodCore Contributor32011-05-27 → 2011-06-22
@quinielascomContributor22011-02-16 → 2011-03-20
@DabluestContributor22011-03-04 → 2011-03-07
@abiogenesisContributor22011-03-13 → 2011-03-17
@tmacyunnContributor22011-03-25
@ronin510Contributor22011-04-19 → 2011-05-15
@FredWstContributor22011-05-21 → 2011-05-22
@majamudoContributor22011-08-09
@waldrondigitalContributor22011-11-29 → 2012-01-16
@righteyeContributor22012-08-05 → 2012-08-23
@chinaskyContributor12011-02-15
@pat98usbContributor12011-02-16
@limiter121Contributor12011-02-27
@adminioContributor12011-03-01
@webwolfContributor12011-03-05
@MedienmenschContributor12011-03-18
@volgin7Contributor12011-03-20
@parlaeContributor12011-03-20
@Domenic211Contributor12011-04-15
@scritchyContributor12011-04-18
@michalskieContributor12011-04-25
@derekj0571Contributor12011-04-30
@anibalinContributor12011-05-07
@tojaContributor12011-05-20
@ifumiContributor12011-06-04
@tc2468Contributor12011-06-09
@fiatitudeContributor12011-06-17
@jpt1105Contributor12011-06-17
@zosoContributor12011-06-27
@ce_infmacContributor12011-07-25
@UserOSXContributor12011-07-28
@analotContributor12011-07-28
@PinInCalgaryContributor12011-08-16
@aaronsonContributor12011-08-17
@antikusContributor12011-08-21
@m4f1050Contributor12011-08-25
@reysilloContributor12011-09-12
@niclo43Contributor12011-09-23
@danybrContributor12011-10-09
@jahsmurfContributor12011-10-17
@onelifeContributor12011-10-24
@ocw-infContributor12011-11-23
@nveronesiContributor12012-01-13
@privateprotectedContributor12012-01-22
@cparmContributor12012-01-26
@h224nhContributor12012-02-25
@silicmanContributor12012-03-11
@mikegohContributor12012-03-29
@chefk0kContributor12012-04-07
@UnrealizedContributor12012-04-13
@squinn66Contributor12012-05-15
@lilcheshirecatContributor12012-05-21
@lilbiscuitContributor12012-06-04
@symbiote187Contributor12012-07-15
@ghostanime2001Contributor12012-08-21