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

    NUT package (2.8.0 and below)

    Scheduled Pinned Locked Moved UPS Tools
    1.2k Posts 128 Posters 4.4m 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 @azdeltawye
      last edited by

      @azdeltawye At first glance that looks like a simple bad usb cable, ups or possible a usb driver problem. But let's make sure...

      First, please post your current nut configuration (Services / UPS / Settings). Also, what type of hardware are you running pfSense on?

      Then do the following:

      • go into Services / UPS / Settings and select Disabled as your UPS Type. Save the configuration.
      • unplug the usb connection to the ups.
      • reboot pfSense, and wait for it to fully boot.
      • plug the usb connection to the ups back in.
      • wait a couple of minutes
      • collect and post all kernel messages since boot pertaining to usb in an way.

      I am particularly interested in seeing if it continues in a detach / re-attach loop on the usb bus.

      After that, you can re-enable nut and start trying different usb cables and usb ports (particularly usb v2 vs usb v3) to see if that affects the behavior. You can also try adding / removing a usb hub (preferably powered).

      Thanks

      A 1 Reply Last reply Reply Quote 1
      • A
        azdeltawye @dennypage
        last edited by azdeltawye

        @dennypage
        Thanks for helping out with this. I really appreciate it!

        Settings:
        80d82a74-ed04-476b-b9af-906b03e1ef6e-image.png

        Hardware: Netgate SG-5100

        I followed your instructions & swapped USB ports and cables. Here are the logs since bootup @19:42

        Feb 17 19:56:30 	upsmon 	94045 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:56:25 	upsmon 	94045 	UPS SMART1500RMXLN is unavailable
        Feb 17 19:56:25 	upsmon 	94045 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:56:25 	upsd 	94798 	User local-monitor@::1 logged into UPS [SMART1500RMXLN]
        Feb 17 19:56:21 	upsd 	94798 	Startup successful
        Feb 17 19:56:21 	upsd 	94798 	Can't connect to UPS [SMART1500RMXLN] (usbhid-ups-SMART1500RMXLN): No such file or directory
        Feb 17 19:56:21 	upsd 	94798 	listening on 127.0.0.1 port 3493
        Feb 17 19:56:21 	upsd 	94798 	listening on ::1 port 3493
        Feb 17 19:56:20 	upsmon 	94045 	Communications with UPS SMART1500RMXLN lost
        Feb 17 19:56:20 	upsmon 	94045 	UPS [SMART1500RMXLN]: connect failed: Connection failure: Connection refused
        Feb 17 19:56:20 	upsmon 	94045 	Startup successful
        Feb 17 19:56:20 	php-fpm 	367 	/nut_settings.php: Starting service nut
        Feb 17 19:56:20 	upsd 	33565 	Signal 15: exiting
        Feb 17 19:56:20 	upsd 	33565 	mainloop: Interrupted system call
        Feb 17 19:56:20 	upsd 	33565 	User local-monitor@::1 logged out from UPS [SMART1500RMXLN]
        Feb 17 19:56:20 	upsmon 	32053 	Signal 15: exiting
        Feb 17 19:56:20 	php-fpm 	367 	/nut_settings.php: Stopping service nut
        Feb 17 19:56:20 	check_reload_status 	396 	Syncing firewall
        Feb 17 19:56:20 	php-fpm 	367 	/nut_settings.php: Configuration Change: DSIMS@192.168.200.241 (Local Database): Updated UPS settings
        Feb 17 19:56:18 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 2> on usbus0
        Feb 17 19:56:18 	kernel 		uhid0 on uhub0
        Feb 17 19:56:17 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:56:17 	kernel 		uhid0: detached
        Feb 17 19:56:17 	kernel 		uhid0: at uhub0, port 4, addr 1 (disconnected)
        Feb 17 19:56:17 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:56:15 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:56:10 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:56:05 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:56:03 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 1> on usbus0
        Feb 17 19:56:03 	kernel 		uhid0 on uhub0
        Feb 17 19:56:02 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:56:02 	kernel 		uhid0: detached
        Feb 17 19:56:02 	kernel 		uhid0: at uhub0, port 4, addr 32 (disconnected)
        Feb 17 19:56:02 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:56:00 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:55:55 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:55:50 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:55:48 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 32> on usbus0
        Feb 17 19:55:48 	kernel 		uhid0 on uhub0
        Feb 17 19:55:48 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:55:47 	kernel 		uhid0: detached
        Feb 17 19:55:47 	kernel 		uhid0: at uhub0, port 4, addr 31 (disconnected)
        Feb 17 19:55:47 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:55:45 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:55:40 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:55:35 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:55:33 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 31> on usbus0
        Feb 17 19:55:33 	kernel 		uhid0 on uhub0
        Feb 17 19:55:33 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:55:32 	kernel 		uhid0: detached
        Feb 17 19:55:32 	kernel 		uhid0: at uhub0, port 4, addr 30 (disconnected)
        Feb 17 19:55:32 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:55:30 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:55:25 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:55:20 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:55:18 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 30> on usbus0
        Feb 17 19:55:18 	kernel 		uhid0 on uhub0
        Feb 17 19:55:18 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:55:18 	kernel 		uhid0: detached
        Feb 17 19:55:17 	kernel 		uhid0: at uhub0, port 4, addr 29 (disconnected)
        Feb 17 19:55:17 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:55:15 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:55:10 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:55:05 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:55:03 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 29> on usbus0
        Feb 17 19:55:03 	kernel 		uhid0 on uhub0
        Feb 17 19:55:03 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:55:00 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:54:55 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:54:50 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:54:45 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:54:40 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:54:35 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:54:30 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:54:25 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:54:20 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:54:15 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:54:11 	kernel 		uhid0: detached
        Feb 17 19:54:11 	kernel 		uhid0: at uhub0, port 3, addr 28 (disconnected)
        Feb 17 19:54:11 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:54:10 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:54:09 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 28> on usbus0
        Feb 17 19:54:09 	kernel 		uhid0 on uhub0
        Feb 17 19:54:09 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:54:08 	kernel 		uhid0: detached
        Feb 17 19:54:08 	kernel 		uhid0: at uhub0, port 3, addr 27 (disconnected)
        Feb 17 19:54:08 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:54:05 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:54:00 	upsmon 	32053 	UPS SMART1500RMXLN is unavailable
        Feb 17 19:54:00 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:53:55 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:53:55 	upsd 	33565 	Can't connect to UPS [SMART1500RMXLN] (usbhid-ups-SMART1500RMXLN): No such file or directory
        Feb 17 19:53:54 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 27> on usbus0
        Feb 17 19:53:54 	kernel 		uhid0 on uhub0
        Feb 17 19:53:54 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:53:53 	kernel 		uhid0: detached
        Feb 17 19:53:53 	kernel 		uhid0: at uhub0, port 3, addr 26 (disconnected)
        Feb 17 19:53:53 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:53:50 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:53:45 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:53:40 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:53:39 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 26> on usbus0
        Feb 17 19:53:39 	kernel 		uhid0 on uhub0
        Feb 17 19:53:39 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:53:38 	kernel 		uhid0: detached
        Feb 17 19:53:38 	kernel 		uhid0: at uhub0, port 3, addr 25 (disconnected)
        Feb 17 19:53:38 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:53:35 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:53:30 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:53:25 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:53:24 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 25> on usbus0
        Feb 17 19:53:24 	kernel 		uhid0 on uhub0
        Feb 17 19:53:24 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:53:23 	kernel 		uhid0: detached
        Feb 17 19:53:23 	kernel 		uhid0: at uhub0, port 3, addr 24 (disconnected)
        Feb 17 19:53:23 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:53:20 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:53:15 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:53:09 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:53:09 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 24> on usbus0
        Feb 17 19:53:09 	kernel 		uhid0 on uhub0
        Feb 17 19:53:09 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:53:08 	kernel 		uhid0: detached
        Feb 17 19:53:08 	kernel 		uhid0: at uhub0, port 3, addr 23 (disconnected)
        Feb 17 19:53:08 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:53:04 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:52:59 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:52:54 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:52:54 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 23> on usbus0
        Feb 17 19:52:54 	kernel 		uhid0 on uhub0
        Feb 17 19:52:54 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:52:54 	kernel 		uhid0: detached
        Feb 17 19:52:54 	kernel 		uhid0: at uhub0, port 3, addr 22 (disconnected)
        Feb 17 19:52:54 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:52:49 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:52:44 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:52:39 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:52:39 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 22> on usbus0
        Feb 17 19:52:39 	kernel 		uhid0 on uhub0
        Feb 17 19:52:39 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:52:38 	kernel 		uhid0: detached
        Feb 17 19:52:38 	kernel 		uhid0: at uhub0, port 3, addr 21 (disconnected)
        Feb 17 19:52:38 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:52:34 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:52:29 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:52:24 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:52:24 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 21> on usbus0
        Feb 17 19:52:24 	kernel 		uhid0 on uhub0
        Feb 17 19:52:24 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:52:23 	kernel 		uhid0: detached
        Feb 17 19:52:23 	kernel 		uhid0: at uhub0, port 3, addr 20 (disconnected)
        Feb 17 19:52:23 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:52:19 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:52:14 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:52:09 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:52:09 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 20> on usbus0
        Feb 17 19:52:09 	kernel 		uhid0 on uhub0
        Feb 17 19:52:09 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:52:09 	kernel 		uhid0: detached
        Feb 17 19:52:09 	kernel 		uhid0: at uhub0, port 3, addr 19 (disconnected)
        Feb 17 19:52:09 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:52:04 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:51:59 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:51:54 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 19> on usbus0
        Feb 17 19:51:54 	kernel 		uhid0 on uhub0
        Feb 17 19:51:54 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:51:54 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:51:49 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:51:44 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:51:39 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:51:34 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:51:29 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:51:24 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:51:19 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:51:14 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:51:09 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:51:04 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:50:59 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:50:59 	kernel 		uhid0: detached
        Feb 17 19:50:59 	kernel 		uhid0: at uhub0, port 4, addr 18 (disconnected)
        Feb 17 19:50:59 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:50:58 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 18> on usbus0
        Feb 17 19:50:58 	kernel 		uhid0 on uhub0
        Feb 17 19:50:58 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:50:58 	kernel 		uhid0: detached
        Feb 17 19:50:58 	kernel 		uhid0: at uhub0, port 4, addr 17 (disconnected)
        Feb 17 19:50:58 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:50:54 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:50:49 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:50:44 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:50:43 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 17> on usbus0
        Feb 17 19:50:43 	kernel 		uhid0 on uhub0
        Feb 17 19:50:43 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:50:43 	kernel 		uhid0: detached
        Feb 17 19:50:43 	kernel 		uhid0: at uhub0, port 4, addr 16 (disconnected)
        Feb 17 19:50:43 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:50:39 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:50:33 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:50:28 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:50:28 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 16> on usbus0
        Feb 17 19:50:28 	kernel 		uhid0 on uhub0
        Feb 17 19:50:28 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:50:28 	kernel 		uhid0: detached
        Feb 17 19:50:28 	kernel 		uhid0: at uhub0, port 4, addr 15 (disconnected)
        Feb 17 19:50:28 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:50:23 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:50:18 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:50:13 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 15> on usbus0
        Feb 17 19:50:13 	kernel 		on uhub0
        Feb 17 19:50:13 	kernel 		uhid0
        Feb 17 19:50:13 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:50:13 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:50:13 	kernel 		uhid0: detached
        Feb 17 19:50:13 	kernel 		uhid0: at uhub0, port 4, addr 14 (disconnected)
        Feb 17 19:50:13 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:50:08 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:50:03 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:49:58 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 14> on usbus0
        Feb 17 19:49:58 	kernel 		uhid0 on uhub0
        Feb 17 19:49:58 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:49:58 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:49:58 	kernel 		uhid0: detached
        Feb 17 19:49:58 	kernel 		uhid0: at uhub0, port 4, addr 13 (disconnected)
        Feb 17 19:49:58 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:49:53 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:49:48 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:49:44 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 13> on usbus0
        Feb 17 19:49:44 	kernel 		uhid0 on uhub0
        Feb 17 19:49:43 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:49:43 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:49:43 	kernel 		uhid0: detached
        Feb 17 19:49:43 	kernel 		uhid0: at uhub0, port 4, addr 12 (disconnected)
        Feb 17 19:49:43 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:49:38 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:49:33 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:49:28 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 12> on usbus0
        Feb 17 19:49:28 	kernel 		uhid0 on uhub0
        Feb 17 19:49:28 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:49:28 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:49:28 	kernel 		uhid0: detached
        Feb 17 19:49:28 	kernel 		uhid0: at uhub0, port 4, addr 11 (disconnected)
        Feb 17 19:49:28 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:49:23 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:49:18 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:49:14 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 11> on usbus0
        Feb 17 19:49:14 	kernel 		uhid0 on uhub0
        Feb 17 19:49:13 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:49:13 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:49:13 	kernel 		uhid0: detached
        Feb 17 19:49:13 	kernel 		uhid0: at uhub0, port 4, addr 10 (disconnected)
        Feb 17 19:49:13 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:49:08 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:49:03 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:48:59 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 10> on usbus0
        Feb 17 19:48:59 	kernel 		uhid0 on uhub0
        Feb 17 19:48:59 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:48:58 	upsmon 	32053 	UPS SMART1500RMXLN is unavailable
        Feb 17 19:48:58 	upsmon 	32053 	Poll UPS [SMART1500RMXLN] failed - Driver not connected
        Feb 17 19:48:58 	upsd 	33565 	User local-monitor@::1 logged into UPS [SMART1500RMXLN]
        Feb 17 19:48:58 	kernel 		uhid0: detached
        Feb 17 19:48:58 	kernel 		uhid0: at uhub0, port 4, addr 9 (disconnected)
        Feb 17 19:48:58 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:48:54 	upsd 	33565 	Startup successful
        Feb 17 19:48:54 	upsd 	33565 	Can't connect to UPS [SMART1500RMXLN] (usbhid-ups-SMART1500RMXLN): No such file or directory
        Feb 17 19:48:54 	upsd 	33565 	listening on 127.0.0.1 port 3493
        Feb 17 19:48:54 	upsd 	33565 	listening on ::1 port 3493
        Feb 17 19:48:53 	upsmon 	32053 	Communications with UPS SMART1500RMXLN lost
        Feb 17 19:48:53 	upsmon 	32053 	UPS [SMART1500RMXLN]: connect failed: Connection failure: Connection refused
        Feb 17 19:48:53 	upsmon 	32053 	Startup successful
        Feb 17 19:48:53 	php-fpm 	366 	/nut_settings.php: Starting service nut
        Feb 17 19:48:53 	check_reload_status 	396 	Syncing firewall
        Feb 17 19:48:53 	php-fpm 	366 	/nut_settings.php: Configuration Change: DSIMS@192.168.200.241 (Local Database): Updated UPS settings
        Feb 17 19:48:44 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 9> on usbus0
        Feb 17 19:48:44 	kernel 		uhid0 on uhub0
        Feb 17 19:48:43 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:48:43 	kernel 		uhid0: detached
        Feb 17 19:48:43 	kernel 		uhid0: at uhub0, port 4, addr 8 (disconnected)
        Feb 17 19:48:43 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:48:29 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 8> on usbus0
        Feb 17 19:48:29 	kernel 		uhid0 on uhub0
        Feb 17 19:48:29 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:48:28 	kernel 		uhid0: detached
        Feb 17 19:48:28 	kernel 		uhid0: at uhub0, port 4, addr 7 (disconnected)
        Feb 17 19:48:28 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:48:14 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 7> on usbus0
        Feb 17 19:48:14 	kernel 		uhid0 on uhub0
        Feb 17 19:48:14 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:48:13 	kernel 		uhid0: detached
        Feb 17 19:48:13 	kernel 		uhid0: at uhub0, port 4, addr 6 (disconnected)
        Feb 17 19:48:13 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:47:59 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 6> on usbus0
        Feb 17 19:47:59 	kernel 		uhid0 on uhub0
        Feb 17 19:47:59 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:47:58 	kernel 		uhid0: detached
        Feb 17 19:47:58 	kernel 		uhid0: at uhub0, port 4, addr 5 (disconnected)
        Feb 17 19:47:58 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:47:44 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 5> on usbus0
        Feb 17 19:47:44 	kernel 		uhid0 on uhub0
        Feb 17 19:47:44 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:47:43 	kernel 		uhid0: detached
        Feb 17 19:47:43 	kernel 		uhid0: at uhub0, port 4, addr 4 (disconnected)
        Feb 17 19:47:43 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:47:29 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 4> on usbus0
        Feb 17 19:47:29 	kernel 		uhid0 on uhub0
        Feb 17 19:47:29 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:47:28 	kernel 		uhid0: detached
        Feb 17 19:47:28 	kernel 		uhid0: at uhub0, port 4, addr 3 (disconnected)
        Feb 17 19:47:28 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:47:14 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 3> on usbus0
        Feb 17 19:47:14 	kernel 		uhid0 on uhub0
        Feb 17 19:47:14 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:47:13 	kernel 		uhid0: detached
        Feb 17 19:47:13 	kernel 		uhid0: at uhub0, port 4, addr 2 (disconnected)
        Feb 17 19:47:13 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:46:59 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 2> on usbus0
        Feb 17 19:46:59 	kernel 		uhid0 on uhub0
        Feb 17 19:46:59 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:46:58 	kernel 		uhid0: detached
        Feb 17 19:46:58 	kernel 		uhid0: at uhub0, port 4, addr 1 (disconnected)
        Feb 17 19:46:58 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0 (disconnected)
        Feb 17 19:46:44 	kernel 		uhid0: <Tripp Lite TRIPP LITE SMART1500RMXLN, class 0/0, rev 1.10/2.0a, addr 1> on usbus0
        Feb 17 19:46:44 	kernel 		uhid0 on uhub0
        Feb 17 19:46:44 	kernel 		ugen0.2: <Tripp Lite TRIPP LITE SMART1500RMXLN> at usbus0
        Feb 17 19:42:49 	nginx 		2023/02/17 19:42:49 [error] 48385#100290: send() failed (54: Connection reset by peer)
        Feb 17 19:42:49 	php-fpm 	366 	/index.php: Successful login for user 'XXXX' from: 192.168.200.241 (Local Database)
        Feb 17 19:42:14 	sshguard 	47351 	Now monitoring attacks.
        Feb 17 19:42:14 	login 	44043 	login on ttyv0 as root
        Feb 17 19:42:14 	login 	45396 	login on ttyu0 as root
        Feb 17 19:42:13 	php_pfb 	75042 	[pfBlockerNG] filterlog daemon started
        Feb 17 19:42:13 	php_pfb 	73949 	[pfBlockerNG] filterlog daemon started
        Feb 17 19:42:13 	root 	79754 	Bootup complete 
        
        dennypageD 1 Reply Last reply Reply Quote 1
        • dennypageD
          dennypage @azdeltawye
          last edited by

          @azdeltawye So for a couple of minutes, 19:46:44 to 19:48:44, the ups disconnects and reconnects from the USB bus 8 times without any other interaction. Not something to do with nut itself.

          Potential causes:

          • bad UPS
          • bad cable
          • bad usb chip
          • bug in usb driver

          Odds heavily favor the first two potential causes. I generally discount the third option as the 5100 is a pretty tried and true solution. Could be a (new) bug in the usb driver--if a bunch of other folks show up with the same problem that will be indicative.

          There are two usb hubs in the 5100, but I don't remember if both ports on the front go to one hub or they are split. Try both for sure--you should be able tell if they are different by looking at the output of usbconfig when the device is connected.

          Try using a hub, and try both ports. Try a different cable. Btw, is the cable one of the modular rj ones? Or a regular usb-a / usb-a one?

          A 1 Reply Last reply Reply Quote 1
          • A
            azdeltawye @dennypage
            last edited by

            @dennypage

            Yeah, I guess it could be a bad UPS. It is a pretty old unit. However I find it too coincidental that this failure occurred at the same exact time as the upgrade to 23.01...

            I did try a brand new USB cable (usb-a / usb-b) and no change. Then I made the dumb mistake of plugging in a USB hub into the 5100 which took down the 5100. I had to cycle power to the 5100 to reboot. Fortunately I'm using ZFS, so it recovered and rebooted without any file corruption issues.

            I guess I'll just have to figure out how to use snmp for NUT instead of USB...

            Thanks again for all the help on this.

            4 dennypageD 2 Replies Last reply Reply Quote 1
            • 4
              4o4rh @azdeltawye
              last edited by

              @azdeltawye why don't you try nut on a pc with windows or linux, to see if it works properly ;-)

              1 Reply Last reply Reply Quote 1
              • JonathanLeeJ
                JonathanLee @dennypage
                last edited by JonathanLee

                @dennypage I can code in C++ just a small amount I took an intro course. I am more fluent in Java and Python. Do you need some code looked at? I am currently a computer science student at Sacramento State University, and I would love to look at this. I currently have jGRASP as an IDE so it can read many different languages. Just tell me the lines you want looked at, and where to find the source code. Plus check out my Java based dynamic database program I wrote the code for it when I was a Java tutor, it is an inventory database of all my son's Hotwheels.

                965718db-e2e4-40c7-bca7-b874091ccb58-image.png
                (Image: Dynamic Database)

                a91d226f-2ca8-4e2d-a784-909e02abb253-image.png
                (Image: Card Game)

                I also created a blackjack game to share with students. Yet me know if you want some code checked out for that pointer issue.

                Make sure to upvote

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

                  @azdeltawye said in NUT package:

                  Then I made the dumb mistake of plugging in a USB hub into the 5100 which took down the 5100. I had to cycle power to the 5100 to reboot.

                  This is a bad sign. Plugging in a usb hub should not take down the 5100. That would indicate either a hardware or an OS issue. If it's reproducible, I would open a ticket with Netgate for assistance.

                  1 Reply Last reply Reply Quote 1
                  • L
                    lcbbcl
                    last edited by

                    Well guys after the update i have also problems with nut. Using 22.05 is working fine.

                    Feb 18 21:39:44 	upsmon 	97925 	Poll UPS [APC] failed - Driver not connected
                    Feb 18 21:39:39 	upsmon 	97925 	Poll UPS [APC] failed - Driver not connected
                    Feb 18 21:39:34 	upsd 	8568 	User wingoz@192.168.2.2 logged into UPS [APC]
                    Feb 18 21:39:33 	upsmon 	97925 	UPS APC is unavailable
                    Feb 18 21:39:33 	upsmon 	97925 	Poll UPS [APC] failed - Driver not connected
                    Feb 18 21:39:33 	upsd 	8568 	User local-monitor@127.0.0.1 logged into UPS [APC]
                    Feb 18 21:39:29 	upsd 	8568 	Startup successful
                    Feb 18 21:39:29 	upsd 	8568 	Can't connect to UPS [APC] (usbhid-ups-APC): No such file or directory
                    Feb 18 21:39:29 	upsd 	8568 	listening on 127.0.0.1 port 3493
                    Feb 18 21:39:29 	upsd 	8568 	listening on ::1 port 3493
                    Feb 18 21:39:29 	upsd 	8568 	listening on 192.168.2.1 port 3493 
                    
                    dennypageD 1 Reply Last reply Reply Quote 1
                    • dennypageD
                      dennypage @lcbbcl
                      last edited by

                      @lcbbcl Output from upsmon and upsd can be ignored.

                      The output from usbhid-ups and kernel (usb) is what you are looking for.

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

                        @dennypage
                        I have only this with kernel

                        Feb 18 22:39:29 	kernel 		uhid0: <American Power Conversion Smart-UPS C 1000 FW:UPS 12.0 / ID1005, class 0/0, rev 2.00/1.06, addr 1> on usbus0
                        Feb 18 22:39:29 	kernel 		uhid0 on uhub0
                        Feb 18 22:39:29 	kernel 		ugen0.2: <American Power Conversion Smart-UPS C 1000 FW:UPS 12.0 / ID1005> at usbus0
                        Feb 18 22:39:29 	kernel 		uhub0: 20 ports with 20 removable, self powered
                        Feb 18 22:39:29 	kernel 		Root mount waiting for: usbus0 CAM
                        Feb 18 22:39:29 	kernel 		uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
                        Feb 18 22:39:29 	kernel 		uhub0 on usbus0
                        Feb 18 22:39:29 	kernel 		ugen0.1: <Intel XHCI root HUB> at usbus0 
                        
                        dennypageD 1 Reply Last reply Reply Quote 1
                        • dennypageD
                          dennypage @lcbbcl
                          last edited by dennypage

                          @lcbbcl Those log entries all looks fine. What do you have for usbhid-ups?

                          Can you post your ups config please?

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

                            @dennypage
                            I have nothing.
                            Screenshot_20230219_065103.png

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

                              @lcbbcl said in NUT package:

                              nothing

                              Quite.

                              And the log entries for usbhid-ups and kernel usb?

                              If you are having problems finding them, you can unplug and replug the ups usb cable to generate the kernel usb entries, followed by re-saving the nut config which will trigger usbhid-ups entries.

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

                                @dennypage
                                Here it is.
                                Screenshot_20230219_074706.png

                                dennypageD 1 Reply Last reply Reply Quote 1
                                • X
                                  xavier1
                                  last edited by xavier1

                                  This post is deleted!
                                  dennypageD 1 Reply Last reply Reply Quote 0
                                  • JonathanLeeJ
                                    JonathanLee
                                    last edited by JonathanLee

                                    I did a full reinstall of pfSense on my Netgate 2100 Max last night and reinstalled the NUT package to see if that helps. I wanted to rule that out. 1hr so far with no issues on a BareMetal install of pfSense 23.01. YEAH!!!!

                                    Make sure to upvote

                                    dennypageD 1 Reply Last reply Reply Quote 0
                                    • T
                                      tman222
                                      last edited by tman222

                                      After a bit more tinkering with various parameters for the NUT USB driver and NUT configuration files, I think I finally found a temporary workaround to the disconnection issue detailed above that is especially prevalent with USB connected CyberPower UPS units after upgrading to 23.01:

                                      I went ahead and disabled UPS polling completely by adding the interruptonly flag to the usbhid driver (in the "Extra Arguments to driver (optional)" input box).

                                      https://networkupstools.org/docs/man/usbhid-ups.html

                                      I have not had one disconnect now in over 14 hours. The only downside (trade off) is that less UPS information is displayed, but the key information is still there.

                                      I think this points to there being an issue related to polling with these units. I did try various combinations of time values for the polling parameters to see if that would fix the disconnect issue, but no luck so far.

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

                                        @lcbbcl I'm looking for messages from "usbhid-ups". I don't need anything from "upsd" or "upsmon".

                                        Also, I note in your former post your advanced section is cut off... but it is expanded which would indicate that you have something set in there. Can you confirm if you have anything in the advanced section at all?

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

                                          @xavier1 said in NUT package:

                                          Everything is fine with 22.05 but once I upgrade to 23.01 the UPS daemon is dead.

                                          Can you provide a bit more information please? "the UPS daemon is dead" doesn't say what the problem was. I'm looking for system log entries for process "usbhid-ups" and kernel usb.

                                          Also, in your config, the content of "Additional configuration lines for ups.conf" is invalid and should be completely removed. This section is for global directives only, and what you have there conflicts with the package configuration.

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

                                            @jonathanlee said in NUT package:

                                            did a full reinstall of pfSense on my Netgate 2100 Max last night and reinstalled the NUT package to see if that helps. I wanted to rule that out. 1hr so far with no issues on a BareMetal install of pfSense 23.01.

                                            I will be very pleased, but also very surprised, if this resolves the issue.

                                            If it does, it would indicate a problem with the prior kernel or nut install. IIRC, you had already complete removed and reinstalled nut, yes?

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