Re: [Nut-upsuser] newhidups dies after a few hours

2006-05-23 Thread Arnaud Quette

Hi Nick,

2006/5/22, Nick Rosier [EMAIL PROTECTED]:

...
do you know the cause of these errors?
usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd newhidups rqt 128 rq 6 len
255 ret -110
usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd newhidups rqt 161 rq 1 len
8 ret -110

These messages pollute my messages-files; is this hardware/software?
A problem with the USB-interface of the MGE-UPS?
I'm running 2.0.3 with the fix for this bug and it's been running
flawlessly with the exception of all these messages.


the -110 error is a timeout.
what are your kernel and libusb versions? What the frequency of these messages?

I've not seen that kind of msg for long, but it was generally due to a
temporary deny of service from the UPS, ie it's currently running a
self test while the driver request the complete data tree...

Arnaud
--
Linux / Unix Expert - MGE UPS SYSTEMS - RD Dpt
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
OpenSource Developer - http://arnaud.quette.free.fr/

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


[Nut-upsuser] Is there any reason not to get an MGE Nova 1100?

2006-05-23 Thread Bruno Wolff III
I am going to be buying a new UPS soon and wanted to get something open.
It looks like MGE is contributing to nuts and providing specs, so I wanted
to get something from them. The Nova 1100 AVR w/USB looks to be in my price
range and seems to provide the features I need.
But I wanted to see if there were any gotchas with this UPS before buying
one and figured this would be a good place to ask.

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


[Nut-upsuser] Nut issue or MGE issue?

2006-05-23 Thread Tuc
Hi,

I took the advice of Daniel O'Connor, found out what variables I
had available to me, and put them in the conf. So now it looks like :

[ellipse]
driver = mge-shut
port =  /dev/cuaa0
desc = UPS
lowbatt = 5
offdelay = 120
 let the UPS charge up fully, 24 hours.

I plugged a single lamp into it, with a 60W bulb.

At 3:40p I pulled the power. This is a sample of some readings I
took since then :

Time% ChargeLoad
3:40100 2
3:4198  4
3:4294  6
3:4391  6
3:4488  4
3:4584  6
==more time passed
4:0614  8
4:0710  6
4:087   6
4:093   6
4:100   6
4:110   6
4:120   6

It seems to have discharged pretty rapidly for only carrying a
60W bulb. The other issue is that at the current time its 4:44, and the 
power is STILL ON TO THE LAMP! Why has it been saying for 34 minutes that
there is 0% battery available, but yet powering a load. And why if there is
a bulb, which should be a fairly good constant (Though I have seen the
bulb change intensity ever so little since its been on battery), is the
load number changing? 

Please let me know if I might have a defective unit, if there is some
way to calibrate it or if I am not doing the testing/monitoring properly.

(At the same time upslog wasn't any help:
20060523 153139 NA NA NA [NA] NA NA
20060523 153639 NA NA NA [NA] NA NA
20060523 154139 NA NA NA [NA] NA NA
20060523 154639 NA NA NA [NA] NA NA
20060523 155139 NA NA NA [NA] NA NA
20060523 155639 NA NA NA [NA] NA NA
20060523 160139 NA NA NA [NA] NA NA
20060523 160639 NA NA NA [NA] NA NA
20060523 161139 NA NA NA [NA] NA NA
20060523 161639 NA NA NA [NA] NA NA
20060523 162139 NA NA NA [NA] NA NA
20060523 162639 NA NA NA [NA] NA NA
20060523 163139 NA NA NA [NA] NA NA
20060523 163639 NA NA NA [NA] NA NA
20060523 164139 NA NA NA [NA] NA NA)

Thanks, Tuc


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


Re: [Nut-upsuser] Tripplite SU2200XL

2006-05-23 Thread Kirk Bocek
Well, bummer. I was hoping to get this to work. Thanks for your help though.

I guess I'm going to have to spring for an SNMP module for this UPS. Do you 
know if
Tripplite has done anything wonky in their implementation that would cause a 
problem
with nut's SNMP interface?

Thanks,
Kirk Bocek

Charles Lepple wrote:
 On 5/23/06, Kirk Bocek [EMAIL PROTECTED] wrote:
 Well Charles, I sent an email to Allan on the 18th but haven't heard
 back from him.
 Do you know if he's still involved in this project?
 
 Not sure - I don't think I have seen any emails from him recently.
 


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


Re: [Nut-upsuser] Tripplite SU2200XL

2006-05-23 Thread Kirk Bocek
Well Charles, I sent an email to Allan on the 18th but haven't heard back from 
him.
Do you know if he's still involved in this project?

Kirk Bocek

Charles Lepple wrote:
 On 5/17/06, Kirk Bocek [EMAIL PROTECTED] wrote:
 Is this a lost cause? I see some other complaints here regarding
 Tripplite. Is this driver being maintained anymore?
 
 Most of the Tripplite issues are with their low-end USB and serial
 units. (The serial and non-PDC USB protocols are similar to each
 other, but not to the SU* series commands.)
 
 There is a chance that this UPS is returning something slightly
 different than the expected manufacturer string, so you could add a
 few debug statements to see what the UPS returns.
 
 You might also try emailing the maintainer, listed at the top of the
 source file:
 
   http://boxster.ghz.cc/projects/nut/browser/trunk/drivers/tripplitesu.c
 


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


Re: [Nut-upsuser] Nut issue or MGE issue?

2006-05-23 Thread Daniel O'Connor
On Wednesday 24 May 2006 06:15, Scott Tuc Ellentuch at T-B-O-H wrote:
 I plugged a single lamp into it, with a 60W bulb.

 At 3:40p I pulled the power. This is a sample of some readings I
 took since then :
 It seems to have discharged pretty rapidly for only carrying a
 60W bulb. The other issue is that at the current time its 4:44, and the
 power is STILL ON TO THE LAMP! Why has it been saying for 34 minutes that
 there is 0% battery available, but yet powering a load. And why if there is
 a bulb, which should be a fairly good constant (Though I have seen the
 bulb change intensity ever so little since its been on battery), is the
 load number changing?

The measured load is varying.. If it truly is only a 60W globe then I would 
say the UPS is broken.

 Please let me know if I might have a defective unit, if there is
 some way to calibrate it or if I am not doing the testing/monitoring
 properly.

You may be able to do a battery test, try..
upscmd -l [EMAIL PROTECTED]

and see if there is a battery test you can do, I get..
kiruna:~upscmd -l [EMAIL PROTECTED]
Instant commands supported on UPS [EMAIL PROTECTED]:

test.battery.start.quick - Unavailable
test.battery.start.deep - Unavailable
test.battery.stop - Stop the battery test
load.off - Turn off the load immediately
load.on - Turn on the load immediately

(I think the Unavailable means the description is unknown, not that the test 
is unavailable.

   (At the same time upslog wasn't any help:
 20060523 153139 NA NA NA [NA] NA NA

Looks like you may have specifed the UPS to upslog incorrectly or upsd isn't 
running.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpXMWH33n4dW.pgp
Description: PGP signature
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Nut issue or MGE issue?

2006-05-23 Thread Tuc
 
 On Wednesday 24 May 2006 06:15, Scott Tuc Ellentuch at T-B-O-H wrote:
  I plugged a single lamp into it, with a 60W bulb.
 
  At 3:40p I pulled the power. This is a sample of some readings I
  took since then :
  It seems to have discharged pretty rapidly for only carrying a
  60W bulb. The other issue is that at the current time its 4:44, and the
  power is STILL ON TO THE LAMP! Why has it been saying for 34 minutes that
  there is 0% battery available, but yet powering a load. And why if there =
 is
  a bulb, which should be a fairly good constant (Though I have seen the
  bulb change intensity ever so little since its been on battery), is the
  load number changing?
 
 The measured load is varying.. If it truly is only a 60W globe then I would
 say the UPS is broken.

It is a desk lamp, with only a 60W Sylvania bulb in it. There is
NOTHING else plugged in, not even the monitoring server. I was afraid it
was broken. When I plugged the UPS back in, the first monitor of it said there
was an 86% charge already. I plugged it in at 6pm. Its now 8pm and its 
claiming 91% charged.
 
  Please let me know if I might have a defective unit, if there is
  some way to calibrate it or if I am not doing the testing/monitoring
  properly.
 
 You may be able to do a battery test, try..
 upscmd -l [EMAIL PROTECTED]
 
 and see if there is a battery test you can do, I get..
 kiruna:~upscmd -l [EMAIL PROTECTED]
 Instant commands supported on UPS [EMAIL PROTECTED]:
 
 test.battery.start.quick - Unavailable
 test.battery.start.deep - Unavailable
 test.battery.stop - Stop the battery test
 load.off - Turn off the load immediately
 load.on - Turn on the load immediately
 
 (I think the Unavailable means the description is unknown, not that the t=
 est=20
 is unavailable.

himinbjorg# upscmd -l [EMAIL PROTECTED]
Instant commands supported on UPS [EMAIL PROTECTED]:

load.off - Turn off the load immediately
load.on - Turn on the load immediately
shutdown.return - Turn off the load and return when power is back
shutdown.stayoff - Turn off the load and remain off
test.battery.start - Start a battery test
test.battery.stop - Stop the battery test

I'll wait for it to claim to be fully charged before I
start anything.
 
  (At the same time upslog wasn't any help:
  20060523 153139 NA NA NA [NA] NA NA
 
 Looks like you may have specifed the UPS to upslog incorrectly or upsd isn't
 running.
 
My bad... I had set the necessary variables incorrectly.

Tuc

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


Re: [Nut-upsuser] Tripplite SU2200XL

2006-05-23 Thread Gregory Gulik
I have a very similar UPS with the SNMP module and it works fine.  Here 
are all the fields I get with upsc:


battery.charge: 100.0
battery.voltage: 040.8
driver.name: snmp-ups
driver.parameter.port: tripplite1
driver.version: 2.0.0
driver.version.internal: 0.40
input.frequency: 059.9
input.voltage: 115.0
ups.firmware.aux: Tripp Lite 3.0.37 (GAPI 2.0)
ups.load: 020.0
ups.mfr: Tripp Lite
ups.model: SMART1500RMXL2Ua
ups.status: OL


Kirk Bocek wrote:

Well, bummer. I was hoping to get this to work. Thanks for your help though.

I guess I'm going to have to spring for an SNMP module for this UPS. Do you 
know if
Tripplite has done anything wonky in their implementation that would cause a 
problem
with nut's SNMP interface?
  


--
Greg Gulik http://www.gulik.org/greg/
greg @ gulik.org



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


Re: [Nut-upsuser] Tripplite SU2200XL

2006-05-23 Thread Kirk Bocek

Groovy. Thanks for the info Gregory. Did you have any gotchas setting it up?

Kirk Bocek

Gregory Gulik wrote:
I have a very similar UPS with the SNMP module and it works fine.  Here 
are all the fields I get with upsc:


battery.charge: 100.0
battery.voltage: 040.8
driver.name: snmp-ups
driver.parameter.port: tripplite1
driver.version: 2.0.0
driver.version.internal: 0.40
input.frequency: 059.9
input.voltage: 115.0
ups.firmware.aux: Tripp Lite 3.0.37 (GAPI 2.0)
ups.load: 020.0
ups.mfr: Tripp Lite
ups.model: SMART1500RMXL2Ua
ups.status: OL


Kirk Bocek wrote:
Well, bummer. I was hoping to get this to work. Thanks for your help 
though.


I guess I'm going to have to spring for an SNMP module for this UPS. 
Do you know if
Tripplite has done anything wonky in their implementation that would 
cause a problem

with nut's SNMP interface?
  





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


Re: [Nut-upsuser] USB UPS and FreeBSD

2006-05-23 Thread Vladimir Botka

Hello,
for me the USB works on FreeBSD 6.0 with custom kernell. Please find notes 
on


http://wiki.botka.homeunix.org/bin/view/Main/NetworkUpsToolsUsb

There has been a thread about this issue recently. I wonder that your USB 
attaches to /dev/ugen0 on FreeBSD 6.0. I had to disable uhid driver to 
get ugen. All these problems are solved on 6.1 with libusb 0.1.12 has 
been reported.



Cheers,

-vlado

D000


On Mon, 22 May 2006, Daniel O'Connor wrote:


I am looking at the newhid driver for this Pulsar EXtreme here but it gives
odd results, for example there is no status variable :)

eg
debug level is '2'
Checking device (0463/) (/dev/usb0//dev/ugen0)
- VendorID: 0463
- ProductID: 
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: /dev/usb0
Trying to match device
Device matches
HID descriptor retrieved (Reportlen = 1535)
Report descriptor retrieved (Reportlen = 1535)
Found HID device
Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.3)

Report Descriptor size = 1535
Detected a UPS: unknown/unknown
Using subdriver: MGE HID 0.8
Path: UPS.PowerSummary.PowerSummaryID, Type: Feature, Value: 1.00
Path: UPS.PowerSummary.FlowID, Type: Feature, Value: 4.00
Can't retrieve Report 52 (-5/5): Input/output error
Path: UPS.PowerSummary.RemainingCapacityLimitSetting, Type: Feature
Path: UPS.PowerSummary.Rechargeable, Type: Feature, Value: 1.00
Path: UPS.PowerSummary.CapacityMode, Type: Feature, Value: 2.00
...

I get quite a number of IO errors - it seems these come from libusb but I am
not sure under what circumstances it returns it.

This is a 6.0 machine running NUT 2.0.3 - has anyone been able to connect to a
USB UPS with FreeBSD?

Thanks.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
 -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C



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