On 2006 20:53:27, Henning Meier-Geinitz wrote: > See Deabin's README.debian and SANE's README.linux. > If adding the user to group "scanner" is not enough, checking if its > ids are in /etc/hotplug/usb/libsane > .usermap, > /etc/sane.d/hotplug/libsane.db or in /etc/udev/libsane.rules may help. > The actual file depends on your distribution.
Thank you for the orientaion. On both computers I simply changed the id in the corresponding line of /etc/sane.d/hotplug/libsane.db from 0664 to 0660 and it worked fine. In case of BenQ 5000 it was also necessary to change the product code from 0x20fc to 0x20f8, acording to the information obtained trough sane-find-scanner, and to insert the firmware 20F8V115 (and not 20F8V116 as idicated in snapscan.sourceforge.net) in /etc/sane.d/sanapscan.conf. Thanks Gustavo Bayer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060117/84b6fb96/attachment.htm From [email protected] Tue Jan 17 16:11:30 2006 From: [email protected] (Johannes Meixner) Date: Tue Jan 17 16:11:39 2006 Subject: [sane-devel] sane-frontends: "array subscript out of range" error Message-ID: <[email protected]> Hello, buf[sizeof(buf)] is always out of range. A customer reported the following out of range problem: --------------------------------------------------------------------------- --- src/xscanimage.c.orig 2006-01-17 16:06:16.000000000 +0100 +++ src/xscanimage.c 2006-01-17 16:32:42.000000000 +0100 @@ -1284,7 +1284,7 @@ { /* We are running in standalone mode */ /* test for pnm formats */ strncpy (testfilename, preferences.filename, sizeof (testfilename)); - testfilename[sizeof (testfilename)] = 0; + testfilename[sizeof (testfilename) - 1] = 0; g_strreverse (testfilename); if (!((!strncmp (testfilename, "mnp.", 4)) || (!strncmp (testfilename, "mgp.", 4)) || --------------------------------------------------------------------------- Kind Regards, Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: [email protected] 90409 Nuernberg, Germany WWW: http://www.suse.de/
