Solaris and Sane fixed

From: Ray Robinson (robinson@srsuna.shlrc.mq.edu.au)
Date: Thu Mar 16 2000 - 17:49:15 PST

  • Next message: David Mosberger-Tang: "Re: Linux Magazine Scanner story"

    Hi there,

    Finally sorted out my HP scanner on Solaris,
    and thought the info might be of benefit to others.

    My problem was that Sane 1.0.2 and Solaris 2.7 with the
    Schilling scsi driver on a Sun Ultra 1 with a HP ScanJet 5P,
    would not work.
    It turned out that the problems I was having were due to
    the libraries I was using and the symbolic links.

    The symptoms:
    I had the scsi driver working and was using it for a CD writer.
    Sane compiled and installed OK, but scanimage could find no
    scanner and find-scanner reported only a disk, but could not read
    the label or identify it. It also couldn't detect the CDwriter or
    tapedrive on the same bus.

    Links:
    When the schilling scsi driver is installed, it creates a device in
    /devices/sbus@1f,0/espdma@e,8400000/esp@e,8800000
    called scg@0,0:
    Add another device for the scanner, mine is at address 5 so I did
    touch scg@5,0:
    Add a link to this device in /dev
    ln -s ../devices/sbus@1f,0/espdma@e,8400000/esp@e,8800000/scg@5,0: /dev/scg0f

    Libraries:
    I realiased after pulling find-scanner.c to pieces, and compiling it
    in isolation that, the strings libraries were failing.
    The calls were not matching the routines.
    This is because I was using the Solaris libraries.
    I changed my path so that /usr/ucb and /usr/ucblib were searched first.

    I couldn't find any of this in the READMEs, so if it was there, I missed it.
    I reconfigured, recompiled, reinstalled, rebooted, and everything works.
    scanimage works well, Gimp calls it OK.

    Regards
    Ray

    --
    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 Mar 16 2000 - 17:43:32 PST