kopia lustrzana https://gitlab.com/sane-project/website
146 wiersze
6.2 KiB
HTML
146 wiersze
6.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: Microtek X6, USB and slackware problems</TITLE>
|
|
<META NAME="Author" CONTENT="Oliver Neukum (Oliver.Neukum@lrz.uni-muenchen.de)">
|
|
<META NAME="Subject" CONTENT="Re: Microtek X6, USB and slackware problems">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: Microtek X6, USB and slackware problems</H1>
|
|
<!-- received="Tue Feb 6 14:20:47 2001" -->
|
|
<!-- isoreceived="20010206222047" -->
|
|
<!-- sent="Tue, 6 Feb 2001 23:22:07 +0100" -->
|
|
<!-- isosent="20010206222207" -->
|
|
<!-- name="Oliver Neukum" -->
|
|
<!-- email="Oliver.Neukum@lrz.uni-muenchen.de" -->
|
|
<!-- subject="Re: Microtek X6, USB and slackware problems" -->
|
|
<!-- id="01020623220700.04937@idun" -->
|
|
<!-- inreplyto="3A806985.7042C0D9@t-online.de" -->
|
|
<STRONG>From:</STRONG> Oliver Neukum (<A HREF="mailto:Oliver.Neukum@lrz.uni-muenchen.de?Subject=Re:%20Microtek%20X6,%20USB%20and%20slackware%20problems&In-Reply-To=<01020623220700.04937@idun>"><EM>Oliver.Neukum@lrz.uni-muenchen.de</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Tue Feb 06 2001 - 14:22:07 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0051.html">Gregory Gulik: "Re: Setting up HP ScanJet 5P on Solaris 8 SPARC"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0049.html">Shea Martin: "Re: Acer 640U: is it wrecked?"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0046.html">Karsten Festag: "Re: Microtek X6, USB and slackware problems"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0102.html">Roy Mathew: "Re: Microtek X6, USB and slackware problems"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0102.html">Roy Mathew: "Re: Microtek X6, USB and slackware problems"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#50">[ date ]</A>
|
|
<A HREF="index.html#50">[ thread ]</A>
|
|
<A HREF="subject.html#50">[ subject ]</A>
|
|
<A HREF="author.html#50">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
On Dienstag, 6. Februar 2001 22:15, you wrote:
|
|
<BR>
|
|
<EM>> Hi Roy, Hi Oliver,
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> I got the logfile from Oliver and discovered that the scanner returns
|
|
</EM><BR>
|
|
<EM>> unexpected data with the scsi_read_image_info command. Normally it gives
|
|
</EM><BR>
|
|
<EM>> back the width and height of the image to be scanned and the amount of data
|
|
</EM><BR>
|
|
<EM>> it will provide. But here it looks like the scanner simply returns the
|
|
</EM><BR>
|
|
<EM>> bytes it has recieved during the last command (scsi_set_window).
|
|
</EM><BR>
|
|
<EM>> By the way, have you modified the backend code? I would have expected that
|
|
</EM><BR>
|
|
<EM>> you get an error message because your model (model code 0x99) is not
|
|
</EM><BR>
|
|
<EM>> recognized by the backend.
|
|
</EM><BR>
|
|
<P> case 0x99:
|
|
<BR>
|
|
*model_string = "ScanMaker X6USB";
|
|
<BR>
|
|
if ( md->revision == 1.00 )
|
|
<BR>
|
|
md->model_flags |= MD_OFFSET_2;
|
|
<BR>
|
|
md->model_flags |= MD_X6_SHORT_TRANSFER;
|
|
<BR>
|
|
break;
|
|
<BR>
|
|
<P>This code is by John Fremlin originally and was incorporated in sane-1.0.3
|
|
<BR>
|
|
<P><EM>> In fact I think there are two possibilities:
|
|
</EM><BR>
|
|
<EM>> a) Microtek again doesn't follow it's own standards with newer scanners and
|
|
</EM><BR>
|
|
<EM>> the scanner must be handled different from the others
|
|
</EM><BR>
|
|
<EM>> b) there is a problem with the sg / USB driver or interface
|
|
</EM><BR>
|
|
<P>I think this is not the case, as this error is fully reproducible and seems
|
|
<BR>
|
|
to be limited to this command only.
|
|
<BR>
|
|
Furthermore it affects only two users with different kernel versions.
|
|
<BR>
|
|
I myself can scan. I am attaching a log of a test which works.
|
|
<BR>
|
|
<P><EM>> to make this clear it would be helpful to know about the communication with
|
|
</EM><BR>
|
|
<EM>> the scanner when scanning with Windows. I got my (SCSI-via-)parport scanner
|
|
</EM><BR>
|
|
<EM>> running with wine and was able to trace the data that was send via the ASPI
|
|
</EM><BR>
|
|
<EM>> interface. I don't know if it is possible with SCSI-via-USB.
|
|
</EM><BR>
|
|
<P>That can't be done. Native windows can be snooped but I don't have windows.
|
|
<BR>
|
|
<P> Regards
|
|
<BR>
|
|
Oliver Neukum
|
|
<BR>
|
|
<P>
|
|
<BR><HR NOSHADE>
|
|
<UL>
|
|
<LI>text/english attachment: <A HREF="att-0050/01-microtek2.log">microtek2.log</A>
|
|
</UL>
|
|
<!-- attachment="01-microtek2.log" -->
|
|
<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:%20Microtek%20X6,%20USB%20and%20slackware%20problems&In-Reply-To=<01020623220700.04937@idun>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0051.html">Gregory Gulik: "Re: Setting up HP ScanJet 5P on Solaris 8 SPARC"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0049.html">Shea Martin: "Re: Acer 640U: is it wrecked?"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0046.html">Karsten Festag: "Re: Microtek X6, USB and slackware problems"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0102.html">Roy Mathew: "Re: Microtek X6, USB and slackware problems"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0102.html">Roy Mathew: "Re: Microtek X6, USB and slackware problems"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#50">[ date ]</A>
|
|
<A HREF="index.html#50">[ thread ]</A>
|
|
<A HREF="subject.html#50">[ subject ]</A>
|
|
<A HREF="author.html#50">[ 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 Feb 06 2001 - 14:22:13 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|