Tamarack 12000C, SCSI problems

From: Florian Jenn (jennf@tu-cottbus.de)
Date: Fri Feb 23 2001 - 07:53:35 PST

  • Next message: Andreas Rathgeber: "Re: xsane; script that converts file names from .tiff to .tif"

    Hi!

    I'm working with Linux, Kernel 2.2.12 and tried to get a Tamarack
    Artiscan 12000C SCSI-Scanner working with Sane 1.0.4.

    Both scanimage (e.g. with --test) and xscanimage come up with the
    following error:

            scanimage: sanei_scsi.c:3707: sanei_scsi_cmd: Assertion
            `src_size == cmd_size' failed.

    This results from the call

            status = sanei_scsi_cmd (s->fd, &cmd, sizeof (cmd)+2, buf,
            &nbytes);

    in line 565 of backends/tamarack.c. (That `+2' seems a bit strange to
    me...)

    Searching the mailing list archive resulted in some mails where the
    sanei_scsi_cmd function was modified because of problems with command
    sizes and the sg driver. Yet I don't know very much about Sane
    internals to get a clue what exactly is wrong in my case.

    Could anybody provide me with some information what I could do to fix
    the problem? -> Patches, Upgrades?

    Thanks in advance for your help,
    FJ

    -- 
    jennf@tu-cottbus.de                   http://www-user.tu-cottbus.de/~jennf
    reg. Linux User 66363
    Public Key Fingerprint: A6F0 EE41 A401 9EC4 1F59  4BBE 2D2E 7B56 3D6B 7B6E
             get http://www-user.tu-cottbus.de/~jennf/keys.html for public key
    

    -- 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 : Fri Feb 23 2001 - 07:43:58 PST