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

2006-04-29 Thread aerios

Ricardo Bugalho a écrit :
Hello, 


Hello Ricardo,


I'm using NUT to manage a MGE Ellipse ASR UPS, with the newhidups


Same here except that i'm doing it through the serial link.


driver.
It works fine, except that after a few hours, I get a few errors from
the kernel and the driver dies.


I have some lost connections which usually last for about 3 seconds.



Here's the output from the syslog:
Apr 26 02:00:41 ezquiel kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed
cmd newhidups rqt 128 rq 6 len 255 ret -110
Apr 26 02:00:43 ezquiel last message repeated 2 times
Apr 26 02:00:43 ezquiel upsd[4570]: Data for UPS [mgeups] is stale -
check driver
Apr 26 02:00:44 ezquiel upsmon[4573]: Poll UPS [EMAIL PROTECTED] failed
- Data stale
Apr 26 02:00:45 ezquiel upsd[4570]: UPS [mgeups] disconnected - check
driver
Apr 26 02:00:45 ezquiel upsd[4570]: Can't connect to UPS [mgeups]
(newhidups-auto): Connection refused
Apr 26 02:00:49 ezquiel upsmon[4573]: Poll UPS [EMAIL PROTECTED] failed
- Driver not connected

I'm using a 2.6.16 kernel and NUT 2.0.3 (both are stock debian builds).

Anyone has any ideas about the problem?



Ok, so here is my guess:
IF you happen to have a too short power supply on that computer this 
can cause the problem. I have a rather too small P.S. on my system: it 
works correctly most of the time but gives me some quirks from time to 
time. The serial link is that little bit too much for it, maybe the USB 
is the same for you. If you can test that with another P.S. more 
powerfull...


The fact that your driver dies and not mine is probably due to the 
differences between USB and serial... Maybe.



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


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

2006-04-29 Thread Ricardo Bugalho
Hello, 
no, the driver keeps dying on me. Looks like the same problem.
Thanks

On Thu, 2006-04-27 at 09:00 +0200, Arnaud Quette wrote:
 is the driver still alive? If not, this is related to this problem:
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=354305
 
 I've already put the fix in the Testing tree, so that 2.0.4 will include it.
 
 Arnaud

-- 
Ricardo



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


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

2006-04-29 Thread Ricardo Bugalho
On Sat, 2006-04-29 at 11:29 +0200, aerios wrote:

 I have some lost connections which usually last for about 3 seconds.

No, here the driver dies after the error and does not resume connection.

 Ok, so here is my guess:
 IF you happen to have a too short power supply on that computer this 
 can cause the problem. I have a rather too small P.S. on my system: it 
 works correctly most of the time but gives me some quirks from time to 
 time. The serial link is that little bit too much for it, maybe the USB 
 is the same for you. If you can test that with another P.S. more 
 powerfull...

I'm just restarting NUT every 15 minutes, it does the trick.

 The fact that your driver dies and not mine is probably due to the 
 differences between USB and serial... Maybe.

Yes, the problem seems to be in the newhidups usb driver. 
Aranaud is on top of it already and the bug will be fixed soon. :)


-- 
Ricardo



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