Hi!<br>100 dpi wroked with next changes:<br><br>--- genesys_gl646.h<br>+++ genesys_gl646.h<br>@@ -555,11 +555,11 @@<br><br> /* HP2400/G2410 motor settings base motor dpi = 600 */<br>
{MOTOR_HP2400, 50, SANE_TRUE , 50, HALF_STEP, SANE_FALSE, SANE_FALSE,
63, 4, 1382, 800, 192, 4905, 337, 0.30, 0.4, 192},<br>
- {MOTOR_HP2400, 100, SANE_TRUE , 100, FULL_STEP, SANE_FALSE,
SANE_TRUE, 63, 120, 8736, 601, 192, 4905, 337, 0.30, 0.4, 192},<br>+
{MOTOR_HP2400, 100, SANE_TRUE , 100, HALF_STEP, SANE_FALSE, SANE_TRUE,
63, 120, 8736, 601, 192, 4905, 337, 0.30, 0.4, 192},<br>
{MOTOR_HP2400, 300, SANE_TRUE , 300, HALF_STEP, SANE_FALSE, SANE_TRUE
, 63, 32, 16703, 2188, 192, 4905, 337, 0.30, 0.4, 192},<br>
{MOTOR_HP2400, 600, SANE_TRUE , 600, FULL_STEP, SANE_FALSE, SANE_TRUE ,
63, 3, 18761, 18761, 192, 4905, 627, 0.30, 0.4, 192},<br>
{MOTOR_HP2400, 50, SANE_FALSE, 50, HALF_STEP, SANE_FALSE,
SANE_FALSE, 63, 4, 1382, 800, 192, 4905, 337, 0.30, 0.4, 192},<br>-
{MOTOR_HP2400, 100, SANE_FALSE, 100, FULL_STEP, SANE_FALSE, SANE_TRUE,
63, 120, 8736, 601, 192, 4905, 337, 0.30, 0.4, 192},<br>
+ {MOTOR_HP2400, 100, SANE_FALSE, 100, HALF_STEP, SANE_FALSE,
SANE_TRUE, 63, 120, 8736, 601, 192, 4905, 337, 0.30, 0.4, 192},<br>
{MOTOR_HP2400, 300, SANE_FALSE, 300, HALF_STEP, SANE_FALSE, SANE_TRUE ,
63, 32, 16703, 2188, 192, 4905, 337, 0.30, 0.4, 192},<br>
{MOTOR_HP2400, 600, SANE_FALSE, 600, FULL_STEP, SANE_FALSE, SANE_TRUE
, 63, 3, 18761, 18761, 192, 4905, 337, 0.30, 0.4, 192},<br><br><br><div class="gmail_quote">2011/1/16 Adrian Glaubitz <span dir="ltr"><<a href="mailto:glaubitz@physik.fu-berlin.de">glaubitz@physik.fu-berlin.de</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br>
<br>
I have come across an "HP ScanJet G2410" scanner (03f0:0a01) at work<br>
which I have connected to my Debian Squeeze box to scan some pages (I<br>
was tired of having to scan under Windows where the scanner usually is<br>
connected at my work place).<br>
<br>
Anyway, since this scanner is not yet fully supported by SANE, I have<br>
decided to test as much as possible and report the results since the<br>
SANE backend listing at [1] still lists the scanner as "Untested".<br>
<br>
Basically, the scanner works perfectly when scanning lineart or<br>
greyscale which is I what I need most of the time to scan<br>
documents. However, only scans with 300 dpi work fine, all other<br>
resolutions either produce scrambled results (50, 100, 600 dpi) or<br>
don't work at all (75, 150, 1200 dpi), error message "Invalid<br>
argument".<br>
<br>
I have made several test scans and uploaded the results into a folder<br>
at the university, please find them here [2]. I am also going to place<br>
a reference scan at 300dpi, color with the Windows software since<br>
scanning color images with SANE results in errorneous colors.<br>
<br>
Since scanning documents with lineart and greyscale at 300dpi works<br>
flawlessly, the status of this scanner should be changed to "Basic".<br>
<br>
Thus:<br>
<br>
Resolution Color Mode Works?<br>
------------------------------------------------<br>
50 line art scrambled output<br>
50 grey scale scrambled ouput<br>
50 color scrambled output<br>
75 line art NO, ("Invalid argument")<br>
75 grey scale NO, ("Invalid argument")<br>
75 color NO, ("Invalid argument")<br>
100 line art scrambled output<br>
100 grey scale scrambled output<br>
100 color scrambled output<br>
150 line art NO, ("Invalid argument")<br>
150 grey scale NO, ("Invalid argument")<br>
150 color NO, ("Invalid argument")<br>
300 line art YES, output OK<br>
300 grey scale YES, output OK<br>
300 color YES, but wrong colors<br>
600 line art scrambled output<br>
600 grey scale scrambled output<br>
600 color NO, scan takes forever<br>
<br>
All scans were made with 8 bit depth. Results were the<br>
same for 16 bit depth.<br>
<br>
I wasn't sure which debug information to provide, so I just<br>
paste the verbose of scanimage and sane-find-scanner. If you<br>
need anything else, please let me know.<br>
<br>
Adrian<br>
<br>
[1] <a href="http://www.sane-project.org/sane-mfgs.html" target="_blank">http://www.sane-project.org/sane-mfgs.html</a><br>
[2] <a href="http://www.fys.uio.no/%7Eadriang/scanjet-g2410/" target="_blank">http://www.fys.uio.no/~adriang/scanjet-g2410/</a><br>
<br>
Other debug output:<br>
<br>
[glaubitz@sulphur:~]$ sane-find-scanner |grep found\ USB<br>
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x0a01 [hp scanjet scanner], chip=GL646_HP?) at libusb:002:015<br>
<br>
[glaubitz@sulphur:~]$ scanimage -vvv | pnmtopng > scanimage_testscan.png<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 href="mailto:sane-devel@lists.alioth.debian.org">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 2549x3510 pixels at 8 bits/pixel<br>
scanimage: acquiring gray frame<br>
scanimage: min/max graylevel value = 0/255<br>
scanimage: read 8946990 bytes in total<br>
Closing device<br>
Calling sane_exit<br>
scanimage: finished<br>
pnmtopng: 255 colors found<br>
<font color="#888888"><br>
--<br>
sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a><br>
Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>
</font></blockquote></div><br>