[sane-devel] Fwd: "sane_read: Device busy" with Canon PIXMA MX310 and sane 1.0.20-4ubuntu3

Nicolas Martin nicolas0martin at gmail.com
Fri Dec 4 21:20:48 UTC 2009


Le jeudi 03 décembre 2009 à 23:39 +0100, Rogier Eggers a écrit :

> Gentlemen,
> 
> With the help of Wade and Chris, I could successfully compile sane
> with pthread. However, the behaviour is unfortunately still the same
> as with the ubuntu binary (see log).


Actually, not exactly.
We are on the good way, as the first change fixed a first bug with
pthread in the pixma backend, 
but it looks there's another one ongoing ;-(

Here is the end of scan for sane-backend 1.0.20 (in Ubuntu):

[pixma] IN   T=30.206 len=16
[pixma]  00000000:06 06 00 00 00 00 00 00  20 00 00 00 00 00 00 00 
[pixma] 
[pixma] pixma_read_image():cancelled by software
[pixma] Reader task terminated: ECANCELED
scanimage: min/max graylevel value = 115/255
scanimage: read 1683840 bytes in total
Scanned page 1. (scanner status = 5)
Scanning page 2

And here, with latest Sane git including the first change:

[pixma] IN   T=50.771 len=16
[pixma]  00000000:06 06 00 00 00 00 00 00  28 00 00 00 00 00 00 00 
[pixma] 
[pixma] pixma_read_image():completed
[pixma] Reader task terminated
scanimage: min/max graylevel value = 146/255
scanimage: read 1683840 bytes in total
Scanned page 1. (scanner status = 5)
Scanning page 2

The end sequence is now correct, but there's still something to fix in
the backend (state flag not reset to idle)
and I need to look now what's going on here.

Will keep you posted

Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20091204/f1d30c6b/attachment.htm>


More information about the sane-devel mailing list