Dear all,
I'm working with a CE 6.0 platform with x86 and I have a vodafone
3G modem pcmcia
card. After card inserted to my target,COM5: was created.
If I try to configure a dialup connection, it seems configured
correctly.
But when I try to do the connection, it response "The port is not
available: another program may be using it." and the rasdial fonction
returns error code 633(ERROR_PORT_NOT_AVAILABLE).
I'm sure that COM5 is free.

I had a registry entry under HKEY_LOCAL_MACHINE\ExtModems :

[HKEY_LOCAL_MACHINE\ExtModems\Vodafone3GModem]
"FriendlyName"="Vodafone 3G external modem"
"DeviceType"=dword:00000001
"Port"="COM5:"

Where may be the problem?

Thanks in advance

Re: 3G modem pcmcia by Silver

Silver
Tue Dec 18 16:43:23 PST 2007

The reg settings you posted should include this:

[HKEY_LOCAL_MACHINE\ExtModems\Vodafone3GModem]
"DeviceArrayIndex"=dword:5
"Prefix"="COM"

...along with all of the other keys.

See:
http://msdn2.microsoft.com/en-us/library/aa917581.aspx


Geoff
--

Re: 3G modem pcmcia by eason

eason
Tue Dec 18 18:10:56 PST 2007

The reg setting as below:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\vodafone]
"Dll"="vodafone.dll"
"VendorID"=dword:00001931
"DeviceID"=dword:0000000c
"Prefix"="COM"
"IsrHandler"="ISRHandler"
"ProgIF"=dword:00000000
"SubClass"=dword:00000080
"Class"=dword:00000002
"DeviceArrayIndex"=dword:00000000
"IClass"=multi_sz:"{CC5195AC-BA49-48a0-BE17-
DF6D1B0173DD}","{54DA86F7-9B78-46d1-8022-51BFA88D7F03}"
"PortSize"=dword:00000010
"PortIsIO"=dword:00000000
"UseMaskReg"=dword:00000000
"MaskOffset"=dword:00000000
"PortMask"=dword:0000ffff
"PortOffset"=dword:00000000
"IsrDll"="giisr.dll"
"ResetDelay"=dword:00003000

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\vodafone\Unimodem]
"FriendlyName"="Vodafone 3G modem"
"Tsp"="Unimodem.dll"
"DeviceType"=dword:00000003
"DevConfig"=hex:10,00,00,00,78,00,00,00,10,01,00,00,00,4B,
00,00,00,00,08,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\vodafone\Unimodem
\Init]
"1"="AT<cr>"
;"2"="ATE0V1&C1&D2<cr>"
;"3"="ATS7=60M1<cr>"
"2"="AT_OPSYS=1<cr>"
"3"="AT+CGDCONT=1,\"IP\",\"Internet\"<cr>"

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\vodafone\Unimodem
\Settings]
"Prefix"="AT"
"Terminator"="<cr>"
"DialPrefix"="D"
"DialSuffix"=";"
"CallSetupFailTimeout"="ATS7=<#><cr>"
"Reset"="ATZ<cr>"

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\vodafone\Unimodem
\Config]
"CallSetupFailTimer"=dword:B4

[HKEY_LOCAL_MACHINE\ExtModems\Vodafone3GModem]
"FriendlyName"="Vodafone 3G external modem"
"DeviceType"=dword:00000001
"Port"="COM5:"

But the phenomenon still exist.

I got the debug log as following:
AUTORAS:: Dialer notifies: [1] [Dialer Start]
RASCS_Disconnected: Ecode=633
Posting WM_NETCONNECT(FALSE) message, ErrorCode = 633(0x279)
AUTORAS:: Dialer notifies: [2] [Dialer Terminate]

Where may be the problem?
Who can help me?


Thanks in advance .







Re: 3G modem pcmcia by Silver

Silver
Wed Dec 19 11:12:52 PST 2007

Did you read the link in the last post? You said that you are using a PCMCIA
modem, follow the structure for that registry setup note that PCMCIA and PC
Card are the same thing..
The registry you sent looks nothing like the example in the link, the
entries are all for PCI! Is the card really an ExpressCard?

Geoff
--