Upgraded to Debian bookworm - working nut system stopped working.

nut-server:   Installed: 2.8.0-7


Trying :

/usr/lib/nut/upscode2 -a malaysia -DD
Network UPS Tools - UPScode II UPS driver 0.90 (2.8.0)
Warning: This is an experimental driver.
Some features may not function correctly.

   0.000000     [D1] debug level is '2'
   0.002302     tcgetattr(/dev/ttyUSB-nut): Inappropriate ioctl for device

Looks like two problems  - the udev rule isn't working any more?
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="AJV9MKOY", SYMLINK+="ttyUSB-nut",GROUP = "nut", MODE="0666"


So I tried going straight to the device:
/usr/lib/nut/upscode2 -a malaysia -DDDD

This returns the following after a bit (Looks like it likes UPTP)..


] upscsend: 'UPTP'
   1.857813     [D3] upscrecv: Empty line
   1.921764     [D3] upscrecv: 5 bytes: 'NNAME'
   2.097563     [D3] upscrecv: 20 bytes:        'UPS 2400 VA FW -0026'
   2.097593     [D2] Got value: NNAME UPS 2400 VA FW -0026

So it IS talking to the UPS - but something above my knowledge is going wrong?




Here is a longer output tail..

/usr/lib/nut/upscode2 -a malaysia -DDDD
Network UPS Tools - UPScode II UPS driver 0.90 (2.8.0)
Warning: This is an experimental driver.
Some features may not function correctly.

   0.000000     [D1] debug level is '4'
   0.002995     [D1] input_timeout = 2 Sec
   0.003002     [D1] output_pace = 200 uSec
   0.003007     [D1] full_update_timer = 60 Sec
   0.003011     [D1] use_crlf = 0
   0.003016     [D1] use_pre_lf = 0
   0.004308     [D3] upscsend: 'UPCL'
   0.217722     [D3] upscrecv: Empty line
   0.265688     [D3] upscrecv: 4 bytes: 'UPSS'
   0.265717     [D2] Supports command: UPSS
   0.313620     [D3] upscrecv: 4 bytes: 'UPDS'
   0.313649     [D2] Supports command: UPDS
   0.361570     [D3] upscrecv: 4 bytes: 'UPDV'
   0.361599     [D2] Supports command: UPDV
   0.409520     [D3] upscrecv: 4 bytes: 'UPTP'
   0.409549     [D2] Supports command: UPTP
   0.457471     [D3] upscrecv: 4 bytes: 'UPSN'
   0.457500     [D2] Supports command: UPSN
   0.505436     [D3] upscrecv: 4 bytes: 'UPPN'
   0.505465     [D2] Supports command: UPPN
   0.569393     [D3] upscrecv: 4 bytes: 'UPSD'
   0.569421     [D2] Supports command: UPSD
   0.569437     [D1] setvar: ups.delay.shutdown UPSD
   0.617343     [D3] upscrecv: 4 bytes: 'UPCD'
   0.617372     [D2] Supports command: UPCD
   0.617387     [D1] setvar: ups.delay.reboot UPCD
   0.665290     [D3] upscrecv: 4 bytes: 'UPPC'
   0.665319     [D2] Supports command: UPPC
   0.665334     [D1] instcmd: shutdown.reboot UPPC
   0.713264     [D3] upscrecv: 4 bytes: 'UPPU'
   0.713293     [D2] Supports command: UPPU
   0.713307     [D1] instcmd: shutdown.stop UPPU
   0.761218     [D3] upscrecv: 4 bytes: 'UPIS'
   0.761247     [D2] Supports command: UPIS
   0.761262     [D1] instcmd: test.panel.start UPIS
   0.809167     [D3] upscrecv: 4 bytes: 'UP??'
   0.809197     [D2] Supports command: UP??
   0.857112     [D3] upscrecv: 4 bytes: 'UPEA'
   0.857141     [D2] Supports command: UPEA
   0.905089     [D3] upscrecv: 4 bytes: 'UPDA'
   0.905119     [D2] Supports command: UPDA
   0.953091     [D3] upscrecv: 4 bytes: 'UPCL'
   0.953120     [D2] Supports command: UPCL
   0.953135     [D2] Request value: UPCD 0000
   0.954763     [D3] upscsend: 'UPCD'
   0.956318     [D3] upscsend: '0000'
   2.958427     [D3] upscrecv: Timeout
   4.960535     [D3] upscrecv: Timeout
   4.960566     [D2] Got value:
   4.960580     Bad response to UPCD 0000:
   4.960596     dstate_setflags: base variable (ups.delay.reboot) does not exist
   4.960609     dstate_setaux: base variable (ups.delay.reboot) does not exist
   4.960624     [D2] Request value: UPSD 0000
   4.962217     [D3] upscsend: 'UPSD'
   4.963805     [D3] upscsend: '0000'
   5.089317     [D3] upscrecv: Empty line
   5.201214     [D3] upscrecv: 4 bytes: 'ACSD'
   5.313141     [D3] upscrecv: 3 bytes: '000'
   5.313177     [D2] Got value: ACSD 000
   5.313221     [D2] Request value: UPTP ""
   5.314826     [D3] upscsend: 'UPTP'
   5.512984     [D3] upscrecv: Empty line
   5.560909     [D3] upscrecv: 5 bytes: 'NNAME'
   5.752764     [D3] upscrecv: 20 bytes:        'UPS 2400 VA FW -0026'
   5.752794     [D2] Got value: NNAME UPS 2400 VA FW -0026
   5.752817     [D2] Request value: UPSN 0
   5.754297     [D3] upscsend: 'UPSN'
   5.754904     [D3] upscsend: '0'
   5.856693     [D3] upscrecv: Empty line
   5.904642     [D3] upscrecv: 4 bytes: 'ACSN'
   6.080517     [D3] upscrecv: 20 bytes:        'LR204A996           '
   6.080547     [D2] Got value: ACSN LR204A996
   6.082104     [D3] upscsend: 'UPDA'
   6.082125     [D1] Setvar: ups.delay.shutdown 10
   6.082140     [D2] Request value: UPSD 10
   6.083732     [D3] upscsend: 'UPSD'
   6.084665     [D3] upscsend: '10'
   8.086750     [D3] upscrecv: Timeout
  10.088837     [D3] upscrecv: Timeout
  10.088870     [D2] Got value:
  10.088885     Bad response to UPSD 10:
  10.088899     [D1] Setvar: ups.delay.reboot 60
  10.088914     [D2] Request value: UPCD 60
  10.090447     [D3] upscsend: 'UPCD'
  10.091381     [D3] upscsend: '60'
  10.216917     [D3] upscrecv: Empty line
  10.664514     [D3] upscrecv: 4 bytes: 'ACCD'
  10.776416     [D3] upscrecv: 3 bytes: '060'
  10.776446     [D2] Got value: ACCD 060
  10.778032     [D3] upscsend: 'UPDS'
  10.879313     [D3] upscrecv: Empty line
  10.927264     [D3] upscrecv: 4 bytes: 'STOK'
  10.975240     [D3] upscrecv: 2 bytes: '00'
  10.975271     [D2] Parameter STOK 00
  10.975286     [D3] Ignored value: STOK 00
  11.023214     [D3] upscrecv: 4 bytes: 'STBO'
  11.055157     [D3] upscrecv: 2 bytes: '00'
  11.055188     [D2] Parameter STBO 00
  11.103112     [D3] upscrecv: 4 bytes: 'STBL'
  11.135092     [D3] upscrecv: 2 bytes: '00'
  11.135123     [D2] Parameter STBL 00
  11.183039     [D3] upscrecv: 4 bytes: 'STBM'
  11.247011     [D3] upscrecv: 2 bytes: 'RS'
  11.247042     [D2] Parameter STBM RS
  11.247057     [D3] Ignored value: STBM RS
  11.294911     [D3] upscrecv: 4 bytes: 'STLR'
  11.326885     [D3] upscrecv: 2 bytes: 'NO'
  11.326917     [D2] Parameter STLR NO
  11.326933     [D3] Ignored value: NO 11
  11.438776     [D3] upscrecv: 5 bytes: 'BTIME'
  11.550705     [D3] upscrecv: 7 bytes: '0044.00'
  11.550736     [D2] Parameter BTIME 0044.00
  11.630638     [D3] upscrecv: 5 bytes: 'MIUL1'
  11.710552     [D3] upscrecv: 7 bytes: '0123.00'
  11.710583     [D2] Parameter MIUL1 0123.00
  11.758512     [D3] upscrecv: 5 bytes: 'MBUUU'
  11.854411     [D3] upscrecv: 7 bytes: '0052.40'
  11.854442     [D2] Parameter MBUUU 0052.40
  11.934326     [D3] upscrecv: 5 bytes: 'MOUL1'
  12.030259     [D3] upscrecv: 7 bytes: '0123.00'
  12.030292     [D2] Parameter MOUL1 0123.00
  12.110180     [D3] upscrecv: 5 bytes: 'MOIL1'
  12.190129     [D3] upscrecv: 7 bytes: '0001.61'
  12.190160     [D2] Parameter MOIL1 0001.61
  12.318027     [D3] upscrecv: 5 bytes: 'MOPL1'
  12.445896     [D3] upscrecv: 7 bytes: '0000.14'
  12.445927     [D2] Parameter MOPL1 0000.14
  12.493846     [D3] upscrecv: 5 bytes: 'MOSL1'
  12.573801     [D3] upscrecv: 7 bytes: '0000.19'
  12.573833     [D2] Parameter MOSL1 0000.19
  12.637719     [D3] upscrecv: 5 bytes: 'MOFFF'
  12.701675     [D3] upscrecv: 7 bytes: '0060.00'
  12.701707     [D2] Parameter MOFFF 0060.00
  12.703253     [D3] upscsend: 'UPDV'
  12.997414     [D3] upscrecv: Empty line
  13.045369     [D3] upscrecv: 5 bytes: 'NIUNN'
  13.125288     [D3] upscrecv: 7 bytes: '0120.00'
  13.125320     [D2] Parameter NIUNN 0120.00
  13.173272     [D3] upscrecv: 5 bytes: 'NIUHH'
  13.253195     [D3] upscrecv: 7 bytes: '0145.00'
  13.253227     [D2] Parameter NIUHH 0145.00
  13.317124     [D3] upscrecv: 5 bytes: 'NIULL'
  13.381064     [D3] upscrecv: 7 bytes: '0084.00'
  13.381096     [D2] Parameter NIULL 0084.00
  13.444995     [D3] upscrecv: 5 bytes: 'NBUNN'
  13.508999     [D3] upscrecv: 7 bytes: '0048.00'
  13.509031     [D2] Parameter NBUNN 0048.00
  13.572871     [D3] upscrecv: 5 bytes: 'NBUHH'
  13.652790     [D3] upscrecv: 7 bytes: '0056.40'
  13.652822     [D2] Parameter NBUHH 0056.40
  13.700718     [D3] upscrecv: 5 bytes: 'NBULL'
  13.780646     [D3] upscrecv: 7 bytes: '0040.00'
  13.780678     [D2] Parameter NBULL 0040.00
  13.828610     [D3] upscrecv: 5 bytes: 'NBAHN'
  13.908534     [D3] upscrecv: 7 bytes: '0017.00'
  13.908565     [D2] Parameter NBAHN 0017.00
  13.972466     [D3] upscrecv: 5 bytes: 'NOUNN'
  14.036388     [D3] upscrecv: 7 bytes: '0120.00'
  14.036420     [D2] Parameter NOUNN 0120.00
  14.100339     [D3] upscrecv: 5 bytes: 'NOUHH'
  14.164293     [D3] upscrecv: 7 bytes: '0128.00'
  14.164325     [D2] Parameter NOUHH 0128.00
  14.228232     [D3] upscrecv: 5 bytes: 'NOULL'
  14.308156     [D3] upscrecv: 7 bytes: '0108.00'
  14.308187     [D2] Parameter NOULL 0108.00
  14.372081     [D3] upscrecv: 5 bytes: 'NOINN'
  14.436035     [D3] upscrecv: 7 bytes: '0020.00'
  14.436066     [D2] Parameter NOINN 0020.00
  14.499991     [D3] upscrecv: 5 bytes: 'NOIHH'
  14.563980     [D3] upscrecv: 7 bytes: '0022.80'
  14.564012     [D2] Parameter NOIHH 0022.80
  14.627857     [D3] upscrecv: 5 bytes: 'NOPNN'
  14.707804     [D3] upscrecv: 7 bytes: '0001.60'
  14.707835     [D2] Parameter NOPNN 0001.60
  14.755763     [D3] upscrecv: 5 bytes: 'NOSNN'
  14.835705     [D3] upscrecv: 7 bytes: '0002.40'
  14.835737     [D2] Parameter NOSNN 0002.40
  14.883676     [D3] upscrecv: 5 bytes: 'NOFHH'
  14.979582     [D3] upscrecv: 7 bytes: '0063.00'
  14.979614     [D2] Parameter NOFHH 0063.00
  15.027550     [D3] upscrecv: 5 bytes: 'NOFLL'
  15.107450     [D3] upscrecv: 7 bytes: '0057.00'
  15.107481     [D2] Parameter NOFLL 0057.00
  15.107536     [D2] ups.load: 8.1
  15.107666     [D2] dstate_init: sock /run/nut/upscode2-malaysia open on fd 5
  15.109232     [D3] upscsend: 'UPDS'
  15.210376     [D3] upscrecv: Empty line
  15.258350     [D3] upscrecv: 4 bytes: 'STOK'
  15.306305     [D3] upscrecv: 2 bytes: '00'
  15.306336     [D2] Parameter STOK 00
  15.306352     [D3] Ignored value: STOK 00
  15.354256     [D3] upscrecv: 4 bytes: 'STBO'
  15.386220     [D3] upscrecv: 2 bytes: '00'
  15.386255     [D2] Parameter STBO 00
  15.434171     [D3] upscrecv: 4 bytes: 'STBL'
  15.466145     [D3] upscrecv: 2 bytes: '00'
  15.466176     [D2] Parameter STBL 00
  15.514102     [D3] upscrecv: 4 bytes: 'STBM'
  15.578049     [D3] upscrecv: 2 bytes: 'RS'
  15.578080     [D2] Parameter STBM RS
  15.578095     [D3] Ignored value: STBM RS
  15.625999     [D3] upscrecv: 4 bytes: 'STLR'
  15.673979     [D3] upscrecv: 2 bytes: 'NO'
  15.674011     [D2] Parameter STLR NO
  15.674026     [D3] Ignored value: NO 11
  15.769877     [D3] upscrecv: 5 bytes: 'BTIME'
  15.881803     [D3] upscrecv: 7 bytes: '0044.00'
  15.881834     [D2] Parameter BTIME 0044.00
  15.961721     [D3] upscrecv: 5 bytes: 'MIUL1'
  16.041667     [D3] upscrecv: 7 bytes: '0123.00'
  16.041699     [D2] Parameter MIUL1 0123.00
  16.089620     [D3] upscrecv: 5 bytes: 'MBUUU'
  16.185517     [D3] upscrecv: 7 bytes: '0052.40'
  16.185548     [D2] Parameter MBUUU 0052.40
  16.265414     [D3] upscrecv: 5 bytes: 'MOUL1'
  16.361340     [D3] upscrecv: 7 bytes: '0123.00'
  16.361371     [D2] Parameter MOUL1 0123.00
  16.441295     [D3] upscrecv: 5 bytes: 'MOIL1'
  16.521219     [D3] upscrecv: 7 bytes: '0001.61'
  16.521250     [D2] Parameter MOIL1 0001.61
  16.649089     [D3] upscrecv: 5 bytes: 'MOPL1'
  16.776990     [D3] upscrecv: 7 bytes: '0000.14'
  16.777021     [D2] Parameter MOPL1 0000.14
  16.840963     [D3] upscrecv: 5 bytes: 'MOSL1'
  16.904897     [D3] upscrecv: 7 bytes: '0000.19'
  16.904928     [D2] Parameter MOSL1 0000.19
  16.968835     [D3] upscrecv: 5 bytes: 'MOFFF'
  17.048768     [D3] upscrecv: 7 bytes: '0060.00'
  17.048800     [D2] Parameter MOFFF 0060.00
  17.048843     [D2] ups.load: 8.1
  17.109379     [D3] upscsend: 'UPDS'
  17.211638     [D3] upscrecv: Empty line
  17.259590     [D3] upscrecv: 4 bytes: 'STOK'
  17.307555     [D3] upscrecv: 2 bytes: '00'
  17.307586     [D2] Parameter STOK 00
  17.307602     [D3] Ignored value: STOK 00
  17.355513     [D3] upscrecv: 4 bytes: 'STBO'
  17.387488     [D3] upscrecv: 2 bytes: '00'
  17.387520     [D2] Parameter STBO 00
  17.435441     [D3] upscrecv: 4 bytes: 'STBL'
  17.467414     [D3] upscrecv: 2 bytes: '00'
  17.467445     [D2] Parameter STBL 00
  17.515380     [D3] upscrecv: 4 bytes: 'STBM'
  17.579312     [D3] upscrecv: 2 bytes: 'RS'
  17.579343     [D2] Parameter STBM RS
  17.579359     [D3] Ignored value: STBM RS
  17.627263     [D3] upscrecv: 4 bytes: 'STLR'
  17.659249     [D3] upscrecv: 2 bytes: 'NO'
  17.659280     [D2] Parameter STLR NO
  17.659296     [D3] Ignored value: NO 11
  17.771136     [D3] upscrecv: 5 bytes: 'BTIME'
  17.883029     [D3] upscrecv: 7 bytes: '0044.00'
  17.883061     [D2] Parameter BTIME 0044.00
  17.962979     [D3] upscrecv: 5 bytes: 'MIUL1'
  18.042958     [D3] upscrecv: 7 bytes: '0122.90'
  18.042990     [D2] Parameter MIUL1 0122.90
  18.090962     [D3] upscrecv: 5 bytes: 'MBUUU'
  18.186809     [D3] upscrecv: 7 bytes: '0052.40'
  18.186840     [D2] Parameter MBUUU 0052.40
  18.266757     [D3] upscrecv: 5 bytes: 'MOUL1'
  18.362674     [D3] upscrecv: 7 bytes: '0122.90'
  18.362705     [D2] Parameter MOUL1 0122.90
  18.442624     [D3] upscrecv: 5 bytes: 'MOIL1'
  18.522581     [D3] upscrecv: 7 bytes: '0001.61'
  18.522613     [D2] Parameter MOIL1 0001.61
  18.650481     [D3] upscrecv: 5 bytes: 'MOPL1'
  18.778378     [D3] upscrecv: 7 bytes: '0000.14'
  18.778409     [D2] Parameter MOPL1 0000.14
  18.842321     [D3] upscrecv: 5 bytes: 'MOSL1'
  18.906289     [D3] upscrecv: 7 bytes: '0000.19'
  18.906321     [D2] Parameter MOSL1 0000.19
  18.970249     [D3] upscrecv: 5 bytes: 'MOFFF'
  19.034175     [D3] upscrecv: 7 bytes: '0060.00'
  19.034237     [D2] Parameter MOFFF 0060.00
  19.034282     [D2] ups.load: 8.1
  19.109547     [D3] upscsend: 'UPDS'
  19.210993     [D3] upscrecv: Empty line
  19.258968     [D3] upscrecv: 4 bytes: 'STOK'
  19.306942     [D3] upscrecv: 2 bytes: '00'
  19.306974     [D2] Parameter STOK 00
  19.306989     [D3] Ignored value: STOK 00
  19.354951     [D3] upscrecv: 4 bytes: 'STBO'
  19.386848     [D3] upscrecv: 2 bytes: '00'
  19.386879     [D2] Parameter STBO 00
  19.434847     [D3] upscrecv: 4 bytes: 'STBL'
  19.466816     [D3] upscrecv: 2 bytes: '00'
  19.466848     [D2] Parameter STBL 00
  19.514772     [D3] upscrecv: 4 bytes: 'STBM'
  19.578715     [D3] upscrecv: 2 bytes: 'RS'
  19.578745     [D2] Parameter STBM RS
  19.578761     [D3] Ignored value: STBM RS
  19.626684     [D3] upscrecv: 4 bytes: 'STLR'
  19.658646     [D3] upscrecv: 2 bytes: 'NO'
  19.658677     [D2] Parameter STLR NO
  19.658693     [D3] Ignored value: NO 11
  19.770573     [D3] upscrecv: 5 bytes: 'BTIME'
  19.882444     [D3] upscrecv: 7 bytes: '0044.00'
  19.882476     [D2] Parameter BTIME 0044.00
  19.962369     [D3] upscrecv: 5 bytes: 'MIUL1'
  20.042297     [D3] upscrecv: 7 bytes: '0122.80'
  20.042329     [D2] Parameter MIUL1 0122.80
  20.090245     [D3] upscrecv: 5 bytes: 'MBUUU'
  20.186167     [D3] upscrecv: 7 bytes: '0052.40'
  20.186231     [D2] Parameter MBUUU 0052.40
  20.266130     [D3] upscrecv: 5 bytes: 'MOUL1'
  20.362041     [D3] upscrecv: 7 bytes: '0122.80'
  20.362072     [D2] Parameter MOUL1 0122.80
  20.441966     [D3] upscrecv: 5 bytes: 'MOIL1'
  20.521933     [D3] upscrecv: 7 bytes: '0001.61'
  20.521963     [D2] Parameter MOIL1 0001.61
  20.649756     [D3] upscrecv: 5 bytes: 'MOPL1'
  20.777607     [D3] upscrecv: 7 bytes: '0000.14'
  20.777638     [D2] Parameter MOPL1 0000.14
  20.825556     [D3] upscrecv: 5 bytes: 'MOSL1'
  20.905456     [D3] upscrecv: 7 bytes: '0000.19'
  20.905487     [D2] Parameter MOSL1 0000.19
  20.969405     [D3] upscrecv: 5 bytes: 'MOFFF'
  21.033378     [D3] upscrecv: 7 bytes: '0060.00'
  21.033410     [D2] Parameter MOFFF 0060.00
  21.033452     [D2] ups.load: 8.1
  21.109675     [D3] upscsend: 'UPDS'
  21.211208     [D3] upscrecv: Empty line
  21.259161     [D3] upscrecv: 4 bytes: 'STOK'
  21.307134     [D3] upscrecv: 2 bytes: '00'
  21.307165     [D2] Parameter STOK 00
  21.307181     [D3] Ignored value: STOK 00
  21.355107     [D3] upscrecv: 4 bytes: 'STBO'
  21.387063     [D3] upscrecv: 2 bytes: '00'
  21.387095     [D2] Parameter STBO 00
  21.435034     [D3] upscrecv: 4 bytes: 'STBL'
  21.467030     [D3] upscrecv: 2 bytes: '00'
  21.467061     [D2] Parameter STBL 00
  21.515006     [D3] upscrecv: 4 bytes: 'STBM'
  21.578958     [D3] upscrecv: 2 bytes: 'RS'
  21.578990     [D2] Parameter STBM RS
  21.579005     [D3] Ignored value: STBM RS
  21.626930     [D3] upscrecv: 4 bytes: 'STLR'
  21.658933     [D3] upscrecv: 2 bytes: 'NO'
  21.658964     [D2] Parameter STLR NO
  21.658980     [D3] Ignored value: NO 11
  21.770804     [D3] upscrecv: 5 bytes: 'BTIME'
  21.882679     [D3] upscrecv: 7 bytes: '0044.00'
  21.882710     [D2] Parameter BTIME 0044.00
  21.962630     [D3] upscrecv: 5 bytes: 'MIUL1'
  22.042523     [D3] upscrecv: 7 bytes: '0122.70'
  22.042555     [D2] Parameter MIUL1 0122.70
  22.090496     [D3] upscrecv: 5 bytes: 'MBUUU'
  22.186404     [D3] upscrecv: 7 bytes: '0052.40'
  22.186435     [D2] Parameter MBUUU 0052.40
  22.266327     [D3] upscrecv: 5 bytes: 'MOUL1'
  22.362259     [D3] upscrecv: 7 bytes: '0122.70'
  22.362291     [D2] Parameter MOUL1 0122.70
  22.442178     [D3] upscrecv: 5 bytes: 'MOIL1'
  22.522100     [D3] upscrecv: 7 bytes: '0001.61'
  22.522131     [D2] Parameter MOIL1 0001.61
  22.650010     [D3] upscrecv: 5 bytes: 'MOPL1'
  22.777925     [D3] upscrecv: 7 bytes: '0000.14'
  22.777956     [D2] Parameter MOPL1 0000.14
  22.825840     [D3] upscrecv: 5 bytes: 'MOSL1'
  22.905771     [D3] upscrecv: 7 bytes: '0000.19'
  22.905803     [D2] Parameter MOSL1 0000.19
  22.969722     [D3] upscrecv: 5 bytes: 'MOFFF'
  23.033673     [D3] upscrecv: 7 bytes: '0060.00'
  23.033705     [D2] Parameter MOFFF 0060.00
  23.033748     [D2] ups.load: 8.1
  23.109839     [D3] upscsend: 'UPDS'
  23.211517     [D3] upscrecv: Empty line
  23.259472     [D3] upscrecv: 4 bytes: 'STOK'
  23.307419     [D3] upscrecv: 2 bytes: '00'
  23.307450     [D2] Parameter STOK 00
  23.307465     [D3] Ignored value: STOK 00
  23.355368     [D3] upscrecv: 4 bytes: 'STBO'
  23.387348     [D3] upscrecv: 2 bytes: '00'
  23.387378     [D2] Parameter STBO 00
  23.435293     [D3] upscrecv: 4 bytes: 'STBL'
  23.467300     [D3] upscrecv: 2 bytes: '00'
  23.467332     [D2] Parameter STBL 00
  23.515242     [D3] upscrecv: 4 bytes: 'STBM'
  23.579192     [D3] upscrecv: 2 bytes: 'RS'
  23.579223     [D2] Parameter STBM RS
  23.579238     [D3] Ignored value: STBM RS
  23.627141     [D3] upscrecv: 4 bytes: 'STLR'
  23.659116     [D3] upscrecv: 2 bytes: 'NO'
  23.659146     [D2] Parameter STLR NO
  23.659162     [D3] Ignored value: NO 11
  23.771015     [D3] upscrecv: 5 bytes: 'BTIME'
  23.882913     [D3] upscrecv: 7 bytes: '0044.00'
  23.882945     [D2] Parameter BTIME 0044.00
  23.962838     [D3] upscrecv: 5 bytes: 'MIUL1'
  24.042766     [D3] upscrecv: 7 bytes: '0122.90'
  24.042798     [D2] Parameter MIUL1 0122.90
  24.090688     [D3] upscrecv: 5 bytes: 'MBUUU'
  24.186636     [D3] upscrecv: 7 bytes: '0052.40'
  24.186668     [D2] Parameter MBUUU 0052.40
  24.266579     [D3] upscrecv: 5 bytes: 'MOUL1'
  24.362485     [D3] upscrecv: 7 bytes: '0122.90'
  24.362517     [D2] Parameter MOUL1 0122.90
  24.442409     [D3] upscrecv: 5 bytes: 'MOIL1'
  24.522328     [D3] upscrecv: 7 bytes: '0001.61'
  24.522359     [D2] Parameter MOIL1 0001.61
  24.650229     [D3] upscrecv: 5 bytes: 'MOPL1'
  24.778081     [D3] upscrecv: 7 bytes: '0000.14'
  24.778112     [D2] Parameter MOPL1 0000.14
  24.826025     [D3] upscrecv: 5 bytes: 'MOSL1'
  24.905956     [D3] upscrecv: 7 bytes: '0000.19'
  24.905987     [D2] Parameter MOSL1 0000.19
  24.969900     [D3] upscrecv: 5 bytes: 'MOFFF'
  25.033908     [D3] upscrecv: 7 bytes: '0060.00'
  25.033940     [D2] Parameter MOFFF 0060.00
  25.033983     [D2] ups.load: 8.1
  25.109986     [D3] upscsend: 'UPDS'

