Darwin / MacOS/X serial port driver for IPWireless PCCard and USB modems.
by Stephen Blackheath and Ben Martel
Copyright (C) 2004 Symmetric Systems Ltd.
All Rights Reserved.


BUILDING USING MAKEFILE

make
make install


BUILDING USING XCODE

1. Open the ipwireless_MacOSX.xcode project.
2. Select the nz.co.symmetric.driver.IPWirelessUSB target at the top left of
  the Xcode project window.
3. Click on the hammer to build it.
4. Select the nz.co.symmetric.driver.IPWirelessPCCard target at the top left of
  the Xcode project window.
5. Click on the hammer to build it.
6. Delete /System/Libarary/Extensions/nz.co.symmetric.driver.IPWireless*
7. With sudo, copy build/nz.co.symmetric.driver.IPWireless* into /System/Library/Extensions/
8. Unload old modules with these commands:
  sudo kextunload /System/Library/Extensions/nz.co.symmetric.driver.IPWirelessUSB
  sudo kextunload /System/Library/Extensions/nz.co.symmetric.driver.IPWirelessPCCard
  sudo kextunload /System/Library/Extensions/nz.co.symmetric.driver.IPWireless
9. Load new modules with these commands:
  sudo kextload /System/Library/Extensions/nz.co.symmetric.driver.IPWireless
  sudo kextload /System/Library/Extensions/nz.co.symmetric.driver.IPWirelessUSB
  sudo kextload /System/Library/Extensions/nz.co.symmetric.driver.IPWirelessPCCard

  
TO VIEW THE LOG WHEN THE DRIVERS ARE RUNNING

tail -f /var/log/system.log


TO CHANGE THE VERSION NUMBER

Please update the version number in all of these files:

  ChangeLog (add a new entry)
  Info.plist.common (two places - one module, one compatibility version)
  Info.plist.pccard (two places - one module, one dependency)
  Info.plist.usb (two places - one module, one dependency)
  Info.plist.usbloader (one place - one module)
  ipwireless_info.c
  ipwireless_pccard_info.c
  ipwireless_usb_info.c
  ipwireless_usbload_info.c
  ipwireless_MacOSX.xcode/project.pbxproj (four places)


KNOWN BUGS

*** BUG 1 - "Bad io range" error

If you install the PCCard driver while the card is plugged in, you will see this
message in the log:

Jan 20 12:22:18 localhost kernel: IOPCCard16Enabler: bad io range 8(00000000:00000010)

This is caused by a minor bug in the IOKit.  The IOPCCard16Enabler manages a
list of I/O ports it has allocated.  It only frees things from this list when
the card is unplugged.  It *should* free them whenever the card is unconfigured
(which happens when the card is unloaded).  It would be possible to work around
the problem, but there is a risk of introducing a kernel version dependency.
Also: It has absolutely no ill effects, apart from this message.

