Problem with Modem Prefs
Problem with Modem Prefs
- Subject: Problem with Modem Prefs
- From: "Chris Edgington" <email@hidden>
- Date: Wed, 12 Jun 2002 17:12:13 -0500
I've got an app that runs after on the first restart after installing
our USB ADSL drivers. This app waits for the modem to be plugged in,
then it creates preferences for TCPIP, Remote Access, and Modem (using
the MoreNetworkSetup and NetworkSetupHelpers). However, it appears that
the Modem preferences is tied to the enumeration order of the device.
For example, whether or not our device is plugged in at boot or after
the machine has booted, it gets an fPortRef of 1c090000. However, the
plug-time of the modem does result in a different device name assigned
to its port. It either gets serial1 or serial2 (I see this using
OTDumpPortRegistry). This port device name seems to be connected to the
Modem prefs somehow, 'cause if the pref was created when the modem was
serial1, if the machine is rebooted without the modem plugged in, then
the modem is plugged in and gets serial2, the Modem prefs now does not
work - even though in both cases the fPortRef is 1c090000. Looking in
the actual prefs I see the 'ccl ' pref has this 'fHintPortName' field.
Can I change this to something more generic so it isn't tied to the plug
order of the modem?
Thanks,
-Chris
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.