[Nut-upsdev] CyberPower SX650G no driver. [HCL]

Charles Lepple
Thu, 27 Oct 2016 12:36:16 -0000

sending to the list for posterity.

> On Oct 27, 2016, at 6:43 AM, Raymond Day wrote:
>
> Thank you.
>
> Looked like that worked.
>
> I put your code in /etc/nut/nut.conf just at the end of that file.
>
> Then did.
>
> upsdrvctl start
>
> upsc serverups
>
> Got this date back:
>
> battery.charge: 100
> battery.charge.low: 10
> battery.charge.warning: 20
> battery.mfr.date: CPS
> battery.runtime: 7650
> battery.runtime.low: 300
> battery.type: PbAcid
> battery.voltage: 9.5
> battery.voltage.nominal: 12
> device.mfr: CPS
> device.model: SX650G
> device.type: ups
> driver.name: usbhid-ups
> driver.parameter.pollfreq: 30
> driver.parameter.pollinterval: 2
> driver.parameter.port: auto
> driver.version: 2.6.4
> driver.version.data: CyberPower HID 0.3
> driver.version.internal: 0.37
> input.transfer.high: 0
> input.transfer.low: 0
> input.voltage: 121.0
> input.voltage.nominal: 120
> output.voltage: 121.0
> ups.beeper.status: enabled
> ups.delay.shutdown: 20
> ups.delay.start: 30
> ups.load: 0
> ups.mfr: CPS
> ups.model: SX650G
> ups.productid: 0501
> ups.realpower.nominal: 375
> ups.status: OL
> ups.test.result: No test initiated
> ups.timer.shutdown: -60
> ups.timer.start: 0
> ups.vendorid: 0764
>
> So looks like it's working Thank you. Were is the page I ask for this
> help? This e-mail don't have the link looks like.
>
> -Raymond Day
>
>
> On 10/26/2016 8:55 AM, Charles Lepple wrote:
>> 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)
>