sane no longer works on Solaris 8

From: Matthew R. Briggs (mbriggs@switchboard.net)
Date: Mon May 01 2000 - 14:38:12 PDT

  • Next message: Petter Reinholdtsen: "Re: SnapScan"

    Hi,
            I've been using SANE 1.0.2 with success on Solaris 7 on an Ultra 2, but
    after installing Solaris 8 I can't get it to work. I have three
    single-ended SCSI interfaces in the machine, one of which is dedicated
    to my UMAX Astra 1200S. It's on bus 2, target 5. Under Solaris 7, my
    umax.conf file looked like this:

    scsi UMAX * Scanner
    /dev/scg2f

    The 'f' being needed to specify target 5, as documented in 'man
    sane-scsi', and it worked great. Under Solaris 8, the software seems to
    be trying to open /dev/scg2f as a literal file, unlike Solaris 7 (in
    both cases, only /dev/scg0,1,2 exist, not /dev/scg2f).

    Here is a brief excerpt from 'truss scanimage -L':

    [snip]
    open("/usr/local/etc/sane.d/umax.conf", O_RDONLY) = 4
    fstat64(4, 0xFFBEF060) = 0
    ioctl(4, TCGETA, 0xFFBEEFEC) Err#25 ENOTTY
    read(4, " s c s i U M A X S c a n n e r *\n".., 8192) = 23
    open("/dev/scg2f", O_RDWR|O_EXCL) Err#2 ENOENT
    [snip]
    _exit(0)

    I have the latest version of the scg driver installed
    (scg-sparcv9-sol2.7.beta from
    ftp://ftp.fokus.gmd.de/pub/unix/kernel/scg/) and I don't think that's
    the problem because cdrecord works fine (and 'cdrecord -scanbus' shows
    the scanner connected).

    here's 'ls -l /dev/scg*':

    lrwxrwxrwx 1 root other 48 Apr 22 17:08 /dev/scg0 ->
    ../devices/sbus@1f,0/SUNW,fas@e,8800000/scg@0,0:
    lrwxrwxrwx 1 root other 48 Apr 22 17:08 /dev/scg1 ->
    ../devices/sbus@1f,0/SUNW,fas@1,8800000/scg@0,0:
    lrwxrwxrwx 1 root other 48 Apr 22 17:08 /dev/scg2 ->
    ../devices/sbus@1f,0/SUNW,fas@2,8800000/scg@0,0:

    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!

    Matt

     
    _____
    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 : Mon May 01 2000 - 14:35:10 PDT