I took the modifications from doug reynolds, ported them to 2.0.4, and tried to make it more generic such that it would work for all old devices as well as the new CP1200AVR. I don't necessarily like the implementation because I don't like global vars, but it was what I could come up with without knowing the architecture better. Hopefully this will get included into the next version of NUT. Comments and suggestions welcome. Rob -------------- next part -------------- A non-text attachment was scrubbed... Name: cpsups.c Type: text/x-csrc Size: 12153 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20060901/23a2247f/cpsups-0001.c