sane-project-website/old-archive/2000-01/0262.html

240 wiersze
8.2 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: Re: HP PhotoSmart: scanimage: open of device hp:/d</TITLE>
<META NAME="Author" CONTENT="Peter Kirchgessner (peter@kirchgessner.net)">
<META NAME="Subject" CONTENT="Re: HP PhotoSmart: scanimage: open of device hp:/dev/sg0 failed: Error during device I/O">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: HP PhotoSmart: scanimage: open of device hp:/dev/sg0 failed: Error during device I/O</H1>
<!-- received="Thu Jan 27 23:07:38 2000" -->
<!-- isoreceived="20000128070738" -->
<!-- sent="Fri, 28 Jan 2000 08:03:44 +0100" -->
<!-- isosent="20000128070344" -->
<!-- name="Peter Kirchgessner" -->
<!-- email="peter@kirchgessner.net" -->
<!-- subject="Re: HP PhotoSmart: scanimage: open of device hp:/dev/sg0 failed: Error during device I/O" -->
<!-- id="38913F50.3FD3F725@kirchgessner.net" -->
<!-- inreplyto="00012708303204.03034@nec" -->
<STRONG>From:</STRONG> Peter Kirchgessner (<A HREF="mailto:peter@kirchgessner.net?Subject=Re:%20HP%20PhotoSmart:%20%20scanimage:%20open%20of%20device%20hp:/dev/sg0%20failed:%20Error%20%20during%20device%20I/O&In-Reply-To=&lt;38913F50.3FD3F725@kirchgessner.net&gt;"><EM>peter@kirchgessner.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Jan 27 2000 - 23:03:44 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0263.html">Levente NOVAK: "Re: Phantom 636cx and microtek2"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0261.html">Petter Reinholdtsen: "Re: Documentation updates?"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0257.html">Dave: "HP PhotoSmart: scanimage: open of device hp:/dev/sg0 failed: Error during device I/O"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#262">[ date ]</A>
<A HREF="index.html#262">[ thread ]</A>
<A HREF="subject.html#262">[ subject ]</A>
<A HREF="author.html#262">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hello Dave,
<BR>
<P>please do a export SANE_DEBUG_HP=128 , run the scanimage command again
<BR>
and post the output.
<BR>
The backend should not care about the model number. For HP scanners
<BR>
there are better ways to identify a scanner.
<BR>
<P>Sincerely
<BR>
<P>Peter
<BR>
<P>Dave wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Hello,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I have a NEC VERSA 6060 laptop with an Adaptec SlimSCSI 1460 PCMCIA SCSI card.
</EM><BR>
<EM>&gt; It works ok with SCSI disc drives, but the scanner is not working. Generic
</EM><BR>
<EM>&gt; SCSI support is a module. These commands are typed from root.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I appreciate any suggestions, thanks, -Dave.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; This is in dmesg (note that the model is reported as C1100A instead of C5100A;
</EM><BR>
<EM>&gt; does the hp backend care about that?):
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; aha152x: processing commandline: ok
</EM><BR>
<EM>&gt; aha152x: BIOS test: passed, detected 1 controller(s)
</EM><BR>
<EM>&gt; aha152x0: vital data: PORTBASE=0x340, IRQ=9, SCSI ID=7, reconnect=enabled, parity=enabled,
</EM><BR>
<EM>&gt; synchronous=disabled, delay=100, extended translation=disabled
</EM><BR>
<EM>&gt; aha152x: trying software interrupt, ok.
</EM><BR>
<EM>&gt; scsi0 : Adaptec 152x SCSI driver; $Revision: 1.7 $
</EM><BR>
<EM>&gt; scsi : 1 host.
</EM><BR>
<EM>&gt; Vendor: HP Model: C1100A Rev: R032
</EM><BR>
<EM>&gt; Type: Processor ANSI SCSI revision: 02
</EM><BR>
<EM>&gt; Detected scsi generic sga at scsi0, channel 0, id 2, lun 0
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; # cat /proc/scsi/scsi
</EM><BR>
<EM>&gt; Attached devices:
</EM><BR>
<EM>&gt; Host: scsi0 Channel: 00 Id: 02 Lun: 00
</EM><BR>
<EM>&gt; Vendor: HP Model: C1100A Rev: R032
</EM><BR>
<EM>&gt; Type: Processor ANSI SCSI revision: 02
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; # ls -l /dev/scanner
</EM><BR>
<EM>&gt; lrwxrwxrwx 1 root root 8 Jan 26 22:23 /dev/scanner -&gt; /dev/sga
</EM><BR>
<EM>&gt; # ls -l /dev/sga
</EM><BR>
<EM>&gt; crw-rw-rw- 1 root sys 21, 0 May 5 1998 /dev/sga
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; # find-scanner
</EM><BR>
<EM>&gt; find-scanner: found processor &quot;HP C1100A &quot; at device /dev/scanner
</EM><BR>
<EM>&gt; find-scanner: found processor &quot;HP C1100A &quot; at device /dev/sg0
</EM><BR>
<EM>&gt; find-scanner: found processor &quot;HP C1100A &quot; at device /dev/sga
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; #scanimage --find-devices
</EM><BR>
<EM>&gt; scanimage: no SANE devices found
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; # scanimage -d hp:/dev/sg0
</EM><BR>
<EM>&gt; [sanei_init_debug]: Setting debug level of dll to 128.
</EM><BR>
<EM>&gt; [dll] adding backend net
</EM><BR>
<EM>&gt; [dll] adding backend abaton
</EM><BR>
<EM>&gt; [dll] adding backend agfafocus
</EM><BR>
<EM>&gt; [dll] adding backend apple
</EM><BR>
<EM>&gt; [dll] adding backend artec
</EM><BR>
<EM>&gt; [dll] adding backend canon
</EM><BR>
<EM>&gt; [dll] adding backend coolscan
</EM><BR>
<EM>&gt; [dll] adding backend dmc
</EM><BR>
<EM>&gt; [dll] adding backend epson
</EM><BR>
<EM>&gt; [dll] adding backend hp
</EM><BR>
<EM>&gt; [dll] adding backend microtek
</EM><BR>
<EM>&gt; [dll] adding backend microtek2
</EM><BR>
<EM>&gt; [dll] adding backend mustek
</EM><BR>
<EM>&gt; [dll] adding backend pint
</EM><BR>
<EM>&gt; [dll] adding backend qcam
</EM><BR>
<EM>&gt; [dll] adding backend ricoh
</EM><BR>
<EM>&gt; [dll] adding backend s9036
</EM><BR>
<EM>&gt; [dll] adding backend sharp
</EM><BR>
<EM>&gt; [dll] adding backend snapscan
</EM><BR>
<EM>&gt; [dll] adding backend tamarack
</EM><BR>
<EM>&gt; [dll] adding backend umax
</EM><BR>
<EM>&gt; [dll] loading backend hp
</EM><BR>
<EM>&gt; [dll] dlopen()ing `/usr/local/lib/sane/libsane-hp.so.1'
</EM><BR>
<EM>&gt; [dll] init: initializing backend `hp'
</EM><BR>
<EM>&gt; scanimage: open of device hp:/dev/sg0 failed: Error during device I/O
</EM><BR>
<EM>&gt; [dll] exiting
</EM><BR>
<EM>&gt; [dll] calling backend `hp's exit function
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
</EM><BR>
<EM>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20HP%20PhotoSmart:%20%20scanimage:%20open%20of%20device%20hp:/dev/sg0%20failed:%20Error%20%20during%20device%20I/O&In-Reply-To=&lt;38913F50.3FD3F725@kirchgessner.net&gt;">majordomo@mostang.com</A>
</EM><BR>
<P><PRE>
--
Peter Kirchgessner
WWW: <A HREF="http://www.kirchgessner.net">http://www.kirchgessner.net</A>
e-mail: <A HREF="mailto:peter@kirchgessner.net?Subject=Re:%20HP%20PhotoSmart:%20%20scanimage:%20open%20of%20device%20hp:/dev/sg0%20failed:%20Error%20%20during%20device%20I/O&In-Reply-To=&lt;38913F50.3FD3F725@kirchgessner.net&gt;">peter@kirchgessner.net</A>
<P><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:%20%20scanimage:%20open%20of%20device%20hp:/dev/sg0%20failed:%20Error%20%20during%20device%20I/O&In-Reply-To=&lt;38913F50.3FD3F725@kirchgessner.net&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0263.html">Levente NOVAK: "Re: Phantom 636cx and microtek2"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0261.html">Petter Reinholdtsen: "Re: Documentation updates?"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0257.html">Dave: "HP PhotoSmart: scanimage: open of device hp:/dev/sg0 failed: Error during device I/O"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#262">[ date ]</A>
<A HREF="index.html#262">[ thread ]</A>
<A HREF="subject.html#262">[ subject ]</A>
<A HREF="author.html#262">[ 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>Thu Jan 27 2000 - 23:09:17 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>