Re: Problems with saned/net backend

From: mh (moloch@nikocity.de)
Date: Tue Oct 17 2000 - 00:56:17 PDT

  • Next message: Petter Reinholdtsen: "Re: sane as a server to Windows clients?"

    Jaeger, Gerhard, Mon, 16 Okt 2000:
    > On Mon, 16 Okt 2000, mh wrote:
    [snip]
    > > Hmm, this is definitely not the noise I normally hear during calibration :-(
    > > It's that typical noise (something like "clack,clack,clack") you can hear
    > > when the scanner moves beyond it's end position (what happens sometimes in
    > > binary or halftone mode).
    >
    > You might patch the file models.c of the driver, in function
    > modelInitPageSettings() line 92 or so there's the line:
    >
    > ps->LensInf.rExtentY.wMax += 64;
    > Increase the value, try and use 65, 96 or even 128 and check if the
    > clack, clack in binary or halftone mode disappears.

    That doesn't help :-(

    > This will not cure the other effect!
    > This sounds like the driver doesn't correctly detect the home-position
    > of the sensor. Can you have a look at the motor or even the sensor
    > to find out in which direction it tries to pull the sensor?

    No problem.
    (...and after 2 hours I finally found my screwdriver :)
    Now it looks like the unit moves against the gear on the step motor when
    I scan through the net backend.

    Ah, and there's another problem:
    I only can do one scan through the net backend with xscanimage. Any
    attempt to do a second scan results either in an error message

    Failed to start scanner: Error during device IO

    or:

    Program received signal SIGPIPE, Broken pipe.
    0x40214004 in write () from /lib/libc.so.6
    (gdb) bt
    #0 0x40214004 in write () from /lib/libc.so.6
    #1 0x8 in ?? ()
    #2 0x806be9e in flush (w=0x8184c04) at sanei_wire.c:374
    #3 0x806bed7 in sanei_w_set_dir (w=0x8184c04, dir=WIRE_DECODE)
        at sanei_wire.c:382
    #4 0x806bf3f in sanei_w_call (w=0x8184c04, procnum=3,
        w_arg=0x806ba10 <sanei_w_word>, arg=0x8184728,
        w_reply=0x806ba10 <sanei_w_word>, reply=0xbffff328) at sanei_wire.c:401
    #5 0x4001cf79 in sane_net_close () at net.c:295
    #6 0x40017810 in sane_dll_close () at dll.c:472
    #7 0x40017d6f in sane_close () at dll-s.c:34
    #8 0x8062f1c in quit_xscan () at xscanimage.c:455
    #9 0x8062f5b in scan_win_delete (w=0x8177778, data=0x818c8a8)
        at xscanimage.c:470

    or:

    Program received signal SIGPIPE, Broken pipe.
    0x408b4004 in write () from /lib/libc.so.6
    (gdb) bt
    #0 0x408b4004 in write () from /lib/libc.so.6
    #1 0x40b44970 in __DTOR_END__ () from /usr/local/lib/sane/libsane-net.so.1
    #2 0x40b42f2b in flush (w=0x80c43bc) at sanei_wire.c:374
    #3 0x40b42f74 in sanei_w_set_dir () at sanei_wire.c:376
    #4 0x40b42feb in sanei_w_call () at sanei_wire.c:376
    #5 0x40b41638 in sane_net_cancel () at net.c:295
    #6 0x40017a50 in sane_dll_cancel () at dll.c:472
    #7 0x40017d3f in sane_cancel () at dll-s.c:34

    Anything that can be done ?(except buying a new scanner, of course ;-)

    bb
    Michael

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



    This archive was generated by hypermail 2b29 : Tue Oct 17 2000 - 02:19:15 PDT