kopia lustrzana https://gitlab.com/sane-project/website
182 wiersze
6.6 KiB
HTML
182 wiersze
6.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: Re: microtek X6USB</TITLE>
|
|
<META NAME="Author" CONTENT="abel deuring (a.deuring@satzbau-gmbh.de)">
|
|
<META NAME="Subject" CONTENT="Re: microtek X6USB">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: microtek X6USB</H1>
|
|
<!-- received="Tue Apr 18 01:59:06 2000" -->
|
|
<!-- isoreceived="20000418085906" -->
|
|
<!-- sent="Tue, 18 Apr 2000 11:03:12 +0200" -->
|
|
<!-- isosent="20000418090312" -->
|
|
<!-- name="abel deuring" -->
|
|
<!-- email="a.deuring@satzbau-gmbh.de" -->
|
|
<!-- subject="Re: microtek X6USB" -->
|
|
<!-- id="38FC24D0.CE19F2A7@satzbau-gmbh.de" -->
|
|
<!-- inreplyto="00041810574203.00314@ghanima" -->
|
|
<STRONG>From:</STRONG> abel deuring (<A HREF="mailto:a.deuring@satzbau-gmbh.de?Subject=Re:%20microtek%20X6USB&In-Reply-To=<38FC24D0.CE19F2A7@satzbau-gmbh.de>"><EM>a.deuring@satzbau-gmbh.de</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Tue Apr 18 2000 - 02:03:12 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0188.html">abel deuring: "Re: microtek X6USB"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0186.html">Mentore Siesto: "Re: ASPIROUT.sys not recognized by OS/2 Config.sys"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0185.html">Oliver Neukum: "microtek X6USB"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0188.html">abel deuring: "Re: microtek X6USB"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0188.html">abel deuring: "Re: microtek X6USB"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#187">[ date ]</A>
|
|
<A HREF="index.html#187">[ thread ]</A>
|
|
<A HREF="subject.html#187">[ subject ]</A>
|
|
<A HREF="author.html#187">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Oliver Neukum wrote:
|
|
<BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Hi,
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> we've written a driver that does scsi over usb for the Microtek X6USB.
|
|
</EM><BR>
|
|
<EM>> After adding 0x99 to the supported scanners in sane1.0.2 I got this:
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> root@ghanima:/usr/local/etc/sane.d > /usr/local/bin/scanimage -L
|
|
</EM><BR>
|
|
<EM>> [sanei_init_debug]: Setting debug level of microtek2 to 128.
|
|
</EM><BR>
|
|
<EM>> [microtek2] sane_init: Microtek2 (v0.8) says hello...
|
|
</EM><BR>
|
|
<EM>> [microtek2] parse_config_file: fp=0x804ddb0
|
|
</EM><BR>
|
|
<EM>> [microtek2] attach_one: name='/dev/sg4
|
|
</EM><BR>
|
|
<EM>> '
|
|
</EM><BR>
|
|
<EM>> [microtek2] add_device_list: device='/dev/sg4'
|
|
</EM><BR>
|
|
<EM>> [microtek2] attach: device='/dev/sg4'
|
|
</EM><BR>
|
|
<EM>> [microtek2] scsi_inquiry: mi=0x804de94, device='/dev/sg4'
|
|
</EM><BR>
|
|
<EM>> [sanei_init_debug]: Setting debug level of sanei_scsi to 128.
|
|
</EM><BR>
|
|
<EM>> [sanei_scsi] sanei_scsi_open: sanei_scsi_max_request_size=32768 bytes
|
|
</EM><BR>
|
|
<EM>> [sanei_scsi] sanei_scsi_open: SG driver version: 30112
|
|
</EM><BR>
|
|
<EM>> [sanei_scsi] sanei_scsi_open_extended: using 32768 bytes as SCSI buffer
|
|
</EM><BR>
|
|
<EM>> [sanei_scsi] trying to enable low level command queueing
|
|
</EM><BR>
|
|
<EM>> [sanei_scsi] sanei_scsi_open: Host adapter queue depth: 1
|
|
</EM><BR>
|
|
<EM>> [sanei_scsi] sanei_scsi_open: SG driver can change buffer size at run time
|
|
</EM><BR>
|
|
<EM>> [sanei_scsi] sanei_scsi_open: could not allocate SG buffer memory wanted: 131072 got: 32768
|
|
</EM><BR>
|
|
<EM>> [microtek2] scsi_inquiry: 'Out of memory'
|
|
</EM><BR>
|
|
<EM>> [microtek2] attach: 'Out of memory'
|
|
</EM><BR>
|
|
<EM>> [microtek2] sane_get_devices: local_only=0
|
|
</EM><BR>
|
|
<EM>> [microtek2] attach: device='/dev/sg4'
|
|
</EM><BR>
|
|
<EM>> [microtek2] scsi_inquiry: mi=0x804de94, device='/dev/sg4'
|
|
</EM><BR>
|
|
<EM>> [sanei_init_debug]: Setting debug level of sanei_scsi to 128.
|
|
</EM><BR>
|
|
<EM>> [sanei_scsi] sanei_scsi_open: SG driver version: 30112
|
|
</EM><BR>
|
|
<EM>> [sanei_scsi] sanei_scsi_open_extended: using 32768 bytes as SCSI buffer
|
|
</EM><BR>
|
|
<EM>> [sanei_scsi] trying to enable low level command queueing
|
|
</EM><BR>
|
|
<EM>> [sanei_scsi] sanei_scsi_open: Host adapter queue depth: 1
|
|
</EM><BR>
|
|
<EM>> [sanei_scsi] sanei_scsi_open: SG driver can change buffer size at run time
|
|
</EM><BR>
|
|
<EM>> [sanei_scsi] sanei_scsi_open: could not allocate SG buffer memory wanted: 131072 got: 32768
|
|
</EM><BR>
|
|
<EM>> [microtek2] scsi_inquiry: 'Out of memory'
|
|
</EM><BR>
|
|
<EM>> [microtek2] attach: 'Out of memory
|
|
</EM><BR>
|
|
<EM>> [microtek2] sane_get_devices: attach status 'Out of memory'
|
|
</EM><BR>
|
|
<EM>> [microtek2] sane_exit:
|
|
</EM><BR>
|
|
<EM>> [microtek2] sane_get_devices: local_only=0
|
|
</EM><BR>
|
|
<EM>> [microtek2] sane_get_devices: sd_list_freed
|
|
</EM><BR>
|
|
<EM>> [microtek2] sane_exit: MICROTEK2 says goodbye.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> The driver doesn't support scatter/gather. May that be the reason ?
|
|
</EM><BR>
|
|
<P>Regarding scatter/gather, you are probably right (but I don't know
|
|
<BR>
|
|
anything about USB & Linux). The debug output says, that sanei_scsi_open
|
|
<BR>
|
|
tried to reserve a buffer of 128 kB, but that the SG driver could
|
|
<BR>
|
|
allocate only 32 kB. You can change the buffer size sanei_scsi_open is
|
|
<BR>
|
|
asking for by setting the environment variable SANE_SG_BUFFERSIZE to
|
|
<BR>
|
|
32768; to change the buffer size permanently, you can run
|
|
<BR>
|
|
configure/make/make install with the parameter
|
|
<BR>
|
|
--enable-scsibuffersize=32768.
|
|
<BR>
|
|
<P>Abel
|
|
<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:%20microtek%20X6USB&In-Reply-To=<38FC24D0.CE19F2A7@satzbau-gmbh.de>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0188.html">abel deuring: "Re: microtek X6USB"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0186.html">Mentore Siesto: "Re: ASPIROUT.sys not recognized by OS/2 Config.sys"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0185.html">Oliver Neukum: "microtek X6USB"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0188.html">abel deuring: "Re: microtek X6USB"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0188.html">abel deuring: "Re: microtek X6USB"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#187">[ date ]</A>
|
|
<A HREF="index.html#187">[ thread ]</A>
|
|
<A HREF="subject.html#187">[ subject ]</A>
|
|
<A HREF="author.html#187">[ 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 Apr 18 2000 - 01:59:23 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|