[Nut-upsdev] bestfortress driver establishes/loses/establishes communication and so on...
Oliver Kluge
ok23 at kluge-digital.de
Thu Feb 23 21:01:19 UTC 2012
Arnaud Quette wrote:
> Hi Oliver and Stuart,
...
> I'm slowly progressing on that topic.
> So far, the only thing I've seen are:
> - the 50 ms delay should be 75 ms
> - XON/XOFF are indeed to be enabled.
>
> A patch is attached.
> To apply it, from within the toplevel NUT source directory, use:
> $ patch -p0< /path/to/bestfortress-1.diff
>
> Could you please apply it, recompile and report back as previously?
>
> cheers,
> Arnaud
Hi,
Sorry, no luck... This is the result.
Yours
Oliver
Network UPS Tools - Best Fortress UPS driver 0.05 (2.6.3-3429M)
Warning: This is an experimental driver.
Some features may not function correctly.
0.000000 debug level is '5'
0.000610 send_to_all: SETINFO device.type "ups"
0.000628 send_to_all: SETINFO driver.version "2.6.3-3429M"
0.000637 send_to_all: SETINFO driver.version.internal "0.05"
0.000646 send_to_all: SETINFO driver.name "bestfortress"
0.000654 send_to_all: SETINFO ups.mfr "Best Power"
0.000663 send_to_all: SETINFO ups.model "Fortress"
0.000671 send_to_all: SETINFO battery.voltage.nominal "24"
0.000682 send_to_all: SETINFO ups.load "0"
0.000691 send_to_all: SETINFO output.voltamps "0"
0.000700 send_to_all: SETINFO ups.delay.shutdown "10"
0.000708 send_to_all: SETINFO input.transfer.low ""
0.000717 send_to_all: SETFLAGS input.transfer.low RW STRING
0.000724 send_to_all: SETAUX input.transfer.low 3
0.000733 send_to_all: SETINFO input.transfer.high ""
0.000741 send_to_all: SETFLAGS input.transfer.high RW STRING
0.000749 send_to_all: SETAUX input.transfer.high 3
0.000757 send_to_all: SETINFO battery.runtime.low ""
0.000765 send_to_all: SETFLAGS battery.runtime.low RW STRING
0.000772 send_to_all: SETAUX battery.runtime.low 3
0.000780 send_to_all: ADDCMD shutdown.return
0.000788 send_to_all: ADDCMD load.off
0.000794 upsdrv_updateinfo
0.301355 upsdrv_updateinfo: received 20 bytes (try 0)
0.301371 buffer: (20 bytes) => 04 00 39 39 30 30 32 34 30 30 30 30
30 30 30 30 30 33
0.301379 30 30
2.602133 upsdrv_updateinfo: received 28 bytes (try 1)
2.602154 buffer: (28 bytes) => 30 30 36 38 35 30 30 30 30 30 39 39
30 30 32 34 30 30
2.602163 30 30 30 30 30 30 30 33 30 30
4.902979 upsdrv_updateinfo: received 34 bytes (try 2)
4.902996 buffer: (34 bytes) => 30 30 30 30 30 30 30 32 36 38 35 30
30 30 30 30 39 39
4.903006 30 30 32 34 30 30 30 30 30 30 30 30 30 33 30 30
7.203815 upsdrv_updateinfo: received 46 bytes (try 3)
7.203836 buffer: (46 bytes) => 30 30 30 30 30 30 30 31 30 30 30 30
32 32 30 30 30 30
7.203848 30 32 36 38 35 30 30 30 30 30 39 39 30 30 32 34 30 30 30
30 30 30 30 30 30
7.203856 33 30 30
9.504776 upsdrv_updateinfo: received 43 bytes (try 4)
9.504794 buffer: (43 bytes) => 30 30 30 30 31 30 30 30 30 32 32 30
30 30 30 30 32 36
9.504806 38 35 30 30 30 30 30 39 39 30 30 32 34 30 30 30 30 30 30
30 30 30 33 30 30
11.504966 checksum corruption
11.504989 buffer: (43 bytes) => 30 30 30 30 31 30 30 30 30 32 32 30
30 30 30 30 32 36
11.505001 38 35 30 30 30 30 30 39 39 30 30 32 34 30 30 30 30 30 30
30 30 30 33 30 30
11.505055 dstate_init: sock /var/run/nut/bestfortress-fortress open
on fd 5
11.505068 send_to_all: SETINFO driver.parameter.pollinterval "10"
11.505079 send_to_all: SETINFO device.mfr "Best Power"
11.505088 send_to_all: SETINFO device.model "Fortress"
11.505097 upsdrv_updateinfo
11.805840 upsdrv_updateinfo: received 32 bytes (try 0)
11.805855 buffer: (32 bytes) => 30 30 30 30 30 32 36 38 35 30 30 30
30 30 39 39 30 30
11.805865 32 34 30 30 30 30 30 30 30 30 30 33 30 30
14.106747 upsdrv_updateinfo: received 26 bytes (try 1)
14.106766 buffer: (26 bytes) => 30 30 35 30 30 30 30 30 39 39 30 30
32 34 30 30 30 30
14.106775 30 30 30 30 30 33 30 30
16.407698 upsdrv_updateinfo: received 27 bytes (try 2)
16.407718 buffer: (27 bytes) => 30 30 38 35 30 30 30 30 30 39 39 30
30 32 34 30 30 30
16.407727 30 30 30 30 30 30 33 30 30
Broadcast Message from nutmon at FSC
(somewhere) at 19:38 ...
Communications with UPS fortress at localhost established
18.708628 upsdrv_updateinfo: received 26 bytes (try 3)
18.708651 buffer: (26 bytes) => 30 30 35 30 30 30 30 30 39 39 30 30
32 34 30 30 30 30
18.708660 30 30 30 30 30 33 30 30
21.009545 upsdrv_updateinfo: received 34 bytes (try 4)
21.009564 buffer: (34 bytes) => 30 30 30 30 30 30 30 32 36 38 35 30
30 30 30 30 39 39
21.009575 30 30 32 34 30 30 30 30 30 30 30 30 30 33 30 30
23.009725 checksum corruption
23.009750 buffer: (34 bytes) => 30 30 30 30 30 30 30 32 36 38 35 30
30 30 30 30 39 39
23.009761 30 30 32 34 30 30 30 30 30 30 30 30 30 33 30 30
23.009788 new connection on fd 6
23.009798 upsdrv_updateinfo
23.310569 upsdrv_updateinfo: received 47 bytes (try 0)
23.310585 buffer: (47 bytes) => 30 30 30 30 30 30 30 30 31 30 30 30
30 32 32 30 30 30
23.310597 30 30 32 36 38 35 30 30 30 30 30 39 39 30 30 32 34 30 30
30 30 30 30 30 30
23.310605 30 33 30 30
25.611518 upsdrv_updateinfo: received 54 bytes (try 1)
25.611538 buffer: (54 bytes) => 30 30 32 33 30 32 32 32 30 30 30 30
30 30 30 31 30 30
25.611551 30 30 32 32 30 30 30 30 30 32 36 38 35 30 30 30 30 30 39
39 30 30 32 34 30
25.611560 30 30 30 30 30 30 30 30 33 30 30
27.912482 upsdrv_updateinfo: received 39 bytes (try 2)
27.912505 buffer: (39 bytes) => 30 30 30 30 30 32 32 30 30 30 30 30
32 36 38 35 30 30
27.912517 30 30 30 39 39 30 30 32 34 30 30 30 30 30 30 30 30 30 33 30 30
30.213363 upsdrv_updateinfo: received 18 bytes (try 3)
30.213386 buffer: (18 bytes) => 30 30 30 30 32 34 30 30 30 30 30 30
30 30 30 33 30 30
32.514225 upsdrv_updateinfo: received 18 bytes (try 4)
32.514248 buffer: (18 bytes) => 30 30 30 30 32 34 30 30 30 30 30 30
30 30 30 33 30 30
34.514405 checksum corruption
34.514434 buffer: (18 bytes) => 30 30 30 30 32 34 30 30 30 30 30 30
30 30 30 33 30 30
34.514458 send_to_one: DATASTALE
34.514479 send_to_one: SETINFO battery.runtime.low ""
34.514494 send_to_one: SETAUX battery.runtime.low 3
34.514504 send_to_one: SETFLAGS battery.runtime.low RW STRING
34.514514 send_to_one: SETINFO battery.voltage.nominal "24"
34.514524 send_to_one: SETINFO device.mfr "Best Power"
34.514534 send_to_one: SETINFO device.model "Fortress"
34.514561 send_to_one: SETINFO device.type "ups"
34.514571 send_to_one: SETINFO driver.name "bestfortress"
34.514581 send_to_one: SETINFO driver.parameter.baudrate "9600"
34.514592 send_to_one: SETINFO driver.parameter.max_load "660"
34.514601 send_to_one: SETINFO driver.parameter.pollinterval "10"
34.514610 send_to_one: SETINFO driver.parameter.port "/dev/ttyS0"
34.514620 send_to_one: SETINFO driver.version "2.6.3-3429M"
34.514629 send_to_one: SETINFO driver.version.internal "0.05"
34.514639 send_to_one: SETINFO input.transfer.high ""
34.514649 send_to_one: SETAUX input.transfer.high 3
34.514659 send_to_one: SETFLAGS input.transfer.high RW STRING
34.514669 send_to_one: SETINFO input.transfer.low ""
34.514678 send_to_one: SETAUX input.transfer.low 3
34.514688 send_to_one: SETFLAGS input.transfer.low RW STRING
34.514698 send_to_one: SETINFO output.voltamps "0"
34.514708 send_to_one: SETINFO ups.delay.shutdown "10"
34.514717 send_to_one: SETINFO ups.load "0"
34.514727 send_to_one: SETINFO ups.mfr "Best Power"
34.514736 send_to_one: SETINFO ups.model "Fortress"
34.514745 send_to_one: ADDCMD load.off
34.514755 send_to_one: ADDCMD shutdown.return
34.514764 send_to_one: DUMPDONE
34.514774 send_to_one: PONG
34.514784 upsdrv_updateinfo
34.815571 upsdrv_updateinfo: received 39 bytes (try 0)
34.815595 buffer: (39 bytes) => 30 30 30 30 30 32 32 30 30 30 30 30
32 36 38 35 30 30
34.815608 30 30 30 39 39 30 30 32 34 30 30 30 30 30 30 30 30 30 33 30 30
Broadcast Message from nutmon at FSC
(somewhere) at 19:39 ...
Communications with UPS fortress at localhost lost
37.116347 upsdrv_updateinfo: received 35 bytes (try 1)
37.116374 buffer: (35 bytes) => 30 30 32 30 30 30 30 30 32 36 38 35
30 30 30 30 30 39
37.116385 39 30 30 32 34 30 30 30 30 30 30 30 30 30 33 30 30
39.417282 upsdrv_updateinfo: received 35 bytes (try 2)
39.417306 buffer: (35 bytes) => 30 30 32 30 30 30 30 30 32 36 38 35
30 30 30 30 30 39
39.417317 39 30 30 32 34 30 30 30 30 30 30 30 30 30 33 30 30
41.718160 upsdrv_updateinfo: received 29 bytes (try 3)
41.718186 buffer: (29 bytes) => 30 30 32 36 38 35 30 30 30 30 30 39
39 30 30 32 34 30
41.718196 30 30 30 30 30 30 30 30 33 30 30
44.018931 upsdrv_updateinfo: received 26 bytes (try 4)
44.018955 buffer: (26 bytes) => 30 30 35 30 30 30 30 30 39 39 30 30
32 34 30 30 30 30
44.018965 30 30 30 30 30 33 30 30
46.019113 checksum corruption
46.019133 buffer: (26 bytes) => 30 30 35 30 30 30 30 30 39 39 30 30
32 34 30 30 30 30
46.019143 30 30 30 30 30 33 30 30
46.019155 upsdrv_updateinfo
46.319843 upsdrv_updateinfo: received 24 bytes (try 0)
46.319861 buffer: (24 bytes) => 30 30 30 30 30 30 39 39 30 30 32 34
30 30 30 30 30 30
46.319869 30 30 30 33 30 30
48.620669 upsdrv_updateinfo: received 30 bytes (try 1)
48.620690 buffer: (30 bytes) => 30 30 30 32 36 38 35 30 30 30 30 30
39 39 30 30 32 34
48.620700 30 30 30 30 30 30 30 30 30 33 30 30
50.921612 upsdrv_updateinfo: received 47 bytes (try 2)
50.921629 buffer: (47 bytes) => 30 30 30 30 30 30 30 30 31 30 30 30
30 32 32 30 30 30
50.921641 30 30 32 36 38 35 30 30 30 30 30 39 39 30 30 32 34 30 30
30 30 30 30 30 30
50.921649 30 33 30 30
53.222621 upsdrv_updateinfo: received 18 bytes (try 3)
53.222642 buffer: (18 bytes) => 30 30 30 30 32 34 30 30 30 30 30 30
30 30 30 33 30 30
55.523529 upsdrv_updateinfo: received 18 bytes (try 4)
55.523549 buffer: (18 bytes) => 30 30 30 30 32 34 30 30 30 30 30 30
30 30 30 33 30 30
57.523699 checksum corruption
57.523722 buffer: (18 bytes) => 30 30 30 30 32 34 30 30 30 30 30 30
30 30 30 33 30 30
57.523736 upsdrv_updateinfo
More information about the Nut-upsdev
mailing list