Re: HP PhotoSmart: scanimage: open of device hp:/dev/sg0 failed: Error during device I/O

From: Peter Kirchgessner (peter@kirchgessner.net)
Date: Thu Jan 27 2000 - 23:03:44 PST

  • Next message: Levente NOVAK: "Re: Phantom 636cx and microtek2"

    Hello Dave,

    please do a export SANE_DEBUG_HP=128 , run the scanimage command again
    and post the output.
    The backend should not care about the model number. For HP scanners
    there are better ways to identify a scanner.

    Sincerely

    Peter

    Dave wrote:
    >
    > Hello,
    >
    > I have a NEC VERSA 6060 laptop with an Adaptec SlimSCSI 1460 PCMCIA SCSI card.
    > It works ok with SCSI disc drives, but the scanner is not working. Generic
    > SCSI support is a module. These commands are typed from root.
    >
    > I appreciate any suggestions, thanks, -Dave.
    >
    > This is in dmesg (note that the model is reported as C1100A instead of C5100A;
    > does the hp backend care about that?):
    >
    > aha152x: processing commandline: ok
    > aha152x: BIOS test: passed, detected 1 controller(s)
    > aha152x0: vital data: PORTBASE=0x340, IRQ=9, SCSI ID=7, reconnect=enabled, parity=enabled,
    > synchronous=disabled, delay=100, extended translation=disabled
    > aha152x: trying software interrupt, ok.
    > scsi0 : Adaptec 152x SCSI driver; $Revision: 1.7 $
    > scsi : 1 host.
    > Vendor: HP Model: C1100A Rev: R032
    > Type: Processor ANSI SCSI revision: 02
    > Detected scsi generic sga at scsi0, channel 0, id 2, lun 0
    >
    > # cat /proc/scsi/scsi
    > Attached devices:
    > Host: scsi0 Channel: 00 Id: 02 Lun: 00
    > Vendor: HP Model: C1100A Rev: R032
    > Type: Processor ANSI SCSI revision: 02
    >
    > # ls -l /dev/scanner
    > lrwxrwxrwx 1 root root 8 Jan 26 22:23 /dev/scanner -> /dev/sga
    > # ls -l /dev/sga
    > crw-rw-rw- 1 root sys 21, 0 May 5 1998 /dev/sga
    >
    > # find-scanner
    > find-scanner: found processor "HP C1100A " at device /dev/scanner
    > find-scanner: found processor "HP C1100A " at device /dev/sg0
    > find-scanner: found processor "HP C1100A " at device /dev/sga
    >
    > #scanimage --find-devices
    > scanimage: no SANE devices found
    >
    > # scanimage -d hp:/dev/sg0
    > [sanei_init_debug]: Setting debug level of dll to 128.
    > [dll] adding backend net
    > [dll] adding backend abaton
    > [dll] adding backend agfafocus
    > [dll] adding backend apple
    > [dll] adding backend artec
    > [dll] adding backend canon
    > [dll] adding backend coolscan
    > [dll] adding backend dmc
    > [dll] adding backend epson
    > [dll] adding backend hp
    > [dll] adding backend microtek
    > [dll] adding backend microtek2
    > [dll] adding backend mustek
    > [dll] adding backend pint
    > [dll] adding backend qcam
    > [dll] adding backend ricoh
    > [dll] adding backend s9036
    > [dll] adding backend sharp
    > [dll] adding backend snapscan
    > [dll] adding backend tamarack
    > [dll] adding backend umax
    > [dll] loading backend hp
    > [dll] dlopen()ing `/usr/local/lib/sane/libsane-hp.so.1'
    > [dll] init: initializing backend `hp'
    > scanimage: open of device hp:/dev/sg0 failed: Error during device I/O
    > [dll] exiting
    > [dll] calling backend `hp's exit function
    >
    > --
    > Source code, list archive, and docs: http://www.mostang.com/sane/
    > To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

    -- 
    Peter Kirchgessner
    WWW:    http://www.kirchgessner.net
    e-mail: peter@kirchgessner.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 : Thu Jan 27 2000 - 23:09:17 PST