[sane-devel] [FYI] new ls5000 backend
Johannes Berg
johannes at sipsolutions.net
Sat May 12 09:29:22 UTC 2007
On Sat, 2007-05-12 at 11:26 +0200, Johannes Berg wrote:
> Oh, I'll probably have to submit a patch than that prevents coolscan2
> from binding the ls5000.
This should work. It doesn't prevent it from claiming the USB interface
but then queries the scanner and if it's a LS-5000 gives up, that
*should* give ls5000 a chance to be queried as the next scanner if I
correctly understand how querying works.
johannes
--- sane-backends-1.0.18.orig/backend/coolscan2.c 2007-05-12 11:26:31.000000000 +0200
+++ sane-backends-1.0.18/backend/coolscan2.c 2007-05-12 11:28:00.000000000 +0200
@@ -1791,8 +1791,6 @@ cs2_open (const char *device, cs2_interf
s->type = CS2_TYPE_LS2000;
else if (!strncmp (s->product_string, "LS-4000 ED ", 16))
s->type = CS2_TYPE_LS4000;
- else if (!strncmp (s->product_string, "LS-5000 ED ", 16))
- s->type = CS2_TYPE_LS5000;
else if (!strncmp (s->product_string, "LS-8000 ED ", 16))
s->type = CS2_TYPE_LS8000;
More information about the sane-devel
mailing list