[Nut-upsdev] CyberPower SX650G no driver.

Charles Lepple
Wed, 26 Oct 2016 12:55:43 -0000

On Oct 18, 2016, at 9:40 AM, Charles Lepple wrote:
>
> On Oct 18, 2016, at 9:35 AM, Raymond Day wrote:
>>
>> How do I run the git one? I guess it's up to date.
>
> Don't, for now. There have been a few posts on the mailing list
explaining what to pass to ./configure (or ./autogen.sh, which calls configure)
to get the Git version to install over the Debian one, but I would recommend
getting the .deb version configured properly first.

Did you get the "Duplicate driver instance detected" error resolved?

After that, if the Debian driver is still not working, here is the configure
line for nut-2.7.1 in Debian - should work for the Git version as well:

./configure --includedir=/usr/include --mandir=/usr/share/man \
	--infodir=/usr/share/info --sysconfdir=/etc/nut --localstatedir=/var \
	--libexecdir=/usr/lib/nut --srcdir=. --disable-maintainer-mode \
	--disable-dependency-tracking --disable-silent-rules
--libdir=/usr/lib/x86_64-linux-gnu \
	--with-ssl --with-nss --with-cgi --with-dev --enable-static \
	--with-statepath=/var/run/nut --with-altpidpath=/var/run/nut \
	--with-drvpath=/lib/nut --with-cgipath=/usr/lib/cgi-bin/nut \
	--with-htmlpath=/usr/share/nut/www --with-pidpath=/var/run/nut \
	--datadir=/usr/share/nut
--with-pkgconfig-dir=/usr/lib/aarch64-linux-gnu/pkgconfig \
	--with-user=nut --with-group=nut --with-udev-dir=/lib/udev \
	--with-systemdsystemunitdir=/lib/systemd/system

(if your email client puts that all on one line, remove the "\"
characters)