[sane-devel] HP4c & Buslogic BT-958

Steven Lembark lembark@wrkhors.com
Fri, 23 Nov 2001 17:35:41 -0600


-- Ray Curtis <ray@ccux.com>

>
> Anyone on this list using this combination with the 2.4 kernel ? I am
> still playing around trying to find out why sane can't seem to find my
> scanner.
> I have added the lines to hp.conf:
> /dev/scanner
>   option connect-scsi
>   option disable-scsi-request
>
> However it still refuses to find it with:
>
> [root@bugs:/etc]/% scanimage
> [sanei_debug] Setting debug level of hp to 255.
> [hp] sane_init called
> [hp] sane_init will finish with Success
> [hp] sane_get_devices called
> [hp] hp_read_config: hp backend v0.94 starts reading config file
> [hp] hp_read_config: processing line </dev/scanner>
> [hp] hp_read_config: processing line <option connect-scsi>
> [hp] hp_read_config: processing line <option disable-scsi-request>
> [hp] hp_read_config: attach /dev/scanner
> [hp] hp_get_dev: New device /dev/scanner, connect-scsi, scsi-request=0
> [hp] sanei_hp_device_new: /dev/scanner
> [hp] scsi_inquire: sending INQUIRE
> [hp] scsi_new: sending TEST_UNIT_READY
> [hp] scsi_flush: writing 2 bytes:
> [hp]  0x0000  1B 45                                            .E
> [hp] scsi_flush: writing 7 bytes:
> [hp]  0x0000  1B 2A 73 32 35 37 45                             .*s257E
> [hp] scl_inq: read failed (Error during device I/O)
> [hp] scl_errcheck: Can't read SCL error stack: Error during device I/O
> [hp] sanei_hp_device_new: SCL reset failed
> [hp] scsi_close: closing fd 4
> [hp] sane_get_devices will finish with Success
> scanimage: no SANE devices found
> [hp] sane_exit called
> [hp] sane_exit will finish
>
> This combo used to work just fine with the 2.2 kernel and still works
> under windows, but the I need it to work under linux if possible.
>
> I am using a later kernel, just to see it that would help,
>
> Linux bugs 2.4.13-0.5 #1 Sat Nov 3 15:08:02 EST 2001 i686 unknown
>
> But no luck,
>

Just for the fun of it try:

    export SANE_DEBUG_HP=17
    export SANE_DEBUG_SANEI_SCSI=255
    scanimage -L 2>&1 | tee a;

and see what happens. It would also be interesting to see if
your /proc/scsi/sg/device_strs has anything in it that looks
like an HP scanner.

I'm having a rather similar problem with another BusLogic
card -- problem might not be the just the 958.


--
Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 800 762 1582