[Kstars-devel] status of INDI devices

Alessio Sangalli alesan at manoweb.com
Tue Dec 9 01:52:44 CET 2003


Jasem Mutlaq wrote:
> Alessio,
> 
> Sorry to hear that you have a problem with the telescope control.

:(


> When you ran the telescope wizard, did you speceify the port manually, or was the port auto scanned?

manually... I used both a real serial port and an usb converter

> 
> At any rate, some debugging information can be helpful to see where the error occured in the driver. From the console, run the following:
> 
> $ indiserver -v -r 0 -p 8000 celestrongps
> 
> then run KStars, go to the Devices menu, and then the Device Manager. Click on the "Add" button under hosts (client tab). Enter the following:
> 
> Name: My Celestron
> Host: 127.0.0.1
> Port: 8000
> 
> After you add the host, click on the "Connect" button and it should connect. Close the Device Mananger and Open the INDI Telescope Panel. You can enter the port number at the top (usually /dev/ttyS0) and then hit connect. If it connects correctly it will tell you. You can then right-click any where on the skymap and then select Slew/Track...
> 
> If the program reports "INDI agent closed connection", please copy/paste the debugging information from the console window you opened earliar to run the indiserver. This will help us to diagnose the problem. Thanks 

Oh yeah! It works!!!

When connecting to the /dev/ttyUSB0 port I had to retry a couple of 
times on the INDI control panel, but at the end it had the connection!!

Tomorrow night I hope I will be able to test kstars for real, going 
outside with the laptop.

Thank you!!!

But why do I have to start everything manually? It's not such a problem, 
but I would like to understand and fix the thing.

PS I paste the beginning of the log, it could be useful to understand 
why the usb serial port was not seen at first...


# indiserver -v -r 0 -p 8000 celestrongps
Driver celestrongps: starting
Driver celestrongps: rfd 3 wfd 6
indiserver: listening to port 8000 on fd 4
Client 5: new arrival - welcome!
2003-12-09T00:38:58 initilizaing from Celeston GPS device...
2003-12-09T00:39:50 in new Switch with Device= Celestron GPS and 
Property= CONNECTION and #2 items
Connecting to port: /dev/ttyUSB0
2003-12-09T00:39:54 in new Switch with Device= Celestron GPS and 
Property= CONNECTION and #2 items
Connecting to port: /dev/ttyUSB0
2003-12-09T00:40:02 in new Switch with Device= Celestron GPS and 
Property= CONNECTION and #2 items
2003-12-09T00:40:02 Telescope is offline.2003-12-09T00:40:18 in new 
Switch with Device= Celestron GPS and Property= CONNECTION and #2 items
Connecting to port: /dev/ttyUSB0
ConnectTel read 2 characters: x#
TelConnectFlag set to: 0
2003-12-09T00:40:34 Receving a number 11.0617 for property RA
2003-12-09T00:40:34 Receving a number 61.7444 for property DEC
2003-12-09T00:40:34 in EQ number
2003-12-09T00:40:34 We recevined J2000 RA 11.061700 - DEC 61.744400
2003-12-09T00:40:34 Processed to RA 11.065641 - DEC 61.720205
2003-12-09T00:40:35 in POLL _ BUSY
2003-12-09T00:40:35 targetRA is 11.065641, currentRA is 17.849487
2003-12-09T00:40:35 targetDEC is 61.720203, currentDEC is 53.728638
****************************
2003-12-09T00:40:39 in POLL _ BUSY
2003-12-09T00:40:39 targetRA is 11.065641, currentRA is 15.297729
2003-12-09T00:40:39 targetDEC is 61.720203, currentDEC is 73.278809
****************************
2003-12-09T00:40:43 in POLL _ BUSY
2003-12-09T00:40:43 targetRA is 11.065641, currentRA is 12.021606
2003-12-09T00:40:43 targetDEC is 61.720203, currentDEC is 68.148193
****************************
2003-12-09T00:40:47 in POLL _ BUSY
2003-12-09T00:40:47 targetRA is 11.065641, currentRA is 11.207886
2003-12-09T00:40:47 targetDEC is 61.720203, currentDEC is 62.133179
****************************
2003-12-09T00:40:51 in POLL _ BUSY
2003-12-09T00:40:51 targetRA is 11.065641, currentRA is 11.132446
2003-12-09T00:40:51 targetDEC is 61.720203, currentDEC is 62.067261
****************************
2003-12-09T00:40:55 in POLL _ BUSY
2003-12-09T00:40:55 targetRA is 11.065641, currentRA is 11.089233
2003-12-09T00:40:55 targetDEC is 61.720203, currentDEC is 61.896973
****************************
2003-12-09T00:40:59 in POLL _ BUSY
2003-12-09T00:40:59 targetRA is 11.065641, currentRA is 11.072021
2003-12-09T00:40:59 targetDEC is 61.720203, currentDEC is 61.715698
****************************





More information about the Kstars-devel mailing list