[sane-devel] SANE HP 4P SCSI scanner error message
Peter Kirchgessner
peter at kirchgessner.net
Tue Aug 20 06:25:25 BST 2002
Hi,
seems that the response from the scanner was not correctly passed back.
Please have a look at http://www.kirchgessner.net/pub/sane/53c416.txt
and check if you have configured your card in a similar way.
--Peter
Johan van den Berg wrote:
> Hi,
>
> I'm geeting the following error message while trying
> to get scanimage -L to work with my HP 4P SCSI scanner
> on Linux using the supplied SCSI interface card:
> scl_inq: malformed response: expected '257d', got
> '257E'
>
> Any ideas?
>
> My setup and output is as follows:
>
> root# sane-find-scanner
> sane-find-scanner: found SCSI processor "HP C1130A
> 3540" at device/dev/scanner
> sane-find-scanner: found SCSI processor "HP C1130A
> 3540" at device /dev/sg0
> sane-find-scanner: found SCSI processor "HP C1130A
> 3540" at device /dev/sga
>
> root# scanimage -L
> [sanei_debug] Setting debug level of hp to 128.
> [hp] sane_init called
> [hp] sane_init will finish with Success
> [hp] sane_get_devices called
> [hp] hp_read_config: hp backend v0.95 starts reading
> config file
> [hp] hp_read_config: processing line <scsi HP * * * *
> * *>
> [hp] hp_read_config: processing line </dev/sg0>
> [hp] hp_read_config: attach scsi HP * * * * * *
> [hp] hp_get_dev: New device /dev/sg0, connect-scsi,
> scsi-request=1
> [hp] sanei_hp_device_new: /dev/sg0
> [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] scsi_read: 16 bytes:
> [hp] 0x0000 1B 2A 73 32 35 37 45 00 48 50 20 20 20
> 20 20 20 .*s257E.HP
> [hp] scl_inq: malformed response: expected '257d', got
> '257E'
> [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 5
> [hp] hp_read_config: processing line <option
> connect-device>
> [hp] hp_read_config: attach /dev/sg0
> [hp] hp_get_dev: New device /dev/sg0, connect-device,
> scsi-request=0
> [hp] sanei_hp_device_new: /dev/sg0
> [hp] scsi_flush: writing 2 bytes:
> [hp] 0x0000 1B 45
> .E
> [hp] hp_nonscsi_device_new: SCL reset failed
> [hp] scsi_close: closing fd 4
> [hp] sane_get_devices will finish with Success
>
> No scanners were identified. If you were expecting
> something different,
> check that the scanner is plugged in, turned on and
> detected by the
> sane-find-scanner tool (if appropriate). Please read
> the documentation
> which came with this software (README, FAQ, manpages).
> [hp] sane_exit called
> [hp] sane_exit will finish
>
> root# cat /proc/scsi/scsi
> Attached devices:
> Host: scsi0 Channel: 00 Id: 01 Lun: 00
> Vendor: HP Model: C1130A Rev: 3540
> Type: Processor ANSI SCSI
> revision: 02
>
> root# cat /proc/scsi/sym53c416/0
> Symbios Logic 53c416 (rev. 0) at 0x220, irq 5, SCSI-ID
> 7, fast pio
>
> I'm using a Mandrake 8.2 based system with 2.4.18-6mdk
> kernel.
>
> Thx
> Johan
>
>
> __________________________________________________
> Do You Yahoo!?
> HotJobs - Search Thousands of New Jobs
> http://www.hotjobs.com
> _______________________________________________
> Sane-devel mailing list
> Sane-devel at www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel
>
>
More information about the sane-devel
mailing list