[sane-devel] Canon LiDE 210 and grinding noises

Michael raselmsh at hotmail.com
Wed Jul 29 20:08:29 UTC 2015


Michael <raselmsh <at> hotmail.com> writes:
> John Weber <jweber53 <at> gmail.com> writes:
> > I have similar problems with my Canon LIDE 220. [...] Bottom line is I get
> it to  work very well using USB3 by setting the environment variable
> > 
> > SANE_DEBUG_GENESYS_LOW=7
> [...]
> > On 07/10/2015 03:56 AM, Michael wrote:
> > > Michael writes:
> > >> I was wondering if anyone can help me regarding problems using my
> > >> scanner, a CanonLiDE 210 [..] it usually aborts with a grinding
> > > noise and I have to disconnect the scanner.
> [...]

This works when I set SANE_DEBUG_GENESYS_LOW=7 but not when I set
SANE_DEBUG_GENESYS_LOW=6.  Diff-ing the output, I see in particular:

 [genesys_low] sanei_genesys_read_feed_steps
+[genesys_low] sanei_genesys_read_hregister(0x108)=0x00
+[genesys_low] sanei_genesys_read_hregister(0x109)=0x00
+[genesys_low] sanei_genesys_read_hregister(0x10a)=0x4c
 [genesys_low] sanei_genesys_read_feed_steps: 76 steps
-[genesys_low] sanei_genesys_read_hregister (0x101): failed while reading
register: Invalid argument
-[genesys_low] sanei_genesys_test_buffer_empty: failed to read buffer
status: Invalid argument

When I run simple-scan in the debugger (without SANE_DEBUG_GENESYS_LOW set),
put a breakpoint on sanei_genesys_test_buffer_empty() and simply continue it
immediately I am able to scan.  So proably indeed a timing problem.

Regards,

Michael




More information about the sane-devel mailing list