Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2018 15:37:18 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        =?UTF-8?Q?Gerrit_K=c3=bchn?= <gerrit.kuehn@aei.mpg.de>, freebsd-usb@FreeBSD.org
Subject:   Re: nut/apc values sparse after update to 11.2
Message-ID:  <f35c8c19-040a-e10e-68ab-31d06170d7ba@selasky.org>
In-Reply-To: <20180903150854.6bd6052d5c1a8c02e539509d@aei.mpg.de>
References:  <20180903150854.6bd6052d5c1a8c02e539509d@aei.mpg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/3/18 3:08 PM, Gerrit Kühn wrote:
> Hi all,
> 
> I just upgraded a server from 11.1 to 11.2. After this, nut appears to
> read only very few values from the ups attached via usbhid to the box.
> With 11.1, upslog recorded all relevant values:
> ---
> 20180903 134024 100.00 226.30 46.30 [OL] 27.00 50.00
> ---
> 
> 
> With 11.2, upslog only reports online and charge:
> 
> ---
> 20180903 141918 100 NA NA [OL] NA NA
> ---
> 
> Any ideas how to get back the other values? upsc on the commandline does
> not appear to report them anymore, either:
> 
> ---
> # upsc apc@localhost
> battery.charge: 100
> battery.charge.low: 10
> battery.charge.warning: 50
> battery.runtime: 2460
> battery.runtime.low: 120
> battery.type: PbAc
> battery.voltage: 54.5
> battery.voltage.nominal: 48.0
> device.mfr: American Power Conversion
> device.model: Smart-UPS 3000
> device.serial: AS1548242019
> device.type: ups
> driver.name: usbhid-ups
> driver.parameter.pollfreq: 30
> driver.parameter.pollinterval: 2
> driver.parameter.port: /dev/uhid0
> driver.parameter.synchronous: no
> driver.parameter.vendorid: 051d*
> driver.version: 2.7.4
> driver.version.data: APC HID 0.96
> driver.version.internal: 0.41
> ups.beeper.status: enabled
> ups.delay.shutdown: 20
> ups.firmware: UPS 09.3 / ID=18
> ups.mfr: American Power Conversion
> ups.mfr.date: 2015/11/25
> ups.model: Smart-UPS 3000
> ups.productid: 0003
> ups.serial: AS1548242019
> ups.status: OL
> ups.timer.reboot: -1
> ups.timer.shutdown: -1
> ups.vendorid: 051d
> ---
> 
> 
> I'm missing things like volate, frequency, load...
> 

Hi,

Did you check the permissions for the USB device?
Did you try to re-attach the USB device?

What does usbconfig output? Does it detect your device?

Did you try a 11-stable kernel?

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f35c8c19-040a-e10e-68ab-31d06170d7ba>