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 8.5k 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.
    • L
      LanterIT
      last edited by dennypage

      Just updated to 2.8.2_1 and now blazer_usb isn't working anymore.

      [ABB]
      driver=blazer_usb
      port=auto
      subdriver = "phoenix"
      protocol = "megatec"
      productid=0005
      vendorid=06da
      synchronous = yes
      pollinterval = "10"
      

      It's an ABB PowerValue 11 RT with same vendor and product ID like this one in the driver.list:

      "Various"	"ups"	"2"	"Various Innova RT"	"(USB ID 06da:0005)"	"blazer_ser or blazer_usb"
      

      Is there a way to install the previous version of package again?

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

        Sorry, on a plane.

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

          @dennypage

          Yes, I tried that, but without success.

          After installing the old packages, as described by @incith, the UPS is immediately reconnected.

          My current configuration is in the post above.
          In addition, user=root is required.

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

            @LanterIT What specific packages do you have installed?

            pkg info | grep nut
            

            Do you have any log entries for usbhid-ups from when you were running the current package?

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

              @dennypage

              pkg info | grep nut
              nut-devel-2023.10.07_1 Network UPS Tools
              pfSense-pkg-nut-2.8.2 Network UPS Tools

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

                @dennypage

                less /var/log/dmesg.boot | grep usb
                usbus0 on xhci0
                usbus0: 5.0Gbps Super Speed USB v3.0
                ugen0.1: <Intel XHCI root HUB> at usbus0
                uhub0 on usbus0
                uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
                Root mount waiting for: usbus0 CAM
                ugen0.2: <PPC USB UPS> at usbus0
                uhid0: <PPC USB UPS, class 0/0, rev 2.00/0.01, addr 1> on usbus0
                ugen0.3: <vendor 0x0557 product 0x7000> at usbus0
                uhub1: <vendor 0x0557 product 0x7000, class 9/0, rev 2.00/0.00, addr 2> on usbus0
                Root mount waiting for: usbus0 CAM
                ugen0.4: <vendor 0x0557 product 0x2419> at usbus0
                ukbd0: <vendor 0x0557 product 0x2419, class 0/0, rev 1.10/1.00, addr 3> on usbus0
                

                if there were more, where would the log entries be found?

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

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

                  if there were more, where would the log entries be found?

                  grep usbhid-ups /var/log/system.log
                  
                  L 1 Reply Last reply Reply Quote 0
                  • L
                    LanterIT @dennypage
                    last edited by

                    @dennypage

                    no results

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

                      @LanterIT Sorry, my bad. I didn't notice that you had explicitly chosen the blazer driver.

                      grep blazer_usb /var/log/system.log
                      

                      Btw, I assume that you know that the blazer driver is deprecated and no longer being maintained post NUT 2.7.4 (April 2022). It is replaced by nutdrv_qx.

                      I would recommend that you switch to nutdrv_qx. And unless you have multiple UPSs attached to the system, you should be able to remove all the other settings in the Extra Arguments section other than pollinterval.

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

                        @dennypage

                        I have read that this driver is no longer supported.

                        So, I updated NUT package back to 2.8.2_1 and tried with the other driver as you suggested.

                        I only get the following error:
                        Poll UPS [ABB] failed - Driver not connected

                        Do you have any further advice on getting the UPS to work with the new driver?

                        In the meantime, I will revert to the old packages and settings.

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

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

                          So, I updated NUT package back to 2.8.2_1 and tried with the other driver as you suggested.

                          Have you tried the nutdrv_qx driver in 2.8.2?
                          What is the UPS you are using?
                          Can you post the output of "usbconfig -v" please?

                          Thanks

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

                            @dennypage, thank you for your support!

                            Yes, I have tried it with version 2.8.2 and nutdrv_qx without success.

                            It is an ABB PowerValue 11 RT, as described in post 173.

                            usbconfig -v
                            ugen0.1: <Intel XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
                            ugen0.1.0: uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1>
                            
                              bLength = 0x0012
                              bDescriptorType = 0x0001
                              bcdUSB = 0x0300
                              bDeviceClass = 0x0009  <HUB>
                              bDeviceSubClass = 0x0000
                              bDeviceProtocol = 0x0003
                              bMaxPacketSize0 = 0x0009
                              idVendor = 0x0000
                              idProduct = 0x0000
                              bcdDevice = 0x0100
                              iManufacturer = 0x0001  <Intel>
                              iProduct = 0x0002  <XHCI root HUB>
                              iSerialNumber = 0x0000  <no string>
                              bNumConfigurations = 0x0001
                            
                            
                             Configuration index 0
                            
                                bLength = 0x0009
                                bDescriptorType = 0x0002
                                wTotalLength = 0x001f
                                bNumInterfaces = 0x0001
                                bConfigurationValue = 0x0001
                                iConfiguration = 0x0000  <no string>
                                bmAttributes = 0x0040
                                bMaxPower = 0x0000
                            
                                Interface 0
                                  bLength = 0x0009
                                  bDescriptorType = 0x0004
                                  bInterfaceNumber = 0x0000
                                  bAlternateSetting = 0x0000
                                  bNumEndpoints = 0x0001
                                  bInterfaceClass = 0x0009  <HUB>
                                  bInterfaceSubClass = 0x0000
                                  bInterfaceProtocol = 0x0000
                                  iInterface = 0x0000  <no string>
                            
                                 Endpoint 0
                                    bLength = 0x0007
                                    bDescriptorType = 0x0005
                                    bEndpointAddress = 0x0081  <IN>
                                    bmAttributes = 0x0003  <INTERRUPT>
                                    wMaxPacketSize = 0x0002
                                    bInterval = 0x00ff
                                    bRefresh = 0x0000
                                    bSynchAddress = 0x0000
                            
                                  Additional Descriptor
                            
                                  bLength = 0x06
                                  bDescriptorType = 0x30
                                  bDescriptorSubType = 0x00
                                   RAW dump:
                                   0x00 | 0x06, 0x30, 0x00, 0x00, 0x00, 0x00
                            
                            
                            
                            
                            ugen0.3: <vendor 0x0557 product 0x7000> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA)
                            ugen0.3.0: uhub1: <vendor 0x0557 product 0x7000, class 9/0, rev 2.00/0.00, addr 2>
                            
                              bLength = 0x0012
                              bDescriptorType = 0x0001
                              bcdUSB = 0x0200
                              bDeviceClass = 0x0009  <HUB>
                              bDeviceSubClass = 0x0000
                              bDeviceProtocol = 0x0001
                              bMaxPacketSize0 = 0x0040
                              idVendor = 0x0557
                              idProduct = 0x7000
                              bcdDevice = 0x0000
                              iManufacturer = 0x0000  <no string>
                              iProduct = 0x0000  <no string>
                              iSerialNumber = 0x0000  <no string>
                              bNumConfigurations = 0x0001
                            
                            
                             Configuration index 0
                            
                                bLength = 0x0009
                                bDescriptorType = 0x0002
                                wTotalLength = 0x0019
                                bNumInterfaces = 0x0001
                                bConfigurationValue = 0x0001
                                iConfiguration = 0x0000  <no string>
                                bmAttributes = 0x00e0
                                bMaxPower = 0x0032
                            
                                Interface 0
                                  bLength = 0x0009
                                  bDescriptorType = 0x0004
                                  bInterfaceNumber = 0x0000
                                  bAlternateSetting = 0x0000
                                  bNumEndpoints = 0x0001
                                  bInterfaceClass = 0x0009  <HUB>
                                  bInterfaceSubClass = 0x0000
                                  bInterfaceProtocol = 0x0000
                                  iInterface = 0x0000  <no string>
                            
                                 Endpoint 0
                                    bLength = 0x0007
                                    bDescriptorType = 0x0005
                                    bEndpointAddress = 0x0081  <IN>
                                    bmAttributes = 0x0003  <INTERRUPT>
                                    wMaxPacketSize = 0x0001
                                    bInterval = 0x000c
                                    bRefresh = 0x0000
                                    bSynchAddress = 0x0000
                            
                            
                            
                            ugen0.4: <vendor 0x0557 product 0x2419> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (160mA)
                            ugen0.4.0: ukbd0: <vendor 0x0557 product 0x2419, class 0/0, rev 1.10/1.00, addr 3>
                            
                              bLength = 0x0012
                              bDescriptorType = 0x0001
                              bcdUSB = 0x0110
                              bDeviceClass = 0x0000  <Probed by interface class>
                              bDeviceSubClass = 0x0000
                              bDeviceProtocol = 0x0000
                              bMaxPacketSize0 = 0x0008
                              idVendor = 0x0557
                              idProduct = 0x2419
                              bcdDevice = 0x0100
                              iManufacturer = 0x0000  <no string>
                              iProduct = 0x0000  <no string>
                              iSerialNumber = 0x0000  <no string>
                              bNumConfigurations = 0x0001
                            
                            
                             Configuration index 0
                            
                                bLength = 0x0009
                                bDescriptorType = 0x0002
                                wTotalLength = 0x003b
                                bNumInterfaces = 0x0002
                                bConfigurationValue = 0x0001
                                iConfiguration = 0x0000  <no string>
                                bmAttributes = 0x00e0
                                bMaxPower = 0x0050
                            
                                Interface 0
                                  bLength = 0x0009
                                  bDescriptorType = 0x0004
                                  bInterfaceNumber = 0x0000
                                  bAlternateSetting = 0x0000
                                  bNumEndpoints = 0x0001
                                  bInterfaceClass = 0x0003  <HID device>
                                  bInterfaceSubClass = 0x0001
                                  bInterfaceProtocol = 0x0001
                                  iInterface = 0x0000  <no string>
                            
                                  Additional Descriptor
                            
                                  bLength = 0x09
                                  bDescriptorType = 0x21
                                  bDescriptorSubType = 0x00
                                   RAW dump:
                                   0x00 | 0x09, 0x21, 0x00, 0x01, 0x00, 0x01, 0x22, 0x40,
                                   0x08 | 0x00
                            
                                 Endpoint 0
                                    bLength = 0x0007
                                    bDescriptorType = 0x0005
                                    bEndpointAddress = 0x0081  <IN>
                                    bmAttributes = 0x0003  <INTERRUPT>
                                    wMaxPacketSize = 0x0008
                                    bInterval = 0x000a
                                    bRefresh = 0x0000
                                    bSynchAddress = 0x0000
                            
                            
                                Interface 1
                                  bLength = 0x0009
                                  bDescriptorType = 0x0004
                                  bInterfaceNumber = 0x0001
                                  bAlternateSetting = 0x0000
                                  bNumEndpoints = 0x0001
                                  bInterfaceClass = 0x0003  <HID device>
                                  bInterfaceSubClass = 0x0001
                                  bInterfaceProtocol = 0x0002
                                  iInterface = 0x0000  <no string>
                            
                                  Additional Descriptor
                            
                                  bLength = 0x09
                                  bDescriptorType = 0x21
                                  bDescriptorSubType = 0x00
                                   RAW dump:
                                   0x00 | 0x09, 0x21, 0x00, 0x01, 0x00, 0x01, 0x22, 0x4f,
                                   0x08 | 0x00
                            
                                 Endpoint 0
                                    bLength = 0x0007
                                    bDescriptorType = 0x0005
                                    bEndpointAddress = 0x0082  <IN>
                                    bmAttributes = 0x0003  <INTERRUPT>
                                    wMaxPacketSize = 0x0006
                                    bInterval = 0x0005
                                    bRefresh = 0x0000
                                    bSynchAddress = 0x0000
                            
                            
                            
                            ugen0.2: <PPC USB UPS> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
                            
                              bLength = 0x0012
                              bDescriptorType = 0x0001
                              bcdUSB = 0x0200
                              bDeviceClass = 0x0000  <Probed by interface class>
                              bDeviceSubClass = 0x0000
                              bDeviceProtocol = 0x0000
                              bMaxPacketSize0 = 0x0008
                              idVendor = 0x06da
                              idProduct = 0x0005
                              bcdDevice = 0x0001
                              iManufacturer = 0x0001  <PPC>
                              iProduct = 0x0002  <USB UPS >
                              iSerialNumber = 0x0004  <retrieving string failed>
                              bNumConfigurations = 0x0001
                            
                            
                             Configuration index 0
                            
                                bLength = 0x0009
                                bDescriptorType = 0x0002
                                wTotalLength = 0x0022
                                bNumInterfaces = 0x0001
                                bConfigurationValue = 0x0001
                                iConfiguration = 0x0000  <no string>
                                bmAttributes = 0x00c0
                                bMaxPower = 0x0032
                            
                                Interface 0
                                  bLength = 0x0009
                                  bDescriptorType = 0x0004
                                  bInterfaceNumber = 0x0000
                                  bAlternateSetting = 0x0000
                                  bNumEndpoints = 0x0001
                                  bInterfaceClass = 0x0003  <HID device>
                                  bInterfaceSubClass = 0x0000
                                  bInterfaceProtocol = 0x0000
                                  iInterface = 0x0000  <no string>
                            
                                  Additional Descriptor
                            
                                  bLength = 0x09
                                  bDescriptorType = 0x21
                                  bDescriptorSubType = 0x11
                                   RAW dump:
                                   0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x1b,
                                   0x08 | 0x00
                            
                                 Endpoint 0
                                    bLength = 0x0007
                                    bDescriptorType = 0x0005
                                    bEndpointAddress = 0x0081  <IN>
                                    bmAttributes = 0x0003  <INTERRUPT>
                                    wMaxPacketSize = 0x0008
                                    bInterval = 0x000a
                                    bRefresh = 0x0000
                                    bSynchAddress = 0x0000
                            
                            

                            And the last entry of usbconfig dump_device_quirks | grep HID_IGNORE
                            correspond the vendor and product ID:

                            VID=0x06da PID=0x0005 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE
                            
                            
                            dennypageD 2 Replies Last reply Reply Quote 0
                            • dennypageD
                              dennypage @LanterIT
                              last edited by

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

                              I have tried it with version 2.8.2 and nutdrv_qx without success.

                              Can you show the logs please?

                              grep nutdrv_qx /var/log/system.log
                              

                              Thanks

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

                                @dennypage

                                output of grep nutdrv_qx /var/log/system.log:

                                Feb 18 20:46:46 gw1 upsd[95065]: Can't connect to UPS [ABB] (nutdrv_qx-ABB): No such file or directory
                                Feb 18 20:48:15 gw1 upsd[13980]: Can't connect to UPS [ABB] (nutdrv_qx-ABB): No such file or directory
                                Feb 18 20:50:52 gw1 upsd[97140]: Can't connect to UPS [ABB] (nutdrv_qx-ABB): No such file or directory
                                Feb 18 20:54:33 gw1 upsd[90641]: Can't connect to UPS [ABB] (nutdrv_qx-ABB): No such file or directory
                                Feb 18 21:01:24 gw1 upsd[82217]: Can't connect to UPS [ABB] (nutdrv_qx-ABB): No such file or directory
                                Feb 18 21:06:13 gw1 upsd[73902]: Can't connect to UPS [ABB] (nutdrv_qx-ABB): No such file or directory
                                Feb 18 21:09:43 gw1 upsd[67092]: Can't connect to UPS [ABB] (nutdrv_qx-ABB): No such file or directory
                                Feb 18 21:14:36 gw1 upsd[5940]: Can't connect to UPS [ABB] (nutdrv_qx-ABB): No such file or directory
                                Feb 18 21:15:59 gw1 upsd[20566]: Can't connect to UPS [ABB] (nutdrv_qx-ABB): No such file or directory
                                Feb 18 21:16:34 gw1 upsd[68768]: Can't connect to UPS [ABB] (nutdrv_qx-ABB): No such file or directory
                                Feb 18 21:20:15 gw1 upsd[599]: Can't connect to UPS [ABB] (nutdrv_qx-ABB): No such file or directory
                                Feb 19 10:31:13 gw1 upsd[22401]: Can't connect to UPS [ABB] (nutdrv_qx-ABB): No such file or directory
                                Feb 19 10:31:43 gw1 upsd[99457]: Can't connect to UPS [ABB] (nutdrv_qx-ABB): No such file or directory
                                Feb 19 10:32:41 gw1 upsd[7578]: Can't connect to UPS [ABB] (nutdrv_qx-ABB): No such file or directory
                                Feb 19 18:07:05 gw1 upsd[28139]: Can't connect to UPS [ABB] (nutdrv_qx-ABB): No such file or directory
                                

                                Thanks

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

                                  @LanterIT Unfortunately there are no log entries from the nutdrv_qx process. If you are comfortable with it, could you try the following please?

                                  First, this insures that the nut service is running:

                                  /usr/local/etc/rc.d/nut.sh restart
                                  

                                  This kills any driver that may be running:

                                  killall nutdrv_qx
                                  

                                  This starts the nutdrv_qx driver in debug mode:

                                  /usr/local/libexec/nut/nutdrv_qx -D -a ABB
                                  

                                  The driver will output debug information in the shell. Let it run for a few seconds, then you can kill it. Please post the output. Thanks.

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

                                    @dennypage

                                    The driver stops after a few seconds. Output with triple D:

                                    /usr/local/libexec/nut/nutdrv_qx -DDD -a ABB
                                    Network UPS Tools - Generic Q* USB/Serial driver 0.36 (2.8.1.1)
                                    USB communication driver (libusb 1.0) 0.46
                                       0.000000     [D3] main_arg: var='driver' val='nutdrv_qx'
                                       0.000037     [D3] main_arg: var='port' val='auto'
                                       0.000083     [D3] main_arg: var='pollinterval' val='10'
                                       0.000096     [D1] testval_reloadable: setting 'pollinterval' exists and differs: new value '10' vs. '2'
                                       0.000135     [D1] Network UPS Tools version 2.8.1.1 (release/snapshot of 2.8.1.1) built with FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152); Target: x86_64-unknown-freebsd14.0; Thread model: posix and configured with flags: --sysconfdir=/usr/local/etc/nut --program-transform-name= --localstatedir=/var/db/nut --datadir=/usr/local/etc/nut --with-devd-dir=/usr/local/etc/devd --with-drvpath=/usr/local/libexec/nut --with-statepath=/var/db/nut --with-altpidpath=/var/db/nut --with-pidpath=/var/db/nut --with-pkgconfig-dir=/usr/local/libdata/pkgconfig --with-user=nut --with-group=nut --with-python=/usr/local/bin/python3.11 --without-python2 --with-python3=/usr/local/bin/python3.11 --without-nut_monitor --with-ltdl --with-nut-scanner --with-avahi --with-cgi --with-cgipath=/usr/local/www/cgi-bin/nut --with-htmlpath=/usr/local/www/nut --with-gd-includes=-I/usr/local/include --with-gd-libs='-L/usr/local/lib -lgd' --without-dev --with-freeipmi --without-ipmi --with-doc=no --with-modbus --with-neon --without-nss --with-openssl --with-powerman --with-serial --with-snmp --with-usb=auto --prefix=/usr/local --mandir=/usr/local/man --disable-silent-rules --infodir=/usr/local/share/info/ --build=amd64-portbld-freebsd14.0
                                       0.000156     [D1] debug level is '3'
                                       0.000861     [D1] Succeeded to become_user(nut): now UID=316 GID=316
                                       0.000956     [D1] upsdrv_initups...
                                       0.001271     [D2] Checking device 1 of 1 (06DA/0005)
                                       0.003392     [D1] nut_libusb_open get iSerialNumber failed, retrying...
                                       0.004140     [D1] nut_libusb_open get iSerialNumber failed, retrying...
                                       0.004766     [D1] nut_libusb_open get iSerialNumber failed, retrying...
                                       0.004770     [D2] - VendorID: 06da
                                       0.004772     [D2] - ProductID: 0005
                                       0.004774     [D2] - Manufacturer: PPC
                                       0.004776     [D2] - Product: USB UPS
                                       0.004778     [D2] - Serial Number: unknown
                                       0.004780     [D2] - Bus: 000
                                       0.004782     [D2] - Bus Port: 007
                                       0.004784     [D2] - Device: 002
                                       0.004786     [D2] - Device release number: 0001
                                       0.004788     [D2] Trying to match device
                                       0.004791     [D3] match_function_regex: matching a device...
                                       0.004794     [D2] Device matches
                                       0.004796     [D2] Reading configuration descriptor 1 of 1
                                       0.004823     [D3] libusb_kernel_driver_active() returned 0: Success
                                       0.004827     [D2] Claimed interface 0 successfully
                                       0.004830     [D3] nut_usb_set_altinterface: skipped libusb_set_interface_alt_setting(udev, 0, 0)
                                       0.005027     [D3] send: QGS
                                       0.049762     [D3] read:
                                       0.049799     [D2] qx_process_answer: short reply (input.voltage)
                                       0.050013     [D3] send: QGS
                                       0.089767     [D3] read:
                                       0.089777     [D2] qx_process_answer: short reply (input.voltage)
                                       0.089979     [D3] send: QGS
                                       0.129766     [D3] read:
                                       0.129778     [D2] qx_process_answer: short reply (input.voltage)
                                       0.129981     [D3] send: M
                                       0.153762     [D3] read:
                                       0.153784     [D2] voltronic_qs_protocol: invalid protocol []
                                       0.153991     [D3] send: M
                                       0.177763     [D3] read:
                                       0.177774     [D2] voltronic_qs_protocol: invalid protocol []
                                       0.177986     [D3] send: M
                                       0.201763     [D3] read:
                                       0.201773     [D2] voltronic_qs_protocol: invalid protocol []
                                       0.201986     [D3] send: M
                                       0.225765     [D3] read:
                                       0.225788     [D2] voltronic_qs_hex_protocol: invalid protocol []
                                       0.225985     [D3] send: M
                                       0.249776     [D3] read:
                                       0.249791     [D2] voltronic_qs_hex_protocol: invalid protocol []
                                       0.249988     [D3] send: M
                                       0.273768     [D3] read:
                                       0.273782     [D2] voltronic_qs_hex_protocol: invalid protocol []
                                       0.273982     [D3] send: QS
                                       0.313767     [D3] read:
                                       0.313797     [D2] qx_process_answer: short reply (input.voltage)
                                       0.314003     [D3] send: QS
                                       0.353768     [D3] read:
                                       0.353780     [D2] qx_process_answer: short reply (input.voltage)
                                       0.353996     [D3] send: QS
                                       0.393768     [D3] read:
                                       0.393778     [D2] qx_process_answer: short reply (input.voltage)
                                       0.393988     [D3] send: D
                                       0.425762     [D3] read:
                                       0.425781     [D2] qx_process_answer: short reply (input.voltage)
                                       0.425981     [D3] send: D
                                       0.457770     [D3] read:
                                       0.457781     [D2] qx_process_answer: short reply (input.voltage)
                                       0.457990     [D3] send: D
                                       0.489781     [D3] read:
                                       0.489802     [D2] qx_process_answer: short reply (input.voltage)
                                       0.490024     [D3] send: Q1
                                       0.721777     [D3] read:
                                       0.721795     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       0.722003     [D3] send: Q1
                                       0.953777     [D3] read:
                                       0.953800     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       0.954010     [D3] send: Q1
                                       1.185762     [D3] read:
                                       1.185783     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       1.185993     [D3] send: Q1
                                       1.417766     [D3] read:
                                       1.417800     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       1.418004     [D3] send: Q1
                                       1.649787     [D3] read:
                                       1.649811     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       1.650018     [D3] send: Q1
                                       1.881787     [D3] read:
                                       1.881813     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       1.882028     [D3] send: Q1
                                       2.113780     [D3] read:
                                       2.113818     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       2.114032     [D3] send: Q1
                                       2.345805     [D3] read:
                                       2.345826     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       2.346033     [D3] send: Q1
                                       2.577789     [D3] read:
                                       2.577811     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       2.578025     [D3] send: Q1
                                       2.809783     [D3] read:
                                       2.809816     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       2.810032     [D3] send: Q1
                                       3.041789     [D3] read:
                                       3.041813     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       3.042029     [D3] send: Q1
                                       3.273790     [D3] read:
                                       3.273808     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       3.274022     [D3] send: WH
                                       3.313764     [D3] read:
                                       3.313794     [D2] qx_process_answer: short reply (experimental.series)
                                       3.313802     [D2] claim: cannot process experimental.series
                                       3.314007     [D3] send: WH
                                       3.353785     [D3] read:
                                       3.353796     [D2] qx_process_answer: short reply (experimental.series)
                                       3.353802     [D2] claim: cannot process experimental.series
                                       3.354023     [D3] send: WH
                                       3.393800     [D3] read:
                                       3.393816     [D2] qx_process_answer: short reply (experimental.series)
                                       3.393824     [D2] claim: cannot process experimental.series
                                       3.394039     [D3] send: Q1
                                       3.625780     [D3] read:
                                       3.625821     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       3.626044     [D3] send: Q1
                                       3.857800     [D3] read:
                                       3.857818     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       3.858031     [D3] send: Q1
                                       4.089798     [D3] read:
                                       4.089820     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       4.090036     [D3] send: Q1
                                       4.321792     [D3] read:
                                       4.321831     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       4.322044     [D3] send: Q1
                                       4.553794     [D3] read:
                                       4.553810     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       4.554013     [D3] send: Q1
                                       4.785797     [D3] read:
                                       4.785820     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       4.786030     [D3] send: Q1
                                       5.017814     [D3] read:
                                       5.017856     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       5.018080     [D3] send: Q1
                                       5.249798     [D3] read:
                                       5.249816     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       5.250031     [D3] send: Q1
                                       5.481806     [D3] read:
                                       5.481827     [D2] qx_process_answer: input.voltage - invalid start character [00], expected [28]
                                       5.481836     Device not supported!
                                       5.481843     Device not supported!
                                       5.481892     upsnotify: failed to notify about state 4: no notification tech defined, will not spam more about it
                                    
                                    dennypageD 1 Reply Last reply Reply Quote 0
                                    • dennypageD
                                      dennypage @LanterIT
                                      last edited by

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

                                      The driver stops after a few seconds. Output with triple D:

                                      Very useful. When you tried the nutdrv_qx driver, did you still have anything in the "Extra Arguments to driver" section?

                                      Assuming not, can you test with this content in the "Extra Arguments to driver" section please?

                                      vendorid=06da
                                      productid=0005
                                      subdriver = "phoenix"
                                      protocol = "megatec"
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • L
                                        LanterIT @dennypage
                                        last edited by

                                        @dennypage

                                        Thank you for your help.
                                        I am pleased that you have found the cause in the tripplite_usb driver.

                                        First only the pollinterval, then with all "old" arguments.

                                        Could it also be related to the serial number?

                                           0.003392     [D1] nut_libusb_open get iSerialNumber failed, retrying...
                                           0.004140     [D1] nut_libusb_open get iSerialNumber failed, retrying...
                                           0.004766     [D1] nut_libusb_open get iSerialNumber failed, retrying...
                                        
                                        dennypageD 1 Reply Last reply Reply Quote 0
                                        • dennypageD
                                          dennypage @LanterIT
                                          last edited by

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

                                          And the last entry of usbconfig dump_device_quirks | grep HID_IGNORE
                                          correspond the vendor and product ID:

                                          VID=0x06da PID=0x0005 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE

                                          Btw, a quirk is only necessary if the device is HID compliant. The quirk prevents the OS from attaching a default HID driver. If the UPS is actually HID compliant, usbhid-ups would be the preferred driver. I assume that the usbhid-ups driver did not work, correct?

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

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

                                            First only the pollinterval, then with all "old" arguments.

                                            Just with the content above please, and the test you ran previously:

                                            /usr/local/libexec/nut/nutdrv_qx -DDD -a ABB
                                            

                                            Thanks

                                            L 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.