[Nut-upsdev] NUT: new blazer_usb subdriver proposal

Arnaud Quette aquette.dev at gmail.com
Fri May 27 13:02:38 UTC 2011


Hi Arjen,

2011/5/20 Arjen de Korte <nut+devel at de-korte.org>

> Citeren Aurélien Grenotton <agrenott at gmail.com>:
>
>
>  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).
>>
>
> Thanks for this patch.


apart if I've missed something, I've not seen this 'upsilon' patch (well, a
reworked version) make its way in the trunk...
what about my idea to just use krauler with a param to switch langID?

have you something planned for 2.6.1, or will it wait a bit more?


>  I also enhanced the error!retry mechanism, as the UPS fails to reply quite
>> often.
>>
>
> This will put you at risk for (much more severe) timeout problems with the
> upsd server, so this part of the patch will not be included. But since this
> seems to be a problem for other devices as well, there is some merit in the
> problem you're trying to fix. We probably shouldn't complain in the syslog
> for intermittent problems and only report once we have reached the MAXTRIES
> limit. This needs to be fixed in the 'blazer.c' base driver (which I did).
>

I've seen that one.

cheers,
Arnaud
-- 
Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20110527/3d99b2ba/attachment.html>


More information about the Nut-upsdev mailing list