[Nut-upsuser] battery.charge and other fixes needed for X-Power Tigra 1kVA

Tmima Pliroforikis Perifereiakis Enotitas Pierias pliroforiki at pieria.pkm.gov.gr
Mon May 28 09:34:26 UTC 2012


Hello all,

Tmima Pliroforikis Perifereiakis Enotitas Pierias wrote:
> Arnaud Quette wrote:
>> once Fred has provided you the new binary, please do the same tests
>> and send back the output trace.

just received the new executable. Trying it out, produced the following. 
Please note that I have included the start of the log only and not the 
entire (30" to shutdown + 180" to start up) log:

   11.562426     send_to_all: SETINFO battery.runtime "1511"
   11.671801     send: S.5R0003
   11.671801     w32_serial_read : ulen 512, vmin_ -1, vtime_ 0, hEvent 
00000FA8
   11.734300     w32_serial_read : characters are available on input buffer
   11.734300     w32_serial_read : Reading 1 characters
   11.734300     w32_serial_read : total characters read = 1
   11.749925     w32_serial_read : Reading 3 characters
   11.749925     w32_serial_read : total characters read = 4
   11.749925     w32_serial_read : characters are available on input buffer
   11.749925     w32_serial_read : Reading 1 characters
   12.749919     w32_serial_read : total characters read = 4
   12.749919     read: ACK
   12.749919     instcmd: command [shutdown.return] handled
   12.859293     send: Q1
   12.859293     w32_serial_read : ulen 512, vmin_ -1, vtime_ 0, hEvent 
