[sane-devel] Unique and interesting problem with sane and Canon fb1200s

Kevin J Poorman netalix@yahoo.com
09 Dec 2002 11:31:05 -0500


Good day.

Awhile back with the help of people on this list I got Sane and my
scanner playing nicely together!

Then I stoped needing to scan stuff for a bit and now when I go to scan
with Xsane it starts up just fine, looks like it's all going to work but
when you click on "preview" it says "Failed to start scanner: Operation
not supported" and if you try it again it says "Failed to start scanner:
Device is busy" 

Kooka just fails to do anything when you hit preview and xscanimage
gives the same error that xsane does.

Any ideas? I know the scanner is good (I just used it in winders) 

I looked at the verbose output of xsane and cannon after exporting the
debug level to 128 but there does not seem to be any error messages
contained within. the only thing odd is this:

[canon] << sane_get_parameters
[canon] do_focus: sending GET FILM STATUS
[canon] >> get film status
[canon] >> sense_handler
[canon] canon_sense_handler(3, 0x40508060, 0x80a85b0)
[canon] sense buffer: f0 00 45 00 00 00 00 06 00 00 00 00 20 00 00 00
[canon] sense buffer: Invalid Command Operation Code
[canon] << sense_handler
[canon] << get film status
[canon] do_focus: GET FILM STATUS failed
[canon] attach: sending GET SCAN MODE for scan control conditions
[canon] get scan mode: cmd[4]='0x14'
Segmentation fault

which is what I get when I type just "scanimage"

This is the last block of output from the run of "xsane"
[canon] >> sane_get_parameters
[canon] sane_get_parameters: width='5102', xres='300', mud='600'
[canon] sane_get_parameters: length='7014', yres='300', mud='600'
[canon] sane_get_parameters: pixels_per_line='2551', lines='3507'
[canon] sane_get_parameters: xres='77', yres='77',
pixels_per_line='2551', bytes_per_line='7653', lines='3507'
[canon] << sane_get_parameters
[canon] >> sane_get_parameters
[canon] sane_get_parameters: width='5102', xres='300', mud='600'
[canon] sane_get_parameters: length='7014', yres='300', mud='600'
[canon] sane_get_parameters: pixels_per_line='2551', lines='3507'
[canon] sane_get_parameters: xres='77', yres='77',
pixels_per_line='2551', bytes_per_line='7653', lines='3507'
[canon] << sane_get_parameters

Btw i'm using Debians sane packages:
ii  libsane        1.0.9-3        API library for scanners
ii  libsane-dev    1.0.9-3        API development library for scanners
ii  sane           1.0.9-3        Scanner graphical frontends
ii  sane-utils     1.0.9-3        API library for scanners -- utilities
ii  xsane          0.89-3         A gtk-based X11 frontend for SANE 
ii  xsane-common   0.89-3         A gtk based X11 frontend for SANE

Any ideas?

-- 
Kevin J Poorman <netalix@yahoo.com>