[Nut-upsdev] usbhid-ups: no reconnect on error EPIPE

Arjen de Korte nut+devel at de-korte.org
Mon Jan 4 19:54:51 UTC 2010


Folks,

I have been working on a problem with the usbhid-ups driver and the  
MGE / Eaton Ellipse series UPS. There seems to be light at the end of  
the tunnel.

For whatever reason, these devices seem to trigger error 'EPIPE'  
randomly. So far, the response to this of the usbhid-ups (and  
previously, newhidups) driver is to reconnect. Most of the time this  
will succeed on the first try and nothing will be logged to the  
syslog. At times however, this will take several tries before this  
succeeds, causing a lot of noise in both the syslog and for the  
clients connected to this UPS.

The sad thing about this is, is that the reconnect doesn't seem to be  
needed (at least not for the MGE / Eaton Ellipse). Can anybody  
remember why we added this in the first place?

Best regards, Arjen
-- 
Please keep list traffic on the list




More information about the Nut-upsdev mailing list