commit 6f5cd409f808ba05e6aae125c57d23c360bd1764
Author: Charles Lepple <clepple+nut@gmail.com>
Date:   Mon Feb 10 23:43:02 2014 -0500

    bestfcom: allow for variable whitespace in FE Model string
    
    Issue reported by Nicholas Ritter:
    
    http://news.gmane.org/find-root.php?message_id=F35E4B47EA6E2441816E72A38F6E852EDAC02D3F%40mailms1.ds.atv

diff --git a/drivers/bestfcom.c b/drivers/bestfcom.c
index 54ea93e..71c2996 100644
--- a/drivers/bestfcom.c
+++ b/drivers/bestfcom.c
@@ -45,7 +45,7 @@
 #include "serial.h"
 
 #define DRIVER_NAME	"Best Ferrups/Fortress driver"
-#define DRIVER_VERSION	"0.12"
+#define DRIVER_VERSION	"0.13"
 
 /* driver description structure */
 upsdrv_info_t upsdrv_info = {
@@ -527,7 +527,7 @@ Released: 08/01/1995
 
 void upsdrv_init_nofc(void)
 {
-	char tmp[256], rstring[1024];
+	char tmp[256], rstring[1024], *model;
 
 	/* This is a Best UPS	
 	 * Set initial values for old Fortress???
@@ -576,11 +576,19 @@ void upsdrv_init_nofc(void)
 			fc.watts = 3000;
 		}
 	} else
-	if (strstr(rstring, "Model:	   FE")
-	    || strstr(rstring, "Model:    FE")){
-		fc.model = FExxxx;
-		fc.type = FERRUPS;
-		snprintf(fc.name, sizeof(fc.name), "%s", "Ferrups");
+	if ((model = strstr(rstring, "Model:"))) {
+		model += sizeof("Model:");
+		while(*model == ' ' || *model == '\t') {
+			model++;
+		}
+		if(strncmp(model, "FE", 2)) {
+			fc.model = FExxxx;
+			fc.type = FERRUPS;
+			/* fc.va and fc.watts are detected below */
+			snprintf(fc.name, sizeof(fc.name), "%s", "Ferrups");
+		} else {
+			upsdebugx(2, "Found 'Model:' string, but unknown model name prefix: '%s'", model);
+		}
 	} else
 	if (strlen(rstring) < 300 ) {
 		/* How does the old Fortress respond to this? */
