sane-project-website/old-archive/2001-04/0321.html

128 wiersze
5.0 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: New backend: UMAX 1220P sane'ification take 1</TITLE>
<META NAME="Author" CONTENT="stef (stef-listes@wanadoo.fr)">
<META NAME="Subject" CONTENT="Re: New backend: UMAX 1220P sane'ification take 1">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: New backend: UMAX 1220P sane'ification take 1</H1>
<!-- received="Mon Apr 30 22:27:45 2001" -->
<!-- isoreceived="20010501052745" -->
<!-- sent="Tue, 1 May 2001 07:40:39 +0200" -->
<!-- isosent="20010501054039" -->
<!-- name="stef" -->
<!-- email="stef-listes@wanadoo.fr" -->
<!-- subject="Re: New backend: UMAX 1220P sane'ification take 1" -->
<!-- id="20010501074039.A605@wanadoo.fr" -->
<!-- inreplyto="20010430211043.A29855@vortex.swb.de" -->
<STRONG>From:</STRONG> stef (<A HREF="mailto:stef-listes@wanadoo.fr?Subject=Re:%20New%20backend:%20UMAX%201220P%20sane'ification%20take%201&In-Reply-To=&lt;20010501074039.A605@wanadoo.fr&gt;"><EM>stef-listes@wanadoo.fr</EM></A>)<BR>
<STRONG>Date:</STRONG> Mon Apr 30 2001 - 22:40:39 PDT
<P>
<!-- next="start" -->
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0320.html">B Patston: "RE: : trust imagery 1200 wont work with xscanimage &quot;no sane device&quot;"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0319.html">Henning Meier-Geinitz: "Re: New backend: UMAX 1220P sane'ification take 1"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#321">[ date ]</A>
<A HREF="index.html#321">[ thread ]</A>
<A HREF="subject.html#321">[ subject ]</A>
<A HREF="author.html#321">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
<EM>&gt; Fine. Please check backends/Makefile.in and tools/Makefile.in, there
</EM><BR>
<EM>&gt; are some old names left. Also check if you want to rename
</EM><BR>
<EM>&gt; tools/umax1220p.c to umax_pp.c. tools/Makefile.in: umax1220p isn't
</EM><BR>
<EM>&gt; PHONY because that's an existing file.
</EM><BR>
<EM>&gt;
</EM><BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- done
<BR>
<P><EM>&gt; &gt; - all debug and trace messages use DBG()
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; In umax_pp_low.c there are some perrors and exit(-1). This will
</EM><BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- removed
<BR>
<P><EM>&gt; definitely break other backends because it stops execution of the
</EM><BR>
<EM>&gt; frontend. I didn't look to closely but if you use DBG in your 3 .c
</EM><BR>
<EM>&gt; files you must set BACKEND_NAME and run DBG_INIT (only once!) in every
</EM><BR>
<EM>&gt; one.
</EM><BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- all files have their DBG_INIT, but only the backend has BACKEND_NAME
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;defined. Makefile automatically provide the -DBACKEND_NAME=xxxx
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to the other files so I didn't redefined them. Should I remove
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the define from the backend, or add it to all files ?
<BR>
<P><EM>&gt;
</EM><BR>
<EM>&gt; Check umax_pp_low.c: void sanei_umax_pp_InitPort (int port), there is
</EM><BR>
<EM>&gt; a problem in the varaible section. mode must be defined even without
</EM><BR>
<EM>&gt; HAVE_LINUX_PPDEV_H and parport_name needn't.
</EM><BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- corrected
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Bye,
</EM><BR>
<EM>&gt; Henning
</EM><BR>
<EM>&gt;
</EM><BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Will do a new version when I'll know what to do with BACKEND_NAME.
<BR>
<P>Regards,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stef
<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:%20New%20backend:%20UMAX%201220P%20sane'ification%20take%201&In-Reply-To=&lt;20010501074039.A605@wanadoo.fr&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Previous message:</STRONG> <A HREF="0320.html">B Patston: "RE: : trust imagery 1200 wont work with xscanimage &quot;no sane device&quot;"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0319.html">Henning Meier-Geinitz: "Re: New backend: UMAX 1220P sane'ification take 1"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#321">[ date ]</A>
<A HREF="index.html#321">[ thread ]</A>
<A HREF="subject.html#321">[ subject ]</A>
<A HREF="author.html#321">[ 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 Apr 30 2001 - 22:29:20 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>