sane-project-website/old-archive/1998-12/0042.html

107 wiersze
5.2 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Fri Dec 4 09:12:50 1998 PST" -->
<!-- sent="Fri, 04 Dec 1998 18:14:03 +0100" -->
<!-- name="Robert Schwebel" -->
<!-- email="r.schwebel@tu-bs.de" -->
<!-- subject="SANE standard," -->
<!-- id="" -->
<!-- inreplyto="" -->
<title>sane-devel: SANE standard,</title>
<h1>SANE standard,</h1>
<b>Robert Schwebel</b> (<a href="mailto:r.schwebel@tu-bs.de"><i>r.schwebel@tu-bs.de</i></a>)<br>
<i>Fri, 04 Dec 1998 18:14:03 +0100</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#42">[ date ]</a><a href="index.html#42">[ thread ]</a><a href="subject.html#42">[ subject ]</a><a href="author.html#42">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0043.html">John Brush: "Re: Microtek E3 and sane OS/2, anyone??"</a>
<li> <b>Previous message:</b> <a href="0041.html">Matto Marjanovic: "Re: Microtek E3 and sane OS/2, anyone??"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0067.html">Milon Firikis: "Re: SANE standard,"</a>
<li> <b>Reply:</b> <a href="0067.html">Milon Firikis: "Re: SANE standard,"</a>
<li> <b>Reply:</b> <a href="0071.html">Robert Schwebel: "Re: SANE standard,"</a>
<li> <b>Reply:</b> <a href="0126.html">Milon Firikis: "Re: SANE standard,"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hello!<br>
<p>
I'm new to this list and want to introduce myself with a few words: as<br>
an amateur astronomer I'm interested in operating my CCD camera with<br>
Linux. A few years ago I wrote a little program which was able to<br>
control the camera and read out images, but it had to run suid root.<br>
Having a little bit more time now than in the past years I looked around<br>
for a more compatible solution and found that it must be possible to<br>
control such a camera with SANE. In my oppinion it is really important<br>
for the further development of Linux that not everybody starts his own<br>
project but looks around if he can use existing standards.<br>
<p>
The special thing with an astronomical camera is the fact that these<br>
cameras have a temperature controll system and are operated at, let's<br>
say, -20<32>C. But this should be no problem with that very flexible<br>
options handling defined in the SANE standard.<br>
<p>
A few questions:<br>
<p>
- Is there more information about how to write a backend? I looked threw<br>
the SANE coding standard V1.0 and found it still difficult to write a <br>
backend myself with what I found there. I played around with the pnm <br>
driver which seems to be a sample implementation, but it is very<br>
poorly<br>
documented and other drivers seem to follow completely different<br>
strategies and style guides. Something like a "How to start writing a<br>
SANE backend" would be nice.<br>
<p>
- How do I compile my own backend? At the moment I copied my source into<br>
the sane-1.0/backends directory as root, compiled it there and<br>
installed<br>
the libraries by hand in /usr/local/lib/sane/ (because make install<br>
installs always all libraries found, no matter if they already were<br>
installed). Is this really the right way? Any possibility of making <br>
the source with user permissions and only installing it as root?<br>
<br>
- A few samples of how to deal with all these options defined in the<br>
option<br>
descriptor would be nice as well. I tried to setup a string_list, but<br>
if I run xscanimage and select one of the list entries it stops with<br>
xscanimage: can't resolve symbol 'sanei_constrain_value'<br>
<p>
- Is there a separation between the API part of the SANE backend and the <br>
hardware dependend routines? Am I simply allowed to access hardware <br>
ports from my backend and are there any guidelines dealing with <br>
compatiblity (what system libraries am I allowed to use) and<br>
portability?<br>
<p>
Perhaps most of these topics have been discussed before; in this case a<br>
pointer to the answers would be useful to me.<br>
<p>
Thanks a lot in advance,<br>
<p>
Robert<br>
<pre>
--
+---------------------------------------------------------------------+
+ Robert Schwebel, Fridtjof-Nansen-Strasse 51, D - 38108 Braunschweig +
+ Public Observatory Rothwesten (near Kassel, Germany) +
+ phone: +49-531-353745, e-mail: <a href="mailto:r.schwebel@tu-bs.de">r.schwebel@tu-bs.de</a> +
+---------------------------------------------------------------------+
<p>
<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="0043.html">John Brush: "Re: Microtek E3 and sane OS/2, anyone??"</a>
<li> <b>Previous message:</b> <a href="0041.html">Matto Marjanovic: "Re: Microtek E3 and sane OS/2, anyone??"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0067.html">Milon Firikis: "Re: SANE standard,"</a>
<li> <b>Reply:</b> <a href="0067.html">Milon Firikis: "Re: SANE standard,"</a>
<li> <b>Reply:</b> <a href="0071.html">Robert Schwebel: "Re: SANE standard,"</a>
<li> <b>Reply:</b> <a href="0126.html">Milon Firikis: "Re: SANE standard,"</a>
<!-- reply="end" -->
</ul>