<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 11/12/2012 11:13, niky 45 wrote:<br>
</div>
<blockquote
cite="mid:CA+GN3FQPOW1bCY3LfDXvJzYJ4wRMiEV4KVZNT+ZrVvXKVDH+Xg@mail.gmail.com"
type="cite">so, i need to make this scan work for my library
project. but it is giving me so many problems. <br>
<div class="gmail_quote">i'll attach you what it does, and the
original image. <br>
<a moz-do-not-send="true" href="http://ompldr.org/vZ25mdw">http://ompldr.org/vZ25mdw</a>
(note it's converted to jpg so you can see it online. te
commandline was <i>convert -quality 70 001.pnm 001.jpg</i>)<br>
<br>
console output: ------------------------------------------<br>
>>> scanimage -d genesys:libusb:002:003 --mode Color
--format pnm --swcrop=yes --resolution 200 -v >001.pnm<br>
[genesys] WARNING: Your scanner is not fully supported or at
least <br>
[genesys] had only limited testing. Please be careful
and <br>
[genesys] report any failure/success to <br>
[genesys] <a moz-do-not-send="true"
href="mailto:sane-devel@lists.alioth.debian.org"
target="_blank">sane-devel@lists.alioth.debian.org</a>. Please
provide as many<br>
[genesys] details as possible, e.g. the exact name of
your<br>
[genesys] scanner and what does (not) work.<br>
scanimage: scanning image of size 1622x2337 pixels at 24
bits/pixel<br>
scanimage: acquiring RGB frame<br>
scanimage: min/max graylevel value = 0/255<br>
scanimage: read 11371842 bytes in total<br>
------------------------------------------------------<br>
<br>
and the second one is a (low quality) photo of it (taken with my
cell phone). keep in mind it gives very little contrast - the
light part is actually white. <br>
<a moz-do-not-send="true" href="http://ompldr.org/vZ25mcg">http://ompldr.org/vZ25mcg</a><br>
<br>
i have been looking around, and i found that channels are
screwed up. i mean, if you open the scanned image with gimp, and
separate the channels, you can see the red one is OK, but blue
and green are not good. i mean, too many lights and shadows. (i
can show you another image if it's not clear with this one)<br>
<br>
i have two of those scanners, and both of them do the same
thing. i have tried with several computers, and got same
results. however, with other scanners, scanimage works fine. the
same aplies for xsane. <br>
<br>
i don't mind getting my hands into the driver (genesys_gl841),
BUT, i don't know how to use usbsnoopy under windows (i tried,
but it did nothing), and even if it worked, i wouldn't know what
to do with that data. <br>
<br>
also, i found this: <a moz-do-not-send="true"
href="http://old.nabble.com/Backend-for-plustek-Opticbook-3600-td26641970.html"
target="_blank">http://old.nabble.com/Backend-for-plustek-Opticbook-3600-td26641970.html</a><br>
but i understood very little if anything. <br>
<br>
so, i need to get this scanner working, driver is doing weird
things (under windows, scanners work as expected), and i don't
know what to do with it. <br>
<br>
PS: i tried to activate debugging, but scanimage wouldn't
accept a --debug option, and setting just the debug vars did
nothing (SANE_DEBUG=255 and so on). i also tried to recompile
the driver to activate debug support (i'm working with packages
from debian wheezy's repos), but it told me this:<br>
--------------------------------------------<br>
[10:56:12] - [<a class="moz-txt-link-abbreviated" href="mailto:root@vivo:/usr/src/sane-backends-1.0.22">root@vivo:/usr/src/sane-backends-1.0.22</a>]<br>
713 >>> command ls -F<br>
acinclude.m4 ChangeLog-1.0.14 ChangeLog-1.0.4
configure* japi/ po/ README.linux
sanei/<br>
aclocal.m4 ChangeLog-1.0.15 ChangeLog-1.0.5 <a
moz-do-not-send="true" href="http://configure.in"
target="_blank">configure.in</a> lib/
PROBLEMS README.netbsd testsuite/<br>
AUTHORS ChangeLog-1.0.16 ChangeLog-1.0.6
COPYING LICENSE PROJECTS README.openbsd
tools/<br>
backend/ ChangeLog-1.0.17 ChangeLog-1.0.7
debian/ ltmain.sh* README README.os2<br>
ChangeLog ChangeLog-1.0.18 ChangeLog-1.0.8
depcomp* m4/ README.aix README.solaris<br>
ChangeLog-1.0.0 ChangeLog-1.0.19 ChangeLog-1.0.9
doc/ Makefile.am README.beos README.unixware2<br>
ChangeLog-1.0.1 ChangeLog-1.0.2 compile*
frontend/ Makefile.in README.darwin README.unixware7<br>
ChangeLog-1.0.10 ChangeLog-1.0.20 config.guess*
include/ missing* README.djpeg README.windows<br>
ChangeLog-1.0.12 ChangeLog-1.0.21 config.log
INSTALL mkinstalldirs* README.freebsd README.zeta<br>
ChangeLog-1.0.13 ChangeLog-1.0.3 config.sub*
install-sh* NEWS README.hp-ux sane-backends.lsm<br>
<br>
[10:56:28] - [<a class="moz-txt-link-abbreviated" href="mailto:root@vivo:/usr/src/sane-backends-1.0.22">root@vivo:/usr/src/sane-backends-1.0.22</a>]<br>
714 >>> . configure<br>
bash: WARNING: you should use --build, --host, --target<br>
bash: WARNING: you should use --build, --host, --target<br>
bash: error: cannot find install-sh, install.sh, or shtool in
"/bin" "/bin/.." "/bin/../.."<br>
------------------------------------------------------------<br>
i have installed build deps through aptitude. <br>
<br>
<br>
PS2: i know my english is not perfect. sorry for that. i really
do what i can. <br>
<span class="HOEnZb"><font color="#888888"><br clear="all">
<br>
-- <br>
>> niky45 <<<br>
<br>
<br>
<br>
</font></span></div>
<br>
<br clear="all">
<br>
-- <br>
>> niky45 <<<br>
<br>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
Hello,<br>
<br>
if enabling debug traces with:<br>
<br>
export SANE_DEBUG_GENESYS=255<br>
export SANE_DEBUG_GENESYS_LOW=255<br>
export SANE_DEBUG_GENESYS_GL841=255<br>
<br>
before running a color preview with:<br>
scanimage -d genesys --clear-calibration --mode Color
2>preview.log >preview.pnm<br>
<br>
<br>
doesn't work, ie the preview.log file is empty, you may consider
recompiling SANE.<br>
When running the 'configure' command, be sure to 'cd' to the top
directory of the sources and run ./configure , so you get sure the
'configure' run is the one from SANE, not another one in the PATH.<br>
Although OpticBook 3600 support is in SANE 1.0.22, it would be
better to compile SANE 1.0.23. You don't have to install the
compiled version to test it. To test you may preload the freshly
compiled backend by doing:<br>
<br>
export LD_PRELOAD=.libs/libsane-genesys.so<br>
<br>
and run scanimage, xsane or whatever frontend from the 'backend'
subdirectory.<br>
<br>
Regards,<br>
Stef<br>
<br>
<br>
<br>
</body>
</html>