Hi, > > I don't plan to submit any patches to coolscan2.c because that code is > > in my eyes horrible to work with. I also don't plan to submit ls5000.c > > to SANE because apparently SANE still requires that the backend builds > > with ancient compilers. > > I've added ls5000 to sane-backends-extras 1.0.18.8.
Oh, I'll probably have to submit a patch than that prevents coolscan2 from binding the ls5000. johannes -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 190 bytes Desc: This is a digitally signed message part Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20070512/c9047a2b/attachment.pgp From johan...@sipsolutions.net Sat May 12 09:29:22 2007 From: johan...@sipsolutions.net (Johannes Berg) Date: Sat May 12 10:55:09 2007 Subject: [sane-devel] [FYI] new ls5000 backend In-Reply-To: <1178961968.2647.7.ca...@johannes.berg> References: <1178888306.8896.22.ca...@johannes.berg> <871whme7lf....@sonic.technologeek.org> <1178961968.2647.7.ca...@johannes.berg> Message-ID: <1178962162.2647.10.ca...@johannes.berg> 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;