sane-project-website/old-archive/2001-02/0201.html

329 wiersze
9.6 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: usb-scsi driver problem with SET_WINDOW?</TITLE>
<META NAME="Author" CONTENT="Clark Case (ccase@rocketmail.com)">
<META NAME="Subject" CONTENT="usb-scsi driver problem with SET_WINDOW?">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>usb-scsi driver problem with SET_WINDOW?</H1>
<!-- received="Fri Feb 23 12:10:15 2001" -->
<!-- isoreceived="20010223201015" -->
<!-- sent="Fri, 23 Feb 2001 12:21:28 -0800 (PST)" -->
<!-- isosent="20010223202128" -->
<!-- name="Clark Case" -->
<!-- email="ccase@rocketmail.com" -->
<!-- subject="usb-scsi driver problem with SET_WINDOW?" -->
<!-- id="20010223202128.27520.qmail@web1606.mail.yahoo.com" -->
<STRONG>From:</STRONG> Clark Case (<A HREF="mailto:ccase@rocketmail.com?Subject=Re:%20usb-scsi%20driver%20problem%20with%20SET_WINDOW?&In-Reply-To=&lt;20010223202128.27520.qmail@web1606.mail.yahoo.com&gt;"><EM>ccase@rocketmail.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Fri Feb 23 2001 - 12:21:28 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0202.html">Oliver Neukum: "Re: usb-scsi driver problem with SET_WINDOW?"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0200.html">Andreas Rathgeber: "Re: xsane; script that converts file names from .tiff to .tif"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0202.html">Oliver Neukum: "Re: usb-scsi driver problem with SET_WINDOW?"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0202.html">Oliver Neukum: "Re: usb-scsi driver problem with SET_WINDOW?"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#201">[ date ]</A>
<A HREF="index.html#201">[ thread ]</A>
<A HREF="subject.html#201">[ subject ]</A>
<A HREF="author.html#201">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
I've been trying to get my Minolta Dimage Scan Dual II
<BR>
working under Linux with the usb-scsi driver developed
<BR>
for the HP 5300C, modified so it will recognize my
<BR>
scanner. To eliminate as many variables as possible,
<BR>
I'm using VueScan as the front end. After I modprobe
<BR>
in the usb-scsi driver, turn on my scanner, and start
<BR>
VueScan, the initialization process goes much as it
<BR>
does with the Windows VueScan, until VueScan sends a
<BR>
SET WINDOW command. At that point, usb-scsi pretty
<BR>
much freezes up for 10 minutes and then aborts. I sent
<BR>
the VueScan log to Ed Hamrick, and he hypothesised
<BR>
that the problem may be because the data being sent is
<BR>
longer than 64 bytes, and therefore would require more
<BR>
than one USB frame. Any ideas?
<BR>
<P>Here is the pertinent line from the VueScan log:
<BR>
<P>5115 0 SET WINDOW 24 0 0 0 0 0
<BR>
0 0 46 0 00000046 0000 W 0 0 0 0 0 0 b
<BR>
33 0 0 b 4 b 4 0 0 0 0 0 0 0 0 0 0 4
<BR>
b0 0 0 0 4 80 80 80 5 8 0 7f 3 0 0 0 0 0
<BR>
0 0 0 0 0 ff 14 60 ff 0 21 c 0 1 0 0 0 64
<BR>
0 64 0 64 0 0 0 0 0
<BR>
<P>And the corresponding log data from my kernel log:
<BR>
<P>Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
<BR>
usb-scsi.c:683 (usc_scsi_queuecommand)
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: Command
<BR>
SET_WINDOW (10 bytes)
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: 24 00 00
<BR>
00 00 00 00 00 46 00
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: desc at
<BR>
0xc6e67a00: halted = 00, toggle = 24
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI:
<BR>
ep_out=c0008300 ep_response=40010380 ep_image=c0018380
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: Line 701:
<BR>
trying to engage the cmd_lock.
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
<BR>
usb-scsi.c:705 (usc_scsi_queuecommand)
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: Command
<BR>
SET_WINDOW (10 bytes)
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: 24 00 00
<BR>
00 00 00 00 00 46 00
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
<BR>
usb-scsi.c:644 (usc_build_transfer_context)
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI:
<BR>
transfering to desc-&gt;ep_out == 1
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
<BR>
usb-scsi.c:741 (usc_scsi_queuecommand)
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
<BR>
usb-scsi.c:600 (usc_command_done)
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: transfer =
<BR>
c6e67abc context = c6e67b64
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI:
<BR>
transfer-&gt;status = ffffff99 data-length = 46 sent = 0
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: desc at
<BR>
0xc6e67a00: halted = 00, toggle = 24
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI:
<BR>
ep_out=c0008300 ep_response=40010380 ep_image=c0018380
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
<BR>
usb-scsi.c:602 (usc_command_done)
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
<BR>
usb-scsi.c:604 (usc_command_done)
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
<BR>
usb-scsi.c:473 (usc_transfer_cleanup)
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: not
<BR>
locked.
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: running
<BR>
srb-&gt;callback.
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: releasing
<BR>
lock.
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
<BR>
usb-scsi.c:683 (usc_scsi_queuecommand)
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: Command
<BR>
TEST_UNIT_READY (6 bytes)
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: 00 00 00
<BR>
00 00 00 00 00 00 00
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: desc at
<BR>
0xc6e67a00: halted = 00, toggle = 24
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI:
<BR>
ep_out=c0008300 ep_response=40010380 ep_image=c0018380
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: Line 701:
<BR>
trying to engage the cmd_lock.
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
<BR>
usb-scsi.c:705 (usc_scsi_queuecommand)
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: Command
<BR>
TEST_UNIT_READY (6 bytes)
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: 00 00 00
<BR>
00 00 00 00 00 00 00
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
<BR>
usb-scsi.c:644 (usc_build_transfer_context)
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
<BR>
usb-scsi.c:741 (usc_scsi_queuecommand)
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
<BR>
usb-scsi.c:600 (usc_command_done)
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: transfer =
<BR>
c6e67abc context = c6e67b64
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI:
<BR>
transfer-&gt;status = 0 data-length = 0 sent = 6
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: desc at
<BR>
0xc6e67a00: halted = 00, toggle = 04
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI:
<BR>
ep_out=c0008300 ep_response=40010380 ep_image=c0018380
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
<BR>
usb-scsi.c:602 (usc_command_done)
<BR>
Feb 17 14:58:19 localhost kernel: USB-SCSI: got to
<BR>
usb-scsi.c:611 (usc_command_done)
<BR>
Feb 17 15:08:19 localhost kernel: USB-SCSI: got to
<BR>
usb-scsi.c:358 (usc_scsi_abort)
<BR>
Feb 17 15:08:19 localhost kernel: USB-SCSI: got to
<BR>
usb-scsi.c:236 (usc_request_abort)
<BR>
Feb 17 15:08:19 localhost kernel: USB-SCSI: desc at
<BR>
0xc6e67a00: halted = 00, toggle = 04
<BR>
Feb 17 15:08:19 localhost kernel: USB-SCSI:
<BR>
ep_out=c0008300 ep_response=40010380 ep_image=c0018380
<BR>
Feb 17 15:08:19 localhost kernel: USB-SCSI: got to
<BR>
usb-scsi.c:242 (usc_urb_abort)
<BR>
Feb 17 15:08:19 localhost kernel: USB-SCSI: desc at
<BR>
0xc6e67a00: halted = 00, toggle = 04
<BR>
Feb 17 15:08:19 localhost kernel: USB-SCSI:
<BR>
ep_out=c0008300 ep_response=40010380 ep_image=c0018380
<BR>
Feb 17 15:08:19 localhost kernel: USB-SCSI: got to
<BR>
usb-scsi.c:370 (usc_scsi_host_reset)
<BR>
Feb 17 15:08:19 localhost kernel: USB-SCSI: desc at
<BR>
0xc6e67a00: halted = 00, toggle = 04
<BR>
Feb 17 15:08:19 localhost kernel: USB-SCSI:
<BR>
ep_out=c0008300 ep_response=40010380 ep_image=c0018380
<BR>
Feb 17 15:08:19 localhost kernel: hub.c: port 1,
<BR>
portstatus 103, change 0, 12 Mb/s
<BR>
<P><P>__________________________________________________
<BR>
Do You Yahoo!?
<BR>
Yahoo! Auctions - Buy the things you want at great prices! <A HREF="http://auctions.yahoo.com/">http://auctions.yahoo.com/</A>
<BR>
<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:%20usb-scsi%20driver%20problem%20with%20SET_WINDOW?&In-Reply-To=&lt;20010223202128.27520.qmail@web1606.mail.yahoo.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0202.html">Oliver Neukum: "Re: usb-scsi driver problem with SET_WINDOW?"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0200.html">Andreas Rathgeber: "Re: xsane; script that converts file names from .tiff to .tif"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0202.html">Oliver Neukum: "Re: usb-scsi driver problem with SET_WINDOW?"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0202.html">Oliver Neukum: "Re: usb-scsi driver problem with SET_WINDOW?"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#201">[ date ]</A>
<A HREF="index.html#201">[ thread ]</A>
<A HREF="subject.html#201">[ subject ]</A>
<A HREF="author.html#201">[ 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>Fri Feb 23 2001 - 12:13:42 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>