From cd7e61aef204f57f4af10edae5f2bba9a63754f3 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 16 Jan 2017 12:35:57 +0000 Subject: make readme html --- README.html | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 README.html (limited to 'README.html') diff --git a/README.html b/README.html new file mode 100644 index 0000000..284c11b --- /dev/null +++ b/README.html @@ -0,0 +1,30 @@ +

+This program sets the clock (date and time) on 3ware 9xxx series controllers +from the system clock, so that the BBU installation and test dates are +correct. +

+ +

+I'm not entirely sure what mechanism was intended to do this originally, +the linux driver only synchronizes time of week whilst the system is +running, and I didn't find any code to do this in the 3ware BIOS. +

+ +

+optional argument is the 3ware controller you wist to set the date on +otherwise it assumes /dev/twa0 +

+ +

+The utility only sets the clock if it's wrong by more than 15 seconds. +

+ +
+root@otherthing:~/projects/twa_t/twa_t/src# ./twa_t 
+Controller time is: Sun Jan  1 13:29:27 1970
+Controller time difference is 1484524828.0 seconds
+Setting controller time
+Controller time is: Sun Jan 16 12:29:55 2017
+root@otherthing:~/projects/twa_t/twa_t/src# 
+
+ -- cgit v1.2.3