Re: USB ADSL Modem name visible in Network preferences,
Re: USB ADSL Modem name visible in Network preferences,
- Subject: Re: USB ADSL Modem name visible in Network preferences,
- From: Quinn <email@hidden>
- Date: Mon, 28 Oct 2002 10:02:40 +0000
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.