Re: [Nut-upsuser] nut with Belkin Active Battery Backup UPS (BU30 series)

2008-02-17 Thread Cian Davis
Alexander I. Gordeev wrote on 16/02/08 18:20: Please try megatec_usb driver and post back the results. Could you also test version from svn trunk? I hope this isn't a really stupid question but... I downloaded the latest trunk SVN version and went to compile it. But there is no configure

Re: [Nut-upsuser] nut with Belkin Active Battery Backup UPS (BU30 series)

2008-02-17 Thread Alexander I. Gordeev
On Sat, 16 Feb 2008 22:50:40 +0300, Luis Angel Cofiño [EMAIL PROTECTED] wrote: Uh... oh... AH!!! Oh, I feel so stupid!. :_) Agent from WinPower was blocking the results from NUT, I think (?). I uninstalled WinPower completely, and then I tried again megatec_usb as suggested: [EMAIL

Re: [Nut-upsuser] Unitek UPS 1250xD - megatec_usb driver

2008-02-17 Thread Alexander I. Gordeev
On Sat, 16 Feb 2008 23:23:39 +0300, Matt Brown [EMAIL PROTECTED] wrote: Hi Alexander, Thanks for that, I am seeing one issue tho which is: Feb 16 20:09:37 pegasus upsmon[32005]: Communications with UPS [EMAIL PROTECTED] established Feb 16 20:10:58 pegasus upsd[28437]: Data for UPS [Unitek]

Re: [Nut-upsuser] nut with Belkin Active Battery Backup UPS (BU30 series)

2008-02-17 Thread Luis Angel Cofiño
El Domingo, 17 de Febrero de 2008 Alexander I. Gordeev escribió: Thank you very much, Alexander. :-) You are welcome :) What is the exact model name? I'll add it to the compatibility list. The model name is: Belkin Active Battery Backup 800VA (BU308000ME) There are also a 400VA

Re: [Nut-upsuser] nut with Belkin Active Battery Backup UPS (BU30 series)

2008-02-17 Thread Luis Angel Cofiño
El Domingo, 17 de Febrero de 2008 Cian Davis escribió: Alexander I. Gordeev wrote on 16/02/08 18:20: Please try megatec_usb driver and post back the results. Could you also test version from svn trunk? I hope this isn't a really stupid question but... I downloaded the latest trunk SVN

Re: [Nut-upsuser] nut with Belkin Active Battery Backup UPS (BU30 series)

2008-02-17 Thread Arjen de Korte
Or, if you don't have all of the prerequisite packages (autoconf, automake, libtool, etc.) needed for building straight from SVN, you can download an SVN tarball from our Buildbot page. http://buildbot.ghz.cc/public/nut/ Check the first column for the [tarball] link - that should have a

Re: [Nut-upsuser] Unitek UPS 1250xD - megatec_usb driver

2008-02-17 Thread Arjen de Korte
[...] Asking for UPS status [Q1]... get_data_krauler: index [03], prefix [(] - String: UPS No Ack (len = 10/128) get_data_krauler: retry [UPS No Ack] - String: UPS No Ack (len = 10/128) get_data_krauler: retry [UPS No Ack] - Unable to fetch string 3 get_data_krauler: connection failure

Re: [Nut-upsuser] nut with Belkin Active Battery Backup UPS (BU30 series)

2008-02-17 Thread Charles Lepple
On Feb 17, 2008 12:35 PM, Arjen de Korte [EMAIL PROTECTED] wrote: Or, if you don't have all of the prerequisite packages (autoconf, automake, libtool, etc.) needed for building straight from SVN, you can download an SVN tarball from our Buildbot page. http://buildbot.ghz.cc/public/nut/

Re: [Nut-upsuser] nut with Belkin Active Battery Backup UPS (BU30 series)

2008-02-17 Thread Alexander I. Gordeev
On Sun, 17 Feb 2008 18:33:00 +0300, Luis Angel Cofiño [EMAIL PROTECTED] wrote: El Domingo, 17 de Febrero de 2008 Cian Davis escribió: I hope this isn't a really stupid question but... I downloaded the latest trunk SVN version and went to compile it. But there is no configure script... is

Re: [Nut-upsuser] Unitek UPS 1250xD - megatec_usb driver

2008-02-17 Thread Carlos Rodrigues
On Feb 17, 2008 7:56 PM, Alexander I. Gordeev [EMAIL PROTECTED] wrote: The best solution would probably to ignore the first couple of failures in the 'megatec.c' driver, before declaring data stale. Generally speaking, one should be careful to declare data stale and only do so after a couple

Re: [Nut-upsuser] Unitek UPS 1250xD - megatec_usb driver

2008-02-17 Thread Arjen de Korte
Carlos Rodrigues wrote: If the driver fails to get any data in the current polling cycle, it declares the data as stale until the next cycle. It tried to read the data, it got nothing, ergo the current data is stale. That's a bit too harsh. Even serial communication is sometimes plagued by

Re: [Nut-upsuser] Riello Dialog Plus UPS

2008-02-17 Thread Massimiliano Giorgi
Arjen de Korte wrote: I have discovered that if you build a custom cable you can use the genericups driver (tha cable supplied with the UPS does not work)... How is that one wired? the cable supplied with the UPS is a normal modem (DTE-DCE, DB9 male-DB9 female, pin-to-pin connected)

Re: [Nut-upsuser] Unitek UPS 1250xD - megatec_usb driver

2008-02-17 Thread Carlos Rodrigues
On Feb 17, 2008 9:16 PM, Alexander I. Gordeev [EMAIL PROTECTED] wrote: Still I concern about the added latency. I can retry after timeout but it means that ser_send_pace will not return for seconds. I'd rather add a variable in megatec.c to make user decide the number of retries before driver