[sane-devel] Epson V370 Photo scanner does not work

2016-03-08 Thread szukw000
utils/iscan-registry: STATEDIR=/usr/var/lib/iscan /etc/sane.d/epkowa.conf: usb Calling 'iscan-registry --add interpreter usb 0x04b8 0x014a /usr/lib64/iscan/libiscan-plugin-perfection-v370 /usr/share/iscan/esfwdd.bin' created the file '/usr/var/lib/iscan/interpreter'. Now the scanner works. T

Re: [sane-devel] sane_read() parameters

2016-03-08 Thread ky gcp
Thank you for such quick response, allan. Do you mean to say that the value of maxlen is determined by the frontend? On xsane application, maxlen value is 8192 when using acquire preview and then value of maxlen is 65536 when using scan function. Our external backend currently reads images by row o

Re: [sane-devel] Epson V370 Photo scanner does not work

2016-03-08 Thread Olaf Meeuwissen
Hi, szukw...@arcor.de writes: > When I tested the scanner on WIN7 I found that the USB-cable > seemed to be loose. I fixed the cable. The scanner worked now. > > Then I returned to LINUX. Thanks for the log. It looks very much like something is wrong with the registration of the interpreter. W

Re: [sane-devel] sane_read() parameters

2016-03-08 Thread m. allan noah
Because different frontends have different requirements. Some try to save memory, some try to maximize speed by using large buffers, some try to fill a network packet exactly. You can (and should expect) to get any value of maxlen from 1 byte to perhaps a 1M, maybe more. allan On Tue, Mar 8, 2016

Re: [sane-devel] sane_read() parameters

2016-03-08 Thread ky gcp
why does the value of maxlen vary from various frontends? On Tue, Mar 8, 2016 at 9:06 PM, m. allan noah wrote: > maxlen is provided by the caller of the function, to tell the backend > how much memory the caller has allocated for image data. > > allan > > On Tue, Mar 8, 2016 at 3:09 AM, ky gcp

[sane-devel] Epson V370 Photo scanner does not work

2016-03-08 Thread szukw000
When I tested the scanner on WIN7 I found that the USB-cable seemed to be loose. I fixed the cable. The scanner worked now. Then I returned to LINUX. epkowa.c: = name = rewrite_name vendor(Epson) name(epkowa:usb:002:004) returns name(Epson (unknown model) [epkowa:usb:002:004]) stat

Re: [sane-devel] Epson V370 Photo scanner does not work

2016-03-08 Thread Olaf Meeuwissen
Hi, szukw...@arcor.de writes: > I use linux-4.4.3 (SLACKWARE, 64-Bit), sane-backends-1.0.25. Slackware is not officially supported and I don't think there has been any testing on 4.x kernels. The list of "supported" distributions has aged a lot (all distributions seem from 5 or 6 years ago). >

Re: [sane-devel] sane_read() parameters

2016-03-08 Thread m. allan noah
maxlen is provided by the caller of the function, to tell the backend how much memory the caller has allocated for image data. allan On Tue, Mar 8, 2016 at 3:09 AM, ky gcp wrote: > hi, > > how is the argument maxlen determined in sane_read() function? > > SANE_Status sane_read (SANE_Handle h, SA

[sane-devel] sane_read() parameters

2016-03-08 Thread ky gcp
hi, how is the argument maxlen determined in sane_read() function? SANE_Status sane_read (SANE_Handle h, SANE_Byte * buf, SANE_Int maxlen, SANE_Int * len); Thanks for your help. -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinf