<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span>- OS name and version: Proxmox </span><span>Virtual Environment 7.4-3</span></div><div><span>- NUT version: </span><span>2.7.4-13</span></div><div><span>- NUT installation method:</span> Debian package/apt</div><div><span>- Exact device name and related information</span>: Cyberpower BRG1350AVRLCD <a href="https://www.cyberpowersystems.com/product/ups/intelligent-lcd/brg1350avrlcd/"><span id="gmail-mt-tracked-link_1683985818550" style="color:red"></span>https://www.cyberpowersystems.com/product/ups/intelligent-lcd/brg1350avrlcd/</a></div><div><span>- Complete problem description:</span></div><div><span>Hello there!<br><br>This is my first time using a mailing list, so please let me know if I missed something.</span></div><div><span><br></span></div><div><span>I'm trying to use this UPS over a serial connection with a Lenovo computer running Proxmox. I've already been successful in using it over the USB connection with a Raspberry Pi and both Raspbian and OpenWRT, but given this computer has a built-in (and as of yet non-functional) serial port, I wanted to try it out and see if I'm able to free up a USB port after all.</span></div><div><br></div><div><span>I am able to connect successfully using the text protocol, however, it seems the driver times out after negotiating a link over the serial connection. At the moment I am testing it over a USB to Serial adapter, but even through this method the official Powerpanel is unable to detect the UPS at all, so only NUT seems to be the option here.</span></div><div><span><br></span></div><div><span>If I'm able to get the UPS working over the USB adapter, I'll be able to discard the powerpanel driver as a potential issue and move on to diagnosing the onboard RS-232, but for the moment I hope I've included enough information as a starting point.</span></div><div><span><br></span></div><div><span>Thanks for the help!</span></div><div><span><br>Settings:</span></div><div><span>/etc/nut/ups.conf</span><br></div><div><span><div>maxretry = 5</div><div>[cyberpower]</div><div>    driver = powerpanel</div><div>    protocol = text</div><div>    port = /dev/ttyUSB0</div></span></div><div><br></div><div>Debug trace:</div><div><div><span>/lib/nut/powerpanel -a cyberpower -DDDDDD</span></div><div><span>Network UPS Tools - CyberPower text/binary protocol UPS driver 0.27 (2.7.4)</span></div><div><span>Warning: This is an experimental driver.</span></div><div><span>Some features may not function correctly.</span></div><div><span><br></span></div><div><span>   0.000000     debug level is '6'</span></div><div><span>   0.011614     Trying text protocol...</span></div><div><span>   0.112022     send: (2 bytes) => 0d 0d</span></div><div><span>   0.212152     read: (3 bytes) => 23 2d 33</span></div><div><span>   0.362686     send: (3 bytes) => 50 34 0d</span></div><div><span>   0.762718     read: (66 bytes) => 23 42 52 47 31 33 35 30 41 56 52 4c 43 44 2c 42 46 30</span></div><div><span>   0.762744      31 34 30 31 42 41 33 31 2c 42 47 38 4b 50 32 30 30 30 30 30 32 2c 43 79 62</span></div><div><span>   0.762752      65 72 50 6f 77 65 72 20 53 79 73 74 65 6d 73 20 49 6e 63 2e 2c 2c 2c</span></div><div><span>   0.762771     CyberPower UPS with text protocol on /dev/ttyUSB0 detected</span></div><div><span>   0.762792     send_to_all: SETINFO device.type "ups"</span></div><div><span>   0.762814     send_to_all: SETINFO driver.version "2.7.4"</span></div><div><span>   0.762819     send_to_all: SETINFO driver.version.internal "0.27"</span></div><div><span>   0.762828     send_to_all: SETINFO <a href="http://driver.name">driver.name</a> "powerpanel"</span></div><div><span>   0.762833     send_to_all: SETINFO ups.mfr "CyberPower"</span></div><div><span>   0.762837     send_to_all: SETINFO ups.model "[unknown]"</span></div><div><span>   0.762842     send_to_all: SETINFO ups.serial "[unknown]"</span></div><div><span>   0.762847     send_to_all: SETINFO ups.delay.start "60"</span></div><div><span>   0.762852     send_to_all: SETINFO ups.delay.shutdown "60"</span></div><div><span>   0.762858     send_to_all: SETINFO ups.model "BRG1350AVRLCD"</span></div><div><span>   0.762863     send_to_all: SETINFO ups.firmware "BF01401BA31"</span></div><div><span>   0.762868     send_to_all: SETINFO ups.serial "BG8KP2000002"</span></div><div><span>   0.762872     send_to_all: SETINFO ups.mfr "CyberPower Systems Inc."</span></div><div><span>   0.913265     send: (3 bytes) => 50 33 0d</span></div><div><span>   1.013433     read: (16 bytes) => 23 31 32 2c 32 78 31 2c 31 32 2c 30 2c 33 2c 38</span></div><div><span>   1.013449     send_to_all: SETINFO battery.voltage.nominal "12"</span></div><div><span>   1.013468     send_to_all: SETINFO battery.packs "2"</span></div><div><span>   1.013473     send_to_all: SETINFO battery.capacity "12"</span></div><div><span>   1.163985     send: (3 bytes) => 50 32 0d</span></div><div><span>   1.264124     read: (24 bytes) => 23 31 33 35 30 2c 38 31 30 2c 31 32 30 2c 35 37 2c 36</span></div><div><span>   1.264136      33 2c 31 31 2e 33</span></div><div><span>   1.264144     send_to_all: SETINFO ups.power.nominal "1350"</span></div><div><span>   1.264164     send_to_all: SETINFO ups.realpower.nominal "810"</span></div><div><span>   1.264169     send_to_all: SETINFO input.voltage.nominal "120"</span></div><div><span>   1.264174     send_to_all: SETINFO input.frequency.low "57"</span></div><div><span>   1.264179     send_to_all: SETINFO input.frequency.high "63"</span></div><div><span>   1.414690     send: (3 bytes) => 50 31 0d</span></div><div><span>   1.514887     read: (18 bytes) => 23 31 32 30 2c 31 32 39 2c 31 30 33 2c 30 2c 33 30 30</span></div><div><span>   1.514903     send_to_all: SETINFO input.transfer.high "129"</span></div><div><span>   1.514921     send_to_all: SETINFO input.transfer.low "103"</span></div><div><span>   1.514926     send_to_all: SETINFO battery.charge.low "0"</span></div><div><span>   1.514943     send_to_all: ADDCMD test.battery.start.quick</span></div><div><span>   1.514948     send_to_all: ADDCMD test.battery.stop</span></div><div><span>   1.514967     send_to_all: ADDCMD beeper.enable</span></div><div><span>   1.514972     send_to_all: ADDCMD beeper.disable</span></div><div><span>   1.514977     send_to_all: ADDCMD beeper.on</span></div><div><span>   1.514981     send_to_all: ADDCMD beeper.off</span></div><div><span>   1.514986     send_to_all: ADDCMD shutdown.stop</span></div><div><span>   1.665448     send: (3 bytes) => 50 36 0d</span></div><div><span>   1.765626     read: (8 bytes) => 23 31 32 39 2b 31 2a 36</span></div><div><span>   1.765639     send_to_all: SETFLAGS input.transfer.high RW</span></div><div><span>   1.765659     send_to_all: ADDENUM input.transfer.high "129"</span></div><div><span>   1.916165     send: (3 bytes) => 50 37 0d</span></div><div><span>   2.016345     read: (7 bytes) => 23 39 37 2b 31 2a 36</span></div><div><span>   2.016359     send_to_all: SETFLAGS input.transfer.low RW</span></div><div><span>   2.016380     send_to_all: ADDENUM input.transfer.low "97"</span></div><div><span>   2.166804     send: (3 bytes) => 50 38 0d</span></div><div><span>   2.267000     read: (3 bytes) => 23 2d 33</span></div><div><span>   2.267029     send_to_all: SETFLAGS battery.charge.low RW</span></div><div><span>   2.267035     send_to_all: ADDENUM battery.charge.low "-3"</span></div><div><span>   2.417484     send: (3 bytes) => 50 35 0d</span></div><div><span>   2.517639     read: (4 bytes) => 23 31 32 30</span></div><div><span>   2.668106     send: (3 bytes) => 50 39 0d</span></div><div><span>   2.768317     read: (4 bytes) => 23 de d7 c0</span></div><div><span>   2.868582     send: (2 bytes) => 43 0d</span></div><div><span>   2.968682     read: (4 bytes) => 23 2d 31 30</span></div><div><span>   2.968709     send_to_all: ADDCMD shutdown.return</span></div><div><span>   2.968714     send_to_all: ADDCMD shutdown.stayoff</span></div><div><span>   2.968719     send_to_all: ADDCMD shutdown.reboot</span></div><div><span>   3.069074     send: (2 bytes) => 44 0d</span></div><div><span>   3.269214     read: (35 bytes) => 23 49 31 31 38 2e 39 4f 31 31 38 2e 39 4c 39 42 31 30</span></div><div><span>   3.269241      30 56 32 37 2e 36 46 36 30 2e 30 48 46 36 30 2e 30</span></div><div><span>   3.519628     read: timeout</span></div><div><span>   3.519661       \_: (23 bytes) => 52 31 34 31 51 30 2e 35 53 80 84 c0 88 80 57 00 0d 00</span></div><div><span>   3.519666      00 00 00 00 00</span></div><div><span>   3.519670     Communications with UPS lost: Status read failed!</span></div><div><span>   3.519740     dstate_init: sock /run/nut/powerpanel-cyberpower open on fd 5</span></div><div><span>   3.519758     send_to_all: SETINFO driver.parameter.pollinterval "2"</span></div><div><span>   3.519763     send_to_all: SETINFO driver.parameter.synchronous "no"</span></div><div><span>   3.519768     send_to_all: SETINFO device.mfr "CyberPower Systems Inc."</span></div><div><span>   3.519772     send_to_all: SETINFO device.model "BRG1350AVRLCD"</span></div><div><span>   3.519776     send_to_all: SETINFO device.serial "BG8KP2000002"</span></div><div><span>   3.620077     send: (2 bytes) => 44 0d</span></div><div><span>   3.820259     read: (35 bytes) => 23 49 31 31 38 2e 39 4f 31 31 38 2e 39 4c 37 42 31 30</span></div><div><span>   3.820286      30 56 32 37 2e 36 46 36 30 2e 30 48 46 36 30 2e 30</span></div><div><span>   4.070655     read: timeout</span></div><div><span>   4.070686       \_: (23 bytes) => 52 36 30 51 30 2e 36 53 80 84 c0 88 80 57 00 0d 00 00</span></div><div><span>   4.070690      00 00 00 00 00</span></div><div><span>   4.070696     Communications with UPS lost: Status read failed!</span></div><div><span>   5.620922     send: (2 bytes) => 44 0d</span></div><div><span>   5.821119     read: (35 bytes) => 23 49 31 31 38 2e 38 4f 31 31 38 2e 38 4c 39 42 31 30</span></div><div><span>   5.821130      30 56 32 37 2e 36 46 36 30 2e 30 48 46 36 30 2e 30</span></div><div><span>   6.071446     read: timeout</span></div><div><span>   6.071489       \_: (23 bytes) => 52 31 33 32 51 30 2e 35 53 80 84 c0 88 80 57 00 0d 00</span></div><div><span>   6.071508      00 00 00 00 00</span></div><div><span>   6.071512     Communications with UPS lost: Status read failed!</span></div><div><span>   7.622016     send: (2 bytes) => 44 0d</span></div><div><span>   7.822199     read: (35 bytes) => 23 49 31 31 38 2e 38 4f 31 31 38 2e 38 4c 39 42 31 30</span></div><div><span>   7.822211      30 56 32 37 2e 36 46 36 30 2e 30 48 46 36 30 2e 30</span></div><div><span>   8.072581     read: timeout</span></div><div><span>   8.072613       \_: (23 bytes) => 52 31 32 37 51 30 2e 35 53 80 84 c0 88 80 57 00 0d 00</span></div><div><span>   8.072618      00 00 00 00 00</span></div><div><span>   8.072623     Communications with UPS lost: Status read failed!</span></div><div><span>^C</span></div></div><div dir="ltr"><br></div><br><br><br></div></div></div></div></div></div></div></div></div></div></div></div></div>