[sane-devel] Mustek 6000CX dies after the first of three passes in color mode

Christian Fughe Christian Fughe <c.m.fughe@wtb.tue.nl>
Fri, 5 Apr 2002 22:44:53 +0200


Hi,


This does the job!   :-)


On Thu, 4 Apr 2002, Henning Meier-Geinitz wrote:
 
> You could try the following: Look into backend/mustek.c and search for
> the following code:
>         
> static SANE_Status
> dev_wait_ready (Mustek_Scanner *s)
> {
>   if (s->hw->flags & MUSTEK_FLAG_N)
>       return n_wait_ready (s);
>    else if (s->hw->flags & MUSTEK_FLAG_THREE_PASS)
>       return scsi_area_wait_ready (s);
>
> Change the last two lines to:
>
>    else if (s->hw->flags & MUSTEK_FLAG_THREE_PASS)
>      {
>         scsi_area_wait_ready (s);
>       return scsi_inquiry_wait_ready (s);
>      }
>
> Does this help? If not, please send a bug report again.

Great, thanks a lot,

Christian Fughe <c.m.fughe@wtb.tue.nl>