sane-project-website/old-archive/2001-01/0266.html

167 wiersze
6.7 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: scanimage hangs on 'scanimage -L'</TITLE>
<META NAME="Author" CONTENT="Shea Martin (snowsquirrel@home.com)">
<META NAME="Subject" CONTENT="Re: scanimage hangs on 'scanimage -L'">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: scanimage hangs on 'scanimage -L'</H1>
<!-- received="Tue Jan 23 10:43:50 2001" -->
<!-- isoreceived="20010123184350" -->
<!-- sent="Tue, 23 Jan 2001 12:58:23 -0600" -->
<!-- isosent="20010123185823" -->
<!-- name="Shea Martin" -->
<!-- email="snowsquirrel@home.com" -->
<!-- subject="Re: scanimage hangs on 'scanimage -L'" -->
<!-- id="20010123125823.003239b4.snowsquirrel@home.com" -->
<!-- inreplyto="01012319251400.00650@oliverspc" -->
<STRONG>From:</STRONG> Shea Martin (<A HREF="mailto:snowsquirrel@home.com?Subject=Re:%20scanimage%20hangs%20on%20'scanimage%20-L'&In-Reply-To=&lt;20010123125823.003239b4.snowsquirrel@home.com&gt;"><EM>snowsquirrel@home.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Tue Jan 23 2001 - 10:58:23 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0267.html">Shea Martin: "frontend 1.0.4 ./configure can't run sane test program???????"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0265.html">Oliver Schwartz: "Re: scanimage hangs on 'scanimage -L'"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0265.html">Oliver Schwartz: "Re: scanimage hangs on 'scanimage -L'"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#266">[ date ]</A>
<A HREF="index.html#266">[ thread ]</A>
<A HREF="subject.html#266">[ subject ]</A>
<A HREF="author.html#266">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
I am not sure what happened, but I ran scanimage -L with in the debug mode. The scanner was recognized?????? All is well that ends well. The only thing that may have been different was that I mounted the usbdevfs before running scanimage. I have been fooling with this stuff for so long now, who knows what I did diff this time around. Anyway, I really appreciate the effort you went to to help me out. The debug mode may help me help myself out if I encounter this prob again. Hopefully things keep working.
<BR>
FYI here is output:
<BR>
<P>[sanei_debug] Setting debug level of snapscan to 255.
<BR>
[snapscan] sane_snapscan_init
<BR>
[snapscan] add_device(/dev/usbscanner)
<BR>
[snapscan] add_device: Detected (kind of) an USB device
<BR>
[snapscan] usb_open(/dev/usbscanner)
<BR>
[snapscan] mini_inquiry
<BR>
[snapscan] snapscan_cmd
<BR>
[snapscan] sanei_usb_cmd(5,0xbfffe4a4,6,0xbfffe480,0xbfffe47c (36))
<BR>
[snapscan] atomic_usb_cmd(5,0xbfffe4a4,6,0xbfffe480,0xbfffe47c (36))
<BR>
[snapscan] usb_cmd(5,0xbfffe4a4,6,0xbfffe480,0xbfffe47c (36))
<BR>
[snapscan] usb_cmd: cmdlen=6, datalen=0
<BR>
[snapscan] usb_write: writing: 0x12 0x00 0x00 0x00 0x24 0x00
<BR>
[snapscan] usb_read: reading: 0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
<BR>
[snapscan] usb_read: reading: 0x06 0x00 0x02 0x02 0x49 0x00 0x00 0x00 0x43 0x6f ...
<BR>
[snapscan] usb_read: reading: 0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
<BR>
[snapscan] add_device: Is vendor &quot;Color&quot; model &quot;FlatbedScanner13&quot; a supported scanner?
<BR>
[snapscan] usb_close(5)
<BR>
[snapscan] sane_snapscan_get_devices (0xbffff638, 0)
<BR>
device `snapscan:/dev/usbscanner' is a Color FlatbedScanner13 flatbed scanner
<BR>
[snapscan] sane_snapscan_exit
<BR>
<P><P>On Tue, 23 Jan 2001 19:25:14 +0100
<BR>
Oliver Schwartz &lt;<A HREF="mailto:Oliver.Schwartz@gmx.de?Subject=Re:%20scanimage%20hangs%20on%20'scanimage%20-L'&In-Reply-To=&lt;20010123125823.003239b4.snowsquirrel@home.com&gt;">Oliver.Schwartz@gmx.de</A>&gt; wrote:
<BR>
<P><EM>&gt; Hi,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &gt; I am not sure how to set SANE_SNAPSCAN_DEBUG=255? Should I enter this line
</EM><BR>
<EM>&gt; &gt; in the make file, pass the line as an arguement to ./configure? I ran the
</EM><BR>
<EM>&gt; &gt; following command 'grep -l SANE_SNAPSCAN_DEBUG=255 *' in the sane-backend
</EM><BR>
<EM>&gt; &gt; dir, the backend dir, and the frontend dir but came up with nothing.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Actually it's SANE_DEBUG_SNAPSCAN ... just execute
</EM><BR>
<EM>&gt; &quot;export SANE_DEBUG_SNAPSCAN=255&quot; in your shell before running scanimage.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Oliver
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; --------------------------------------------------------
</EM><BR>
<EM>&gt; ! Oliver Schwartz !
</EM><BR>
<EM>&gt; ! Heidberg 19A Tel. : 040 / 27 80 62 46 !
</EM><BR>
<EM>&gt; ! D-22301 Hamburg E-Mail: <A HREF="mailto:Oliver.Schwartz@gmx.de?Subject=Re:%20scanimage%20hangs%20on%20'scanimage%20-L'&In-Reply-To=&lt;20010123125823.003239b4.snowsquirrel@home.com&gt;">Oliver.Schwartz@gmx.de</A> !
</EM><BR>
<EM>&gt; --------------------------------------------------------
</EM><BR>
<EM>&gt;
</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:%20scanimage%20hangs%20on%20'scanimage%20-L'&In-Reply-To=&lt;20010123125823.003239b4.snowsquirrel@home.com&gt;">majordomo@mostang.com</A>
</EM><BR>
<P><P><PRE>
--
...elbows out,
stick on the ice!
<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:%20scanimage%20hangs%20on%20'scanimage%20-L'&In-Reply-To=&lt;20010123125823.003239b4.snowsquirrel@home.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0267.html">Shea Martin: "frontend 1.0.4 ./configure can't run sane test program???????"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0265.html">Oliver Schwartz: "Re: scanimage hangs on 'scanimage -L'"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0265.html">Oliver Schwartz: "Re: scanimage hangs on 'scanimage -L'"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#266">[ date ]</A>
<A HREF="index.html#266">[ thread ]</A>
<A HREF="subject.html#266">[ subject ]</A>
<A HREF="author.html#266">[ 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>Tue Jan 23 2001 - 10:45:04 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>