[Nut-upsdev] Supporting APC 5G UPSs
Arjen de Korte
nut+devel at de-korte.org
Fri Jun 25 18:41:26 UTC 2010
Citeren Chris.Collins op apcc.com:
> I'd like to submit a patch to enable NUT to communicate with APC 5G UPSs.
> The current usbhid-ups driver recognises APC UPSs by the Vendor ID and
> Product ID of 0x051D and 0x0002. This needs to be amended with the new
> Product ID of 0x0003.
> (See attached file: apc-hid.patch)
Thanks for the patch.
> Secondly, when Nut polls the UPS via the interrupt channel, these will time
> out, resulting in frequent lost comms. The USB Interrupt channel is being
> reserved in 5G UPSs for a proprietary protocol. In order to enable Nut to
> communicate with the UPS, a poll only configuration is required. The
> details of my ups.conf file are as follows:
> driver = usbhid-ups
> port = auto
> pollonly = 1
The 'pollonly' is a flag, so just listing 'pollonly' here would be
enough (the '= 1' part is not used). Assuming this is important for
this device, we should probably automatically disable the interrupt
pipe, so this is what the revised patch will do upon detecting a 5G UPS.
Best regards, Arjen
Please keep list traffic on the list
More information about the Nut-upsdev