Technical Q&A QA1667

Suppressing the Network Configuration Dialog

Q:  When I attach my device, why does a dialog appear asking me to configure it for the network?

A: When I attach my device, why does a dialog appear asking me to configure it for the network?

Figure 1  Network Configuration Dialog

Starting in Mac OS X 10.5, a dialog prompts the user when a device is connected to the system that could be used for networking, such as a USB Ethernet interface, modem, or serial port adaptor. Two I/O Kit properties are available that device drivers can use to control this dialog.

The New Interface Detected Action property is available starting in Mac OS X 10.6 while the HiddenPort property has been available since Mac OS X 10.2.

Devices that do not require additional drivers to function can use a codeless KEXT to control the dialog. The example KEXTs will merge the correct properties into the I/O Registry; however, each KEXT's Info.plist file will need to be modified to match the hardware being controlled. For more information on I/O Kit matching dictionaries, as well as KEXT installation, see the document I/O Kit Fundamentals. For USB devices, the document Technical Q&A QA1076, 'Tips on USB driver matching for Mac OS X' may also be helpful.

Downloadables



Document Revision History


DateNotes
2009-10-09

New document that describes how to suppress the network configuration dialog