Re: sane no longer works on Solaris 8

From: Matthew R. Briggs (mbriggs@switchboard.net)
Date: Tue May 02 2000 - 05:36:14 PDT

  • Next message: Steve Underwood: "Re: SnapScan"

    I think you are correct! I reverted to 1.0.1 and it works again. Here
    is the last bit of truss output, to be compared against my earlier mail:

    [snip]
    open("/usr/local/etc/sane.d/umax.conf", O_RDONLY) = 4
    fstat64(4, 0xFFBEF4F8) = 0
    ioctl(4, TCGETA, 0xFFBEF484) Err#25 ENOTTY
    read(4, " s c s i U M A X *\n".., 8192) = 23
    open("/dev/scg2", O_RDWR|O_EXCL) = 5
    ioctl(5, 0xC06C4701, 0xFFBEF320) = 0
    brk(0x00028F80) = 0
    brk(0x00030F80) = 0
    ioctl(5, 0xC06C4701, 0xFFBEF268) = 0
    ioctl(5, 0xC06C4701, 0xFFBEF268) = 0
    close(5) = 0
    read(4, 0x00025794, 8192) = 0
    llseek(4, 0, SEEK_CUR) = 23
    close(4) = 0
    ioctl(1, TCGETA, 0xFFBEEE2C) = 0
    device `umax:/dev/scg2f' is a UMAX Astra 1200S flatbed scanner
    write(1, " d e v i c e ` u m a x".., 72) = 72
    munmap(0xFF0F8000, 14648) = 0
    munmap(0xFF0D0000, 106361) = 0
    llseek(0, 0, SEEK_CUR) = 158837
    llseek(3, 0, SEEK_CUR) = 0
    _exit(0)

    So it looks like the SCSI support for the UMAX backend at least was
    broken on this platform in 1.0.2. I'd be glad to help debug or test any
    fixes.

    Matt

    Petter Reinholdtsen wrote:
    >
    > [Matthew R. Briggs]
    > > I've been working on this for several hours now, and I've started
    > > casting out for help. If anyone has any idea what's gone wrong, I'd
    > > appreciate learning about it. Thanks!
    >
    > It was quite a few changes to the SANE SCSI handling from 1.0.1 to
    > 1.0.2. Could this be the problem?
    > --
    > ##> Petter Reinholdtsen <## | pere@td.org.uit.no
    > O- <SCRIPT Language="Javascript">window.close()</SCRIPT>
    > http://www.hungry.com/~pere/ | Go Mozilla, go! Go!
    >
    > --
    > Source code, list archive, and docs: http://www.mostang.com/sane/
    > To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

    -- 
    _____
    Matthew R. Briggs
    mbriggs@switchboard.net
    

    -- 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 May 02 2000 - 05:38:34 PDT