Translation by Artem Sereda with my minor changes
[kde-ru.git] / docs / kdeedu / kstars / indi.docbook
blob944c4c0040cbba9cf26983eeb74ad6e3399bf4ae
1 <chapter id="indi">
2 <title>Astronomical Device Control with <acronym>INDI</acronym></title>
3 <indexterm><primary>INDI Control</primary>
4 <secondary>Overview</secondary>
5 </indexterm>
7 <para>KStars provides an interface to configure and control astronomical instruments via
8 the <acronym><link linkend="what-is-indi">INDI</link></acronym> protocol.</para>
10 <para>The <acronym>INDI</acronym> protocol supports a variety of astronomical instruments
11 such as CCD cameras and focusers. Currently, KStars supports the following
12 devices:</para>
14 <table id="device-table" pgwide="1" frame="all">
15 <title>Supported Telescopes</title>
16 <tgroup cols="3" colsep="1" rowsep="1">
17 <thead>
18 <row>
19 <entry>Telescope</entry>
20 <entry>Device driver</entry>
21 <entry>Version</entry>
22 </row>
23 </thead>
24 <tbody>
25 <row>
26 <entry>LX200 8"-12" Classic</entry>
27 <entry>LX200 Classic</entry>
28 <entry>0.5</entry>
29 </row>
30 <row>
31 <entry>Autostar based telescopes</entry>
32 <entry>LX200 Autostar</entry>
33 <entry>0.5</entry>
34 </row>
35 <row>
36 <entry>LX200 GPS 8"-16"</entry>
37 <entry>LX200 GPS</entry>
38 <entry>0.5</entry>
39 </row>
40 <row>
41 <entry>LX200 Classic 16"</entry>
42 <entry>LX00 16"</entry>
43 <entry>0.5</entry>
44 </row>
45 <row>
46 <entry>NexStar GPS, CGE, AS-GT</entry>
47 <entry>Celestron GPS</entry>
48 <entry>0.5</entry>
49 </row>
50 <row>
51 <entry>New GT, NexStar 5i/8i</entry>
52 <entry>Celestron GPS</entry>
53 <entry>0.5</entry>
54 </row>
55 <row>
56 <entry>Takahashi Temma</entry>
57 <entry>temma</entry>
58 <entry>0.1</entry>
59 </row>
60 <row>
61 <entry>Astro-Physics AP</entry>
62 <entry>LX200 Generic</entry>
63 <entry>0.1</entry>
64 </row>
65 <row>
66 <entry>Astro-Electronic FS-2</entry>
67 <entry>LX200 Generic</entry>
68 <entry>0.1</entry>
69 </row>
70 <row>
71 <entry>Losmandy Gemini</entry>
72 <entry>LX200 Generic</entry>
73 <entry>0.1</entry>
74 </row>
75 <row>
76 <entry>Mel Bartels Controllers</entry>
77 <entry>LX200 Generic</entry>
78 <entry>0.1</entry>
79 </row>
80 </tbody>
81 </tgroup>
82 </table>
83 <para></para>
84 <table id="focuser-table" pgwide="1" frame="all">
85 <title>Supported Focusers</title>
86 <tgroup cols="3" colsep="1" rowsep="1">
87 <thead>
88 <row>
89 <entry>Focuser</entry>
90 <entry>Device driver</entry>
91 <entry>Version</entry>
92 </row>
93 </thead>
94 <tbody>
95 <row>
96 <entry>Meade LX200GPS Microfocuser</entry>
97 <entry>LX200 GPS</entry>
98 <entry>0.1</entry>
99 </row>
100 <row>
101 <entry>Meade 1206 Primary Mirror Focuser</entry>
102 <entry>LX200 Generic</entry>
103 <entry>0.1</entry>
104 </row>
105 <row>
106 <entry>JMI NGF Series</entry>
107 <entry>LX200 Generic</entry>
108 <entry>0.1</entry>
109 </row>
110 <row>
111 <entry>JMI MOTOFOCUS</entry>
112 <entry>LX200 Generic</entry>
113 <entry>0.1</entry>
114 </row>
115 </tbody>
116 </tgroup>
117 </table>
119 <note>
120 <title>Focuser connection</title>
121 <para>The focusers must be connected to the focuser port in the LX200 GPS, Autostar, or Classic telescopes <emphasis>only</emphasis>.</para>
122 </note>
124 <para></para>
125 <table id="ccd-table" pgwide="1" frame="all">
126 <title>Supported CCDs</title>
127 <tgroup cols="3" colsep="1" rowsep="1">
128 <thead>
129 <row>
130 <entry>CCD</entry>
131 <entry>Device driver</entry>
132 <entry>Version</entry>
133 </row>
134 </thead>
135 <tbody>
136 <row>
137 <entry>Finger Lakes Instruments CCDs</entry>
138 <entry>fliccd</entry>
139 <entry>0.1</entry>
140 </row>
141 </tbody>
142 </tgroup>
143 </table>
145 <para></para>
146 <table id="video-table" pgwide="1" frame="all">
147 <title>Supported Webcams</title>
148 <tgroup cols="3" colsep="1" rowsep="1">
149 <thead>
150 <row>
151 <entry>Webcam</entry>
152 <entry>Device driver</entry>
153 <entry>Version</entry>
154 </row>
155 </thead>
156 <tbody>
157 <row>
158 <entry>Any Video4Linux compatible device</entry>
159 <entry>v4ldriver</entry>
160 <entry>0.1</entry>
161 </row>
162 <row>
163 <entry>Philips webcam</entry>
164 <entry>v4lphilips</entry>
165 <entry>0.1</entry>
166 </row>
167 </tbody>
168 </tgroup>
169 </table>
171 <sect1 id="indi-kstars-setup">
172 <title>INDI Setup</title>
173 <indexterm><primary>INDI</primary>
174 <secondary>Setup</secondary>
175 </indexterm>
176 <para>
177 KStars can control local and remote devices seamlessly via the <link linkend="what-is-indi">INDI</link> server/client architecture. INDI devices may be run in three different modes:</para>
179 <orderedlist>
180 <listitem><para>Local: The local mode is the most common and is used to control local device (&ie; a device attached to your machine).</para></listitem>
181 <listitem><para>Server: The server mode establishes an INDI server for a particular device and waits for connections from remote clients. You cannot operate server devices, you can only start and shut them down.</para></listitem>
182 <listitem><para>Client: The client mode is used to connect to remote INDI servers running INDI devices. You can control remote devices seamlessly like local devices.</para></listitem>
183 </orderedlist>
185 <para>You can run local device, establish INDI servers, and connect to remote clients from the <guimenuitem>Device Manager</guimenuitem> in the <guimenu>Devices</guimenu> menu.</para>
187 <para>Here is a screenshot of the <guilabel>Device Manager</guilabel>
188 window:</para>
190 <screenshot>
191 <screeninfo>Running device drivers</screeninfo>
192 <mediaobject>
193 <imageobject>
194 <imagedata fileref="devicemanager.png" format="PNG"/>
195 </imageobject>
196 <textobject>
197 <phrase>Start device drivers</phrase>
198 </textobject>
199 </mediaobject>
200 </screenshot>
202 <para>You can run devices by browsing the device tree, selecting a specific device, and then clicking on the <guibutton>Run Service button</guibutton>. You can select the operation mode, either local or server as defined above.</para>
204 <para>To control remove devices, refer to the <link linkend="indi-remote-control">remote device control</link> section.</para>
205 </sect1>
207 <sect1 id="indi-telescope-setup">
208 <title>Telescope Setup</title>
209 <indexterm><primary>INDI</primary>
210 <secondary>Setup</secondary>
211 </indexterm>
213 <para>Most telescopes are equipped with <hardware>RS232</hardware> interface
214 for remote control. Connect the RS232 jack in your telescope to your
215 computer's <hardware>Serial/USB</hardware> port. Traditionally, the RS232
216 connects to the serial port of your computer, but since many new laptops
217 abandoned the serial port in favor of <hardware>USB/FireWire</hardware>
218 ports, you might need to obtain a Serial to USB adaptor to use with new
219 laptops.</para>
221 <para>After connecting your telescope to the Serial/USB port, turn your
222 telescope on. It is <emphasis>highly</emphasis> recommended that you
223 download and install the latest firmware for your telescope
224 controller.</para>
226 <para>The telescope needs to be aligned before it can be used properly.
227 Align your telescope (one or two stars alignment) as illustrated in your
228 telescope manual.</para>
230 <para>&kstars; needs to verify time and location settings before connecting to the telescope. This insures proper tracking and synchronization between the telescope and &kstars;. The following steps will enable you to connect to a device that is connected to your computer. To connect and control remote devices, please refer to <link linkend="indi-remote-control">remote device control</link> section.</para>
232 <para>You can use the Telescope Setup Wizard and it will verify all the required information in the process. It can automatically scan ports for attached telescopes. You can run the wizard by selecting <guimenuitem>Telescope Setup Wizard</guimenuitem> from the <guimenu>Devices</guimenu> menu.</para>
234 <para>Alternatively, you can connect to a local telescope by performing the following
235 steps:</para>
237 <orderedlist>
238 <listitem><para>Set your geographical location. Open the <guilabel>Set
239 Geographic Location</guilabel> window by selecting
240 <guimenuitem>Set Geographic Location...</guimenuitem> from the
241 <guimenu>Settings</guimenu> menu, or by pressing the <guiicon>Globe</guiicon> icon in the toolbar, or by pressing <keycombo
242 action="simul">&Ctrl;<keycap>g</keycap></keycombo>.</para>
243 </listitem>
244 <listitem><para>Set your local time and date. You can change to any time or
245 date by selecting <guimenuitem>Set Time...</guimenuitem> from the <guimenu>Time</guimenu> menu, or by
246 pressing the <guiicon>time</guiicon> icon in the toolbar. The <guilabel>Set Time</guilabel> window uses a standard &kde; Date Picker widget, coupled with three spinboxes for setting the hours, minutes and seconds. If you ever need to reset the clock back to the current time, just select <guimenuitem>Set Time to Now</guimenuitem> from the <guimenu>Time</guimenu> menu.</para>
247 </listitem>
248 <listitem>
249 <para>Click on the <guimenu>Devices</guimenu> menu and select the
250 <guimenuitem>Device Manager</guimenuitem>.</para>
251 </listitem>
252 <listitem>
253 <para>Under the <guilabel>Device</guilabel> column, select your telescope model.</para>
254 </listitem>
255 <listitem>
256 <para> <mousebutton>Right</mousebutton>-click on the device and select
257 <guilabel>Run Service</guilabel>.</para>
258 </listitem>
259 <listitem>
260 <para>Click <guibutton>Ok</guibutton> to close the Device Manager
261 Dialog.</para>
262 </listitem>
263 </orderedlist>
265 <note id="geo-time-note">
266 <title>Frequent Settings</title>
267 <para>You do not need to set the geographic location and time every time you connect to a telescope. Only adjust the settings as needed.</para></note>
269 <para>You are now ready to use the device features, &kstars; conveniently provides two interchangeable GUI interfaces for controlling telescopes:</para>
271 <orderedlist>
272 <title>Controlling your telescope</title>
273 <listitem>
274 <para>
275 <guilabel>Sky map Control</guilabel>: For each device you run in the <guilabel>Device Manager</guilabel>, a corresponding entry will show up in popup menu that allows you to control the properties of the device. You can
276 issue commands like <command>Slew, Sync,</command> and
277 <command>Track</command> directly from the sky map.
278 </para>
279 <para>Here is a screenshot of the popup menu with an active LX200 Classic
280 device:</para>
281 <screenshot>
282 <screeninfo>Controlling devices from sky map</screeninfo>
283 <mediaobject>
284 <imageobject>
285 <imagedata fileref="skymapdevice.png" format="PNG"/>
286 </imageobject>
287 </mediaobject>
288 </screenshot>
289 </listitem>
291 <listitem>
292 <para>
293 <guilabel>INDI Control Panel</guilabel>: The panel offers the user with all the
294 features supported by a device.
295 </para>
297 <para>The panel is divided into three main sections:</para>
298 <itemizedlist>
299 <listitem>
300 <para>
301 <guilabel>Device tabs</guilabel>: Each additional active device occupies a
302 tab in the INDI panel. Multiple devices can run simultaneously without
303 affecting the operation of other devices.
304 </para>
305 </listitem>
306 <listitem>
307 <para>
308 <guilabel>Property view</guilabel>: Properties are the key element in INDI
309 architecture. Each device defines a set of properties to communicate with
310 the client. The current position of the telescope is an example of a
311 property. Semantically similar properties are usually contained in logical
312 blocks or groupings.
313 </para>
314 </listitem>
315 <listitem>
316 <para>
317 <guilabel>Log viewers</guilabel>: Devices report their status and acknowledge commands by sending INDI messages. Each device has its own log view, and all devices share one generic log viewer. A device usually sends messages to its device driver only, but a device is permitted to send a generic message when appropriate.
318 </para>
319 </listitem>
320 </itemizedlist>
321 <screenshot>
322 <screeninfo>INDI Control Panel</screeninfo>
323 <mediaobject>
324 <imageobject>
325 <imagedata fileref="indicontrolpanel.png" format="PNG"/>
326 </imageobject>
327 </mediaobject>
328 </screenshot>
329 </listitem>
330 </orderedlist>
332 <para>You are not restricted on using one interface over another as they can be both used simultaneously. Actions from the <guilabel>Sky map</guilabel> are automatically reflected in the <guilabel>INDI Control Panel</guilabel>
333 and vice versa.</para>
335 <para>To connect to your telescope, you can either select <guimenuitem>Connect</guimenuitem> from your device popup menu or
336 alternatively, you can press <guibutton>Connect</guibutton> under your device tab in the <guilabel>INDI Control Panel</guilabel>.</para>
338 <important><para>By default, KStars will try to connect to the <constant>/dev/ttyS0</constant>
339 port. To change the connection port, select <guilabel>INDI Control Panel</guilabel> from the <guimenu>Devices</guimenu> menu and change the port under your device tab.</para></important>
341 <para>&kstars; automatically updates the telescope's longitude, latitude, and
342 time based on current settings in &kstars;. You can enable/disable these
343 updates from <guimenuitem>Configure INDI</guimenuitem> dialog under the
344 <guimenu>Devices</guimenu> menu.
345 </para>
347 <para>If &kstars; communicates successfully with the telescope, it will retrieve the current <abbrev>RA</abbrev> and <abbrev>DEC</abbrev> from the telescope and will display a crosshair on the sky map indicating the telescope position.</para>
349 <note id="indi-sync">
350 <title>Synchronizing your telescope</title>
351 <para>If you aligned your telescope and the last alignment star was, for example, Vega, then the crosshair should be centered around Vega. If the crosshair was off target, then you can <mousebutton>right</mousebutton>-click Vega from the sky map and select
352 <command>Sync</command> from your telescope menu. This action will instruct the telescope to synchronize its internal coordinates to match those of Vega, and the telescope's crosshair should now be centered around Vega.
353 </para>
354 </note>
356 <para>That is it: your telescope is ready to explore the heavens.</para>
358 <warning>
359 <title>WARNING</title>
360 <para>Never use the telescope to look at the sun. Looking at the sun might cause irreversible damage to your eyes and as well as your equipment.</para>
361 </warning>
362 </sect1>
364 <sect1 id="indi-other-setup">
365 <title>CCD and Video-Capture Setup</title>
366 <indexterm><primary>CCD Video Control</primary>
367 <secondary>Setup</secondary>
368 </indexterm>
370 <para>KStars supports Finger Lakes instruments CCDs and any Video4Linux compatible device. Philips webcam extended features are supported as well.</para>
371 <para>You can run CCD and Video Capture devices from the <guimenuitem>Device Manager</guimenuitem> in the <guimenu>Devices</guimenu> menu. Like all INDI devices, some of the device controls will be accessible from the skymap. The device can be controlled fully from the <guimenuitem>INDI Control Panel.</guimenuitem></para>
373 <para>The standard format for image capture is FITS. Once an image is captured and downloaded, it will be displayed in the KStars FITSViewer. To capture a sequence of images, use the <guimenuitem>Capture Image Sequence</guimenuitem> tool from the <guimenu>Devices</guimenu> menu. This tool is inactive until you establish a connection to an image device.</para>
374 </sect1>
376 <sect1 id="indi-concepts">
377 <title>INDI Concepts</title>
378 <indexterm><primary>Telescope Control</primary>
379 <secondary>Concepts</secondary>
380 </indexterm>
382 <para>
383 The main key concept in INDI is that devices have the ability to describe themselves. This is accomplished by using XML to descrbie a generic heirarchy that can represent both cannonical and non-cannonical devices. In INDI, all <emphasis>devices</emphasis> may contain one or more <emphasis>properties</emphasis>. Any <emphasis>property</emphasis> may contain one or more <emphasis>elements</emphasis>. There are four types of INDI properties:</para>
384 <itemizedlist>
385 <listitem><para>Text property.</para></listitem>
386 <listitem><para>Number property.</para></listitem>
387 <listitem><para>Switch property (Represented in GUI by buttons and checkboxes).</para></listitem>
388 <listitem><para>Light property (Represented in GUI by colored LEDs).</para></listitem>
389 </itemizedlist>
391 <para>For example, all INDI devices share the CONNECTION standard switch <emphasis>property</emphasis>. The CONNECTION property has two elements: CONNECT and DISCONNECT switches. KStars parses the generic XML description of properties and builds a GUI representation suitable for direct human interaction.</para>
393 <para>The INDI control panel offers many device properties not accessible from the sky map. The properties offered differ from one device to another. Nevertheless, all properties share common features that constrains how they are displayed and used:</para>
395 <itemizedlist>
396 <listitem>
397 <para>
398 Permission: All properties can either be read-only, write-only, or read and
399 write enabled. An example of a read-write property is the telescope's Right
400 Ascension. You can enter a new Right Ascension and the telescope, based on
401 current settings, will either slew or sync to the new input. Furthermore,
402 when the telescope slews, its Right Ascension gets updated and sent back to
403 the client.</para><para></para>
404 </listitem>
405 <listitem>
406 <para>State: Prefixed to each property is a state indicator (round LED).
407 Each property has a state and an associated color code:</para>
408 <table frame="top"><title>INDI State color code</title>
409 <tgroup cols="3" colsep="1" rowsep="1">
410 <thead>
411 <row>
412 <entry>State</entry>
413 <entry>Color</entry>
414 <entry>Description</entry>
415 </row>
416 </thead>
417 <tbody>
418 <row>
419 <entry>Idle</entry>
420 <entry>Gray</entry>
421 <entry>Device is performing no action with respect to this property</entry>
422 </row>
423 <row>
424 <entry>Ok</entry>
425 <entry>Green</entry>
426 <entry>Last operation performed on this property was successful and
427 active</entry>
428 </row>
429 <row>
430 <entry>Busy</entry>
431 <entry>Yellow</entry>
432 <entry>The property is performing an action</entry>
433 </row>
434 <row>
435 <entry>Alert</entry>
436 <entry>Red</entry>
437 <entry>The property is in critical condition and needs immediate
438 attention</entry>
439         </row>
440         </tbody>
441 </tgroup>
442 </table>
443 <para></para>
444 <para>The device driver updates the property state in real-time when
445 necessary. For example, if the telescope is in the process of slewing to a
446 target, then the RA/DEC properties will be signaled as
447 <guilabel>Busy</guilabel>. When the slew process is completed successfully,
448 the properties will be signaled as
449 <guilabel>Ok</guilabel>.</para><para></para>
450 </listitem>
451 <listitem>
452 <para>
453 Context: Numerical properties can accept and process numbers in two formats:
454 decimal and sexagesimal. The sexagesimal format is convenient when expressing
455 time or equatorial/geographical coordinates. You can use any format at your
456 convenience. For example, all the following numbers are equal:</para>
457 <itemizedlist>
458 <listitem><para>-156.40</para></listitem>
459 <listitem><para>-156:24:00</para></listitem>
460 <listitem><para>-156:24</para><para></para></listitem>
461 </itemizedlist>
462 </listitem>
463 <listitem>
464 <para>
465 Time: The standard time for all INDI-related communications is Universal Time UTC specified as YYYY-MM-DDTHH:MM:SS in accord with ISO 8601. &kstars; communicates the correct UTC time with device drivers automatically. You can enable/disable automatic time updates from the <guimenuitem>Configure INDI</guimenuitem> dialog under the <guimenu>Devices</guimenu> menu.
466 </para>
467 </listitem>
468 </itemizedlist>
469 </sect1>
471 <sect1 id="indi-remote-control">
472 <title>Remote Device Control</title>
473 <indexterm><primary>Telescope Control</primary>
474 <secondary>Remote Devices</secondary>
475 </indexterm>
477 <para>KStars provides a simple yet powerful layer for remote device control.
478 A detailed description of the layer is described in the INDI <ulink
479 url="http://www.clearskyinstitute.com/INDI/INDI.pdf">white
480 paper</ulink>.</para>
482 <para>You need to configure both the server and client machines for remote
483 control:</para>
485 <orderedlist>
486 <listitem>
487 <para>Server: To prepare a device for remote control, follow the same steps in the <link linkend="indi-kstars-setup">local/server</link> setup. When you start a device service in the <guimenu>Device Manager</guimenu>, a port number is displayed under the <guilabel>Listening port</guilabel> column. In addition to the port number, you also need the hostname or IP address of your server.
488 </para>
489 <para></para>
490 </listitem>
491 <listitem>
492 <para>Client: Select the <guimenuitem>Device Manager</guimenuitem> from the <guimenu>Device</guimenu> menu and click on the <guilabel>Client</guilabel> tab. You can add, modify, or delete hosts under the <guilabel>Client</guilabel> tab. Add a host by clicking on the <guibutton>Add</guibutton> button. Enter the hostname/IP address of the server in the <guilabel>Host</guilabel> field, and enter the port number obtained from the <emphasis>server</emphasis> machine in step 1.
493 </para>
494 </listitem>
495 </orderedlist>
497 <screenshot>
498 <screeninfo>INDI Client</screeninfo>
499 <mediaobject>
500 <imageobject>
501 <imagedata fileref="indiclient.png" format="PNG"/>
502 </imageobject>
503 </mediaobject>
504 </screenshot>
506 <para>After you add a host, right click on the host to
507 <guimenuitem>Connect</guimenuitem> or <guimenuitem>Disconnect</guimenuitem>.
508 If a connection is established, you can control the telescope from the
509 <guilabel>Sky map</guilabel> or <guilabel>INDI Control Panel</guilabel>
510 exactly as described in the <link linkend="indi-kstars-setup">local/server</link> section. It is as easy at that.
511 </para>
513 <sect2 id="indi-commandline">
514 <title>Running an INDI server from the command line</title>
515 <para>While &kstars; allows you to easily deploy an INDI server; you can launch an INDI server from the command line.
516 </para>
518 <para>
519 Since INDI is an independent backend component, you can run an INDI server on a host without KStars. INDI can be compiled separately to run on remote hosts. Furthermore, device drivers log messages to <constant>stderr</constant> and that can be helpful in a debugging situation.  The syntax for INDI server is
520 as following:</para>
522 <para>$ <command>indiserver</command> [options] [<filename>driver</filename>
523 ...]</para>
525 <para>Options:</para>
526 <para> -p p  : alternate IP port, default 7624</para>
527 <para> -r n  : max restart attempts, default 2</para>
528 <para> -v    : more verbose to stderr</para>
530 <para>For example, if you want to start an INDI server running an LX200 GPS
531 driver and listening to connections on port 8000, you would run the
532 following command:</para>
534 <para>$ <command>indiserver</command> -p 8000 <filename>lx200gps</filename></para>
535 </sect2>
537 <sect2 id="indi-secure-remote">
538 <title>Secure Remote Operation</title>
540 <para>Suppose we want to run an indiserver with INDI drivers on a remote host,
541 <constant>remote_host</constant>, and connect them to &kstars; running on the local machine.</para>
543 <para>From the local machine log onto the remote host, <constant>remote_host</constant>, by typing:</para>
545 <para>$ <command>ssh</command> -L <varname>local_port</varname>:<constant>remote_host</constant>:<varname>remote_port</varname></para>
547 <para>This binds the <varname>local_port</varname> on the local machine to the <varname>remote_port</varname> on the <constant>remote_host</constant>. After logging in, run indiserver on the remote host:</para>
549 <para>$ <command>indiserver</command> -p <varname>remote_port</varname> [<filename>driver</filename>...]</para>
551 <para>Back on the local machine, start &kstars; then open the <guimenuitem>Device Manager</guimenuitem> and add a host under the <guilabel>Client</guilabel> tab. The host should be the local host (usually 127.0.0.1) and the port number should be the <varname>local_port</varname> used in the steps above. <mousebutton>Right</mousebutton>-click on the host and select <guimenuitem>Connect</guimenuitem> from the popup menu. &kstars; will connect to the remote INDI server securely. The host information will be saved for future sessions.</para>
552 </sect2>
553 </sect1>
555 <sect1 id="indi-faq">
556 <title>INDI Frequently Asked Questions</title>
557 <indexterm><primary>Telescope Control</primary>
558 <secondary><acronym>FAQ</acronym></secondary>
559 </indexterm>
561 <qandaset defaultlabel="qanda">
562 <qandaentry>
563 <question id="what-is-indi">
564 <para>What is INDI?</para>
565 </question>
566 <answer>
567 <para> <acronym>INDI</acronym> is the <ulink url="http://indi.sourceforge.net"> Instrument-Neutral-Distributed-Interface</ulink> control protocol developed by <author><firstname>Elwood</firstname><surname>C.
568 Downey</surname></author> of <ulink url="http://www.clearskyinstitute.com/">ClearSky Institute</ulink>. &kstars; employs device drivers that are compatible with the INDI protocol. INDI has many advantages including loose coupling between hardware devices and
569 software drivers. Clients that use the device drivers (like &kstars;) are completely unaware of the device capabilities. In run time, &kstars; communicates with the device drivers and builds a completely dynamical GUI based on services provided by the device. Therefore, new device drivers can be written or updated and KStars can take full advantage of them without any changes on the client side.</para>
570 </answer>
571 </qandaentry>
573 <qandaentry>
574 <question>
575 <para>
576 Do you plan to support more devices?
577 </para>
578 </question>
579 <answer>
580 <para>
581 Yes. We plan to support major CCD cameras and focusers and extend support
582 for more telescopes. If you would like INDI to support a particular device,
583 please send an email to <email>indi-devel@lists.sourceforge.net</email>
584 </para>
585 </answer>
586 </qandaentry>
588 <qandaentry>
589 <question>
590 <para>I do not have a serial port, how can I connect to the telescope?</para>
591 </question>
592 <answer>
593 <para>Many modern laptops do not have a serial port. You will need a
594 Serial To USB adaptor that is supported under Linux. For example,
595 <trademark>Keyspan</trademark>'s USA-19QW Serial to USB adaptor is well
596 supported under Linux and had been tested with &kstars;. You need to refer
597 to your adaptor's documentation to find which ports they provide (e.g.
598 <constant>/dev/ttyUSB0 .... /dev/ttyUSB9</constant>).
599 </para>
600 </answer>
601 </qandaentry>
603 <qandaentry>
604 <question>
605 <para>
606 When I try to <guibutton>Connect</guibutton>, &kstars; reports that the
607 telescope is not connected to the serial/USB port. What can I do?
608 </para>
609 </question>
610 <answer>
611 <para>This message is triggered when &kstars; cannot communicate with the telescope. Here are few things you can do:</para>
613    <orderedlist>
614    <listitem>
615 <para>Check that you have both reading and writing permission for the port you are trying to connect to.</para>
616    </listitem>
617    <listitem>
618 <para>Check the connection cable, make sure it is in good condition and test it with other applications.</para>
619    </listitem>
620    <listitem>
621 <para>Check your telescope power, make sure the power is on and that the telescope is getting enough power.</para>
622    </listitem>
623    <listitem>
624 <para>Set the correct port in the <guilabel>INDI Control Panel</guilabel> under the <guimenu>Devices</guimenu> menu. The default port is <constant>/dev/ttyS0</constant></para>
625    </listitem>
626    <listitem>
627    <para>Restart &kstars; and retry again.</para>
628    </listitem>
629    </orderedlist>
630 </answer>
631 </qandaentry>
633 <qandaentry>
634 <question>
635 <para>&kstars; reports that the telescope is online and ready, but I cannot find the telescope's crosshair, where is it?</para>
636 </question>
637 <answer>
638 <para>&kstars; retrieves the telescopes RA and DEC coordinates upon connection. If your alignment was performed correctly, then you should see the crosshair around your target in the Sky Map. However, the RA and DEC coordinates provided by the telescope may be incorrect (even below the horizon) and you need to <link linkend="indi-sync">Sync</link> your telescope to your current target.</para>
639 </answer>
640 </qandaentry>
642 <qandaentry>
643 <question>
644 <para>The telescope is moving erratically or not moving at all. What can I do?</para>
645 </question>
646 <answer>
647 <para>This behavior is mostly due to incorrect settings, please verify the following check list:</para>
648 <orderedlist>
649 <listitem>
650 <para>Is the telescope aligned?</para>
651 </listitem>
652 <listitem>
653 <para>Is the telescope alignment mode correct? Use <guilabel>INDI Control Panel</guilabel> to check and change these settings (<constant>Alt/Az,Polar, Land</constant>).</para>
654 </listitem>
655 <listitem>
656 <para>Are the telescope's time and date settings correct?</para>
657 </listitem>
658 <listitem>
659 <para>Are the telescope's longitude and latitude settings correct?</para>
660 </listitem>
661 <listitem>
662 <para>Is the telescope's UTC offset correct?</para>
663 </listitem>
664 <listitem>
665 <para>Are the telescope's RA and DEC axis locked firmly?</para>
666 </listitem>
667 <listitem>
668 <para>Is the telescope's N/S switch (when applicable) setup correctly for your hemisphere?</para>
669 </listitem>
670 <listitem>
671 <para>Is the cable between the telescope and computer in good condition?</para>
672 </listitem>
673 </orderedlist>
675 <para>If you think all settings are correct but the telescope still moves erratically or not at all, then please send a report to
676 <email>kstars-devel@kde.org</email></para>
677 </answer>
678 </qandaentry>
679 </qandaset>
680 </sect1>
681 </chapter>