[Nut-upsdev] NUT: new blazer_usb subdriver proposal

Aurélien Grenotton agrenott at gmail.com
Sat May 14 12:59:29 UTC 2011


Hello,

I've recently bought two cheap UPS (http://www.ldlc.com/fiche/PB00109242.html).
They're not supported natively by NUT (even though the monitoring
software is UPSilon from megatec).
After some investigation, they almost use the krauler-type
communication already supported in the blazer_usb driver. However, the
UPS won't reply if the language ID is not 0x4095...
Therefore, I cloned the krauler_command, adding the language ID and
unicode to ASCII conversion (taken from libusb). I also enhanced the
error!retry mechanism, as the UPS fails to reply quite often.

Please see the attached patch file.

Any comment would me more than welcome.

Rgds,
Aurélien
-------------- section suivante --------------
A non-text attachment was scrubbed...
Name: ldlc.patch
Type: application/octet-stream
Size: 2856 bytes
Desc: non disponible
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20110514/6917905b/attachment.obj>


More information about the Nut-upsdev mailing list