Page MenuHomeFreeBSD

sysutils/apcupsd: Add patch to fix APC BE600M1 reporting

Authored by on Aug 31 2020, 11:50 PM.



Reading here [1] and using the patch mentioned here [2] I was able to
get apcupsd running on 12.1 to correctly report data from a BE600M1.

Also, some functions in apctest now work as well.


Testing current apcupsd reporting via apcaccess had limited data. With the 2017 patches [1] this appears to have fixed this issue with USB I/O issues.
I don't know how this patch plays with other APC USB attached UPS. I can't fully vet the cpp from the patches but it at least fixes my issue with the BE600M1.

Test Plan

Build with patch, see apcaccess reports more data, continue to run apcupsd without errors.

Diff Detail

rP FreeBSD ports repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Turn this into an optional patch with an addition to pkg-message

Thanks for the patch, very appreciated.

This revision is now accepted and ready to land.Sep 4 2020, 11:28 PM