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 15.4k 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.
    • dennypageD
      dennypage @Unoptanio
      last edited by

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

      then reboot with reroot

      I would generally recommend performing a "Normal" reboot. I have not tested adding quirks with the "reroot" approach.

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

        @dennypage

        The first time I start pfsense the riello Sentinel PRO 2200 doesn't work for me.

        Then it starts working after I press on "restart service"

        ab843203-2140-4198-a4e5-8f7f8088a096-image.png

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

          @Unoptanio Btw, you probably want to remove the debug_min now that you are done with USB diagnostics.

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

            @dennypage

            In your opinion, why doesn't it start when pfsense is started for the first time?

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

              @Unoptanio All that stuff from upsd and upsmon simply indicate that your driver (usbhid-ups) is not running.

              You need the log entries for usbhid-ups. Those are the ones you care about.

              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:

                In your opinion, why doesn't it start when pfsense is started for the first time?

                If you do a normal reboot (not reroot), does it work at startup?

                If not, please post the log entries for usbhid-ups.

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

                  @dennypage
                  with normal reboot same problem
                  8c701a8b-f2b0-4165-a9b1-21a6b041f994-image.png
                  b4414bde-5026-446c-a750-14b5a3154d57-image.png

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

                    @Unoptanio As noted, you need the log entries for usbhid-ups. You do not need to post any log entries for upsd or upsmon.

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

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

                      usbhid-up

                      can't find anything for usbhid-up
                      30c40005-1f8b-43e0-ac56-74ea24cc3d26-image.png

                      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:

                        can't find anything for usbhid-up

                        Well, that's a problem. 😕

                        If you have anything left in the Extra Arguments to driver section or the Additional configuration lines for upsmon.conf section, please remove it and try again.

                        Also, if you have a bunch of stuff filling your logs, it might be easier to log into the system and execute this command instead:

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

                          @dennypage

                          null

                          fba42959-418e-47b2-8ff5-30a9ae364b23-image.png
                          974d6a5a-266b-4874-8765-7f7d483a63e9-image.png
                          e164dfef-0ee5-479a-83af-07c5a378a3c0-image.png

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

                            @Unoptanio

                            I clicked on SAVE now it goes. but the next reboot same problem

                            Very strange it only happens with this Riello Sentinel Pro 2200

                            44316c27-065c-4d3c-aa4b-6f068986a209-image.png

                            a352891d-dc06-4139-a4a8-40e7ec789957-image.png

                            dae5eb11-d4cb-4283-bc6e-7fc651755a7f-image.png

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

                              @Unoptanio

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

                              If you have anything left in the Extra Arguments to driver section or the Additional configuration lines for upsmon.conf section, please remove it and try again.

                              You still have debug_min = 6 in the Extra Arguments to driver section. Please remove it.

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

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

                                ncora debug_min = 6 nella sezione Argomenti aggiuntivi al driver. Per favore rimuovilo.

                                Rispondi al preventivo 0

                                ok. removed debug_min = 6 Save and now i reboot one moment....

                                😥 😥 😥
                                same problem

                                c7e2f7e6-c652-4724-a0b4-9c830fca26b7-image.png

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

                                  click on restart.....now work
                                  When I first start pfsense it never works

                                  1f69c048-0699-4718-af25-f9e942540f9d-image.png

                                  7315fcaa-1b9f-4c64-b63a-8b73e40ae82a-image.png

                                  all empty
                                  cadcb105-0b61-4568-9b57-1f7687c9fb7c-image.png

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

                                    @Unoptanio We still need the log entries for usbhid-ups. I suggest that you log into the system and use the grep command show above to get the entries.

                                    If you can't find anything for usbhid-ups, then post the entire log for the first two minutes following a reboot. If you are worried about sensitive information, you can PM me instead.

                                    While you are there, can you also get the content of these two files please:

                                    /usr/local/etc/nut/ups.conf
                                    /usr/local/etc/rc.d/nut.sh
                                    
                                    UnoptanioU 1 Reply Last reply Reply Quote 0
                                    • UnoptanioU
                                      Unoptanio @dennypage
                                      last edited by Unoptanio

                                      @dennypage

                                      ups.conf

                                      #!/bin/sh
                                      # This file was automatically generated
                                      # by the pfSense service handler.
                                      
                                      rc_start() {
                                      	echo starting NUT
                                      	/usr/bin/killall -q -9 upsmon
                                      	/usr/bin/killall -q -9 upsd
                                      	/usr/bin/killall -q -9 upsdrvctl
                                      	/usr/bin/killall -q -9 riello_usb
                                      	/usr/local/sbin/upsmon
                                      	/usr/local/sbin/upsdrvctl start &
                                      	sleep 1
                                      	/usr/local/sbin/upsd -u root
                                      	return 0
                                      }
                                      
                                      rc_stop() {
                                      	echo stopping NUT
                                      	/usr/bin/killall -q upsmon
                                      	/usr/bin/killall -q upsd
                                      	/usr/bin/killall -q upsdrvctl
                                      	/usr/bin/killall -q riello_usb
                                      	return 0
                                      }
                                      
                                      rc_restart() {
                                      	rc_stop
                                      	rc_start
                                      
                                      }
                                      
                                      case $1 in
                                      	start)
                                      		rc_start
                                      		;;
                                      	stop)
                                      		rc_stop
                                      		;;
                                      	restart)
                                      		rc_restart
                                      		;;
                                      esac
                                      
                                      
                                      

                                      nut.sh

                                      [SentinelPro]
                                      driver=riello_usb
                                      port=auto
                                      
                                      UnoptanioU dennypageD 2 Replies Last reply Reply Quote 0
                                      • UnoptanioU
                                        Unoptanio @Unoptanio
                                        last edited by Unoptanio

                                        This post is deleted!
                                        UnoptanioU dennypageD 2 Replies Last reply Reply Quote 0
                                        • UnoptanioU
                                          Unoptanio @Unoptanio
                                          last edited by Unoptanio

                                          This post is deleted!
                                          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:

                                            riello_usb

                                            Well, there's the first issue. My bad. I was telling you to look for usbhid-ups, but your driver is riello_usb.

                                            Sorry about that!

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