sane-project-website/old-archive/2001-04/0140.html

161 wiersze
4.9 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: [dev] Problems with epson USB (mis)detection</TITLE>
<META NAME="Author" CONTENT="Henning Meier-Geinitz (hmg-ml@gmx.de)">
<META NAME="Subject" CONTENT="[dev] Problems with epson USB (mis)detection">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>[dev] Problems with epson USB (mis)detection</H1>
<!-- received="Sat Apr 14 07:37:06 2001" -->
<!-- isoreceived="20010414143706" -->
<!-- sent="Sat, 14 Apr 2001 16:58:15 +0200" -->
<!-- isosent="20010414145815" -->
<!-- name="Henning Meier-Geinitz" -->
<!-- email="hmg-ml@gmx.de" -->
<!-- subject="[dev] Problems with epson USB (mis)detection" -->
<!-- id="20010414165815.A19877@vortex.swb.de" -->
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:hmg-ml@gmx.de?Subject=Re:%20[dev]%20Problems%20with%20epson%20USB%20(mis)detection&In-Reply-To=&lt;20010414165815.A19877@vortex.swb.de&gt;"><EM>hmg-ml@gmx.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Apr 14 2001 - 07:58:15 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0141.html">Klaus-Peter Schrage: "Re: [snapscan] new version snapscan-20010411 of the backend - success with Agfa 1212U_2"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0139.html">Henning Meier-Geinitz: "Re: [dev] New and updated backends"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#140">[ date ]</A>
<A HREF="index.html#140">[ thread ]</A>
<A HREF="subject.html#140">[ subject ]</A>
<A HREF="author.html#140">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>I'm doing some work on lm9831 based scanners (Mustek BearPaw in this
<BR>
case) and just found out that the epson backend freezes when my Mustek
<BR>
BearPaw 1200 scanner is plugged in. Example:
<BR>
<P>SANE_DEBUG_EPSON=255 scanimage -L
<BR>
[epson] sane_init: sane-backends 1.0.4
<BR>
[epson] sane_init, &gt;# epson.conf&lt;
<BR>
[epson] sane_init, &gt;#&lt;
<BR>
[epson] sane_init, &gt;# here are some examples for how to configure the EPSON backend&lt;
<BR>
[epson] sane_init, &gt;#&lt;
<BR>
[epson] sane_init, &gt;# SCSI scanner:&lt;
<BR>
[epson] sane_init, &gt;scsi EPSON&lt;
<BR>
[epson] sane_init, &gt;scsi EPSON&lt;
<BR>
[epson] sane_init, &gt;#&lt;
<BR>
[epson] sane_init, &gt;# Parallel port scanner:&lt;
<BR>
[epson] sane_init, &gt;#pio 0x278&lt;
<BR>
[epson] sane_init, &gt;#pio 0x378&lt;
<BR>
[epson] sane_init, &gt;#pio 0x3BC&lt;
<BR>
[epson] sane_init, &gt;#&lt;
<BR>
[epson] sane_init, &gt;# USB scanner&lt;
<BR>
[epson] sane_init, &gt;# /dev/usb/scanner0&lt;
<BR>
[epson] sane_init, &gt;usb /dev/usbscanner0&lt;
<BR>
[epson] sane_init, &gt;usb /dev/usbscanner0&lt;
<BR>
[epson] attach(usb /dev/usbscanner0)
<BR>
[epson] SANE Epson Backend v0.2.02 - 2001-03-31
<BR>
[epson] attach(usb /dev/usbscanner0)
<BR>
[epson] attach: opening usb /dev/usbscanner0
<BR>
[epson] send buf, size = 2
<BR>
[epson] buf[0] 1b .
<BR>
[epson] buf[1] 40 @
<BR>
<P>Here it freezes.
<BR>
If I turn off and on the scanner:
<BR>
<P>[epson] receive buf, expected = 1, got = 0
<BR>
[epson] get_identity_information()
<BR>
[epson] send buf, size = 2
<BR>
[epson] buf[0] 1b .
<BR>
[epson] buf[1] 49 I
<BR>
[epson] error in receive - status = 5
<BR>
[epson] receive buf, expected = 4, got = -1
<BR>
[epson] ident failed
<BR>
[epson] sane_get_devices()
<BR>
<P>The freeze shouldn't happen. If it's not possible to detect the Epson
<BR>
USB scanners without confusing other scanners, please don't do it
<BR>
automatically (so the user has to put the /dev/usbscanner in
<BR>
epson.conf or something like this).
<BR>
<P>Bye,
<BR>
&nbsp;&nbsp;Henning
<BR>
<P><P><PRE>
--
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:%20[dev]%20Problems%20with%20epson%20USB%20(mis)detection&In-Reply-To=&lt;20010414165815.A19877@vortex.swb.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0141.html">Klaus-Peter Schrage: "Re: [snapscan] new version snapscan-20010411 of the backend - success with Agfa 1212U_2"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0139.html">Henning Meier-Geinitz: "Re: [dev] New and updated backends"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#140">[ date ]</A>
<A HREF="index.html#140">[ thread ]</A>
<A HREF="subject.html#140">[ subject ]</A>
<A HREF="author.html#140">[ 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>Sat Apr 14 2001 - 07:43:01 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>