• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: KEV_DL_IF_DETACHED/KEV_DL_IF_ATTACHED: how to?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KEV_DL_IF_DETACHED/KEV_DL_IF_ATTACHED: how to?


  • Subject: Re: KEV_DL_IF_DETACHED/KEV_DL_IF_ATTACHED: how to?
  • From: Justin Walker <email@hidden>
  • Date: Fri, 25 Feb 2005 17:52:59 -0800


On Feb 25, 2005, at 8:36, Stephane Sudre wrote:

What kind of operation/action can trigger a KEV_DL_IF_ATTACHED or KEV_DL_IF_DETACHED kernel event?

If you haven't tried it yet, consider getting a copy of the xnu kernel source and using 'cscope'. This will let you track down the answer to such questions (as long as the answers lie in the BSD/Mach part of the kernel; cscope does not grok C++ [and it's not alone]).


Ejecting/inserting a WiFi PCMCIA card in an old PowerBook for instance?

It probably depends on exactly what the device handler and the corresponding IONetwork family support does. I believe that, for the Ethernet family, insertion/ejection of the card (or a cable) will cause such events, but the code tells the real story.


Note that the IONetworkFamily code is a separate module, and is packaged separately in the darwin repository.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large  *
Institute for General Semantics        |   When LuteFisk is outlawed
                                       |   Only outlaws will have
                                       |       LuteFisk
*--------------------------------------*-------------------------------*

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: KEV_DL_IF_DETACHED/KEV_DL_IF_ATTACHED: how to?
      • From: Stephane Sudre <email@hidden>
References: 
 >KEV_DL_IF_DETACHED/KEV_DL_IF_ATTACHED: how to? (From: Stephane Sudre <email@hidden>)

  • Prev by Date: Re: select() weirdness
  • Next by Date: Re: select() weirdness
  • Previous by thread: KEV_DL_IF_DETACHED/KEV_DL_IF_ATTACHED: how to?
  • Next by thread: Re: KEV_DL_IF_DETACHED/KEV_DL_IF_ATTACHED: how to?
  • Index(es):
    • Date
    • Thread