00000FA8
   12.921793     w32_serial_read : characters are available on input buffer
   12.921793     w32_serial_read : Reading 1 characters
   12.921793     w32_serial_read : total characters read = 1
   12.937418     w32_serial_read : Reading 13 characters
   12.937418     w32_serial_read : total characters read = 14
   12.937418     w32_serial_read : characters are available on input buffer
   12.937418     w32_serial_read : Reading 1 characters
   12.984292     w32_serial_read : total characters read = 15
   12.984292     w32_serial_read : Reading 13 characters
   12.984292     w32_serial_read : total characters read = 28
   12.984292     w32_serial_read : characters are available on input buffer
   12.984292     w32_serial_read : Reading 1 characters
   13.046792     w32_serial_read : total characters read = 29
   13.046792     w32_serial_read : Reading 13 characters
   13.046792     w32_serial_read : total characters read = 42
   13.046792     w32_serial_read : characters are available on input buffer
   13.046792     w32_serial_read : Reading 1 characters
   13.078042     w32_serial_read : total characters read = 43
   13.078042     w32_serial_read : Reading 4 characters
   13.078042     w32_serial_read : total characters read = 47
   13.078042     w32_serial_read : characters are available on input buffer
   13.093667     w32_serial_read : Reading 1 characters
   14.093660     w32_serial_read : total characters read = 47
   14.093660     read: (226.5 225.1 230.7 034 50.0 2.29 32.5 00000011
   14.093660     send_to_all: SETINFO input.voltage "226.5"
   14.093660     send_to_all: SETINFO ups.load "34"
   14.093660     send_to_all: SETINFO ups.alarm "Shutdown imminent!"
   14.093660     send_to_all: SETINFO ups.status "ALARM OL FSD"
   14.093660     send_to_all: SETINFO battery.runtime "1445"
   14.859280     send: Q1
   14.859280     w32_serial_read : ulen 512, vmin_ -1, vtime_ 0, hEvent 
00000FA8
   14.921780     w32_serial_read : characters are available on input buffer
   14.921780     w32_serial_read : Reading 1 characters
   14.937405     w32_serial_read : total characters read = 1
   14.937405     w32_serial_read : Reading 13 characters
   14.937405     w32_serial_read : total characters read = 14
   14.937405     w32_serial_read : characters are available on input buffer
   14.937405     w32_serial_read : Reading 1 characters
   14.984280     w32_serial_read : total characters read = 15
   14.984280     w32_serial_read : Reading 13 characters
   14.984280     w32_serial_read : total characters read = 28
   14.984280     w32_serial_read : characters are available on input buffer
   14.999904     w32_serial_read : Reading 1 characters
   15.046779     w32_serial_read : total characters read = 29
   15.046779     w32_serial_read : Reading 13 characters
   15.046779     w32_serial_read : total characters read = 42
   15.046779     w32_serial_read : characters are available on input buffer
   15.046779     w32_serial_read : Reading 1 characters
   15.078029     w32_serial_read : total characters read = 43
   15.078029     w32_serial_read : Reading 4 characters
   15.078029     w32_serial_read : total characters read = 47
   15.078029     w32_serial_read : characters are available on input buffer
   15.093654     w32_serial_read : Reading 1 characters
   16.093647     w32_serial_read : total characters read = 47
   16.093647     read: (227.9 225.1 230.7 034 50.0 2.29 32.5 00000011
   16.093647     send_to_all: SETINFO input.voltage "227.9"
   16.859268     send: Q1
   16.859268     w32_serial_read : ulen 512, vmin_ -1, vtime_ 0, hEvent 
00000FA8
   16.921767     w32_serial_read : characters are available on input buffer
   16.921767     w32_serial_read : Reading 1 characters
   16.937392     w32_serial_read : total characters read = 1
   16.937392     w32_serial_read : Reading 13 characters
   16.937392     w32_serial_read : total characters read = 14
   16.937392     w32_serial_read : characters are available on input buffer
   16.937392     w32_serial_read : Reading 1 characters
   16.984267     w32_serial_read : total characters read = 15
   16.984267     w32_serial_read : Reading 13 characters
   16.984267     w32_serial_read : total characters read = 28
   16.984267     w32_serial_read : characters are available on input buffer
   16.984267     w32_serial_read : Reading 1 characters
   17.046766     w32_serial_read : total characters read = 29
   17.046766     w32_serial_read : Reading 13 characters
   17.046766     w32_serial_read : total characters read = 42
   17.046766     w32_serial_read : characters are available on input buffer
   17.046766     w32_serial_read : Reading 1 characters
   17.078016     w32_serial_read : total characters read = 43
   17.078016     w32_serial_read : Reading 4 characters
   17.078016     w32_serial_read : total characters read = 47
   17.078016     w32_serial_read : characters are available on input buffer
   17.093641     w32_serial_read : Reading 1 characters
   18.093635     w32_serial_read : total characters read = 47
   18.093635     read: (227.9 225.1 230.7 034 50.0 2.29 32.5 00000011
   18.859255     send: Q1
   18.859255     w32_serial_read : ulen 512, vmin_ -1, vtime_ 0, hEvent 
00000FA8
   18.921754     w32_serial_read : characters are available on input buffer
   18.921754     w32_serial_read : Reading 1 characters
   18.937379     w32_serial_read : total characters read = 1
   18.937379     w32_serial_read : Reading 13 characters
   18.937379     w32_serial_read : total characters read = 14
   18.937379     w32_serial_read : characters are available on input buffer
   18.937379     w32_serial_read : Reading 1 characters
   18.984254     w32_serial_read : total characters read = 15
   18.984254     w32_serial_read : Reading 13 characters
   18.984254     w32_serial_read : total characters read = 28
   18.984254     w32_serial_read : characters are available on input buffer
   18.999879     w32_serial_read : Reading 1 characters
   19.046754     w32_serial_read : total characters read = 29
   19.046754     w32_serial_read : Reading 13 characters
   19.046754     w32_serial_read : total characters read = 42
   19.046754     w32_serial_read : characters are available on input buffer
   19.046754     w32_serial_read : Reading 1 characters
   19.078003     w32_serial_read : total characters read = 43
   19.078003     w32_serial_read : Reading 4 characters
   19.078003     w32_serial_read : total characters read = 47
   19.078003     w32_serial_read : characters are available on input buffer
   19.093628     w32_serial_read : Reading 1 characters
   20.093622     w32_serial_read : total characters read = 47
   20.093622     read: (227.9 225.1 230.7 034 50.0 2.29 32.5 00000011
   20.093622     send_to_all: SETINFO battery.runtime "1446"
   20.859242     send: Q1


Hope that is suitable. If not, please let me know and I'll produce a 
more complete debug log that extents to the overall 4-5 minute testing 
interval.

M.-

-- 
Με εκτίμηση,


Μιχαήλ Παππάς
Τμήμα Πληροφορικής Περιφερειακής Ενότητας Πιερίας
Δ/νση Διαφάνειας & Ηλεκτρονικής Διακυβέρνησης
Περιφέρεια Κεντρικής Μακεδονίας
Τηλ: 2351351231
Fax: 2351351230



More information about the Nut-upsuser mailing list