[sane-devel] Resend: scanjet 5p, io-error
Peter Kirchgessner
peter at kirchgessner.net
Fri Nov 15 20:31:34 GMT 2002
Hi,
seems to be a SCSI problem. Opening the SCSI-device is ok. Writing seems
also to work. But reading is a problem. You can also have a look at the
system log messages. If there are errors reported from the SCSI drivers.
Sincerely
Peter
SITKEI Attila schrieb:
> greetings,
>
> I've recently tried my HP ScanJet 5p scanner, that is attached to my PC
> through an Initio-9100uw scsi interface. After recompiled
>
> uuu $ uname -a
> FreeBSD uuu.pmi 4.6.2-RELEASE-p4 FreeBSD 4.6.2-RELEASE-p4 #3: Wed Nov 13
> 08:23:20 CET 2002 teflon at uuu.pmi:/usr/src/sys/compile/UUU i386
>
> kernel, my machine found:
>
> uuu $ dmesg | grep Ini
> iha0: <Initio INI-9XXXU/UW PCI SCSI adapter> port 0xac00-0xacff mem
> 0xdfeff000-0xdfefffff irq 10 at device 9.0 on pci2
>
> and
>
> uuu $ dmesg | grep pass0
> pass0 at iha0 bus 0 target 2 lun 0
> pass0: <HP C5110A 3701> Fixed Processor SCSI-2 device
> pass0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit)
>
> so I though everything will work well, since my scanner is shown as
> supported
> model on
> http://www.mostang.com/sane/sane-mfgs.html#HEWLETT-PACKARD
>
> I've installed sane-backends-1.0.8 from ports, did:
>
>
> uuu $ sane-find-scanner
>
> found SCSI processor "HP C5110A 3701" at /dev/scanner
> found SCSI processor "HP C5110A 3701" at /dev/pass0
> [...]
>
> uuu $ export SANE_DEBUG_HP=128; 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.96 starts reading config file
> [hp] hp_read_config: processing line <scsi HP>
> [hp] hp_read_config: processing line </dev/scanner>
> [hp] hp_read_config: attach scsi HP
> [hp] hp_get_dev: New device /dev/pass0, connect-scsi, scsi-request=1
> [hp] sanei_hp_device_new: /dev/pass0
> [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 0
> [hp] hp_read_config: processing line <option disable-scsi-request>
> [hp] hp_read_config: processing line <# uncomment this if you're using a usb
> scanner>
> [hp] hp_read_config: processing line <# /dev/usb/scanner0>
> [hp] hp_read_config: processing line <# option connect-device>
> [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 0
> [hp] hp_read_config: reset to default config
> [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
>
>
> at this point I can't resolve the problem. Has anybody idea about?
> just for info: I've also tried the newer backend, similar results. the
> scsi-card works with an external cd-writer unit.
>
>
> Thanks in advance, regards
>
>
>
> -- tef
> _______________________________________________
> Sane-devel mailing list
> Sane-devel at www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel
>
--
Peter Kirchgessner
http://www.kirchgessner.net
mailto:peter at kirchgessner.net
More information about the sane-devel
mailing list