Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: USB ADSL Modem name visible in Network preferences,



At 10:44 +0100 28/10/02, Jirome Foucher wrote:
I've got an ADSL USB modem from Alcatel, namely the SpeedTouch 330

In my tool (a connection tool for an ISP), I build a list of Network ports, just like the Network control panel does.
I use MoreSCF to do that with the routine MoreSCCreatePortArray()

Unfortunately, the name I get from MoreSCF is "alcatel-port"

But the name displayed by Network is "Alcatel SpeedTouch USB"

Does someone know where that name is stored ??
Is it related to the fact that it's a USB modem, so should I ask the USB driver for that name ?

For USB serial devices, the Network prefs panel gets the name from I/O Registry. MoreSCF is supposed to do the same thing. What version of the MoreSCF package are you using? The latest, 1.0b3, is on the web site.

<http://developer.apple.com/samplecode/Sample_Code/Networking/MoreSCF.htm>

Look at the routine CopyUserVisibleNameForModemOrSerialPort, which contains the special case for the USB serial devices. You should be able to step through that routine to work out why it's going wrong.

S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
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.

References: 
 >USB ADSL Modem name visible in Network preferences, (From: Jérome Foucher <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.