Created attachment 450402 [details, diff] ebuild change to control MODBUS support in apcupsd MODBUS is the protocol used by newer APC UPSes and is needed to get usable output. apcupsd has supported MODBUS over RS232 since 3.14.13 and USB since 3.14.14. By default MODBUS is only enabled over RS232 and disabled over USB. --enable-modbus-usb is needed to enable MODBUS support over USB while --disable-modbus is needed to disable it over RS232 and USB. MODBUS over USB needs dev-libs/libusb-compat. Attached is a patch against the sys-power/apcupsd-3.14.14 ebuild to control MODBUS support.
Created attachment 450420 [details, diff] ebuild change to control MODBUS support in apcupsd v2 Previous diff was reversed....
[That name sounds suspiciously Norwegian?] Thanks for the patch. Applied in https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=805b76407ea2d40e78fd5c3078b2429761c9f7d5 Would you be interested in being a proxied maintainer for this package? Some more info on it available at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
(In reply to Kristian Fiskerstrand from comment #2) > [That name sounds suspiciously Norwegian?] Jupp, a Norwegian up in Trondheim. Heisann! > Thanks for the patch. Applied in > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=805b76407ea2d40e78fd5c3078b2429761c9f7d5 Thanks, have now switched from by overlay to the offical gentoo repo for apcupsd and confirmed that my modbus based UPS still works (and the non-modbus based one works too). > Would you be interested in being a proxied maintainer for this package? Some > more info on it available at > https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers Sounds interesting. An easy start into doing more for Gentoo.
(In reply to John Einar Reitan from comment #3) > (In reply to Kristian Fiskerstrand from comment #2) > > [That name sounds suspiciously Norwegian?] > > Jupp, a Norwegian up in Trondheim. Heisann! Heisann. Oslo here :) > > > Thanks for the patch. Applied in > > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > > ?id=805b76407ea2d40e78fd5c3078b2429761c9f7d5 > > Thanks, have now switched from by overlay to the offical gentoo repo for > apcupsd and confirmed that my modbus based UPS still works (and the > non-modbus based one works too). > > > Would you be interested in being a proxied maintainer for this package? Some > > more info on it available at > > https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers > > Sounds interesting. An easy start into doing more for Gentoo. I've added you to metadata.xml so you will be assigned new issues for this package with myself CCed so I can commit for you. Feel free to email me or contact me on IRC (FreeNode, nick K_F) you'll find me in #gentoo-dev , #gentoo-proxy-maint etc, the latter of which is a good place to ask generic ebuild questions. PS. Incidentally there will likely be a few presentations by Gentoo developers arranged via NUUG this year. In Oslo, but also streamed and recorded. So stay tuned :)