kopia lustrzana https://gitlab.com/sane-project/website
171 wiersze
6.9 KiB
HTML
171 wiersze
6.9 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: Problems with sane-scsi</TITLE>
|
||
<META NAME="Author" CONTENT="Benjamin Hell (ben@spectrum.uni-bielefeld.de)">
|
||
<META NAME="Subject" CONTENT="Re: Problems with sane-scsi">
|
||
</HEAD>
|
||
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
||
<H1>Re: Problems with sane-scsi</H1>
|
||
<!-- received="Mon Jun 12 08:29:33 2000" -->
|
||
<!-- isoreceived="20000612152933" -->
|
||
<!-- sent="Mon, 12 Jun 2000 17:30:23 +0200" -->
|
||
<!-- isosent="20000612153023" -->
|
||
<!-- name="Benjamin Hell" -->
|
||
<!-- email="ben@spectrum.uni-bielefeld.de" -->
|
||
<!-- subject="Re: Problems with sane-scsi" -->
|
||
<!-- id="20000612173023.A10664@spectrum.uni-bielefeld.de" -->
|
||
<!-- inreplyto="3943A15E.61C1F24E@satzbau-gmbh.de" -->
|
||
<STRONG>From:</STRONG> Benjamin Hell (<A HREF="mailto:ben@spectrum.uni-bielefeld.de?Subject=Re:%20Problems%20with%20sane-scsi&In-Reply-To=<20000612173023.A10664@spectrum.uni-bielefeld.de>"><EM>ben@spectrum.uni-bielefeld.de</EM></A>)<BR>
|
||
<STRONG>Date:</STRONG> Mon Jun 12 2000 - 08:30:23 PDT
|
||
<P>
|
||
<!-- next="start" -->
|
||
<LI><STRONG>Next message:</STRONG> <A HREF="0100.html">Kurt Savegnago: "Mustek 1200SP and AVA-1505/1515"</A>
|
||
<UL>
|
||
<LI><STRONG>Previous message:</STRONG> <A HREF="0098.html">Wolfgang Goeller: "Re: snapscan vs. acer 310S"</A>
|
||
<LI><STRONG>In reply to:</STRONG> <A HREF="0094.html">abel deuring: "Re: Problems with sane-scsi"</A>
|
||
<!-- nextthread="start" -->
|
||
<LI><STRONG>Next in thread:</STRONG> <A HREF="0105.html">Ben Speirs: "Re: Problems with sane-scsi"</A>
|
||
<LI><STRONG>Reply:</STRONG> <A HREF="0105.html">Ben Speirs: "Re: Problems with sane-scsi"</A>
|
||
<LI><STRONG>Reply:</STRONG> <A HREF="0107.html">abel deuring: "Re: Problems with sane-scsi"</A>
|
||
<!-- reply="end" -->
|
||
<LI><STRONG>Messages sorted by:</STRONG>
|
||
<A HREF="date.html#99">[ date ]</A>
|
||
<A HREF="index.html#99">[ thread ]</A>
|
||
<A HREF="subject.html#99">[ subject ]</A>
|
||
<A HREF="author.html#99">[ author ]</A>
|
||
</UL>
|
||
<HR NOSHADE><P>
|
||
<!-- body="start" -->
|
||
<P>
|
||
On Sun, Jun 11, 2000 at 04:25:34PM +0200, abel deuring wrote:
|
||
<BR>
|
||
<EM>> Benjamin Hell wrote:
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> > Thanks for the patch, appears as if it works now,
|
||
</EM><BR>
|
||
<EM>> > at least I can use the scanner and get some pictures!
|
||
</EM><BR>
|
||
<EM>> > But there is still a small bug apparently introduced
|
||
</EM><BR>
|
||
<EM>> > by the first patch in the sharp backend:
|
||
</EM><BR>
|
||
<EM>> >
|
||
</EM><BR>
|
||
<EM>> > gcc -I/usr/local/gimp/include -c -g -O2 -W -Wall -DSCSIBUFFERSIZE=131072
|
||
</EM><BR>
|
||
<EM>> > -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE
|
||
</EM><BR>
|
||
<EM>> > -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d
|
||
</EM><BR>
|
||
<EM>> > -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0
|
||
</EM><BR>
|
||
<EM>> > -DBACKEND_NAME=sharp -DLIBDIR=/usr/local/lib/sane sharp.c -fPIC -DPIC -o
|
||
</EM><BR>
|
||
<EM>> > .libs/sharp.lo
|
||
</EM><BR>
|
||
<EM>> > sharp.c: In function ense_handler':
|
||
</EM><BR>
|
||
<EM>> > sharp.c:385:
|
||
</EM><BR>
|
||
<EM>> > X350' undeclared (first use in this function)
|
||
</EM><BR>
|
||
<EM>> > sharp.c:385: (Each undeclared identifier is reported only once
|
||
</EM><BR>
|
||
<EM>> > sharp.c:385: for each function it appears in.)
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> Uuhhh... This proves that I am not a good bureaucrat. I wrote the patch
|
||
</EM><BR>
|
||
<EM>> to sanei_scsi.c in my "personal version" of the Sane package, which
|
||
</EM><BR>
|
||
<EM>> contains version 0.31 of the Sharp backend. After finishing and testing
|
||
</EM><BR>
|
||
<EM>> the patch (with a Sharp scanner...), I copied the files sanei_scsi.[ch],
|
||
</EM><BR>
|
||
<EM>> canon-scsi.c (or which was it??) and sharp.c to a directory containing
|
||
</EM><BR>
|
||
<EM>> the Sane sources version 1.0.2 (containing an older version of Sharp
|
||
</EM><BR>
|
||
<EM>> backend), and let diff run against the unpatched 1.0.2 version.
|
||
</EM><BR>
|
||
<EM>> Obviously, I forgot to copy sharp.h... That file should have an entry
|
||
</EM><BR>
|
||
<EM>> 'JX350' in the enum list together with JX330, JX250 and so on. I attach
|
||
</EM><BR>
|
||
<EM>> another patch for sharp.h. (No, I'm not going to start a patch series
|
||
</EM><BR>
|
||
<EM>> like the one for the Columbia Appletalk package with more tha 100 patch
|
||
</EM><BR>
|
||
<EM>> files :) I'm only a little bit busy with other stuff right now.)
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> Anyway, its fine to hear that the patch now really works for Solaris,
|
||
</EM><BR>
|
||
<EM>> and FreeBSD. Thanks to you, Benjamin and Ben, for testing and reporting!
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<P>Hi,
|
||
<BR>
|
||
<P>While playing around, I found that xscanimage crashed
|
||
<BR>
|
||
whenever I wanted to scan with custom gamma table enabled:
|
||
<BR>
|
||
<P>sanei_scsi.c:3701: failed assertion 'src_size == cmd_size'
|
||
<BR>
|
||
<P>[1] + IOT instruction (core dumped) xscanimage
|
||
<BR>
|
||
<P>Mmmh, appears to be a deja-vu :-)
|
||
<BR>
|
||
<P>Ben
|
||
<BR>
|
||
<PRE>
|
||
--
|
||
**************************************************
|
||
** Benjamin Hell **
|
||
** <A HREF="mailto:ben@spectrum.uni-bielefeld.de?Subject=Re:%20Problems%20with%20sane-scsi&In-Reply-To=<20000612173023.A10664@spectrum.uni-bielefeld.de>">ben@spectrum.uni-bielefeld.de</A> **
|
||
** <A HREF="http://coral.lili.uni-bielefeld.de/~ben">http://coral.lili.uni-bielefeld.de/~ben</A> **
|
||
** University of Bielefeld - Germany **
|
||
** Faculty for Linguistics and Literary Studies **
|
||
** Computational Linguistics & Spoken Language **
|
||
**************************************************
|
||
<P><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:%20Problems%20with%20sane-scsi&In-Reply-To=<20000612173023.A10664@spectrum.uni-bielefeld.de>">majordomo@mostang.com</A>
|
||
</PRE>
|
||
<P><!-- body="end" -->
|
||
<HR NOSHADE>
|
||
<UL>
|
||
<!-- next="start" -->
|
||
<LI><STRONG>Next message:</STRONG> <A HREF="0100.html">Kurt Savegnago: "Mustek 1200SP and AVA-1505/1515"</A>
|
||
<LI><STRONG>Previous message:</STRONG> <A HREF="0098.html">Wolfgang Goeller: "Re: snapscan vs. acer 310S"</A>
|
||
<LI><STRONG>In reply to:</STRONG> <A HREF="0094.html">abel deuring: "Re: Problems with sane-scsi"</A>
|
||
<!-- nextthread="start" -->
|
||
<LI><STRONG>Next in thread:</STRONG> <A HREF="0105.html">Ben Speirs: "Re: Problems with sane-scsi"</A>
|
||
<LI><STRONG>Reply:</STRONG> <A HREF="0105.html">Ben Speirs: "Re: Problems with sane-scsi"</A>
|
||
<LI><STRONG>Reply:</STRONG> <A HREF="0107.html">abel deuring: "Re: Problems with sane-scsi"</A>
|
||
<!-- reply="end" -->
|
||
<LI><STRONG>Messages sorted by:</STRONG>
|
||
<A HREF="date.html#99">[ date ]</A>
|
||
<A HREF="index.html#99">[ thread ]</A>
|
||
<A HREF="subject.html#99">[ subject ]</A>
|
||
<A HREF="author.html#99">[ 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>Mon Jun 12 2000 - 08:31:48 PDT</EM>
|
||
</EM>
|
||
</SMALL>
|
||
</BODY>
|
||
</HTML>
|