Argus
Apr 29 2008, 06:48 PM
Hi All,
I've been playing with a 5752M (id 0x1600) on 10.5.2 and I thought I would share a slightly updated hex edit method that got it almost working. This is really rushed because of finals, but it's similar to the other Broadcom 57XX hexedit tutorials, so you can fill in the blanks with those. You will, of course, need to know the device ID of your card. This will be expressed in little-endian hex. So for example, 0x1600 becomes 00 16. 1645 becomes 45 16. And so on. You will also need to copy IONetworkingFamily.kext to your desktop and go digging, like in the other tutorials. Now grab a hexeditor and follow along:
Load the AppleBCM5701Ethernet file in your hex editor, and do the following search-replaces:
1.Search for 66 3d 59 16 and replace with 66 3d XX 16, where XX is the last two digits of your device id. There should be 6 or so instances of this instruction (cmp AX, 1659).
2.Search for 66 81 f9 59 16 and replace with 66 81 f9 XX 16. There should be 45 or so instances of this instruction (cmp CX, 1659).
And that's it. This sets up my card without any errors and the correct MAC address. DHCP works great and I can ping, but I get a kernel panic if I put any significant traffic through it. It's possible that it might work flawlessly for you, depending on what model card you have. I'm currently working on patching the driver to fix this kernel panic.
In the meantime, if people with leopard and 57XX chipsets could test this, that would be great. If you get errors, please post the following:
1. Which model card (5750, 5751, etc)
2. Which device ID (0x1645 etc)
3. Relevant lines from sudo dmesg (I.E. ones starting with AppleBCM5701Ethernet.)
JonZ
Apr 30 2008, 03:39 PM
Cool, will try that tonight and see if I get a KP too.
Also, it important to specify this after the hex edit to modify the plist with the text editor:
QUOTE
than inside the AppleBCM5701Ethernet.kext you going to find the file named "Info.plist" open it and replace the entry <string>pci14E4,1659</string> with <string>pci14E4,1600</string> and save the file.
1600 only depend on your own version of dev ID, write your own id.
QUOTE
Put back the AppleBCM5701Ethernet inside the AppleBCM5701Ethernet.kext (same place).
drop the modified IONetworkingFamily.kext in the original location (should need root password)
then run the commands
sudo -s
cd /System/Library/Extensions/
ln -s IONetworkingFamily.kext com.apple.iokit.IONetworkingFamily.kext
rm /System/Library/Extensions.kextcache
rm /System/Library/Extensions.mkext
chown -R root:wheel /System/Library/Extensions
kextcache -k /System/Library/Extensions
shutdown -r now
then you will reboot.....
once booted, you need to setup the network
rm /System/Library/Extensions.kextcache was supposedly only supported for Tiger OS. So it not necessary here.
JonZ
Apr 30 2008, 11:58 PM
Ok, it seems to make my ethernet working, but I still have zeros MAC. And I get a KP when I start Safari.
I noticed however that when I type-in the command sudo ifconfig en0 ether my mac address, it doesn't return me the error message I used to have, Network is Down or something. It have accepted the command. But still showing zeros in the Network manager control panel.
I can ping google effectively, but kernel crash when I open the browser.
omegax
May 8 2008, 12:24 AM
Hi, what exactly did you do to IONetworkingFamily.kext? From the steps you listed, the hex editor was used to modify the AppleBCM5701Ethernet kext. Thanks.
BigPimpin
May 8 2008, 03:55 AM

If you end up with Kernel Panics then it's not much of a solution. This old hack has misled a lot of people. It has been around for a long, long time. It didn't work when it was first posted and it doesn't work now. Kernel Panic. Nice.
omegax
May 8 2008, 08:50 AM
Hi BigPimpin, you seem to know a lot about this issue (seen your comments on various threads). Is it possible you help develop a proper broadcom driver? Thanks.
reivajhh
May 13 2008, 08:56 AM
Hi,
I have installed Kayway 10.5.2 in a Dell d620. My Ethernet Card is a Broadcom 5721 (14e4 1600). I have changed the AppleBCM5701Ethernet file as described above and I have obtained the same behaviour:
- DHCP works fine
- No MAC address (all zeros)
- I have set Mac address with ifconfig command: # ifconfig en0 ether 00:18:xx:xx:xx:xx, without problems.
- I can ping internet domains without problems.
- Crash (kernel Panic) when try access to internet with safari.
Does somebody fix this issue ?
Thanks,
Lion's Garden
Jun 3 2008, 10:47 PM
Thank you ARGUS!!!
I installed Leo4All 10.5.2 on Dell D610 with Broadcom Lan 57xx (ID 14e4 and DEV 1677) and I was not able to set-up my Lan Card; I searched and followed a lot of suggestions but it did not work.
This night I tried also your post and now it seems to work fine, the card is able to read MAC Address and I can surf without problems.
I will test my Leo during next weeks and I will inform you if something happens.
Thank so much again for you post.
Regards,
Cristiano
tatsumasadf
Jun 5 2008, 02:34 PM
QUOTE(reivajhh @ May 13 2008, 09:56 AM)

