Home > Archive > Clipper > June 2004 > Re: Serial communication problem
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: Serial communication problem
|
|
| Nick Ramsay 2004-06-25, 6:50 pm |
| On Tue, 22 Jun 2004 01:50:18 +0200, "Milomir Zecevic"
<zeka215@eunet.yu> wrote:
>In my application I use graphic tablet as input device. It is connected on
>serial port. For communication, I use CA Tools functions ( COM_OPEN etc).
>When running under DOS, everything is OK.
>
>Now, program is installed under Win98SE, and there is serial printer
>connected to other COM port of the PC. Now, I can't read anything from COM
>port. Serial printer works with Windows spooler program, and it works OK.
>
>Is exist any solution to read data from serial port in this hardware
>configuration ?
>
This has worked for me (and others here) in the past:
[HKEY_LOCAL_MACHINE\System\CurrentContro
lSet\Services\VxD\VCOMM]
"StaticVxD"="*VCOMM"
"Start"=hex:00
"EnablePowerManagement"=hex:00,00,00,00
That turns off the power management in the serial port device driver.
Then you need to edit system.ini & add the following lines to the
386Enh section:
Com1AutoAssign=2
Com2AutoAssign=2
After a reboot the com ports should work as expected.
| |
| Ian Boys 2004-06-25, 6:50 pm |
| Nick's solution worked for me. Apparently Win 98 starts up, remembers the
fact that the serial port is on and reports this to the DOS system.
Unfortunately, in the mean time it switches it off to save power!
Ian Boys
DTE
|
|
|
|
|