[sane-devel] scanimage OK, but problems with xsane

Paul Bartholdi Paul.Bartholdi at unige.ch
Sat Mar 7 18:12:35 UTC 2009


Hello,

I have a Canon Pixma MP970 connected via ethernet. On the other side, I use
a Sony Vaio with Ubuntu 8.10 and the latest csv sane.

scanimage -L , scanimage -T and scanimage pixma > Z.raw all work correctly.
No visible problem (SANE_DEBUG_PIXMA=10).

Now, when I try xsane, the scanner is found  etc, but I get the  following
problems:

- a red dot left of Preview on the Oreview window.
- when I pusj the <Preview> button, xsane hangs, no cancel works.
- when I push the <scan> button, the hardware moves correctly, lamps on etc.
but after the scan, xsane hangs again, every things frozen. Apparently no
data have been transmitted.

I guess I have a problem of connections between the various parts of xsane.

Here i a short sample of the DEBUG output:

[pixma] pixma_open(): Canon Pixma MP970
[pixma] sanei_bjnp_open(bjnp://192.168.1.22:8612, -1228757893):
[pixma] bjnp_set_timeout(1000):
[pixma] bjnp_write_bulk(4, bufferptr, 16):
[pixma] OUT  T=13.421 len=16
[pixma]  00000000:f3 20 00 00 00 00 00 00  00 00 00 00 00 00 00 10
[pixma]
[pixma] bjnp_set_timeout(1000):
[pixma] bjnp_read_bulk(4, bufferptr, 18)
[pixma] IN   T=13.429 len=24
[pixma]  00000000:06 06 00 00 00 00 00 00  05 00 00 00 00 03 00 02
[pixma]  00000010:00 00 00 01 00 00 00 f5
[pixma]
[pixma] Current status: paper=0 cal=0 lamp=2 busy=0
[pixma] bjnp_set_timeout(1000):
[pixma] bjnp_read_int(4, bufferptr, 16):
[pixma] sanei_bjnp_read_int: no data received
[pixma] bjnp_set_timeout(1000):
[pixma] bjnp_write_bulk(4, bufferptr, 16):
[pixma] OUT  T=21.442 len=16
[pixma]  00000000:d5 20 00 01 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]
[pixma] bjnp_set_timeout(1000):
[pixma] bjnp_read_bulk(4, bufferptr, 8)
[pixma] IN   T=21.446 len=8
[pixma]  00000000:06 06 00 00 00 00 00 00
[pixma]
[pixma] sanei_bjnp_deactivate (4)

(xsane:24892): Gtk-WARNING **: GtkSpinButton: setting an adjustment with
non-zero page size is deprecated

strace -f gives 25000 lines...  nothing easily interpreted from me. What
should I look for on the trace?

Any hint is welcomed!    Thanks,     Paul

PS Should I attach the strace file?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20090307/5bac06f7/attachment.htm 


More information about the sane-devel mailing list