site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On 26 févr. 05, at 02:52, Justin Walker wrote: On Feb 25, 2005, at 8:36, Stephane Sudre wrote: Detaching the cable, just says the Link is down. Noted. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 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]). Will have a look but I'm not sure it's going to tell me how I can physically reproduce it. 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. Disabling the Interface in the Network Preference Pane leads to 1 or multiple Detach Protocol message(s). Note that the IONetworkFamily code is a separate module, and is packaged separately in the darwin repository. This email sent to site_archiver@lists.apple.com