Epson 1200S: "[epson] ident failed"

From: John Vickers (jvickers@dial.pipex.com)
Date: Mon Jan 24 2000 - 01:43:39 PST

  • Next message: Klaas Freitag: "Re: Ans again...Mustek SE 12000 SP"

    Other people seem to have had a fairly easy time with the 1200S,
    so I suspect I'm doing something silly.

    Anyone got any ideas what to try next, or what to try under gdb ?

    John.

    Initially:
     /usr/local/bin/scanimage -v --device epson:/dev/scanner --help
    works (repeatedly).

    If I then do:
      /usr/local/bin/scanimage -v --device epson:/dev/scanner -T
    that also PASSes (scanner whirrs, etc), but only the first time I try it.

    The second and subsequent times, I get:
      [sanei_init_debug]: Setting debug level of epson to 5.
      [epson] sane_init: sane 1.0.1
      [epson] sane_init, >scsi EPSON
      <
      [epson] sane_init, >scsi EPSON<
      [epson] sane_init, >/dev/scanner
      <
      [epson] sane_init, >/dev/scanner<
      [epson] attach: opening /dev/scanner
      [epson] attach: sending INQUIRY
      [epson] send buf, size = 2
      [epson] ident failed
      Segmentation fault (core dumped)

    [ it dies in strcmp, in libc ]

    From this state, I can return to the initial, less broken, state by
    power cycling the scanner.

    Explicitly removing, and re-adding the scanner scsi device seems to have
    no effect. (echo "scsi remove-single-device 0 0 2 0" > /proc/scsi/scsi).

    HW/SW configuration:
    ====================

    uname -a :
    Linux ginko 2.2.13-7mdk #1 Wed Sep 15 18:02:18 CEST 1999 i586 unknown

    Epson 1200S (ROM rev 1.03); Advansys 3940UA SCSI controller;
    Epson at end of chain, with ID 2.
    Epson's internal termination disabled; Sun active terminator
    installed in Epson.
    Advansys controller in middle of chain; auto termination set.
    Ricoh CDRW at other (internal) end of chain, with ID 0; termination
    enabled.

    The scanner and the CD-RW seem to work fine under Windows.

    SANE version:
    1.0.1, with Epson front end: Version 0.1.5 Date 22.12.1999

    Sane compiled with gcc-2.95.2; configured as follows:
    CFLAGS="-O2 -fomit-frame-pointer -march=k6" ./configure -v
    --prefix=/usr/local
                                                     --with-gnu-as
    --with-gnu-ld

    --
    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 : Mon Jan 24 2000 - 01:42:26 PST