[sane-devel] canon_pp problem - can't init scanner arg!

Matthew Duggan stauff@guarana.org
Mon, 6 Sep 2004 10:55:23 +1000

On Sun, Sep 05, 2004 at 06:40:14PM -0400, Frank DiPrete wrote:
> On 09/04/04 18:38:14, Frank DiPrete wrote:
> Hello - I have sane-backends running, compiled with libieee1284 and  
> trying to use a canon fb620p scanner without any success.
> FreeBSD 5.2.1 running sane-backends 1.0.12

Ooh, a real use of the FreeBSD port of libieee1284.. cool :)

> Here's the output of scanimage in debug mode:
> thurston# scanimage
> [sanei_debug] Setting debug level of canon_pp to 100.
> [canon_pp] >> sane_init(0xbfbfe69c, 0x80491d0): Canon Parallel SANE  
> Backend $Revision: 1.10 $
> [canon_pp] sane_init: >> ieee1284_find_ports
> [canon_pp] sane_init: 0 << ieee1284_find_ports
> [canon_pp] sane_init: 3 parallel port(s) found.

Hmm.. this is the problem with the FreeBSD port.. it's always just

> [canon_pp] sane_init: ># This is the default port to be used - others  
> will be detected<
> [canon_pp] sane_init: >ieee1284 lpt0<

I haven't ported libieee1284 to use the lpt access stuff in FreeBSD
sorry.. it's just raw IO at the moment.  The port names will be "0x278"
etc.  I don't think lpt supported what I needed at the time I did it and
I never really got back to it.  For that reason you'll probably want to
check if one of the ports it's guessing actually matches your parallel

> [canon_pp] Timeout: Reply 2 (0x0c in 0x1f) - Status = 0x0f
> [canon_pp] Timeout: Reply 2 (0x0c in 0x1f) - Status = 0x0f
> [canon_pp] Timeout: Reply 2 (0x0c in 0x1f) - Status = 0x0f

Hmm.. all three ports are just acting like there's no scanner there at
all.. or maybe even no port.  That makes me think that perhaps the ports
it's guessing are wrong?  Normally I'd expect some sort of reply.  Does
the lamp turn on or anything?  Also, if you have a printer on the
pass-thru port try unplugging it.  They cause trouble for some reason.


Matthew Duggan