[kismac] Re: ioxperts bug and kextunload question

  • From: Brad Knowles <brad.knowles@xxxxxxxxx>
  • To: kismac@xxxxxxxxxxxxx
  • Date: Tue, 18 May 2004 10:05:41 +0200

At 11:12 PM -0400 2004/05/17, Gerald Koh wrote:

 basically, most of the time when i  wake the computer from sleep or
 switch networks, the driver doesn't automatically connect and i need to
 open the control panel prefpane and click the 'apply' button.  then
 everything works fine (except for some random issues that sometiimes
 require ejecting the card, waiting, and reinserting).

Weird. Sounds like an issue specifically with Panther. What kind of hardware are you using this with? I'm using the same card (internal antenna version) with Jaguar (10.2.8) on a PowerBok G3 "Pismo", and I've never had these kinds of problems with their driver.

 is there a way to write a script or something that does the equivalent
 of clicking the prefpane's 'apply' button when the computer wakes?  i
 know this isn't really a kismac question, but i can't think of a better
 place than this to ask.

You might be able to AppleScript it. Alternatively, there are macro packages you can get which will simulate keyboard and mouse input as if you had done it yourself, and they can do just about anything you can do -- try CE QuicKeys or TypeIt4Me.

 sometimes the driver fails to unload after a session, which currently
 requires a reboot to fix.  i posted a question about that a while back,
 to which someone suggested using kextunload to remove the driver.  i
 haven't actually messed with this yet, because i have another question
 about it.  is the kismac driver tool move than just a gui for kextload
 and kextunload? because if not, then the shell commands would not be
 successful anyway and i'd be wasting my time learning about them.

The KisMac driver tool is a complete wireless card driver, with extra hooks to allow KisMac to do things it normally could not with the standard drivers. When it starts, KisMac calls kextunload on the existing OS driver and then kextload on the KisMac driver tool, and does the process in reverse when shutting down.

Brad Knowles, <brad.knowles@xxxxxxxxx>

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
    -Benjamin Franklin, Historical Review of Pennsylvania.

SAGE member since 1995. See <http://www.sage.org/> for more info.

Other related posts: