XP Embedded Idle Disconnect on Direct Serial

G

Godzilla

Hi,

We are having problem configuring idle disconnect timeout on RAS
manager using direct serial connection. The options seemed greyed
out...

The scenario is that when we establish a connection using direct serial
connection (Communications between each computer) from a Windows 2003
dialup shortcut to remote (XPE) machine. The problem is that when the
connection is dropped, the RAS manager on the XPE machine does not drop
the connection at all because we have wired back pin 4 to 6 in the
serial connection to simulate a full 7 pin wires connection.

We realised that the connection can be dropped on idle timeout, the
question is where do we configure such options. Any help will be very
helpful.

Thanks.
 
K

KM

The option is typically mapped to "Disconnect a call if idle for more than
xxx mins" UI element is called InactivityTimeout. Let me explain a bit
more...

For a regular modem it is usually stored in registry under
[HKLM\SYSTEM\CurrentControlSet\Control\Class
\{4D36E96D-E325-11CE-BFC1-08002BE10318}\0000\Settings],"InactivityTimeout"
The default is "S30=<#>", you can change it to something like "S30=300" or
etc. and that should change the S-register value for the modem.
If there was more than just one modem installed, you'd probably notice more
subkeys under the Modem class key. Changing the right value is possible
after you find the one that attached to the COM port you are interested in.

Anyway, for null modem driver it is however a little bit different. The
InactivityTimeout value is hidden there inside a binary structure of a
Properties value of the driver in registry.
Take a look at a typical null modem INF. You'd probably find the following
there:

....
; Properties - dwords and words are byte reversed
; |Dial Options |InactivityTimeout
|Speaker Mode |Max DTE Rate
; |CallSetupFailTimeout |Speaker Volume
|Modem Options |Max DCE Rate
HKR,, Properties, 1, 00,00,00,00, 00,00,00,00, 00,00,00,00, 00,00,00,00,
00,00,00,00, 30,00,00,00, 00,c2,01,00, 00,c2,01,00

....

So the second sequence of 4-bytes for the "1" value is what you are probably
looking for. Trying changing that value there.
The same here, you should be looking for the Properties key under a subkey
(0000 or etc.) of the modem class key:
[HKLM\SYSTEM\CurrentControlSet\Control\Class
\{4D36E96D-E325-11CE-BFC1-08002BE10318}].

Honestly I never played with this for null modem so I am guessing here.


Regards,
KM
 
G

Godzilla

Hello KM,

Thanks for your help. I will give it a shot... it's much better than
what I can find on the web!!

Cheers.


The option is typically mapped to "Disconnect a call if idle for more than
xxx mins" UI element is called InactivityTimeout. Let me explain a bit
more...

For a regular modem it is usually stored in registry under
[HKLM\SYSTEM\CurrentControlSet\Control\Class
\{4D36E96D-E325-11CE-BFC1-08002BE10318}\0000\Settings],"InactivityTimeout"
The default is "S30=<#>", you can change it to something like "S30=300" or
etc. and that should change the S-register value for the modem.
If there was more than just one modem installed, you'd probably notice more
subkeys under the Modem class key. Changing the right value is possible
after you find the one that attached to the COM port you are interested in.

Anyway, for null modem driver it is however a little bit different. The
InactivityTimeout value is hidden there inside a binary structure of a
Properties value of the driver in registry.
Take a look at a typical null modem INF. You'd probably find the following
there:

...
; Properties - dwords and words are byte reversed
; |Dial Options |InactivityTimeout
|Speaker Mode |Max DTE Rate
; |CallSetupFailTimeout |Speaker Volume
|Modem Options |Max DCE Rate
HKR,, Properties, 1, 00,00,00,00, 00,00,00,00, 00,00,00,00, 00,00,00,00,
00,00,00,00, 30,00,00,00, 00,c2,01,00, 00,c2,01,00

...

So the second sequence of 4-bytes for the "1" value is what you are probably
looking for. Trying changing that value there.
The same here, you should be looking for the Properties key under a subkey
(0000 or etc.) of the modem class key:
[HKLM\SYSTEM\CurrentControlSet\Control\Class
\{4D36E96D-E325-11CE-BFC1-08002BE10318}].

Honestly I never played with this for null modem so I am guessing here.

Regards,
KM


We are having problem configuring idle disconnect timeout on RAS
manager using direct serial connection. The options seemed greyed
out...
The scenario is that when we establish a connection using direct serial
connection (Communications between each computer) from a Windows 2003
dialup shortcut to remote (XPE) machine. The problem is that when the
connection is dropped, the RAS manager on the XPE machine does not drop
the connection at all because we have wired back pin 4 to 6 in the
serial connection to simulate a full 7 pin wires connection.
We realised that the connection can be dropped on idle timeout, the
question is where do we configure such options. Any help will be very
helpful.
Thanks.- Hide quoted text -- Show quoted text -
 
G

Godzilla

Hello KM,

The suggestion does not work as the connection at the RAS server end
does not drop the connection... it is a concern if the link does not
support full 7 wires cable. There is no way for RAS to disconnect the
connection.



The option is typically mapped to "Disconnect a call if idle for more than
xxx mins" UI element is called InactivityTimeout. Let me explain a bit
more...

For a regular modem it is usually stored in registry under
[HKLM\SYSTEM\CurrentControlSet\Control\Class
\{4D36E96D-E325-11CE-BFC1-08002BE10318}\0000\Settings],"InactivityTimeout"
The default is "S30=<#>", you can change it to something like "S30=300" or
etc. and that should change the S-register value for the modem.
If there was more than just one modem installed, you'd probably notice more
subkeys under the Modem class key. Changing the right value is possible
after you find the one that attached to the COM port you are interested in.

Anyway, for null modem driver it is however a little bit different. The
InactivityTimeout value is hidden there inside a binary structure of a
Properties value of the driver in registry.
Take a look at a typical null modem INF. You'd probably find the following
there:

...
; Properties - dwords and words are byte reversed
; |Dial Options |InactivityTimeout
|Speaker Mode |Max DTE Rate
; |CallSetupFailTimeout |Speaker Volume
|Modem Options |Max DCE Rate
HKR,, Properties, 1, 00,00,00,00, 00,00,00,00, 00,00,00,00, 00,00,00,00,
00,00,00,00, 30,00,00,00, 00,c2,01,00, 00,c2,01,00

...

So the second sequence of 4-bytes for the "1" value is what you are probably
looking for. Trying changing that value there.
The same here, you should be looking for the Properties key under a subkey
(0000 or etc.) of the modem class key:
[HKLM\SYSTEM\CurrentControlSet\Control\Class
\{4D36E96D-E325-11CE-BFC1-08002BE10318}].

Honestly I never played with this for null modem so I am guessing here.

Regards,
KM


We are having problem configuring idle disconnect timeout on RAS
manager using direct serial connection. The options seemed greyed
out...
The scenario is that when we establish a connection using direct serial
connection (Communications between each computer) from a Windows 2003
dialup shortcut to remote (XPE) machine. The problem is that when the
connection is dropped, the RAS manager on the XPE machine does not drop
the connection at all because we have wired back pin 4 to 6 in the
serial connection to simulate a full 7 pin wires connection.
We realised that the connection can be dropped on idle timeout, the
question is where do we configure such options. Any help will be very
helpful.
Thanks.- Hide quoted text -- Show quoted text -
 
K

KM

So, do you have 7 pin connected there or not?
Well, I can't comment on the wiring you did over there - never had a need to do the same here as I always have a plenty of interlink
cables here. However, wiring 4 to 6 (DSR-DTR) sounds fine if you also connected other pins properly (see the wiring instructions
here: http://support.microsoft.com/kb/142324)

You may want to test it on XP Pro first (when you have XP Pro on both machines). Then just have XP Pro on the machine that is the
target for XPe. If everything works there, then it is something wrong with software. Otherwise, hardware is your problem.


--
=========
Regards,
KM


Godzilla said:
Hello KM,

The suggestion does not work as the connection at the RAS server end
does not drop the connection... it is a concern if the link does not
support full 7 wires cable. There is no way for RAS to disconnect the
connection.



The option is typically mapped to "Disconnect a call if idle for more than
xxx mins" UI element is called InactivityTimeout. Let me explain a bit
more...

For a regular modem it is usually stored in registry under
[HKLM\SYSTEM\CurrentControlSet\Control\Class
\{4D36E96D-E325-11CE-BFC1-08002BE10318}\0000\Settings],"InactivityTimeout"
The default is "S30=<#>", you can change it to something like "S30=300" or
etc. and that should change the S-register value for the modem.
If there was more than just one modem installed, you'd probably notice more
subkeys under the Modem class key. Changing the right value is possible
after you find the one that attached to the COM port you are interested in.

Anyway, for null modem driver it is however a little bit different. The
InactivityTimeout value is hidden there inside a binary structure of a
Properties value of the driver in registry.
Take a look at a typical null modem INF. You'd probably find the following
there:

...
; Properties - dwords and words are byte reversed
; |Dial Options |InactivityTimeout
|Speaker Mode |Max DTE Rate
; |CallSetupFailTimeout |Speaker Volume
|Modem Options |Max DCE Rate
HKR,, Properties, 1, 00,00,00,00, 00,00,00,00, 00,00,00,00, 00,00,00,00,
00,00,00,00, 30,00,00,00, 00,c2,01,00, 00,c2,01,00

...

So the second sequence of 4-bytes for the "1" value is what you are probably
looking for. Trying changing that value there.
The same here, you should be looking for the Properties key under a subkey
(0000 or etc.) of the modem class key:
[HKLM\SYSTEM\CurrentControlSet\Control\Class
\{4D36E96D-E325-11CE-BFC1-08002BE10318}].

Honestly I never played with this for null modem so I am guessing here.

Regards,
KM


We are having problem configuring idle disconnect timeout on RAS
manager using direct serial connection. The options seemed greyed
out...
The scenario is that when we establish a connection using direct serial
connection (Communications between each computer) from a Windows 2003
dialup shortcut to remote (XPE) machine. The problem is that when the
connection is dropped, the RAS manager on the XPE machine does not drop
the connection at all because we have wired back pin 4 to 6 in the
serial connection to simulate a full 7 pin wires connection.
We realised that the connection can be dropped on idle timeout, the
question is where do we configure such options. Any help will be very
helpful.
Thanks.- Hide quoted text -- Show quoted text -
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top