Re: [Nut-upsuser] upsd does not strt up

2007-05-23 Thread Arjen de Korte
works now! thanks a lot Thanks for your efforts in debugging this issue. This is what we need in order to make sure that the code we write is portable, at least for the platforms we intend to support. Best regards, Arjen ___ Nut-upsuser mailing

[Nut-upsuser] Bogus UPS not available messages

2007-05-23 Thread Eric S. Raymond
Belkin F6C1200-UNV on Ubuntu 7.04, megatec_usb driver, Every few minutes I get a beep and a UPS not available message that seems to be bogus; upsc reports real data, not at complaint that it's stale. Is there some timeout I need to lengthen? Also, shouldn't upsc report the poll time associated

Re: [Nut-upsuser] Bogus UPS not available messages

2007-05-23 Thread Arjen de Korte
Belkin F6C1200-UNV on Ubuntu 7.04, megatec_usb driver, Every few minutes I get a beep and a UPS not available message that seems to be bogus; upsc reports real data, not at complaint that it's stale. What's in the logfiles? Is this message generated by the driver, the server or the client?

Re: [Nut-upsuser] [Nut-upsdev] USB support for Sweex 1000 VA UPS (was: Help with

2007-05-23 Thread Alexander I. Gordeev
On Wed, May 23, 2007 at 01:18:26AM -0300, Peter Selinger wrote: I'll defer to Alexander Gordeev; he has worked extensively on the megatec_usb driver, which is solving a somewhat similar problem, although the protocol is different. The UPS shutdown 30 seconds after the low battery event might

Re: [Nut-upsuser] Bogus UPS not available messages

2007-05-23 Thread Arjen de Korte
Eric S. Raymond wrote: Arjen de Korte [EMAIL PROTECTED]: What's in the logfiles? Is this message generated by the driver, the server or the client? Which log is relevant? /var/log/messages or something else? The syslog. Where that resides, depends on your local configuration, although

Re: [Nut-upsuser] Bogus UPS not available messages

2007-05-23 Thread Arjen de Korte
Eric S. Raymond wrote: Many repetitions of this message with different timestamps. May 23 11:25:51 snark upsmon[26084]: Poll UPS [EMAIL PROTECTED] failed - Write error: Bad file descriptor May 23 11:25:56 snark upsd[26065]: Rejecting TCP connection from 192.168.1.11 May 23 11:25:56 snark

Re: [Nut-upsuser] Bogus UPS not available messages

2007-05-23 Thread Charles Lepple
On 5/23/07, Arjen de Korte [EMAIL PROTECTED] wrote: Eric S. Raymond wrote: [...] Why not? Seems natural to me to want to know the timestamp on the data sample I'm seeing. [...] Regarding the timestamp, when data is stale it is unimportant how stale it is, it should not be used anymore.

Re: [Nut-upsuser] Bogus UPS not available messages

2007-05-23 Thread Eric S. Raymond
Arjen de Korte [EMAIL PROTECTED]: This looks a lot like problems with setting the access controls or on the upsd server. Could you post the contents of 'upsd.conf' and 'upsd.users' here or in a private message? This certainly has nothing to do with the driver. -- upsd.conf

Re: [Nut-upsuser] Bogus UPS not available messages

2007-05-23 Thread Eric S. Raymond
Charles Lepple [EMAIL PROTECTED]: There's a slim possibility that the timestamp could be useful in the upsc output, especially with drivers that have to cope with buggy hardware that does not always respond in the same time interval. That's exactly the case I was thinking about; I'm coping