# Re: Problem with xscanimage

Peter Kirchgessner (peter@kirchgessner.net)
Thu, 03 Jun 1999 23:18:49 +0200

- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Kevin Charter: "Re: Problem with snapscan, aha1505, linux kernel 2.2.9"
- Previous message: Wolfgang Goeller: "Problem with xscanimage"
- Maybe in reply to: Wolfgang Goeller: "Problem with xscanimage"

Hi Wolfgang,

if you have a source installation of SANE 1.0.1 you can try the
following patch to hp-option.c.
If it does not work, I would like to know where the backend fails. Do
the commands

export SANE_DEBUG_HP=13
xscanimage hp > hp.lis 2>&1

start a very small scan, wait for the stand-by mode and (try to) start
another very small scan.
Then send back the file hp.lis.

--Peter

Here is the patch:

--- hp-option.c.orig Sat Apr 3 06:03:14 1999
+++ hp-option.c Thu Jun 3 23:07:02 1999
@@ -3064,6 +3064,7 @@

DBG(3, "Start downloading parameters to scanner\n");

+ RETURN_IF_FAIL(sanei_hp_scl_reset (scsi));
RETURN_IF_FAIL(sanei_hp_scl_clearErrors (scsi));

sanei_hp_device_simulate_clear ( sanei_hp_scsi_devicename (scsi) );

Wolfgang Goeller wrote:
>
> Hello
>
> When my HP 6200 goes in stand-by mode while I'm
> using xscanimage xscanimage hangs.
> My Scanner is connected to an AHA1542 and
> accessd from another computer with sane.net.
> The wake-up works well, when I start
> xscanimage. But it seems to cause troubles,
> when it has to re-wake the Scanner.
>
> Any suggestions? (Except: restart xscanimge,
> that's what I've to do anyhow)
>
> Regards
> Wolfgang
>
> --
> Source code, list archive, and docs: http://www.mostang.com/sane/
> To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

    --
    Peter Kirchgessner
    WWW:    http://www.kirchgessner.net
    e-mail: peter@kirchgessner.net

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

     Next message: Kevin Charter: "Re: Problem with snapscan, aha1505, linux kernel 2.2.9"
     Previous message: Wolfgang Goeller: "Problem with xscanimage"
     Maybe in reply to: Wolfgang Goeller: "Problem with xscanimage"