Jump to content

tinhead

tinhead

Member Since 30 Dec 2005
Offline Last Active Jul 06 2007 07:11 AM
-----

Posts I've Made

In Topic: PowerManagement (with ACPI Support) Software Release

28 May 2006 - 01:11 AM

Thx for you work, but there is something wrong ... DVD Player is not working ( hang ) if i use your kext. I know VLC, hehe, but maybe you can fix it ?

In Topic: Broadcom 570x and 575x

01 May 2006 - 04:07 PM

And one more... I made a look through the tg3 broadcom linux driver and I can definately say that AppleBCM5501Ethernet doesn't know there are flash based NVRAM broadcom chips at all (our case). The original driver tries to read eeprom with an obfuscated value, but flash based NVRAM chip don't obfuscate the content of NVRAM and read it different way. In tg3 there are different functions for reading eeprom based NVRAM and flash based NVRAM and flash based NVRAM is written differently if the flash chip is buffered or not. :D

So... the point of all this info is that there is no easy way to patch NVRam reading in driver because the functions don't exist at all for reading flash based NVRAM


yep, you right .. there is no easy way to make the driver proper working .. but anyway, thanks for you work, it is nice to know someone is working on this issue.

I have done only some test with HP 6220 laptop, but i was never done with the nic drivers. Now i'm back with my old laptop ( nw8000 ) and will patch ( if needed ) the 10.4.6 nic drivers, but of course only for 570x and not 575x/8x nic's. Btw, thanks to all who have send me one of those 924573695637805245260 pm's ... but this is not the right way to push someone to do something :P

Anyway, i'm back ...

In Topic: Broadcom 570x and 575x

19 January 2006 - 10:58 AM

Tinhead

Pls help me.
My HP nc6220 has broadcom 5751, PCI ID 167D, but the nic did not correctly work with your patch of kext.
I did modification on on hex 37336 with the NIC's PCI ID, but also failed.
Here it the boot log, so pls let me know what I need to do more.

Jan 19 11:32:09 localhost kernel[0]: display: family specific matching fails
Jan 19 11:32:09 localhost kernel[0]: AppleBCM5701Ethernet: ffffffff 669955aa CheckNVRam -- nvram does not start with magic constant
Jan 19 11:32:09 localhost kernel[0]: AppleBCM5701Ethernet: 0 0 getAdapterInfo - init/sanity check of nvram failed
Jan 19 11:32:09 localhost kernel[0]: AppleBCM5701Ethernet: 0 0 start - getAdapterInfo failed, giving up
Jan 19 11:32:09 localhost kernel[0]: IOCommandGate::disable() called when not gated
Jan 19 11:32:09 localhost kernel[0]: Backtrace 0x389764 0x28ef264a 0x3ab9b8 0x3aba89 0x37e481 0x37dc8d 0x37f3e2
Jan 19 11:32:09 localhost kernel[0]: Kernel loadable modules in backtrace (with dependencies):
Jan 19 11:32:09 localhost kernel[0]: com.apple.iokit.AppleBCM5701Ethernet(2.1.0d21)@0x28ef1000
Jan 19 11:32:09 localhost kernel[0]: dependency: com.apple.iokit.IONetworkingFamily(1.5.0)@0x28ea8000
Jan 19 11:32:09 localhost kernel[0]: dependency: com.apple.iokit.IOPCIFamily(1.7)@0x238c5000
Jan 19 11:32:09 localhost kernel[0]: IOCommandGate::disable() called when not gated
Jan 19 11:32:09 localhost kernel[0]: Backtrace 0x389764 0x28ef264a 0x3ab9b8 0x3aba89 0x37e481 0x37dc8d 0x37f3e2
Jan 19 11:32:09 localhost kernel[0]: Kernel loadable modules in backtrace (with dependencies):
Jan 19 11:32:09 localhost kernel[0]: com.apple.iokit.AppleBCM5701Ethernet(2.1.0d21)@0x28ef1000
Jan 19 11:32:09 localhost kernel[0]: dependency: com.apple.iokit.IONetworkingFamily(1.5.0)@0x28ea8000
Jan 19 11:32:09 localhost kernel[0]: dependency: com.apple.iokit.IOPCIFamily(1.7)@0x238c5000



Yep, i know, 6220 have bcm 5751 and this way didnt work. I got 6220 yesterday and will try to patch the driver for the bcm 5751 ...

In Topic: Broadcom 570x and 575x

18 January 2006 - 09:17 PM

mac noob here...
i noticed some of the .kext in that extensions folder are expandable but my IONetworkingFamily.kext/ is simply a file.

How do I copy your dir into it?


Unpack the zip file, should be easy on OS X, just open the zip :)

Then right click on the AppleBCM5701Ethernet.kext and select from the menu "Copy"

Ehm, open finder, go to the system -> library -> extensions , select IONetworkingFamilykext, right click -> Show package contents, then got into Contents -> PlugIns . In this folder right click on free space, and paste from menu.

Heh, this should be easy enought, or ?

In Topic: Broadcom 570x and 575x

18 January 2006 - 04:05 PM

blah ...

copy my modyfied extension into the /System/Library/Extensions/IONetworkingFamily.kext/Contents/Plugins

Change/Add device into the Info.plist ( still needed, if this not help you must patch with hexeditor my kext )

then run

sudo -s
cd /
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

and reboot.

Patching with Hexeditor :

-Expample, device id 169c ( bcm 5788 )
-patch on hex 37336 from "66 81 FA 59 16" to "66 81 FA 9C 16".

Thats all. I will patch the 10.4.4 drivers too, but currently try to run the 10.4.3
© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy