Re: [Nut-upsuser] Problem with upsmon?

2017-09-02 Thread Charles Lepple
On Sep 2, 2017, at 1:55 PM, Michele Alzetta  wrote:
> 
> the brand is Vultech, but lsusb gives me this:
> 
> Bus 003 Device 006: ID 0925:1234 Lakeview Research

It is likely that someone just copied the USB device descriptor from the 
example in Jan Axelson's book. Whether this is the same hardware that the 
richcomm_usb driver works with is another question. 

What does this command return?

   lsusb -vvv -d 0925:

Might need to run it as root. ___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] Problem with upsmon?

2017-09-02 Thread Tim Dawson
Have you used it prior? A lot of UPSes ship with the battery disconnected . . .

- Tim

On September 2, 2017 2:08:19 PM CDT, Michele Alzetta  
wrote:
>Following up on this: seems that the battery of this UPS is no longer
>working, i.e. if I interrupt the power supply it doesn't keep the power
>arriving to my equipment (Bought this new a year ago, wander how long
>it
>was on a shelf?)
>So, it looks like the driver in a strange contorted way is doing its
>job
>- it should read OL, but as the UPS battery is no longer any good it
>reads OB BL and shuts the system down. Halfway between a bug and a
>feature, I guess.
>Michele

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] Problem with upsmon?

2017-09-02 Thread Michele Alzetta
Following up on this: seems that the battery of this UPS is no longer
working, i.e. if I interrupt the power supply it doesn't keep the power
arriving to my equipment (Bought this new a year ago, wander how long it
was on a shelf?)
So, it looks like the driver in a strange contorted way is doing its job
- it should read OL, but as the UPS battery is no longer any good it
reads OB BL and shuts the system down. Halfway between a bug and a
feature, I guess.
Michele
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

[Nut-upsuser] Problem with upsmon?

2017-09-02 Thread Michele Alzetta
I have a Gentoo linux (OpenRC) desktop connected to a UPS, the brand is
Vultech, but lsusb gives me this:
Bus 003 Device 006: ID 0925:1234 Lakeview Research 

and I found an article about this hardware here, someone had it working
with the richcomm_usb driver:
http://verahill.blogspot.it/2012/12/kstar-australia-1500-va-ups-on-debian.html
So, I installed nut and configured my UPS to work with the richcomm_usb
driver, and everything seems to work all right:
service upsdrv start
* Starting UPS drivers ...
Network UPS Tools - UPS driver controller 2.7.4
Network UPS Tools - Richcomm dry-contact to USB driver 0.04 (2.7.4)
Warning: This is an experimental driver.
Some features may not function correctly.

upsc vultech

device.mfr: Richcomm dry-contact to USB solution
device.model: UPS USB MON V1.4
device.serial: unknown
device.type: ups
driver.name: richcomm_usb
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.synchronous: no
driver.version: 2.7.4
driver.version.internal: 0.04
ups.mfr: Richcomm dry-contact to USB solution
ups.model: UPS USB MON V1.4
ups.productid: 1234
ups.serial: unknown
ups.status: OB
ups.vendorid: 0925

*EXCEPT for one tiny detail which you see above - ups.status: OB*
In fact my UPS is connected just fine to a perfectly working power
supply, so it should be OL, not OB.
But what is worse is that a couple of minutes after having started the
upsdrv the OB become OB BL and then the driver does what it should do if
the UPS were really offline and if the battery really were low, i.e. it
sends my system into a graceful shutdown.
So, is this a hardware problem with my UPS ? Or is it a configuration
problem? How could I debug this?
--
  Michele

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser