Re: [Nut-upsdev] REGRESSION: New "megatec" driver does't work for UPS that was managed by old fentonups driver

2008-05-20 Thread Arnaud Quette
2008/5/19 Michel Bouissou <[EMAIL PROTECTED]>: > Carlos Rodrigues a écrit : >> >> Pretty darn weird, I say. But if the 2.2.2 version doesn't work, I can >> try adding that to see if it works. > > I have checked and the 2.2.2 version doesn't yet exist as an Ubuntu nor > Debian package, so I will hav

Re: [Nut-upsdev] Maruson power net 1500 support?

2008-05-20 Thread Arjen de Korte
> By the way, is it possible to force usbhid-ups to pretend that a given > USB device is another device? That is, force it to ignore the vendor > and manufacturer strings and use instead the ones supplied from the > command line? That's generally useless, since 'usbhid-ups' only works for device

Re: [Nut-upsdev] REGRESSION: New "megatec" driver does't work for UPS that was managed by old fentonups driver

2008-05-20 Thread Arjen de Korte
> The problems with the battery charge calculation have been discussed > before in this list, and I'm starting to agree with (I don't remember > exactly who, sorry) who tried to convice me that having any kind of > charge calculation was a bad idea. That was me. > I'm thinking if the charge calcu

Re: [Nut-upsdev] REGRESSION: New "megatec" driver does't work for UPS that was managed by old fentonups driver

2008-05-20 Thread Michel Bouissou
Arnaud Quette a écrit : > > You have two choices there: > - use the 2.2.2 from Debian Sid once it has passed the new queue (may > take some time since there are 3 new packages), which should work with > HH > - use the 2.2.2 source, "ln -s packaging/debian && debuild -us -uc" I will either try to

Re: [Nut-upsdev] REGRESSION: New "megatec" driver does't work for UPS that was managed by old fentonups driver

2008-05-20 Thread Michel Bouissou
Hi Arjen, Arjen de Korte a écrit : > > It may appear to be working for you, but only now. As soon as load, > temperature and/or battery age (!) change, the calculation will be off > (and more often than not by a landslide). The only way to accurately > measure the amount of charge in battery [...

Re: [Nut-upsdev] REGRESSION: New "megatec" driver does't work for UPS that was managed by old fentonups driver

2008-05-20 Thread Arjen de Korte
>> It may appear to be working for you, but only now. As soon as load, >> temperature and/or battery age (!) change, the calculation will be off >> (and more often than not by a landslide). The only way to accurately >> measure the amount of charge in battery [...] > I get the point, but actually d

[Nut-upsdev] UPS gracefull restart

2008-05-20 Thread Tomáš Macek
Hi, I'm just looking at the code of snmp-ups driver in the source tree. I'm trying to find out, what can I change in the code to force the snmp-ups driver to send shutdown command to the upsd to shutdown the computer when I set up on the UPS via telnet that it should restart gracefully. The com

Re: [Nut-upsdev] UPS gracefull restart

2008-05-20 Thread Arjen de Korte
> I'm just looking at the code of snmp-ups driver in the source tree. > I'm trying to find out, what can I change in the code to force the > snmp-ups driver to send shutdown command to the upsd to shutdown the > computer when I set up on the UPS via telnet that it should restart > gracefully. The

[Nut-upsdev] Missing GPG sig for nut 2.2.2. sources

2008-05-20 Thread Michel Bouissou
Hi again, The PGP sig for 2.2.2 is missing from http://eu1.networkupstools.org/source/2.2/ (so the corresponding link from the download page is broken). Also, for the record, I'm trying to compile 2.2.2 from sources and so far, on my Ubuntu Hardy system : - If I don't use during configure "--wit

Re: [Nut-upsdev] Maruson power net 1500 support?

2008-05-20 Thread Kjell Claesson
Den Tuesday 20 May 2008 03.21.22 skrev Charles Lepple: > On May 19, 2008, at 6:27 PM, David Mathog wrote: > > No idea why it thinks it is a Liebert. > > It's only looking at the USB vendor ID, and the only Liebert USB UPS > that we heard about had that vendor ID. (Then again, these may be > complet

Re: [Nut-upsdev] Maruson power net 1500 support?

2008-05-20 Thread David Mathog
As suggested, the megatec_usb driver was attempted. ups.conf has: driver = megatec_usb port = auto desc = "Top Maruson UPS" Unfortunately, both as ups (the account created when nut was compiled/installed) and as root, this is what happens: % /usr/local/src/nut-2.2.2/dr

Re: [Nut-upsdev] Maruson power net 1500 support?

2008-05-20 Thread Charles Lepple
On Tue, May 20, 2008 at 1:57 PM, Kjell Claesson <[EMAIL PROTECTED]> wrote: > Den Tuesday 20 May 2008 03.21.22 skrev Charles Lepple: >> On May 19, 2008, at 6:27 PM, David Mathog wrote: >> > No idea why it thinks it is a Liebert. >> >> It's only looking at the USB vendor ID, and the only Liebert USB

Re: [Nut-upsdev] Maruson power net 1500 support?

2008-05-20 Thread Alexander I. Gordeev
On Tue, 20 May 2008 22:10:59 +0400, David Mathog <[EMAIL PROTECTED]> wrote: > As suggested, the megatec_usb driver was attempted. ups.conf has: > > driver = megatec_usb > port = auto > desc = "Top Maruson UPS" > > > Unfortunately, both as ups (the account created when nut was >

Re: [Nut-upsdev] Maruson power net 1500 support?

2008-05-20 Thread Arjen de Korte
>> As suggested, the megatec_usb driver was attempted. ups.conf has: >> >> driver = megatec_usb >> port = auto >> desc = "Top Maruson UPS" >> >> >> Unfortunately, both as ups (the account created when nut was >> compiled/installed) and as root, this is what happens: >> >> > [snip] >

Re: [Nut-upsdev] Maruson power net 1500 support?

2008-05-20 Thread Alexander I. Gordeev
On Tue, 20 May 2008 23:34:13 +0400, Arjen de Korte <[EMAIL PROTECTED]> wrote: >> [snip] >>> Q1 detail: (14 bytes) => 28 31 31 33 2e 39 20 31 30 30 31 30 30 30 >> [snip] >> >> Good so far! >> >> If you print these numbers as ASCII text you'll get: >> "(113.9 1001000" >> This looks like some weird m

Re: [Nut-upsdev] Maruson power net 1500 support?

2008-05-20 Thread David Mathog
> - if the trunk doesn't work any better it could be helpful to sniff > USB traffic while using supplied Windows driver Yeah, I'm thinking that would be useful too. What (free) software do you folks use for this? Thanks, David Mathog [EMAIL PROTECTED] Manager, Sequence Analysis Facility, Biol

Re: [Nut-upsdev] Maruson power net 1500 support?

2008-05-20 Thread Alexander I. Gordeev
On Tue, 20 May 2008 23:51:28 +0400, David Mathog <[EMAIL PROTECTED]> wrote: >> - if the trunk doesn't work any better it could be helpful to sniff >> USB traffic while using supplied Windows driver > > Yeah, I'm thinking that would be useful too. > What (free) software do you folks use for this?

Re: [Nut-upsdev] Maruson power net 1500 support?

2008-05-20 Thread David Mathog
Here is the USB snoop of the data going to/from the UPS. It was made the following way: 1. get usb snoop configured, plug in UPS so that a device appeared in the applications list, unplug UPS. 2. select UPS USB device and click "install" in usb snoop to start logging. 3. plug in the USB cable

Re: [Nut-upsdev] Maruson power net 1500 support?

2008-05-20 Thread Alexander I. Gordeev
On Wed, 21 May 2008 02:22:17 +0400, David Mathog <[EMAIL PROTECTED]> wrote: > Here is the USB snoop of the data going to/from the UPS. > It was made the following way: > > 1. get usb snoop configured, plug in UPS so that a device appeared > in the applications list, unplug UPS. > 2. select UPS U

Re: [Nut-upsdev] REGRESSION: New "megatec" driver does't work for UPS that was managed by old fentonups driver

2008-05-20 Thread Michel Bouissou
Le mardi 20 mai 2008, Arjen de Korte a écrit : > > No, you don't get the point. > Like I explained, what you're doing now (or with any other scheme that is > based on battery voltage alone) may seem to work now, but may (will) fail > horribly [...] > In NUT we have 'upssched' for situations where t