• 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: Identifing port names for users
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Identifing port names for users


  • Subject: Re: Identifing port names for users
  • From: Bernd Löhr <email@hidden>
  • Date: Thu, 10 Apr 2003 10:16:57 +0200

Hi Mark,

this has to do with the way the Network Setup/Config stuff works. I tried hard to get a decent port name to be displayed in ZTerm for instance, but all you get as a serial client is the BSD name (which is ws_imlppp something).
The internal modem port name is specially treated in Network config; there might be a translation (German: "Internes Modem") displayed. Please have a look at:
1. /System/Library/PrivateFrameworks/NetworkConfig.framework/Versions/A/ Resources
Inside the language directories you'll find some string lists, which will further confuse you...
2. With the IORegistryExplorer you might have a look at the properties of the different classes, for WebShuttle:
Search the Service Plane for WebShuttle and you will eventually find the three ports (IOModemSerialStreamSync and IOSerialBSDClient).
What you'll need is to get the 'Product name' entry out of the IOModemSerialStreamSync, the BSD name is right there as well.
BTW, the 'Product Name' key also exist on USB CDC devices - USB modems which do not need a driver.

As I heard through the grapevine the Network configuration stuff will change quite a bit with 10.3, so, after playing around with patching here and there to have a more user friendly display of port names, I finally gave up for now :-( and wait for better times...

Ciao

Bernd


Am Mittwoch, 09.04.03 um 16:04 Uhr schrieb Mark Thomas:

Hi,
Does anyone know what key should you be using when you get a list of the
port/services from the MoreSCCopyServiceIDs call. As by going by the
kSCPropUserDefinedName doesn't always show the same name which appears in
the network settings active ports list,

Any ideas why, as using the kSCPropUserDefinedName key gives me the proper
"Internal modem" string, but doesn't work for all for all devices e.g. The
WebShuttle device kSCPropUserDefinedName is "ws_imlppp-ports", but the name
which appears in the active port list is "WebShuttle 1 MLPPP"

So I am wonderig if there's another field which I am suppose to use ???.

Thanks
Mark.
_______________________________________________
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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Identifying port names for users
      • From: Mark Thomas <email@hidden>
References: 
 >Identifing port names for users (From: Mark Thomas <email@hidden>)

  • Prev by Date: RE: Is it thread safe ?
  • Next by Date: Re: Getting ethernet/mac address's
  • Previous by thread: Identifing port names for users
  • Next by thread: Re: Identifying port names for users
  • Index(es):
    • Date
    • Thread