Hi,
I have installed Kayway 10.5.2 in a Dell d620. My Ethernet Card is a Broadcom 5721 (14e4 1600). I have changed the AppleBCM5701Ethernet file as described above and I have obtained the same behaviour:
- DHCP works fine
- No MAC address (all zeros)
- I have set Mac address with ifconfig command: # ifconfig en0 ether 00:18:xx:xx:xx:xx, without problems.
- I can ping internet domains without problems.
- Crash (kernel Panic) when try access to internet with safari.
Does somebody fix this issue ?
Thanks,
suggestion... don't use safari, go on another computer and download firefox for mac on to pen drive and use that
VRuler
Jun 6 2008, 05:18 AM
I have recently installed leo4all v3 on my laptop, by default the everything works except the sound(alc268) and the network (broadcom57xx )
i'm a noob so how can i get the device id ?, can someone pls let me know
danny_b
Jun 6 2008, 09:09 AM
HI!I am sorry for my bad english..I Have installed the Kalyway 10.5.1 and the Broadcom Extreme 57xx on my Dell D610 works perfectly with Safari without any changes on the setup disk.The problem for me and that is not working on Tiger 10.4.10

Danny.Sorry.. is Broadcom Nextreme 57xx..
VRuler
Jun 6 2008, 11:03 PM
can someone tell me what to do ? i have a broadcom 57xx card

here are all my specs:
CODE
http://forum.insanelymac.com/index.php?showtopic=108900
if someone knows what i should do pls pm me or post in my topic
Swissino
Jun 11 2008, 11:10 AM
Hi,
anybody with Kalyway 10.5.2 and a Broadcom BCM5787 working driver? Or if you have another solution....
Thanks!
ephol x86
Jun 12 2008, 03:11 AM
QUOTE(danny_b @ Jun 6 2008, 05:09 PM)

HI!I am sorry for my bad english..I Have installed the Kalyway 10.5.1 and the Broadcom Extreme 57xx on my Dell D610 works perfectly with Safari without any changes on the setup disk.The problem for me and that is not working on Tiger 10.4.10

Danny.Sorry.. is Broadcom Nextreme 57xx..
can u give your card device id and vendor id...
Montasir
Jun 16 2008, 10:32 AM
Tried the above suggestion on 10.5.2 but didn't work.
Card: Broadcom 5753
Vendor_ID = 14e4
Device_ID = 16fd
MAC is 00:00, but setting with ifconfig en0 ether <MAC> succeeds.
dmesg returns:
AppleBCM5751Ethernet: 0 ffffffff resetAdapter - Cannot disable host coalescing state machine, continuing
Running ipconfig set en0 INFORM <IP> <SUBNET> gives the same error above and the following in /var/log/system.log:
mDNSResponder[30]: getifaddrs ifa_netmask for en0 (4) Flags 8863 Family 2 <IP> has different family: 0
mDNSResponder[30]: SetupAddr invalid sa_family 0
EDIT: The above mDNSResponder error is displayed when running the command ifconfig en0 <IP> netmask <SUBNET>. Sorry for the confusion.
Any ideas???
givisok
Jun 16 2008, 01:14 PM
I have broadcom 5788m (Vendor_ID 14e4 DEV_ID 1693). anybody know does this card work in Leo4allV3?
Sorry for my english. i'm from Russia ))
Donk
Jun 16 2008, 02:29 PM
There is a sticky thread here that explains that this set of chips doesn't work and currently no way of making them work.
http://forum.insanelymac.com/index.php?showtopic=4987
pocopico
Jul 2 2008, 08:18 AM
QUOTE(givisok @ Jun 16 2008, 01:14 PM)

I have broadcom 5788m (Vendor_ID 14e4 DEV_ID 1693). anybody know does this card work in Leo4allV3?
Sorry for my english. i'm from Russia ))
I think that might help :
http://forum.insanelymac.com/index.php?sho...4987&st=520The 5788 is almost the same as 5787 except it has some additional features.
http://www.broadcom.com/products/Enterpris...rollers/BCM5788Keep us posted !
krrr
Aug 16 2008, 01:18 PM
did this suceed, do keep us updated.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.