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

    NUT with Riello Sentinel Pro 2200 USB connection cant make it work

    Scheduled Pinned Locked Moved UPS Tools
    66 Posts 3 Posters 11.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      ha11oga11o
      last edited by

      Dear all,

      im trying to attach Riello Sentinel Pro 2200 UPS to Firewall but it only show me "The UPS requires attention" and at log "upsmon 44969 Poll UPS [SCH2200] failed - Driver not connected"

      I tried it with Windows package UpsAgent where i needed to specify PRTK code and serial - and it works fine.

      What do i need to do so pfSense NUT package see it.

      This is actual UPS model:

      https://www.riello-ups.com/products/1-ups/44-sentinel-pro

      2.5.0-RELEASE (amd64)
      built on Tue Feb 16 08:56:29 EST 2021
      FreeBSD 12.2-STABLE

      nut sysutils 2.7.4_8

      If someone knows what combination of interface/driver to use please help me.

      Many thnx in advance!

      UnoptanioU 1 Reply Last reply Reply Quote 0
      • H
        ha11oga11o
        last edited by

        Really no one had similar issue with this?

        UnoptanioU 1 Reply Last reply Reply Quote 0
        • UnoptanioU
          Unoptanio @ha11oga11o
          last edited by Unoptanio

          @ha11oga11o

          Salve!
          Ho lo stesso ups riello Sentinel PRO
          Collegato con cavo USB
          https://www.riello-ups.it/products/1-gruppi-di-continuita/44-sentinel-pro

          pfsense 2.7.0
          nut ver 2.8.0_2

          stesso problema:
          fe893fce-e017-4de6-9720-c9910aafa448-image.png

          3da866eb-748b-4f51-8064-46ed6173faf4-image.png

          Tu hai risolto il problema?

          https://networkupstools.org/stable-hcl.html
          93f802f2-4ed4-46b4-8077-c5b4a156c625-image.png

          pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
          CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
          n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

          1 Reply Last reply Reply Quote 0
          • UnoptanioU
            Unoptanio @ha11oga11o
            last edited by Unoptanio

            @ha11oga11o

            ciao

            ho riprovato ora con altro ups Riello modello VST1100

            fb5acae0-ea70-4b20-a778-8f66f3dcb1a5-image.png

            collegato con cavo USB ma non funziona su pfsense 2.7.0

            fa198bbd-1125-4ab6-aa66-cf57443829eb-image.png

            51423544-197d-4111-94c4-b4042b0e6c38-image.png

            c'è qualche impostazione aggiuntiva da fare?????

            a741b1ac-8355-412d-ba22-66428cada0f2-image.png

            ab52b479-a1d2-43b4-8086-d7d5164c6c81-image.png

            pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
            CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
            n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

            dennypageD 1 Reply Last reply Reply Quote 0
            • H
              ha11oga11o
              last edited by

              No i have not sorted it out with pfsense at all. Still have exactly same issue. It would be really nice if someone who is involved with UPS plugin to explain how to connect (if it is even possible) UPS devices with PRTK identifiers.
              Sadly i had to sort out ancient HP thin client with winxp just to monitor UPS so i have any kind of its status. I have couple of them and this is really bad issue because original app is really really outdated and buggy.
              Not even sure is it working with win10 without java. Dont take me on word for that.

              So yeah, this looks as really consistent either issue or lack of documentation. If anyone who stumble on this know whats problem, please share.

              Thank you in advance 2 years later :)

              UnoptanioU 2 Replies Last reply Reply Quote 0
              • UnoptanioU
                Unoptanio @ha11oga11o
                last edited by

                @ha11oga11o
                Most users use APC UPS and it seems to work with these

                pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
                CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
                n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

                1 Reply Last reply Reply Quote 0
                • UnoptanioU
                  Unoptanio @ha11oga11o
                  last edited by Unoptanio

                  @ha11oga11o

                  I also tried with different USB cables, even short ones, but it doesn't work

                  look here too

                  https://blog.victormendonca.com/2020/10/28/how-to-setup-ups-on-pfsense/t

                  Oct 31, 2023: NUT 2.8.1 released

                  73da35d1-ac79-41b4-a46e-519d6dd03c7e-image.png

                  f7f76e82-e0e4-4279-b97d-c7381e4e21d3-image.png

                  pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
                  CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
                  n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

                  1 Reply Last reply Reply Quote 0
                  • H
                    ha11oga11o
                    last edited by

                    I can confirm that APC works. I manage to sort those in no time. But Riello with PRTK does not work. maybe some additional driver commands needs to be in place. But there sno docs that i found which explain that.

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

                      @Unoptanio You might look in the NUT package support thread. There are a lot of USB issues with NUT 2.8.0.

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        ha11oga11o @dennypage
                        last edited by ha11oga11o

                        @dennypage

                        I doubt its actual USB problem. More like configuration issue or its not supported. I have this problem since:

                        2.5.0-RELEASE (amd64)
                        built on Tue Feb 16 08:56:29 EST 2021
                        FreeBSD 12.2-STABLE

                        nut sysutils 2.7.4_8

                        Two years i tried many things to make it work. I read so many threads, and just gave up. Today i got notification someone else have same problem, so i cherish hope it might be seen by right eyes to explain whats in stake.

                        As far i can understand original programs MUST have type in that famous PRTK code which is written on back of UPS on small sticker to actually recognize it. So, im kinda sure its same thing here, but have no idea how to do it, since GUI does not ask for it, except additional driver parameters which i dont know how to format.

                        Its stated here:

                        What is PRTK code

                        ""It is a code inherent to the UPS communication protocol and can be found either on the plate on the back of the UPS itself or, for large UPS, inside the door of the UPS.

                        This code is essential to identify and associate the UPS or ATS/STS with our software, such as the PowerShield3, as well as connectivity devices like Netman 204.

                        Only with the correct PRTK code is communication between the two elements possible. ""

                        Cheers!

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

                          @ha11oga11o Ah yes. My bad. I did a little quick reading....

                          It looks like Riello purposefully does not implement the USB HID Power device protocol. It appears that they want to force users to use Riello software to manage the units. Kinda sad.

                          UnoptanioU 1 Reply Last reply Reply Quote 0
                          • UnoptanioU
                            Unoptanio @dennypage
                            last edited by Unoptanio

                            @dennypage
                            @ha11oga11o

                            On the official NUT website they write that the RIELLOs work with the USB and SERIAL drivers

                            To write this I hope they have tested them

                            Is there anyone on the Nut development team who can take this to heart this problem with Riello UPS?

                            I am Italian and in Italy Riello UPSs are very popular

                            https://networkupstools.org/stable-hcl.html

                            ae18deca-b486-45ed-9387-6d1873bbe216-image.png

                            be6b96d4-cd9e-43b3-80a0-dc55a24a70ef-image.png

                            Can we try writing here? to see if they help us solve the problem

                            https://github.com/networkupstools/nut/issues

                            I have open this ticket:
                            https://github.com/networkupstools/nut/issues/2159t

                            pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
                            CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
                            n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

                            UnoptanioU 1 Reply Last reply Reply Quote 0
                            • UnoptanioU
                              Unoptanio @Unoptanio
                              last edited by Unoptanio

                              @ha11oga11o
                              @dennypage
                              @ha11oga11o

                              Response from team Nut

                              Looking at screenshot, maybe the problem is with driver name: in NUT there are riello_ser and riello_usb respectively for different media, not one riello. 
                              I doubt that pfSense undertook an effort to merge them into one, although maybe they "hide" it behind selection of "UPS Type" (Local USB)?
                              Even that would not be easy, as different drivers follow different naming patterns (and some are dual-capability). 
                              So the first thing to check would be typing riello_usb there.
                              
                              Looking at source history, initial driver codebase was in fact contributed by a person from Riello, so at least as of ~2014 it should have "officially" supported the contemporary protocol.
                              I do not know if their newer devices follow some unrelated protocol or are still compatible, though.
                              
                              You might try to bump driver debug verbosity, if you can see its logs - maybe that would expose how it tries to find the device and what exactly fails. 
                              With NUT v2.8.0+ it may suffice to add a debug_min = 6 to the "Extra arguments" while you are troubleshooting.
                              
                              

                              Can someone from the pfsense team help us? Thank you

                              pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
                              CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
                              n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

                              1 Reply Last reply Reply Quote 0
                              • UnoptanioU
                                Unoptanio
                                last edited by Unoptanio

                                https://docs.netgate.com/pfsense/en/latest/packages/nut.html#troubleshooting

                                8ab41f58-f454-4724-bb9d-c63ef413c083-image.png

                                pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
                                CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
                                n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

                                UnoptanioU 1 Reply Last reply Reply Quote 0
                                • UnoptanioU
                                  Unoptanio @Unoptanio
                                  last edited by Unoptanio

                                  577cdf65-69cc-4f8a-b612-6bd1ea8a47fd-image.png

                                  48d01884-0731-4ffe-b12f-5de15c679a87-image.png

                                  e810b0d7-8a2d-47cd-9d6c-234a99db0282-image.png

                                  d6f8547b-8de8-4f82-8786-ad55abe7e9e3-image.png

                                  7aae4f63-466c-47c6-ab23-d5ce1873905a-image.png

                                  pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
                                  CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
                                  n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

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

                                    @Unoptanio "failed to detach kernel driver" indicates that there is not a USB quirk registered to prevent the kernel from attaching a default driver. In other words, the kernel does not know that it is a UPS.

                                    You will either need to determine and register the correct quirk, or run as root. See this thread for a recent discussion about developing a quirk.

                                    UnoptanioU 1 Reply Last reply Reply Quote 0
                                    • UnoptanioU
                                      Unoptanio @dennypage
                                      last edited by Unoptanio

                                      Problem solved but there is still work to do for the pfsense team.

                                      follow the solution on:

                                      https://github.com/networkupstools/nut/issues/2159

                                      https://github.com/networkupstools/nut/wiki/NUT-on-pfSense

                                      866f8051-8bb9-42ee-86b4-6205a325ff99-image.png

                                      d88d2c50-0648-4e17-9654-1274baf34b2a-image.png

                                      Wow
                                      6fe05c05-e0e3-4d81-ae48-c5c3cc17be97-image.png

                                      pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
                                      CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
                                      n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

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

                                        @Unoptanio said in NUT with Riello Sentinel Pro 2200 USB connection cant make it work:

                                        Problem solved but there is still work to do for the pfsense team.

                                        follow the solution on:

                                        https://github.com/networkupstools/nut/issues/2159

                                        This is the quirk issue I mentioned in the prior post. It is actually not pfSense, but upstream FreeBSD that manages the default quirks.

                                        You will have to develop and test a quirk. It cannot be done without possession of the physical UPS. After you have developed the quirk, we can file a ticket with upstream to request that it added to FreeBSD.

                                        UnoptanioU 1 Reply Last reply Reply Quote 1
                                        • UnoptanioU
                                          Unoptanio @dennypage
                                          last edited by

                                          @dennypage

                                          you could involve Riello technical support because I believe the problem is with all Riello UPS models.
                                          Once the quirk has been developed on a specific Riello UPS model, does it then work with all Riello models? or should a quirk be developed for each model?

                                          pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
                                          CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
                                          n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

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

                                            @Unoptanio Depends upon the manufacturer. For most, I think it is for a series of UPSs. APC for instance has only had 3 of them.

                                            See this post for detailed information.

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