Re: HP support

David Mosberger-Tang (davidm@azstarnet.com)
Tue, 27 May 1997 17:44:41 -0700

>>>>> On Tue, 27 May 1997 15:42:19 -0500, Worawut Wisutmethangoon <wisutmet@cae.wisc.edu> said:

Worawut> However, the preview still does not work.
Worawut> More specifically, when I try to scan the preview I got these

Worawut> Popup window error :

Worawut> Failed to allocate image memory: Out of memory

Worawut> Stderr:

Worawut> Error: Failed restore value of option tl-x: Invalid argument.
Worawut> Error: Failed restore value of option tl-y: Invalid argument.

Worawut> ** ERROR **: sigint caught

Can somebody with an HP scanner debug this? I suspect it's a silly
problem someplace that would simply take some gdb'ing. It sounds like
there really are two problems:

(a) tl-x/tl-y invalid argument problem---as far as I can tell, this
seems to occur with the 5c only

(b) preview problems---looks like the problem occurs with both 4c
and 5c

I have one idea: if the range-inquiries fail on the 5c, then one might
observe problems of the kind reported in (a). If that happens to you,
would you mind invoking scanimage in a way that reproduces the problem
and with environment variable SANE_DEBUG_HP set to 128 and send me the
debug output? My suspicion is that the inquire() calls in
hp.c:attach() fail for some reason.

--david

--
Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/
To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com