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

180 wiersze
6.1 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 Scanjet 3300 [also Re: HP 3400 scanner infor</TITLE>
<META NAME="Author" CONTENT="Adrian Perez Jorge (adrianpj@easynews.com)">
<META NAME="Subject" CONTENT="Re: HP Scanjet 3300 [also Re: HP 3400 scanner information]">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: HP Scanjet 3300 [also Re: HP 3400 scanner information]</H1>
<!-- received="Sun Jan 7 08:08:07 2001" -->
<!-- isoreceived="20010107160807" -->
<!-- sent="Sun, 7 Jan 2001 08:29:59 -0800" -->
<!-- isosent="20010107162959" -->
<!-- name="Adrian Perez Jorge" -->
<!-- email="adrianpj@easynews.com" -->
<!-- subject="Re: HP Scanjet 3300 [also Re: HP 3400 scanner information]" -->
<!-- id="200101071629.IAA24993@mail13.bigmailbox.com" -->
<!-- inreplyto="HP Scanjet 3300 [also Re: HP 3400 scanner information]" -->
<STRONG>From:</STRONG> Adrian Perez Jorge (<A HREF="mailto:adrianpj@easynews.com?Subject=Re:%20HP%20Scanjet%203300%20[also%20Re:%20HP%203400%20scanner%20information]&In-Reply-To=&lt;200101071629.IAA24993@mail13.bigmailbox.com&gt;"><EM>adrianpj@easynews.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Jan 07 2001 - 08:29:59 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0085.html">Christoph Knauer: "Re: sane,saned und XSane/Windows"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0083.html">Oliver Rauch: "Re: sane,saned und XSane/Windows"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#84">[ date ]</A>
<A HREF="index.html#84">[ thread ]</A>
<A HREF="subject.html#84">[ subject ]</A>
<A HREF="author.html#84">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
('binary' encoding is not supported, stored as-is)
<EM>&gt;&gt; &gt;To me this protocol is absolutly alien.
</EM><BR>
<EM>&gt;&gt; &gt;It has _no_ connection to the protocol of the 5300.
</EM><BR>
<EM>&gt;&gt;
</EM><BR>
<EM>&gt;&gt; That's really a pity. I thought those 8-byte vectors could be a kind
</EM><BR>
<EM>&gt;&gt; of a ``SCSI scanner'' like command. Anyway, rev-eng is fun (I hope).
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;You are refering to those:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;------------------------------------------
</EM><BR>
<EM>&gt;The 8-byte vectors I have found in the hp4300 log file are:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;01 01 00 00 60 00 00 00
</EM><BR>
<EM>&gt;^ ^
</EM><BR>
<EM>&gt;| +--- hi-byte (length)
</EM><BR>
<EM>&gt;+------ lo-byte (length)
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;00 00 00 00 2a 5d 00 00
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;This one is from the hp3300 log file:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;01 00 00 00 38 dc 00 00a
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;-------------------------------------------
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;At first glance no, at the second glance I've changed my mind.
</EM><BR>
<EM>&gt;A scsi command is usually 6 bytes. It may be 10 or 12 bytes, but never 8.
</EM><BR>
<EM>&gt;If it indeed is scsi then it is encapsulated. If you strip of the leading two
</EM><BR>
<EM>&gt;bytes the one in the example might be a scsi INQUIRY command.
</EM><BR>
<EM>&gt;If this is true the example should have resulted in a reply of 0x60 bytes.
</EM><BR>
<EM>&gt;Could you check ?
</EM><BR>
<P>After the 0082 (Value) request, there is always a bulk transfer. In
<BR>
this case the bulk transfer is 0x60 bytes length. I should not use
<BR>
TAB caracters in my e-mails to buid the diagrams. The 5th byte of the
<BR>
8-byte vector is the hi-byte and the 4th byte is the lo-byte of the
<BR>
length (not the second and first as your mail reader may be showing
<BR>
this text).
<BR>
<P>But in that case, the bulk transfer data comes from the computer to
<BR>
the scanner... so it doesn't seem to be a `reply'.
<BR>
<P><EM>&gt;In addition you should then find a transfer of type III resulting in
</EM><BR>
<EM>&gt; 00.
</EM><BR>
<P>Just after the bulk transfer a type III transfer doesn't take place.
<BR>
The 8-byte request is URB #574, and the next type III request is URB
<BR>
#816 . The next 8-byte req is URB #598, so it seems type III requests
<BR>
are not a status byte for those 8-byte requests.
<BR>
<P><EM>&gt;If this turns out to be the case, I'd suggest that you use usb-storage,
</EM><BR>
<EM>&gt;protocol CB on the scanner. It might just work and save you a lot of trouble.
</EM><BR>
<P>Thanks for the info. I have ignored usb-storage and seems a fairly
<BR>
common interface for SCSI and USB. I'll first look for the specs and
<BR>
compare the protocol.
<BR>
<P>Cheers,
<BR>
<P><P><P><P>Adrian Perez Jorge
<BR>
&lt;<A HREF="mailto:adrianpj@easynews.com?Subject=Re:%20HP%20Scanjet%203300%20[also%20Re:%20HP%203400%20scanner%20information]&In-Reply-To=&lt;200101071629.IAA24993@mail13.bigmailbox.com&gt;">adrianpj@easynews.com</A>&gt;
<BR>
<P>------------------------------------------------------------
<BR>
Free Web space and web based email @EASYNEWS.COM
<BR>
<P><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:%20HP%20Scanjet%203300%20[also%20Re:%20HP%203400%20scanner%20information]&In-Reply-To=&lt;200101071629.IAA24993@mail13.bigmailbox.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0085.html">Christoph Knauer: "Re: sane,saned und XSane/Windows"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0083.html">Oliver Rauch: "Re: sane,saned und XSane/Windows"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#84">[ date ]</A>
<A HREF="index.html#84">[ thread ]</A>
<A HREF="subject.html#84">[ subject ]</A>
<A HREF="author.html#84">[ 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>Sun Jan 07 2001 - 08:09:15 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>