sane-project-website/old-archive/1998-11/0301.html

65 wiersze
2.7 KiB
HTML

<!-- received="Mon Nov 30 21:26:46 1998 PST" -->
<!-- sent="Mon, 30 Nov 1998 21:26:44 -0800" -->
<!-- name="David Mosberger-Tang" -->
<!-- email="David.Mosberger@acm.org" -->
<!-- subject="Re: SANE 1.00 breaks on Solaris v2.6" -->
<!-- id="199812010526.VAA21688@panda.mostang.com" -->
<!-- inreplyto="Pine.LNX.4.02A.9811292155220.13718-100000@asimov.hvdkooij.dyn.ml.org" -->
<title>sane-devel: Re: SANE 1.00 breaks on Solaris v2.6</title>
<h1>Re: SANE 1.00 breaks on Solaris v2.6</h1>
<b>David Mosberger-Tang</b> (<a href="mailto:David.Mosberger@acm.org"><i>David.Mosberger@acm.org</i></a>)<br>
<i>Mon, 30 Nov 1998 21:26:44 -0800</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#301">[ date ]</a><a href="index.html#301">[ thread ]</a><a href="subject.html#301">[ subject ]</a><a href="author.html#301">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0302.html">David Mosberger-Tang: "Re: Genius parallel port scanner"</a>
<li> <b>Previous message:</b> <a href="0300.html">Bert van Leeuwen: "Genius parallel port scanner"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
<i>&gt;&gt;&gt;&gt;&gt; On Sun, 29 Nov 1998 21:57:10 +0100 (CET), Hugo van der Kooij &lt;<a href="mailto:hvdkooij@caiw.nl">hvdkooij@caiw.nl</a>&gt; said:</i><br>
<p>
Hugo&gt; Hi, After a few glitches I finaly got stuck with the following<br>
Hugo&gt; error:<br>
<p>
Hugo&gt; dc210.c:344: `TCSBRKP' undeclared (first use this function)<br>
<p>
While I don't have a DC210 camera myself, can someone test the<br>
following patch to see whether it fixes the compilation problem?<br>
<p>
--- backend/dc210.c~ Sat Nov 21 20:18:48 1998<br>
+++ backend/dc210.c Mon Nov 30 21:23:07 1998<br>
@@ -341,7 +341,11 @@<br>
}<br>
<br>
/* send a break to get it back to a known state */<br>
+#if 0<br>
ioctl (camera-&gt;fd, TCSBRKP, 4);<br>
+#else<br>
+ tcsendbreak (camera-&gt;fd, 4);<br>
+#endif<br>
/* and wait for it to recover from the break */<br>
usleep (breakpause);<br>
<br>
Brian, can you think of (and test) a workaround that will let the<br>
camera operate even if TCSBRKP and tcsendbreak() are not available?<br>
<p>
--david<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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0302.html">David Mosberger-Tang: "Re: Genius parallel port scanner"</a>
<li> <b>Previous message:</b> <a href="0300.html">Bert van Leeuwen: "Genius parallel port scanner"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>