[sane-devel] Imageclass d530

Nate Fuhriman nfuhriman at utahpreparation.com
Tue Dec 17 20:30:43 UTC 2013


still not working. The attached was taken with all patches applied.

-- 
Nate Fuhriman
Utah Preparation

http://www.utahpreparation.com
cell 801-787-3405
office 888-551-0338
On Tue, Dec 17, 2013 at 07:49:37PM +0100, Rolf Bensch wrote:
> Hi Nate,
> 
> I found 2 possible problems:
> (1) It seems that the timeout isn't working. There's a patch for
> pixma_common.c.
> (2) The Windows driver sends a status request between send scan
> parameters and request image block. There's a patch for pixma_imageclass.c.
> 
> Please try the patches one by one in the order shown above. If this
> doesn't help, please create pixma.log again and an additional log file
> with wireshark at the same time.
> 
> Cheers,
> Rolf
> 
> 
> Am 17.12.2013 18:13, schrieb Nate Fuhriman:
> > still has issues. pixma.log attached.
> > 

> --- ./pixma_common.c	2013-12-17 19:20:17.000000000 +0100
> +++ ../sane-backends/backend/pixma_common.c	2013-12-17 19:20:28.000000000 +0100
> @@ -655,7 +655,10 @@
>      {
>        error = pixma_read (s->io, data, expected_len);
>        if (error == PIXMA_ETIMEDOUT)
> +      {
>          PDBG (pixma_dbg (2, "No response yet. Timed out in %d sec.\n", tmo));
> +        pixma_sleep (1000000);
> +      }
>      }
>    while (error == PIXMA_ETIMEDOUT && --tmo != 0);
>    if (error < 0)

> --- ./pixma_imageclass.c	2013-12-17 19:20:17.000000000 +0100
> +++ ../sane-backends/backend/pixma_imageclass.c	2013-12-17 19:20:32.000000000 +0100
> @@ -565,6 +565,8 @@
>    if (error >= 0)
>      error = send_scan_param (s);
>    if (error >= 0)
> +    error = query_status (s);
> +  if (error >= 0)
>      error = request_image_block (s, 0, &ignore, &ignore2, &ignore, &ignore2);
>    if (error < 0)
>      {

-------------- next part --------------
A non-text attachment was scrubbed...
Name: logs.tar.gz
Type: application/gzip
Size: 472947 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20131217/c4f3c428/attachment-0001.bin>


More information about the sane-devel mailing list