HP Backend -- read failed and core dumps

David Nelson (dnelson@jump.net)
Tue, 31 Aug 1999 10:36:58 -0500 (CDT)

Hi all,

I've got my USB HP Scanner driver working (for the most part at least).
I've been using SANE to stress test it and so far the results are VERY
promising.

My hp.conf has:

option connect-device
/dev/usbscanner

However, on occasion, I get core dumps upon invocation of xscanimage
right after a call to 'read_calib_file'.

I've got debugging enabled with:

export SANE_DEBUG_DLL=2
export SANE_DEBUG_HP=128
export SANE_DEBUG_SANEI_SCSI=2

I also see a handful of 'scl_inq: read failed (End of file reached)'. Is
this indicative of an error somewhere?

Also suspicious is the line '[hp] hp_nonscsi_device_new: /dev/usbscanner:
found HP ScanJet model MODELx' specifically the 'MODELx'. I would think
that this should report back 4100C or something similar.

These are the various msgs I get on core dumps:

xscanimage: hp-option.c:2911: sanei_hp_optset_scanmode: Assertion `mode'
failed.
Aborted (core dumped)

xscanimage: hp-option.c:2979: hp_optset_fix_geometry_options: Assertion
`tl_x && tl_y && br_x && br_y' failed.
Aborted (core dumped)

/\/elson

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com