[sane-devel] HP Scanjet 3P io errors

jd onymouse@garlic.com
Sun, 22 Jun 2003 11:24:12 -0700

I found nothing related in the archives:

Using sane front & back ends v1.0.7

Device is Scanjet 3P and ADF, model 2570A, firmware 3430.
Connected to Buslogic BT946C.

sane does not seem to like my scanner. It returns io device errors.
Works fine with epson scanner.

Using RedHat 7.3, latest & lastest updates.

 From dmesg:

    SCSI subsystem driver Revision: 1.00
    kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
    PCI: Found IRQ 11 for device 00:09.0
    PCI: Sharing IRQ 11 with 00:0e.0
    scsi: ***** BusLogic SCSI Driver Version 2.1.15 of 17 August 1998 *****
    scsi: Copyright 1995-1998 by Leonard N. Zubkoff <lnz@dandelion.com>
    scsi0: Configuring BusLogic Model BT-946C PCI SCSI Host Adapter
    scsi0:   Firmware Version: 4.28D, I/O Address: 0xA800, IRQ Channel: 
    scsi0:   PCI Bus: 0, Device: 9, Address: Unassigned, Host Adapter 
    scsi0:   Parity Checking: Enabled, Extended Translation: Disabled
    scsi0:   Synchronous Negotiation: Fast, Wide Negotiation: Disabled
    scsi0:   Disconnect/Reconnect: Enabled, Tagged Queuing: Enabled
    scsi0:   Scatter/Gather Limit: 128 of 8192 segments, Mailboxes: 211
    scsi0:   Driver Queue Depth: 211, Host Adapter Queue Depth: 100
    scsi0:   Tagged Queue Depth: Automatic, Untagged Queue Depth: 3
    scsi0:   Error Recovery Strategy: Default, SCSI Bus Reset: Enabled
    scsi0:   SCSI Bus Termination: Enabled
    scsi0: *** BusLogic BT-946C Initialized Successfully ***
    scsi0 : BusLogic BT-946C
     Vendor: HP        Model: C2570A            Rev: 3430
     Type:   Processor                          ANSI SCSI revision: 02
    scsi0: Target 0: Queue Depth 3, Asynchronous

        (Manually insmod'd scsi_hostadapter later. But it makes no 
difference whether it is loaded or not.)

sane-find-scanner detects the device at /dev/sg0

sane -d hp:/dev/sg0 *(any command or option)   returns "Error during 
device I/O" and the help page.
THis occurs with or without option dumb-read

 From /etc/sane.d/hp.conf: (RedHat's default location)

    scsi hp
        option dumb-read
 From another form of hp.conf:

    scsi HP C2570A Processor 0 00 00 00
    option connect-scsi
    option dumb-read

hptool's hpinq returns the model number and firmware code but then 
returns nothing but io errors on stderr and
"error in inquiry" for each command.

This scanner works with windoze.

I have no idea what is going on. Does anyone?