sane-project-website/old-archive/2001-03/0103.html

240 wiersze
7.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: HP PhotoSmart problem</TITLE>
<META NAME="Author" CONTENT="John Pitney (john@pitney.org)">
<META NAME="Subject" CONTENT="HP PhotoSmart problem">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>HP PhotoSmart problem</H1>
<!-- received="Wed Mar 7 07:37:46 2001" -->
<!-- isoreceived="20010307153746" -->
<!-- sent="Wed, 7 Mar 2001 08:40:19 -0500" -->
<!-- isosent="20010307134019" -->
<!-- name="John Pitney" -->
<!-- email="john@pitney.org" -->
<!-- subject="HP PhotoSmart problem" -->
<!-- id="20010307084019.A27423@dsl-64-192-234-13.telocity.com" -->
<STRONG>From:</STRONG> John Pitney (<A HREF="mailto:john@pitney.org?Subject=Re:%20HP%20PhotoSmart%20problem&In-Reply-To=&lt;20010307084019.A27423@dsl-64-192-234-13.telocity.com&gt;"><EM>john@pitney.org</EM></A>)<BR>
<STRONG>Date:</STRONG> Wed Mar 07 2001 - 05:40:19 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0104.html">Jody Williams: "Re: HP PhotoSmart problem"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0102.html">Jochen Eisinger: "Re: No scanners identified"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0104.html">Jody Williams: "Re: HP PhotoSmart problem"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0104.html">Jody Williams: "Re: HP PhotoSmart problem"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#103">[ date ]</A>
<A HREF="index.html#103">[ thread ]</A>
<A HREF="subject.html#103">[ subject ]</A>
<A HREF="author.html#103">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hello,
<BR>
<P>I am having trouble using scanimage with my HP PhotoSmart scanner. The
<BR>
program fails with the following message:
<BR>
<P>scanimage: open of device hp:/dev/scanner failed: Error during device I/O
<BR>
<P>I am running scanimage (sane-backends) 1.0.4, a Linux 2.4.0 kernel with
<BR>
the BusLogic module for my BT-948, and Debian unstable. I have tried
<BR>
sane-backends both from Debian packages and re-compiled here from a
<BR>
tar file with the same result.
<BR>
<P>The scanner works fine under Windows 98 and when using the demo of VueScan
<BR>
under Linux.
<BR>
<P>After setting SANE_DEBUG_HP to 255, and running
<BR>
'scanimage -h -d hp:/dev/scanner', I see the following:
<BR>
<P>Usage: scanimage [OPTION]...
<BR>
<P>Start image acquisition on a scanner device and write PNM image data to
<BR>
standard output.
<BR>
<P>-b, --batch=FORMAT working in batch mode
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;--format=pnm|tiff file format of output file
<BR>
-d, --device-name=DEVICE use a given scanner device (e.g. hp:/dev/scanner)
<BR>
-h, --help display this help message and exit
<BR>
-L, --list-devices show available scanner devices
<BR>
-T, --test test backend thoroughly
<BR>
-v, --verbose give even more status messages
<BR>
-V, --version print version information
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;--accept-md5-only only accept authorization requests using md5
<BR>
[sanei_debug] Setting debug level of hp to 255.
<BR>
[hp] sane_init called
<BR>
[hp] sane_init will finish with Success
<BR>
[hp] sane_open called
<BR>
[hp] hp_read_config: hp backend v0.93 starts reading config file
<BR>
[hp] hp_read_config: processing line &lt;scsi HP&gt;
<BR>
[hp] hp_read_config: processing line &lt;/dev/scanner&gt;
<BR>
[hp] hp_read_config: attach scsi HP
<BR>
[hp] hp_get_dev: New device /dev/sg0, connect-scsi, scsi-request=1
<BR>
[hp] sanei_hp_device_new: /dev/sg0
<BR>
[hp] scsi_inquire: sending INQUIRE
<BR>
[hp] scsi_new: sending TEST_UNIT_READY
<BR>
[hp] scsi_flush: writing 2 bytes:
<BR>
[hp] 0x0000 1B 45 .E
<BR>
[hp] scsi_flush: writing 7 bytes:
<BR>
[hp] 0x0000 1B 2A 73 32 35 37 45 .*s257E
<BR>
[hp] scl_inq: read failed (Error during device I/O)
<BR>
[hp] scl_errcheck: Can't read SCL error stack: Error during device I/O
<BR>
[hp] sanei_hp_device_new: SCL reset failed
<BR>
[hp] scsi_close: closing fd 6
<BR>
[hp] hp_read_config: attach /dev/scanner
<BR>
[hp] hp_get_dev: New device /dev/scanner, connect-scsi, scsi-request=1
<BR>
[hp] sanei_hp_device_new: /dev/scanner
<BR>
[hp] scsi_inquire: sending INQUIRE
<BR>
[hp] scsi_new: sending TEST_UNIT_READY
<BR>
[hp] scsi_flush: writing 2 bytes:
<BR>
[hp] 0x0000 1B 45 .E
<BR>
[hp] scsi_flush: writing 7 bytes:
<BR>
[hp] 0x0000 1B 2A 73 32 35 37 45 .*s257E
<BR>
[hp] scl_inq: read failed (Error during device I/O)
<BR>
[hp] scl_errcheck: Can't read SCL error stack: Error during device I/O
<BR>
[hp] sanei_hp_device_new: SCL reset failed
<BR>
[hp] scsi_close: closing fd 6
<BR>
[hp] hp_get_dev: New device /dev/scanner, connect-scsi, scsi-request=1
<BR>
[hp] sanei_hp_device_new: /dev/scanner
<BR>
[hp] scsi_inquire: sending INQUIRE
<BR>
[hp] scsi_new: sending TEST_UNIT_READY
<BR>
[hp] scsi_flush: writing 2 bytes:
<BR>
[hp] 0x0000 1B 45 .E
<BR>
[hp] scsi_flush: writing 7 bytes:
<BR>
[hp] 0x0000 1B 2A 73 32 35 37 45 .*s257E
<BR>
[hp] scl_inq: read failed (Error during device I/O)
<BR>
[hp] scl_errcheck: Can't read SCL error stack: Error during device I/O
<BR>
[hp] sanei_hp_device_new: SCL reset failed
<BR>
[hp] scsi_close: closing fd 4
<BR>
scanimage: open of device hp:/dev/scanner failed: Error during device I/O
<BR>
Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.
<BR>
<P>[hp] sane_get_devices called
<BR>
[hp] sane_get_devices will finish with Success
<BR>
List of available devices:
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;v4l:/dev/video0
<BR>
[hp] sane_exit called
<BR>
[hp] sane_exit will finish
<BR>
<P>There is no long pause, as if something is timing out. The same thing
<BR>
happens whether I run scanimage as root or not.
<BR>
<P>Before switching to Debian, upgrading to Linux 2.4.0, and upgrading to
<BR>
SANE 1.0.4, I have the scanner working on the same hardware with SANE.
<BR>
<P>Thanks for any help!
<BR>
<P>John
<BR>
<P><PRE>
--
John Pitney
www.pitney.org
<P><P>--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20HP%20PhotoSmart%20problem&In-Reply-To=&lt;20010307084019.A27423@dsl-64-192-234-13.telocity.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0104.html">Jody Williams: "Re: HP PhotoSmart problem"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0102.html">Jochen Eisinger: "Re: No scanners identified"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0104.html">Jody Williams: "Re: HP PhotoSmart problem"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0104.html">Jody Williams: "Re: HP PhotoSmart problem"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#103">[ date ]</A>
<A HREF="index.html#103">[ thread ]</A>
<A HREF="subject.html#103">[ subject ]</A>
<A HREF="author.html#103">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Wed Mar 07 2001 - 07:38:52 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>