[sane-devel] HP 4C, (C1130A) Sane-1.0.9 OS/2 Assertion failed: info, file hp-scl.c, line 1317

Franz Bakan Franz Bakan" <fbakan@gmx.net
Tue, 05 Nov 2002 23:17:46 +0100 (CET)


Hi,

here's a errorlog from a guy trying to use a HP-Scanner with
current SANE-version:

Scanner is HP 4C
Adapter is Adaptec 2940U/UW
Sane-Version is 1.0.9
Content of hp.conf is:
---cut---
b1t5l0
---cut---


scanimage -d hp:b1t5l0 1>test.pnm 2>errors.255
fails on OS/2 with the following errorlog:

[sanei_debug] Setting debug level of hp to 255.
[hp] sane_init called
[hp] sane_init will finish with Success
[hp] sane_open called
[hp] hp_read_config: hp backend v0.96 starts reading config file
[hp] hp_read_config: processing line <b1t5l0>
[hp] hp_read_config: attach b1t5l0
[hp] hp_get_dev: New device b1t5l0, connect-scsi, scsi-request=1
[hp] sanei_hp_device_new: b1t5l0
[sanei_debug] Setting debug level of sanei_scsi to 255.
...
[sanei_scsi] OS/2: adapter#01 '2940U/UW/A/T/D'
[sanei_scsi] OS/2:             id#00 status=82h
[sanei_scsi] OS/2:             id#01 status=82h
[sanei_scsi] OS/2:             id#02 status=01h
[sanei_scsi] OS/2:                   type is 'CD-drive'
[sanei_scsi] OS/2         'PIONEER DVD-ROM DVD-303R2.00 1999/12/16PIONEER  '
[sanei_scsi] OS/2:             id#03 status=82h
[sanei_scsi] OS/2:             id#04 status=82h
[sanei_scsi] OS/2:             id#05 status=01h
[sanei_scsi] OS/2:                   type is 'processor'
[sanei_scsi] OS/2         'HP      C1130A          3540 1999/12/16PIONEER  '
[sanei_scsi] OS/2:             id#06 status=01h
[sanei_scsi] OS/2:                   type is 'CD-drive'
[sanei_scsi] OS/2         'YAMAHA  CRW4260         1.0q30/10/98/16PIONEER  '
[sanei_scsi] open_aspi: close temporary file 'asa00309'
[hp] scsi_inquire: sending INQUIRE
[sanei_scsi] sanei_scsi_cmd: Reading srb.u.cmd.data_len= 36
[hp] scsi_new: sending TEST_UNIT_READY
[sanei_scsi] sanei_scsi_cmd: Writing srb.u.cmd.data_len= 0
[hp] scsi_flush: writing 2 bytes:
[hp]  0x0000  1B 45                                            .E
...
[hp] probing ScanJet IIcx
[hp] scsi_flush: writing 6 bytes:
[hp]  0x0000  1B 2A 73 31 31 45                                .*s11E
[sanei_scsi] sanei_scsi_cmd: Writing srb.u.cmd.data_len= 6
[sanei_scsi] sanei_scsi_cmd: Reading srb.u.cmd.data_len= 24
[hp] scsi_read:  24 bytes:
[hp]  0x0000  1B 2A 73 31 31 64 4E 00 31 39 35 41 18 00 00 00  .*s11dN.195A....
[hp]  0x0010  43 31 31 33 30 41 20 20                          C1130A
[hp] scl_inq: parameter 11 unsupported
[hp] probing ScanJet 3c/4c/6100C
[hp] scsi_flush: writing 6 bytes:
[hp]  0x0000  1B 2A 73 31 32 45                                .*s12E
[sanei_scsi] sanei_scsi_cmd: Writing srb.u.cmd.data_len= 6
[sanei_scsi] sanei_scsi_cmd: Reading srb.u.cmd.data_len= 24
[hp] scsi_read:  24 bytes:
[hp]  0x0000  1B 2A 73 31 32 64 4E 00 31 39 35 41 18 00 00 00  .*s12dN.195A....
[hp]  0x0010  43 31 31 33 30 41 20 20                          C1130A
[hp] scl_inq: parameter 12 unsupported
[hp] probing ScanJet 3p
...
[hp] probe_scanner: Probing b1t5l0
[hp] probe_scanner: use cached compatibility flags
[hp] start: No request to mirror image vertically
[hp] sanei_hp_optset_scan_type: scantype=0
[hp] start: No request to mirror image vertically
[hp] start: 2550 pixels per line, 319 bytes per line, 4199 lines high
[hp] sanei_hp_scl_startScan: Start scan
[hp] scsi_flush: writing 5 bytes:
[hp]  0x0000  1B 2A 66 30 53                                   .*f0S
[sanei_scsi] sanei_scsi_cmd: Writing srb.u.cmd.data_len= 5
[hp] sanei_hp_get_connect: Could not get info for b1t5l0. Assume SCSI
Assertion failed: info, file hp-scl.c, line 1317

Abnormal program termination
...

Any hint what to do?
Complete errorlog available on request.

Regards,
Franz