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

Peter Kirchgessner peter at kirchgessner.net
Thu Nov 14 20:03:05 GMT 2002


Hi,

I just compared your second error log with one from Linux. It looks like 
the assertion failed in the child process. But the check that failed 
there has been done before many times in the parent process. And there 
it works. Could it be that for OS/2 the child process does not get a 
copy of the parents memory ?
If you like, I can send you a patch to hp.c to get some more detailed 
debug print outs. But you need to recompile it on OS/2.

Sincerely

Peter

Franz Bakan schrieb:
> 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
<snip>
> ...
> [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
> 
> 
> _______________________________________________
> 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