Hi,
     we (Clarisys Informatique) need sane support for Fujitsu 5120
scanner for our customers. We already use many Fujitsu 4120 scanners and
we have recently bought 8 Fujitsu 5120. The 5120 model looks like the
4120 one, so we tried to use it as if it was a 4120 (MODEL_FI4x20). And
it works fine (at least it seems to).

Here's the stupid patch we did in order to get support for Fujitsu 5120
scanners.
Thanks.

Beno?t.

-------------- next part --------------
Index: backend/fujitsu.c
===================================================================
RCS file: /cvsroot/sane/sane-backends/backend/fujitsu.c,v
retrieving revision 1.33
diff -p -u -r1.33 fujitsu.c
--- backend/fujitsu.c   7 Nov 2005 21:20:59 -0000       1.33
+++ backend/fujitsu.c   20 Feb 2006 14:58:43 -0000
@@ -4583,7 +4583,7 @@ modelMatch (const char *product)
     {
       return MODEL_3093;
     }
-  else if (strstr (product, "fi-4120") || strstr (product, "fi-4220"))
+  else if (strstr (product, "fi-4120") || strstr (product, "fi-4220") || 
strstr(product, "fi-5120"))
     {
       return MODEL_FI4x20;
     }

Reply via email to