Re: HP ScanJet Plus woes

From: Mark Perks (perks@umbc.edu)
Date: Sat Mar 24 2001 - 08:41:41 PST

  • Next message: Marcel Pol: "RE: Colour matching"

    Peter,

            Thanks so much for a reply ... even after all the help I'd already
    gotten from kirchgessner.net/sanehpfaq.html !!

    On Sat, 24 Mar
    2001, Peter Kirchgessner wrote:

    > Hello Mark,
    >
    > you need read and write permissions for those who want access to the
    > scanner. Use chmod 666 /dev/hpscan to allow access to everyone.
    > Please check if your hp.conf looks like
    >
    > /dev/hpscan
    > option connect-device
    >
    > The line "option connect-device" below /dev/hpscan is important.
    > Otherwise the backend tries a SCSI-connection.
    >

            But with permission 666 on /dev/hpscan and hp.conf looking like
    you've specified (in both /etc/sane.d and /usr/local/etc/sane.d)
    scanimage still segfaults.

    []$ scanimage -L
    [sanei_init_debug]: Setting debug level of dll to 255.
    [dll] adding backend hp
    [dll] adding backend pnm
    [dll] loading backend pnm
    [dll] dlopen()ing `/usr/lib/sane/libsane-pnm.so.1'
    [dll] init: initializing backend `pnm'
    [dll] loading backend hp
    [dll] dlopen()ing `/usr/lib/sane/libsane-hp.so.1'
    [dll] init: initializing backend `hp'
    [sanei_init_debug]: Setting debug level of hp to 255.
    [hp] init called
    [hp] get_devices called
    [hp] scsi_inquire: sending INQUIRE
    Segmentation fault

            Fortunately Christer Weinigel, the author of the kernel interface
    driver, included a demo prograom to write escaped PCL codes to /dev/hpscan
    to produce a primitive 1-bit 2'' x 2'' scan. If worse comes to worst I
    can always hack that and just bypass sane front and backends.

            Thanks again.

    --
    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 : Sat Mar 24 2001 - 08:36:36 PST