sane-project-website/old-archive/2001-06/0152.html

153 wiersze
5.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: Re: Work started on FB630U</TITLE>
<META NAME="Author" CONTENT="Glenn Ramsey (glenn@componic.com)">
<META NAME="Subject" CONTENT="Re: Work started on FB630U">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Work started on FB630U</H1>
<!-- received="Sat Jun 9 15:29:26 2001" -->
<!-- isoreceived="20010609222926" -->
<!-- sent="Sun, 10 Jun 2001 10:35:20 +1200" -->
<!-- isosent="20010609223520" -->
<!-- name="Glenn Ramsey" -->
<!-- email="glenn@componic.com" -->
<!-- subject="Re: Work started on FB630U" -->
<!-- id="3B22A4A8.EF7902FF@goata.nz.componic.com" -->
<!-- inreplyto="Pine.SOL.4.30.0106091420380.7220-100000@mimosa.csv.warwick.ac.uk" -->
<STRONG>From:</STRONG> Glenn Ramsey (<A HREF="mailto:glenn@componic.com?Subject=Re:%20Work%20started%20on%20FB630U&In-Reply-To=&lt;3B22A4A8.EF7902FF@goata.nz.componic.com&gt;"><EM>glenn@componic.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Jun 09 2001 - 15:35:20 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0153.html">Henning Meier-Geinitz: "Re: HP Scanjet 2200C"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0151.html">Stefan Nilsen: "HP Scanjet 2200C"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0141.html">Simon Heywood: "Work started on FB630U"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#152">[ date ]</A>
<A HREF="index.html#152">[ thread ]</A>
<A HREF="subject.html#152">[ subject ]</A>
<A HREF="author.html#152">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi Simon,
<BR>
Simon Heywood wrote:
<BR>
<P><EM>&gt; Firstly, I've had a little difficulty with the SniffUSB utility. Since
</EM><BR>
<EM>&gt; there's no documentation, I'm purely guessing what to do. Sniff USB shows
</EM><BR>
<EM>&gt; two devices in its window - the root hub and my scanner - and I've
</EM><BR>
<EM>&gt; installed a sniffer on both (is that correct ?).
</EM><BR>
<P>I found that I only needed a sniffer on the scanner, not the hub.
<BR>
If you have the sniffer on both then you might be getting some
<BR>
stuff that you don't need.
<BR>
<P><EM>&gt;
</EM><BR>
<EM>&gt; Which direction is which in the SniffUSB logs? I'm assuming that &quot;going
</EM><BR>
<EM>&gt; down&quot; is PC to scanner and that &quot;coming back&quot; is scanner to PC, but I'm
</EM><BR>
<EM>&gt; sure there's scope for confusion with the USB architecture.
</EM><BR>
<P>I can only relate my experience with the Microtek ScanMaker 3600,
<BR>
and for that scanner the directions are as you have assumed.
<BR>
<P><EM>&gt; I'm assuming that the actual data sent/received is the line of hex numbers
</EM><BR>
<EM>&gt; after &quot;0000:&quot; - is this all that gets sent?
</EM><BR>
<P>Yes, the buffer contents are listed after the 0000: lines. Not
<BR>
sure about bulk transfers but for control transfers the request,
<BR>
value, index and requesttype fields are likely to have some
<BR>
significance.
<BR>
<P><EM>&gt; I've tried reproducing these
</EM><BR>
<EM>&gt; codes by writing them to the scanner device and trying to read what gets
</EM><BR>
<EM>&gt; sent back, but I've never heard back from the scanner.
</EM><BR>
<P>Did you send the control transfers as well as the bulk transfers?
<BR>
&nbsp;
<BR>
You might have noticed that Snoopy sometimes loses URBs when it is
<BR>
heavily loaded, like when transferring scan data. Marian Eichholz
<BR>
has a hacked version of snoopy that doesn't try to log the data
<BR>
from bulk transfers, it just logs the size, and doesn't lose
<BR>
transfers (well, that we have noticed yet), you might find that
<BR>
useful. Get in touch if you want it.
<BR>
<P>Also once we had figured out what data in the logs was relevant we
<BR>
wrote some scripts that extracted that data and presented it in a
<BR>
more readable way. The scripts are in the sm3600 project cvs on
<BR>
sourceforge. They are called logfilter.pl and squeezelog.pl. You
<BR>
might get some ideas from them.
<BR>
<P>Good luck.
<BR>
<P>Regards
<BR>
g
<BR>
<P><PRE>
--
Glenn Ramsey
<A HREF="mailto:glenn@componic.com?Subject=Re:%20Work%20started%20on%20FB630U&In-Reply-To=&lt;3B22A4A8.EF7902FF@goata.nz.componic.com&gt;">glenn@componic.com</A>
<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:%20Work%20started%20on%20FB630U&In-Reply-To=&lt;3B22A4A8.EF7902FF@goata.nz.componic.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0153.html">Henning Meier-Geinitz: "Re: HP Scanjet 2200C"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0151.html">Stefan Nilsen: "HP Scanjet 2200C"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0141.html">Simon Heywood: "Work started on FB630U"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#152">[ date ]</A>
<A HREF="index.html#152">[ thread ]</A>
<A HREF="subject.html#152">[ subject ]</A>
<A HREF="author.html#152">[ 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 Jun 09 2001 - 15:29:47 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>