1 Technical notes on version 3.9.7
7 Changes submitted this submission:
8 - moved some device specific fields previously in
9 the UPSINFO structure into the driver_internal_data
10 location (defined structures for USB, APCSMART, and
12 - Added "debounce" code to wait 6 seconds between issuing
13 the "Power problem detected" message and the "Power failure"
14 message. This will prevent annoying messages for short
15 power interruptions. The old 3.8.2 code worked this way
16 because we previously blocked on a select() for 5 seconds.
17 This no longer worked in 3.9.x because I changed to a slow
18 select() of 60 seconds, and a fast select() of 1 second
19 after any power problem.
20 - I cleaned up the apcstatus.c code that was referencing the
21 ioctl bits (and so removed the #warning message). In the
22 process, I did a bit of cleanup of simple signalling code.
23 When we switch to using the Status word, we will be able
24 to simplify a lot of code!
25 - Enhancements to the document (ANNOY documentation,
26 runtime calibration documentation)
27 - Make USB driver detect different UPS and reset
29 - Increase number of events that are saved and
30 reported from 10 to 50.
31 - Modified USB code to signal that the USB connection was
32 lost only after 2 retrys of 5 seconds each. This should
33 reduce the noise level a bit.