------------->%-------------------------------------------

From ups.conf

user = nut
maxretry = 3
[malaysia]
#        driver = usbhid-ups
#               port = auto

#       port = /dev/usb/hiddev0
#       desc = "Triplite SU1500xl"



 driver = upscode2
# port = /dev/ttyUSB-nut
 port = /dev/ttyUSB0
        manufacturer=Exide
#        baudrate=1200
##      input_timeout=30
#       full_update_timer=60
##        pollinterval=4

         desc="Exide PCR2400"

#Acceptable values for  this driver:

#  manufacturer [unknown] : -x manufacturer=<value>
#  Serial interface baudrate [1200] : -x baudrate=<value>
#  Command response timeout [2] : -x input_timeout=<value>
#  Output character delay in usecs [200] : -x output_pace=<value>
#  Delay between full value downloads [60] : -x full_update=<value>
#  Use CR-LF to terminate commands to UPS : -x use_crlf
#  Use LF to introduce commands to UPS : -x use_pre_lf

#KPS - persistant name from usb-serial converter - see 
/etc/udev/rules.d/52_nut-serialups.rules

# Set maxretry to 3 by default, this should mitigate race with slow devices:
root@malaysia:~#



--
--------------------------------------------------------------------------------
Karl Schmidt                                  EMail [email protected]
3209 West 9th Street                          Ph (785) 841-3089
Lawrence, KS 66049

If the government is allowed to break the law during emergencies,
They will create emergencies to break the law.
?
--------------------------------------------------------------------------------

_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to