[sane-devel] snapscan (agfa 1236s) not working since 1.0.4

Oliver Schwartz Oliver.Schwartz@gmx.de
Wed, 10 Apr 2002 08:58:03 +0200 (MEST)


Hi,

> a few months ago i upgraded my 1.0.4 version. The agfa 1236s
> scanner stopped working 
...
> [snapscan] send_diagnostic
> [snapscan] snapscan_cmd
> [snapscan] send_diagnostic: snapscan_cmd command failed:
> Error during device I/O

Hm, this looks strange. I'm not aware of any changes in this part of the
sane backend, but then I haven't checked the CVS archive yet.

As a first test, you could try to disable the send_diagnostic command - it
doesn't seem to work for all models. To do this, open snapscan-scsi.c and find
the function send_diagnostic(). Change the lines 
    if (pss->pdev->model == PRISA620S    /* GP added */
        ||
        pss->pdev->model == VUEGO610S)    /* SJU added */
    {
        return SANE_STATUS_GOOD;
    }

to 

    if (pss->pdev->model == PRISA620S    /* GP added */
        ||
        pss->pdev->model == VUEGO610S    /* SJU added */
        ||
        pss->pdev->model == SNAPSCAN1236)   
    {
        return SANE_STATUS_GOOD;
    }

Then run "touch snapscan.c", "make" and "make install".

Hope this helps.

Regards,

Oliver

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net