Jump to content

lagnat

Members
  • Content Count

    7
  • Joined

  • Last visited

About lagnat

  • Rank
    InsanelyMac Protégé
  1. For those with dells and perhaps others: I have another d600 that didn't work at first. The problem ended up being a BIOS setting. Go into the BIOS and alt-p until you get to the page with the wireless settings. One of the settings turns the card on and off.. sorry, I can't remember exactly what it says and I don't have the machine with me now. The text to the right explains that even if it's off, the OS can still turn it on but that doesn't seem to be the case with osx. Enable the card in the BIOS and try again. If this works for you, please make a note of the exact setting and let us know.
  2. I just checked this dell, and it is indeed a broadcom BCM4306.
  3. Oh dammit.. replace the NULL with a zero (0). I'll fix my post.
  4. I got the same error but I didn't investigate it since it didn't seem to cause any harm.
  5. This is a relatively complex HOWTO for patching the Darwin Airport driver to work on oxs86. N O T E: You shouldn't even attempt this unless you are already comfortable in Terminal. This is known to work on a dell D600 with a Broadcom BCM4306. EDIT: I have another d600 that didn't work at first. The problem ended up being a BIOS setting. Go into the BIOS and alt-p until you get to the page with the wireless settings. One of the settings turns the card on and off.. sorry, I can't remember exactly what it says and I don't have the machine with me now. The text to the right explains that even if it's off, the OS can still turn it on but that doesn't seem to be the case with osx. Enable the card in the BIOS and try again. If this works for you, please make a note of the exact setting and let me know. EDIT: There is probably a pre-patched driver posted later in this thread. You'll need: o Darwin install CD o MacOS x86 with gcc installed. I used gcc4. 1. Insert Darwin CD 2. Run Terminal.app 3. Make a working directory $ mkdir work $ cd work 4. Untar the driver from the Darwin CD $ bunzip2 -c /Volumes/Darwin8_i386/System/Installation/BinaryDrivers_i386/AirPortDriver2-350.5.tar.bz2 | tar xvf - 5. Optional: Try loading the unpatched driver manually. It should fail. $ sudo chown -R root:wheel System/Library/Extensions/AppleAirPort2.kext $ sudo kextload System/Library/Extensions/AppleAirPort2.kext ld(): Undefined symbols: _OSDequeueAtomic _OSEnqueueAtomic ... 6. Goto http://fxr.watson.org/fxr/source/libkern/g....c?v=OPENDARWIN Copy and paste the missing functions into a new file. I called mine "foo.c". 7. Add the following include lines to the top of the file: #include <libkern/OSTypes.h> #include <libkern/OSAtomic.h> #define NULL 0 The file should now look something like this #include <libkern/OSTypes.h> #include <libkern/OSAtomic.h> #define NULL 0 void * OSDequeueAtomic(void ** inList, SInt32 inOffset) { ( source code deleted ) } void OSEnqueueAtomic(void ** inList, void * inNewLink, SInt32 inOffset) { ( source code deleted ) } 8. Relink the driver with the new functions $ gcc -o AppleAirPort2 foo.c System/Library/Extensions/AppleAirPort2.kext/Contents/MacOS/AppleAirPort2 -fasm-blocks -g -O0 -DJAGUAR -DDEBUG=1 -fmessage-length=0 -mfix-and-continue -fno-common -nostdinc -fno-builtin -finline -fno-keep-inline-functions -force_cpusubtype_ALL -fno-exceptions -msoft-float -static -DKERNEL -DKERNEL_PRIVATE -DDRIVER_PRIVATE -DAPPLE -DNeXT -I/System/Library/Frameworks/Kernel.framework/PrivateHeaders -I/System/Library/Frameworks/Kernel.framework/Headers -lkmod -lcc_kext -lcpp_kext -static -nostdlib -r 9. Move the patched driver into the work kext $ sudo mv AppleAirPort2 System/Library/Extensions/AppleAirPort2.kext/Contents/MacOS/ 9. Test the new driver. It should load and if your hardware is supported, you should see it show up in network prefs. $ sudo chown -R root:wheel System/Library/Extensions/AppleAirPort2.kext $ sudo kextload System/Library/Extensions/AppleAirPort2.kext kextload: System/Library/Extensions/AppleAirPort2.kext loaded successfully 10. If all goes well, move the working kext into the system $ sudo cp -r System/Library/Extensions/AppleAirPort2.kext /System/Library/Extensions
  6. I've been able to get the darwin wireless driver working with the built-in wireless card on a dell laptop. I am not willing to host the modified driver but I can post detailed instructions if people think it's going to be useful.
  7. lagnat

    Project: Wireless Drivers

    I've been able to get the darwin wireless driver working with the built-in wireless card on a dell laptop. I am not willing to host the modified driver but I can post detailed instructions if people think it's going to be useful.
×