SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   PC Hardware/Software forum (https://www.subsim.com/radioroom/forumdisplay.php?f=235)
-   -   UPS + com1 port connection problem (https://www.subsim.com/radioroom/showthread.php?t=149648)

Contact 03-22-09 09:05 AM

UPS + com1 port connection problem
 
Hello,

I decided to give a try and install software for my UPS device today. But faced device detection problem on Win Xp. After I installed the software (Power X1 v.4.2) for Lestar UPS I have problems with software detecting UPS via com1 port. This com1 port cable was included into the original package of UPS device. But I think that connecting via usb would solve this problem. However I don't have usb cable yet. Any thoughts how to make it work on com1 ?

Kaleun 03-22-09 09:56 AM

Punting a guess off the top of my head - the default setting for UPS service is WinXP is set to "manual" and therefore stopped by default. (sorry - i don't know your tech level ,so i'll go thru step by step)

Try start > run and type services.msc then scroll down to the service "Uninterruptible Power Supply" and set the Startup up type to "automatic" and then start the service via the Start button.

I hope this fixes your problem

Kaleun

CaptainHaplo 03-22-09 11:52 AM

Couple of possibilities. Kaleun gave you a good one. Another is remember that Com 1 is often assigned by the Bios as the serial port on the MB. Most current MB's dont have a serial connection built on anymore, but the bios still has the settings so it assignes the resources even if the device isn't present.

Often people try to get around this issue if they need a com port by using a usb to serial adapter - but when you do - they usually default install to com 5 or above. If your using one of these, make sure you disable the com1 assign in Bios, then set the adapter to be com1.

The next thing - Microsoft in their wisdom decided that if you set your system to go into standby or hibernate - when it wakes back up - it does NOT wake the serial port. Make sure you reboot your PC before attempting to use com1 - as it might simply still be "asleep". This can and oftend does cause anything using com 1 - to fail. Sometimes an app calling com1 will wake the port back up - but that is kind of a random it may or may not thing.

Contact 03-22-09 01:05 PM

Quote:

Originally Posted by Kaleun (Post 1069955)
Punting a guess off the top of my head - the default setting for UPS service is WinXP is set to "manual" and therefore stopped by default. (sorry - i don't know your tech level ,so i'll go thru step by step)

Try start > run and type services.msc then scroll down to the service "Uninterruptible Power Supply" and set the Startup up type to "automatic" and then start the service via the Start button.


I hope this fixes your problem

Kaleun

Thanks guys for the support.

I did changed "Uninterruptible Power Supply" to automatic. But not sure what you ment by "and then start the service via the Start button" ?
I've restarted my pc and checked if software detects UPS now, but no joy still message "UPS Disconnected"

Edited.

Ok I spoted now what you ment :) The service are now started but I had to configure UPS settings and enable com1 port there in winxp before I was allowed to start the service. After that I have shuted down my pc and turned off UPS for 10 sec. After I switched everything back software still don;t show any sighns of life. I'm totaly confused :(

CaptainHaplo 03-22-09 03:23 PM

ok - lets start from the beginning.

The cable - being new and provided - we can rule out being an issue. They wouldn't provide a crossover by mistake either - so lets figure the issue is elsewhere.

Couple of things that can make the com port not function as intended. Check the documentation and see what baud rate the com port needs to be at. Often, this can be changed in your monitoring software. Find out what the default for the device/software is. Then go into device manager and make sure that the properties for the com port match. If the software is running at 9600, and the port is set to 2400 for example - your going to have issues.

Also double check the flow control for the port. If its set to hardware or Xon/Xoff, set it to none and reboot.

Also - provide model and data on the UPS - we may be able to research a bit more with that info if you need further help.

Contact 03-22-09 05:11 PM

Quote:

Originally Posted by CaptainHaplo (Post 1070107)
ok - lets start from the beginning.

The cable - being new and provided - we can rule out being an issue. They wouldn't provide a crossover by mistake either - so lets figure the issue is elsewhere.

Couple of things that can make the com port not function as intended. Check the documentation and see what baud rate the com port needs to be at. Often, this can be changed in your monitoring software. Find out what the default for the device/software is. Then go into device manager and make sure that the properties for the com port match. If the software is running at 9600, and the port is set to 2400 for example - your going to have issues.

Also double check the flow control for the port. If its set to hardware or Xon/Xoff, set it to none and reboot.

Also - provide model and data on the UPS - we may be able to research a bit more with that info if you need further help.

http://img19.imageshack.us/img19/2323/clipboardt.th.jpg

I assume if I can see com1 port in device manager it means that it works ok isn't it ?

Default speed of com1 port was already set to 9600 when I opened it, nothing else was changed by me. Picture is at it's original stage. However I was not able to find anything about baud rates in motherboard manual. (My motherboard type is Nvidia Nforce3 250 - 8kda7i10)

My UPS device is: Lestar MD-625 E.

:hmmm:

CaptainHaplo 03-22-09 09:18 PM

I will do some research on that device.

As for it showing in the device manager - no that doesnt mean its working right - lots of things can go wrong with serial ports - but testing them means you need a good test app (which I can get you should you need it) and the ability to short pins on the port or on the cable.

I am tweaking this box with win7 at the moment - so give me a bit to research and let me see what I can find.

Reece 03-22-09 11:13 PM

I have a UPS, a few years old now but still works well & have just replaced the batteries, however I never used the DB9 connector before, I assume it must be to a com port, but what does it do?:hmmm:
Thanks.

Contact 03-23-09 02:56 AM

Quote:

Originally Posted by Reece (Post 1070307)
I have a UPS, a few years old now but still works well & have just replaced the batteries, however I never used the DB9 connector before, I assume it must be to a com port, but what does it do?:hmmm:
Thanks.

With certain software it allows you to monitor your UPS status and lets to set some settings manually as well.

Contact 03-23-09 03:00 AM

Quote:

Originally Posted by CaptainHaplo (Post 1070275)
I will do some research on that device.

As for it showing in the device manager - no that doesnt mean its working right - lots of things can go wrong with serial ports - but testing them means you need a good test app (which I can get you should you need it) and the ability to short pins on the port or on the cable.

I am tweaking this box with win7 at the moment - so give me a bit to research and let me see what I can find.

Yes I was thinking about testing this port somehow too. Should I google for test app ? Since I don't have anything elso to connect to com1 port to see does it work at all.

CaptainHaplo 03-23-09 05:52 AM

I can get you one - shoot me a pm with your email address and I will send it this eve, as well as some directions on how to test.

Contact 03-24-09 02:31 AM

Ok you have a pm.

Contact 03-25-09 05:33 AM

Quote:

Originally Posted by CaptainHaplo (Post 1070383)
I can get you one - shoot me a pm with your email address and I will send it this eve, as well as some directions on how to test.

Still waiting for it :)

CaptainHaplo 03-25-09 06:28 PM

Hmm - sent it yesterday morning - lemme get back in there and resend.

CaptainHaplo 03-25-09 07:44 PM

Found the problem - I copied the addy wrong - forgot the # - corrected and resent. Let me know if you need any assistance.


All times are GMT -5. The time now is 05:36 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.