[sane-devel] canon_pp problem - can't init scanner arg! [fdiprete@comcast.net]

Frank DiPrete fdiprete@comcast.net
Sun, 5 Sep 2004 18:40:14 -0400


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

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.
[canon_pp] sane_init: port 0x278
[canon_pp] >> init_device
[canon_pp] init_device: [configuring options]
[canon_pp] init_device: configuring opt: num_options
[canon_pp] init_device: configuring opt: resolution
[canon_pp] init_device: configuring opt: colour mode
[canon_pp] init_device: configuring opt: bit depth
[canon_pp] init_device: configuring opt: tl-x
[canon_pp] init_device: configuring opt: tl-y
[canon_pp] init_device: configuring opt: br-x
[canon_pp] init_device: configuring opt: br-y
[canon_pp] init_device: configuring opt: calibrate
[canon_pp] init_device: done opts
[canon_pp] << init_device
[canon_pp] sane_init: port 0x378
[canon_pp] >> init_device
[canon_pp] init_device: [configuring options]
[canon_pp] init_device: configuring opt: num_options
[canon_pp] init_device: configuring opt: resolution
[canon_pp] init_device: configuring opt: colour mode
[canon_pp] init_device: configuring opt: bit depth
[canon_pp] init_device: configuring opt: tl-x
[canon_pp] init_device: configuring opt: tl-y
[canon_pp] init_device: configuring opt: br-x
[canon_pp] init_device: configuring opt: br-y
[canon_pp] init_device: configuring opt: calibrate
[canon_pp] init_device: done opts
[canon_pp] << init_device
[canon_pp] sane_init: port 0x3bc
[canon_pp] >> init_device
[canon_pp] init_device: [configuring options]
[canon_pp] init_device: configuring opt: num_options
[canon_pp] init_device: configuring opt: resolution
[canon_pp] init_device: configuring opt: colour mode
[canon_pp] init_device: configuring opt: bit depth
[canon_pp] init_device: configuring opt: tl-x
[canon_pp] init_device: configuring opt: tl-y
[canon_pp] init_device: configuring opt: br-x
[canon_pp] init_device: configuring opt: br-y
[canon_pp] init_device: configuring opt: calibrate
[canon_pp] init_device: done opts
[canon_pp] << init_device
[canon_pp] sane_init: ># Define which port to use if one isn't  
specified - you should only have<
[canon_pp] sane_init: ># one of these lines!<
[canon_pp] sane_init: ># This is the default port to be used - others  
will be detected<
[canon_pp] sane_init: >ieee1284 lpt0<
[canon_pp] sane_init: Successfully parsed default scanner.
[canon_pp] sane_init: ><
[canon_pp] sane_init: ><
[canon_pp] sane_init: ># Define the location of our pixel weight file,  
can begin with ~/ if needed.<
[canon_pp] sane_init: ># You can have as many of these as you like -  
lines with ports that don't exist<
[canon_pp] sane_init: ><
[canon_pp] sane_init: ># will be ignored.<
[canon_pp] sane_init: >#<
[canon_pp] sane_init: ># Parameters are:<
[canon_pp] sane_init: ># calibrate /path/to/calibration-file port-name<
[canon_pp] sane_init: >#<
[canon_pp] sane_init: ># The format of port-name is dependant on your  
OS version.<
[canon_pp] sane_init: >#<
[canon_pp] sane_init: ># If a file isn't speficied, the default name  
will be<
[canon_pp] sane_init: ># ~/.sane/canon_pp-calibration-[port-name]<
[canon_pp] sane_init: ><
[canon_pp] sane_init: >calibrate ~/.sane/canon_pp-calibration-pp0 lpt0<
[canon_pp] sane_init: calibrate line, calibrate ~/.sane/canon_pp- 
calibration-pp0 lpt0
[canon_pp] sane_init: calibrate line is for unknown port!
[canon_pp] sane_init: ><
[canon_pp] sane_init: ># calibrate /etc/sane/my_calibration parport1<
[canon_pp] sane_init: ><
[canon_pp] sane_init: ><
[canon_pp] sane_init: ># Enable the next line if you're having trouble  
with ECP mode such as I/O<
[canon_pp] sane_init: ># errors.  Nibble mode is slower, but more  
reliable.<
[canon_pp] sane_init: ><
[canon_pp] sane_init: >force_nibble<
[canon_pp] sane_init: force_nibble requested.
[canon_pp] sane_init: ><
[canon_pp] sane_init: ># Set a default initialisation mode for each  
port.  Valid modes are:<
[canon_pp] sane_init: ># AUTO           (attempts to automatically  
detect by trying both methods)<
[canon_pp] sane_init: ># FB620P (10101010 style.. also works for  
FB320P)<
[canon_pp] sane_init: ># FB630P (11001100 style.. also works for  
FB330P, N340P, N640P)<
[canon_pp] sane_init: ><
[canon_pp] sane_init: >#init_mode AUTO parport0<
[canon_pp] sane_init: >init_mode FB620P lpt0<
[canon_pp] sane_init: init_mode line is for unknown port!
[canon_pp] sane_init: ># init_mode FB630P parport0<
[canon_pp] detect_mode: Opening port 0x3bc
[canon_pp] detect_mode: Claiming port.
[canon_pp] detect_mode: Port supports ECP-S.
[canon_pp] detect_mode: Using ECP-S Mode
[canon_pp] detect_mode: Nibble mode force in effect.
[canon_pp] sane_init: >> initialise
[canon_pp] Scanner not ready (0xf). Attempting to reset...
[canon_pp] Timeout: Reset 2 response 1 (0x07 in 0x1f) - Status = 0x0f
[canon_pp] Timeout: Scanner wakeup reply 1 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 2 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 1 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 2 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 1 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 2 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 1 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 2 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 1 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Reply 2 (0x0c in 0x1f) - Status = 0x0f
[canon_pp] initialise: could not wake scanner
[canon_pp] sane_init: << 1 initialise
[canon_pp] sane_init: Couldn't contact scanner on port 0x3bc. Probably  
no scanner there?
[canon_pp] detect_mode: Opening port 0x378
[canon_pp] detect_mode: Claiming port.
[canon_pp] detect_mode: Port supports ECP-S.
[canon_pp] detect_mode: Using ECP-S Mode
[canon_pp] detect_mode: Nibble mode force in effect.
[canon_pp] sane_init: >> initialise
[canon_pp] Scanner not ready (0xf). Attempting to reset...
[canon_pp] Timeout: Reset 2 response 1 (0x07 in 0x1f) - Status = 0x0f
[canon_pp] Timeout: Scanner wakeup reply 1 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 2 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 1 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 2 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 1 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 2 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 1 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 2 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 1 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Reply 2 (0x0c in 0x1f) - Status = 0x0f
[canon_pp] initialise: could not wake scanner
[canon_pp] sane_init: << 1 initialise
[canon_pp] sane_init: Couldn't contact scanner on port 0x378. Probably  
no scanner there?
[canon_pp] detect_mode: Opening port 0x278
[canon_pp] detect_mode: Claiming port.
[canon_pp] detect_mode: Port supports ECP-S.
[canon_pp] detect_mode: Using ECP-S Mode
[canon_pp] detect_mode: Nibble mode force in effect.
[canon_pp] sane_init: >> initialise
[canon_pp] Scanner not ready (0xf). Attempting to reset...
[canon_pp] Timeout: Reset 2 response 1 (0x07 in 0x1f) - Status = 0x0f
[canon_pp] Timeout: Scanner wakeup reply 1 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 2 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 1 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 2 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 1 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 2 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 1 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 2 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Scanner wakeup reply 1 (0x03 in 0x1f) - Status =  
0x0f
[canon_pp] Timeout: Reply 2 (0x0c in 0x1f) - Status = 0x0f
[canon_pp] initialise: could not wake scanner
[canon_pp] sane_init: << 1 initialise
[canon_pp] sane_init: Couldn't contact scanner on port 0x278. Probably  
no scanner there?
[canon_pp] << sane_init
[canon_pp] >> sane_get_devices (0xbfbfe6d8, 0)
[canon_pp] << sane_get_devices
scanimage: no SANE devices found
[canon_pp] >> sane_exit
[canon_pp] << sane_exit


-- 
sane-standard mailing list: sane-standard@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-standard
Unsubscribe: Send mail with subject "unsubscribe your_password"
            to  sane-standard-request@lists.alioth.debian.org