From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 715AE1389F5 for ; Sat, 15 Nov 2014 12:52:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 285E4E0AAB; Sat, 15 Nov 2014 12:52:41 +0000 (UTC) Received: from vergina.hopto.org (cust-218-222.on4.ontelecoms.gr [92.118.218.222]) by pigeon.gentoo.org (Postfix) with ESMTP id C4AC2E0A69 for ; Sat, 15 Nov 2014 12:52:39 +0000 (UTC) Received: from [192.168.0.1] (viper.vergina.hopto.org [192.168.0.1]) by viper.vergina.hopto.org (Postfix) with ESMTP id 15C7D6008E for ; Sat, 15 Nov 2014 14:52:38 +0200 (EET) Message-ID: <54674C95.1050600@asyr.hopto.org> Date: Sat, 15 Nov 2014 14:52:37 +0200 From: Thanasis User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.8.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] apcupsd to recycle power References: <54664F99.602@asyr.hopto.org> <201411150935.56737.michaelkintzios@gmail.com> In-Reply-To: <201411150935.56737.michaelkintzios@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 89838c67-c4e9-4266-acc7-822817aaeda3 X-Archives-Hash: 5bd114e2e6812dd8d8be8e13d4b869a1 on 11/15/2014 11:35 AM Mick wrote the following: > On Friday 14 Nov 2014 18:53:13 Thanasis wrote: >> I have an APC SC620I, which in case of power failure, it successfully >> initiates a shutdown to the connected (via SMART cable) PC, but if the >> mains power returns, the UPS does not recycle the power to the PC, and >> consequently the PC stays off. >> >> Regardless if the mains power returns soon after the UPS has initiated a >> shutdown to the PC, shouldn't the UPS recycle the power anyway, so that >> the PC comes back on as set in BIOS? >> >> Am I missing something in the configuration or the daemons that should >> be running? >> >> (Running sys-power/apcupsd-3.14.8-r2) >> >> /etc/apcupsd/apcupsd.conf folows: >> >> UPSNAME SC620I >> UPSCABLE smart >> UPSTYPE apcsmart >> DEVICE /dev/ttyS0 >> LOCKFILE /var/lock >> SCRIPTDIR /etc/apcupsd >> PWRFAILDIR /etc/apcupsd >> NOLOGINDIR /etc >> ONBATTERYDELAY 6 >> BATTERYLEVEL 20 >> MINUTES 2 >> TIMEOUT 0 >> ANNOY 300 >> ANNOYDELAY 60 >> NOLOGON disable >> KILLDELAY 0 >> NETSERVER on >> NISIP 192.168.0.1 >> NISPORT 3551 >> EVENTSFILE /var/log/apcupsd.events >> EVENTSFILEMAX 10 >> UPSCLASS standalone >> UPSMODE disable >> STATTIME 600 >> STATFILE /var/log/apcupsd.status >> LOGSTATS off >> DATATIME 0 >> BATTDATE 10/17/11 >> SENSITIVITY H >> WAKEUP 60 >> SLEEP 180 >> LOTRANSFER 208 >> HITRANSFER 253 >> RETURNCHARGE 45 >> BEEPSTATE L >> LOWBATT 5 >> OUTPUTVOLTS 230 >> SELFTEST 336 > > I'm afraid I don't have an APC UPS to know its quirks, but in my case I have > these running: > > upsd > upsdrv > upslog > upsmon the above are not part of apcupsd, are they? > > > Is it that the UPS does not recycle the power, The UPS does NOT recycle the power. or is it that the PC does not > reboot after power is restored? Does the PC reboot if you pull and reinsert > its mains plug? The PC's BIOS is correctly configured and tested to start up as soon as power is restored to it. > > WARNING: don't just pull the plug in a fully working system to avoid fs > corruption - Press something r e i s u in sequence while holding > Ctrl+Alt+SysRq and then pull the plug. If the PC's BIOS is configured > correctly it should reboot as soon as you reconnect the mains supply to it. I am aware of it. > > Have a look here if you haven't seen this section already: > > http://www.apcupsd.com/manual/manual.html#arranging-for-reboot-on-power-up Looks like the UPS does not cut (kill) the power, but I am not sure how to debug it.