[Bug 275293] sysutils/nut: CyberPower SX650G no longer works with nut 2.8.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 24 Nov 2023 07:34:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275293

            Bug ID: 275293
           Summary: sysutils/nut: CyberPower SX650G no longer works with
                    nut 2.8.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cy@FreeBSD.org
          Reporter: delphij@FreeBSD.org
          Assignee: cy@FreeBSD.org
             Flags: maintainer-feedback?(cy@FreeBSD.org)

I have a CyberPower SX650G which is connected via USB cable.  After upgrading
to nut-2.8.1_1 from nut-2.8.0_24, the USB connectivity appeared to stop
working.

It seems that there is a bug introduced in upstream
cbfe3a8ccd72cd890a72bc2d81c293d849e5cb23 that introduced a requirement that bus
number has to be non-zero, which doesn't make sense because the 0 is a valid
bus number.

I have submitted a patch to upstream at
https://github.com/networkupstools/nut/pull/2198 to address this.  The patch
applies cleanly on nut 2.8.1 so please consider including it in the port too.

-- 
You are receiving this mail because:
You are the assignee for the bug.