Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    2.8.2_1 blazer_usb, nutdrv_qx

    Scheduled Pinned Locked Moved UPS Tools
    63 Posts 2 Posters 10.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic was forked from NUT Package (2.8.1 and above) dennypage
    This topic has been deleted. Only users with topic management privileges can see it.
    • dennypageD
      dennypage @LanterIT
      last edited by

      @LanterIT If you have time, would you mind re-running those two tests with a higher debug level (-DDDDDD) please?

      L 1 Reply Last reply Reply Quote 0
      • L
        LanterIT @dennypage
        last edited by LanterIT

        @dennypage

        Extra Argument:
        vendorid=06da
        productid=0005
        subdriver = "phoenix"
        protocol = "megatec"
        novendor

        nutdrv_qx_202402232122.txt

        blazer_usb_202402232127.txt

        dennypageD 1 Reply Last reply Reply Quote 1
        • dennypageD
          dennypage @LanterIT
          last edited by

          @LanterIT Sorry, can you put the "battery_voltage_reports_one_pack" back in the config please?

          L 1 Reply Last reply Reply Quote 0
          • L
            LanterIT @dennypage
            last edited by

            @dennypage
            only nutdrv_qx output, because blazer_usb does not support the parameter:
            nutdrv_qx_202402232234.txt

            dennypageD 1 Reply Last reply Reply Quote 1
            • dennypageD
              dennypage @LanterIT
              last edited by

              @LanterIT Attached is a nutdrv_qx executable with additional debug information added. Please run let it run for at least 100 seconds before killing it.

              Note that I don't have a compatible UPS, so I am not actually able to test the executable. Please do excuse me if I've messed something up. 😦

              Thanks

              nutdrv_qx_denny_dbg.zip

              L 1 Reply Last reply Reply Quote 0
              • L
                LanterIT @dennypage
                last edited by

                @dennypage

                I am happy when someone takes care of the problem and I can do my part.
                nutdrv_qx_denny_dbg_202402252046.txt

                dennypageD 1 Reply Last reply Reply Quote 1
                • dennypageD
                  dennypage @LanterIT
                  last edited by

                  @LanterIT LOL. I love it when people are willing to help me solve problems.

                  One more time please...

                  nutdrv_qx_denny_dbg2.zip

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    LanterIT @dennypage
                    last edited by

                    @dennypage

                    Here you go:
                    nutdrv_qx_denny_dbg2_202402252237.txt

                    dennypageD 1 Reply Last reply Reply Quote 0
                    • dennypageD
                      dennypage @LanterIT
                      last edited by dennypage

                      @LanterIT said in NUT Package (2.8.1 and above):

                      nutdrv_qx_denny_dbg2_202402252237.txt

                      Did you notice the reported voltage and charge? 😊

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        LanterIT @dennypage
                        last edited by LanterIT

                        @dennypage

                        It was a bit late last night, so I only dumped the output to the log file.

                        After a little more than 30 seconds, the battery voltage and battery charge display will change to the correct values. 👍

                        Does this have an influence on the behavior as long as the status is OL?

                        EDIT: It also runs on the productive device! 😊

                        dennypageD 2 Replies Last reply Reply Quote 0
                        • dennypageD
                          dennypage @LanterIT
                          last edited by

                          @LanterIT said in NUT Package (2.8.1 and above):

                          Does this have an influence on the behavior as long as the status is OL?

                          By default, NUT doesn't take action until the UPS declares a low battery, and battery voltage is reported as informational only. This is probably one reason why no-one has noticed the bug. Runtime is the same, although for most of the nutdrv_qx protocols, runtime isn't reported at all.

                          I'll put up a bug report and PR for the NUT folk later today or tomorrow. I don't know how long it will take for this to flow though to an a release on pfSense. In the interim you can use the last executable--the extra debug statements won't hurt anything.

                          Thank you for your patience and perseverance.

                          1 Reply Last reply Reply Quote 1
                          • dennypageD
                            dennypage @LanterIT
                            last edited by

                            @LanterIT NUT issue #2325.

                            dennypageD 1 Reply Last reply Reply Quote 1
                            • dennypageD
                              dennypage @dennypage
                              last edited by

                              @dennypage said in NUT Package (2.8.1 and above):

                              @LanterIT NUT issue #2325.

                              The fix for accessing battery_voltage_reports_one_pack has been merged, and I expect it to be included in nut-devel snapshot.

                              I was hoping that the flag would simply be deleted, but the NUT maintainer seemed resistant to that. You will need to maintain the flag in your Extra Augments to driver section.

                              1 Reply Last reply Reply Quote 1
                              • dennypageD dennypage referenced this topic on
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.