<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=big5" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.23562">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2><FONT size=3>Good Day Roger<BR><BR>AA.  notice that 
during the test, you have little or no load, since despite <BR>being in state 
OB<BR> DISCHRG the battery.charge is still 100.  It's best to perform 
such tests <BR>with a dummy load<BR>such as a table lamp and an old fashioned 
incandescent 100 watt bulb.<BR><BR>==> Yes. I got it and try to ascend load 
as below results<BR><BR>dinow-All-Series:~# upsc pcmups<BR>Init SSL without 
certificate database<BR>battery.charge: 32<BR>battery.charge.low: 
10<BR>battery.charge.warning: 30<BR>battery.date: 2010/12/20<BR>battery.runtime: 
256<BR>battery.type: PbAc<BR>device.mfr: POWERCOM Co.,LTD<BR>device.model: HID 
UPS Battery<BR>device.serial: 004-0D9F-000<BR>device.type: ups<BR>driver.name: 
usbhid-ups<BR>driver.parameter.pollfreq: 30<BR>driver.parameter.pollinterval: 
2<BR>driver.parameter.port: auto<BR>driver.version: 
2.7.1<BR>driver.version.data: PowerCOM HID 0.4<BR>driver.version.internal: 
0.38<BR>input.frequency: 0.0<BR>input.voltage: 0.0<BR>output.frequency: 
60.0<BR>output.voltage: 110.0<BR>ups.beeper.status: disabled<BR>ups.date: 
2010/12/20<BR>ups.delay.shutdown: 20<BR>ups.delay.start: 60<BR>ups.load: 
58<BR>ups.mfr: POWERCOM Co.,LTD<BR>ups.model: HID UPS Battery<BR>ups.productid: 
0004<BR>ups.serial: 004-0D9F-000<BR>ups.status: OB DISCHRG 
TRIM<BR>ups.test.result: Done and passed<BR>ups.timer.shutdown: 
169<BR>ups.timer.start: 755760<BR>ups.vendorid: 
0d9f<BR><BR>----------------------------------------------------------------------------------------<BR>BB.  
I wonder where the ups.delay.start: 60 comes from.  The NUT default 
<BR>value<BR> is 30 secs, and you do not change the value in 
ups.conf.<BR><BR>==> I tried below set-command but it react 
fail<BR><BR>dinow-All-Series:~# upsrw -s "ups.delay.shutdown"="30" -u pcmups 
<BR></FONT><A href="mailto:pcmups@localhost"><FONT 
size=3>pcmups@localhost</FONT></A><BR><FONT size=3>Password:<BR>Unexpected 
response from upsd: ERR ACCESS-DENIED<BR><BR>==> Are there any behaviors that 
I should confirm 
?<BR><BR><BR><BR>----------------------------------------------------------------------------------------<BR>CC. 
Does a Ubuntu user with no xterm window open see the message as part of 
<BR>the<BR><BR>==> The root and remote user(ssh-putty) get the broadcasting 
message all <BR>from 
terminal-window<BR><BR><BR><BR>----------------------------------------------------------------------------------------<BR>DD. 
I have tried below commands and the ups actually works (Battery test and 
<BR>Beeper ON/OFF)<BR><BR>dinow-All-Series:~# upscmd -l pcmups<BR>Instant 
commands supported on UPS [pcmups]:<BR><BR>beeper.disable - Disable the UPS 
beeper<BR>beeper.enable - Enable the UPS beeper<BR>beeper.toggle - Toggle the 
UPS beeper<BR>load.on - Turn on the load immediately<BR>load.on.delay - Turn on 
the load with a delay (seconds)<BR>shutdown.return - Turn off the load and 
return when power is back<BR>shutdown.stayoff - Turn off the load and remain 
off<BR>test.battery.start.quick - Start a quick battery 
test<BR><BR><BR>dinow-All-Series:~# upscmd pcmups 
test.battery.start.quick<BR>Username (root): pcmups<BR>Password:<BR>OK<BR>==> 
The ups run battery mode<BR><BR><BR>dinow-All-Series:~# upscmd pcmups 
beeper.disable<BR>Username (root): pcmups<BR>Password:<BR>OK<BR>==> The ups 
turn off it beeper when its on battery mode<BR><BR><BR>==> However, I command 
center 5 (load.on / delay / shutdown return / stay <BR>off) but no any reaction 
occur<BR><BR><BR><BR><BR><BR>If you have any questions, please don't hesitate to 
inform us.<BR>Sincerely yours, May. 17th<BR>Dinow Hsieh<BR>----- Original 
Message ----- <BR>From: "Roger Price" <</FONT><A 
href="mailto:roger@rogerprice.org"><FONT 
size=3>roger@rogerprice.org</FONT></A><FONT size=3>><BR>To: "nut-upsuser 
Mailing List" <</FONT><A 
href="mailto:nut-upsuser@lists.alioth.debian.org"><FONT 
size=3>nut-upsuser@lists.alioth.debian.org</FONT></A><FONT size=3>><BR>Sent: 
Tuesday, May 16, 2017 5:24 PM<BR>Subject: Re: [Nut-upsuser] Fw: [Nut-upsdev] 
POWERCOM-UPS-USB : UPS Shutdown<BR><BR><BR>> On Tue, 16 May 2017, Dinow Hsieh 
wrote:<BR>><BR>>> BB. Could you show us the output of command "upsc 
pcmups"?<BR>>><BR>>> ==> Yes. Below 2 mode were the outputs of 
command "upsc pcmups"<BR>>><BR>>> battery.charge: 100<BR>>> 
battery.charge.low: 10<BR>>> battery.charge.warning: 30<BR>>> 
battery.date: 2010/12/20<BR>> ...<BR>>> ups.date: 
2010/12/20<BR>>> ups.load: 4<BR>> ...<BR>>> ups.status: OB 
DISCHRG<BR>><BR>> Is this battery really 6.5 years old?  Is this part 
of the problem?  One<BR>> would not expect such a battery to support any 
load.  I notice that during<BR>> the test, you have little or no load, 
since despite being in state OB<BR>> DISCHRG the battery.charge is still 
100.  It's best to perform such tests<BR>> with a dummy load such as a 
table lamp and an old fashioned incandescent<BR>> 100 watt 
bulb.<BR>><BR>>> ups.delay.shutdown: 20<BR>>> ups.delay.start: 
60<BR>><BR>> I wonder where the ups.delay.start: 60 comes from.  The 
NUT default value<BR>> is 30 secs, and you do not change the value in 
ups.conf.<BR>><BR>>> DD. Does wall successfully notify the users on an 
Ubuntu system? If you<BR>>> type<BR>>><BR>>> echo "Hello from 
wall" | wall<BR>>><BR>>> do the users of Gnome, KDE, LXDE, LightDM 
etc see the message?<BR>>><BR>>> ==> Yes. I used the putty and 
got below 3 messages<BR>>> (Battery Power / Power Resotre / and type 
commands directly)<BR>>><BR>>><BR>>> D3. Broadcast Message 
from dinow-Al<BR>>> (/dev/pts/0) at 11:02 ...<BR>>><BR>>> 
Hello from wall<BR>><BR>> I'm guessing that this output is in an xterm 
window or something similar.<BR>> It shows that wall is working but does not 
show that the wall->Gnome,<BR>> wall->KDE, wall->LXDE, 
wall->LightDM interfaces are working.  Does a<BR>> Ubuntu user with 
no xterm window open see the message as part of the<BR>> system 
notifications?<BR>><BR>> 
Roger<BR><BR><BR>--------------------------------------------------------------------------------<BR><BR><BR>> 
_______________________________________________<BR>> Nut-upsuser mailing 
list<BR>> </FONT><A href="mailto:Nut-upsuser@lists.alioth.debian.org"><FONT 
size=3>Nut-upsuser@lists.alioth.debian.org</FONT></A><BR><FONT size=3>> 
</FONT><A 
href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser"><FONT 
size=3>http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser</FONT></A><FONT 
size=3> </FONT><BR></FONT></DIV></BODY></HTML>