LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Computer powering off after UPS plug removed (https://www.linuxquestions.org/questions/linux-hardware-18/computer-powering-off-after-ups-plug-removed-325770/)

arobinson74 05-21-2005 05:07 PM

Computer powering off after UPS plug removed
 
I have a Conext 950VA battery AVR/UPS.

I have the control cable plugged into the serial port on my motherboard.

I have installed the apcupsd software (APC's).

I am trying to test that everything is working. I have setup the software (/etc/apcupsd/apcupsd.conf) with the following options:

UPSCABLE simple
UPSTYPE backups
DEVICE /dev/ttyS0
LOCKFILE /var/lock
ONBATTERYDELAY 6
BATTERYLEVEL 5
MINUTES 3
TIMEOUT 0
ANNOY 300
ANNOYDELAY 60
NOLOGON disable
KILLDELAY 0
NETSERVER on
NISIP 0.0.0.0
NISPORT 3551
EVENTSFILE /var/log/apcupsd.events
EVENTSFILEMAX 10
UPSCLASS standalone
UPSMODE disable
STATTIME 30
STATFILE /var/log/apcupsd.status
LOGSTATS off
DATATIME 0

OK, now I have not started apcupsd yet (confirmed with "ps aux | grep apc" and "ps aux | grep ups".

Now I start "apctest". I run tests 1 & 3 fine. Then a ~2-4 minutes after I run test 3 (which is test the UPS with the power cord unplugged), the computer powers off (not shutdown, full power off).

Steps:
apctest
1 <enter>
3 <unplug> <enter>
<plug UPS powercord back in>
<quit apctest>
<wait ~3 min>
<power off, computer auto-restarts>

Now I have Slackware 10.1, but with the 2.6.10 kernel and some custom configuration options. I have looked into the bios of the computer (MSI K7N2GM-V motherboard) and found nothing that would alert me to this behavior.

If apcupsd isn't running (only apctest was), and the bios doesn't see to be involved, what could be causing the computer to poweroff after around ~3 minutes?

I do have ACPI support enabled in the computer and battery power as a module, but I don't know if that could be tied in or not.

Not sure where to look to see what is doing this. I only want to have apcupsd check for power events.

arobinson74 05-22-2005 10:01 PM

Nevermind, had to switch
UPSCABLE simple
to
UPSCABLE 940-0020C


All times are GMT -5. The time now is 02:45 PM.