net/saned problems

From: Rod Wright (thyratron@nc.rr.com)
Date: Thu Jun 07 2001 - 17:47:35 PDT

  • Next message: Franz Bakan: "Re: Compiling on OS/2 and BUG"

    I have a basic Slackware Linux 7.0 system installed on a 486 running the
    2.2.13 kernel. I am having problems with the net backend. Sane backends 1.0.4
    compiles without errors. After installation I can scan directly from the
    device (scanimage -d umax:/dev/sgb >/common/image.pnm) without problems. If I
    try scanimage -d net:localhost:umax:/dev/sgb >/common/image.pnm , it also
    works. However, if I try scanimage -d net:warhawk:umax:/dev/sgb
    >/common/image.pnm from another machine, the image comes through, but as soon
    as the scan bar stops and begins its return trip, I get:

    scanimage: stopping scanner... (sig 13)
    scanimage: stopping scanner... (sig 13)
    scanimage: stopping scanner... (sig 13)

    It scrolls continuously until I kill it with a signal 9 from another
    terminal. Configuration is according to the instructions in the sane-net and
    saned manpages.
    Here's what's in /var/log/messages:

    Jun 7 19:32:11 warhawk saned[10728]: access by
    saned-user@mustang.thermionic.net accepted
    Jun 7 19:32:39 warhawk saned[10728]: exiting

    mustang being the machine I'm scanning from.

    I tried the latest CVS (06-05) snapshot, but the compile fails with:

    sanei_scsi.c:1899: warning: pointer of type `void *' used in arithmetic
    sanei_scsi.c:1899: warning: pointer of type `void *' used in arithmetic
    sanei_scsi.c:1899: warning: pointer of type `void *' used in arithmetic
    sanei_scsi.c:1899: warning: pointer of type `void *' used in arithmetic
    sanei_scsi.c:1907: warning: cast discards `const' from pointer target type
    sanei_scsi.c: In function `lx_chk_id':
    sanei_scsi.c:2262: storage size of `ssid' isn't known
    sanei_scsi.c:2262: warning: unused variable `ssid'
    sanei_scsi.c: In function `sanei_scsi_req_enter':
    sanei_scsi.c:4267: warning: cast discards `const' from pointer target type
    sanei_scsi.c:4275: warning: cast discards `const' from pointer target type
    sanei_scsi.c: In function `sanei_scsi_cmd':
    sanei_scsi.c:4283: warning: cast discards `const' from pointer target type
    sanei_scsi.c:4291: warning: cast discards `const' from pointer target type
    make[1]: *** [sanei_scsi.o] Error 1
    make[1]: Leaving directory `/usr/local/src/sane-backends-CVS-2001-06-05/sanei'
    make: *** [all-recursive] Error 1
    warhawk:/usr/local/src/sane-backends-CVS-2001-06-05#

    Before I go mucking around on my machine trying to get the snapshot to
    compile, I thought I'd see if it was a stupid mistake on my part that causes
    1.0.4 not to work.

    --
    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 : Thu Jun 07 2001 - 17:46:28 PDT