<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.18.3">
</HEAD>
<BODY>
Le jeudi 03 d&#233;cembre 2009 &#224; 23:39 +0100, Rogier Eggers a &#233;crit :<BR>
<BLOCKQUOTE TYPE=CITE>
    Gentlemen,<BR>
    <BR>
    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).<BR>
</BLOCKQUOTE>
<BR>
Actually, not exactly.<BR>
We are on the good way, as the first change fixed a first bug with pthread in the pixma backend, <BR>
but it looks there's another one ongoing ;-(<BR>
<BR>
Here is the end of scan for sane-backend 1.0.20 (in Ubuntu):<BR>
<BR>
[pixma] IN&nbsp;&nbsp; T=30.206 len=16<BR>
[pixma]&nbsp; 00000000:06 06 00 00 00 00 00 00&nbsp; 20 00 00 00 00 00 00 00 <BR>
[pixma] <BR>
<FONT COLOR="#ff0000">[pixma] pixma_read_image():</FONT><FONT COLOR="#ff0000"><B>cancelled by software</B></FONT><BR>
<FONT COLOR="#ff0000">[pixma] Reader task terminated: </FONT><FONT COLOR="#ff0000"><B>ECANCELED</B></FONT><BR>
scanimage: min/max graylevel value = 115/255<BR>
scanimage: read 1683840 bytes in total<BR>
Scanned page 1. (scanner status = 5)<BR>
Scanning page 2<BR>
<BR>
And here, with latest Sane git including the first change:<BR>
<BR>
[pixma] IN&nbsp;&nbsp; T=50.771 len=16<BR>
[pixma]&nbsp; 00000000:06 06 00 00 00 00 00 00&nbsp; 28 00 00 00 00 00 00 00 <BR>
[pixma] <BR>
<FONT COLOR="#ff0000">[pixma] pixma_read_image()</FONT><FONT COLOR="#ff0000"><B>:completed</B></FONT><BR>
<FONT COLOR="#ff0000">[pixma] Reader task terminated</FONT><BR>
scanimage: min/max graylevel value = 146/255<BR>
scanimage: read 1683840 bytes in total<BR>
Scanned page 1. (scanner status = 5)<BR>
Scanning page 2<BR>
<BR>
The end sequence is now correct, but there's still something to fix in the backend (state flag not reset to idle)<BR>
and I need to look now what's going on here.<BR>
<BR>
Will keep you posted<BR>
<BR>
Nicolas
</BODY>
</HTML>