×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

indilx200gps crashed

  • Posts: 29
  • Thank you received: 2

indilx200gps crashed was created by VTVL

Greetings!
This is my first forum contact. Last June I first used KStars 2.4 on a T520 with Ubuntu MATE 16.04 linked via Wifi to a RPI3 with Ubuntu MATE 16.04 running the INDI server and using the INDI Web Manager. The problem with the RPI3 wifi (wlan0) cutting out due to the power managent being ON was overcome apparently. It worked nicely with my LX90 AutoStar connected to the RPI via a serial to USB and with persistent port. The all important SYNC worked well.

Some days later I first tested a focus controller for the Meade 1206 motor. I had built an Arduino Nono controller based on the project of Robert Brown sourceforge.net/projects/mydcfocuserrelativedcfocuser/ The first test was to assess the single impulse precision. That looks good. A next step will be to adapt an INDI Arduino driver for focus control.

But first the problem: numerous problems with the wifi.... fixed. A re-installation of Ubuntu on the RPI. Thus a re-installation of the INDI server and INDI Web manager. Then the INDI+EKOS did not work. I installed the KStars 2.6 and associated indilib...... got the Web manager running again (after finding a typo :oops: ) ....
Testing on the RPI3 with KStars running on it in local mode.

But the present problem is the failure to get the actual RA and DEC from the AutoStar. The connected LX90 display just shows the rotating symbol but never displays the actual RA and DEC. The KStars telescope indicator stays at RA = 00 and DEC = 00 .
Eventually a message appears to say that the indilx200gps driver has crashed.
It says to look at the log on the device manager which appears simultaneously. But the device manager display with the various grey or green LEDs disappears when I try to click on the LX90 page and read the log text!. Presume that the driver has indeed crashed.

Logging of KStars is enabled for INDI and Mount, but there is no log file at ~/.local/share/kstars

Another symptom is that two instances of the LX90 mount appear in KStars. Is this because the Web Manager loads the profile and then it gets loaded again as KStars EKOS is started?

Is it a procedural error (me) or is there a serious bug ?

best regards, John
7 years 7 months ago #9801

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic indilx200gps crashed

Hi John,

Sorry for your troubles. Can you list step-by-step exactly what you do to connect to your mount? It seems like you have multiple instances of things going on at the same time. Also, are you using KStars 2.6 on the RPi only or somewhere else? Verify you have INDI Server v1.2 as well.
7 years 7 months ago #9817

Please Log in or Create an account to join the conversation.

  • Posts: 29
  • Thank you received: 2

Replied by VTVL on topic indilx200gps crashed

Hi Jasem,

Before I send a rather long post with the step by step description, what I just noticed is that:

Many indi drivers on the RPI3 are in /use/bin – not /usr/bin/indiserver which does not exist.

This included all indi_lx*

In usr/share/indi there are some indi drivers but none of the indi_lx*

regards,
John
7 years 6 months ago #9827

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic indilx200gps crashed

How come the server is missing? if you do:
which indiserver

What do you get?
7 years 6 months ago #9828

Please Log in or Create an account to join the conversation.

  • Posts: 29
  • Thank you received: 2

Replied by VTVL on topic indilx200gps crashed

On the RPI3
which indiserver gives
/usr/bin/indiserver (that's all)

same on the PC where I will run KStars
7 years 6 months ago #9829

Please Log in or Create an account to join the conversation.

  • Posts: 29
  • Thank you received: 2

Replied by VTVL on topic indilx200gps crashed

xxxx@xxxx://usr/bin$ indiserver
2016-08-29T16:57:57: startup: indiserver
Usage: indiserver [options] driver [driver ...]
Purpose: server for local and remote INDI drivers
INDI Library: 1.2.0
Code $Rev$. Protocol 1.7.
Options:
-l d : log driver messages to <d>/YYYY-MM-DD.islog
-m m : kill client if gets more than this many MB behind, default 64
-p p : alternate IP port, default 7624
-r r : maximum driver restarts on error, default 10
-f path : Path to fifo for dynamic startup and shutdown of drivers.
-v : show key events, no traffic
-vv : -v + key message content
-vvv : -vv + complete xml
driver : executable or device@host[:port]
7 years 6 months ago #9857

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic indilx200gps crashed

So you have INDI server, it's not missing. Run the driver via gdb and if it crashes, send me the backtrace:
gdb --eval-command="set follow-fork-mode child" --args indiserver -v indi_lx200gps
7 years 6 months ago #9859

Please Log in or Create an account to join the conversation.

  • Posts: 29
  • Thank you received: 2

Replied by VTVL on topic indilx200gps crashed

I changed the path to the indiserver to /usr/bin/indiserver
and (more important)
the path to the drivers to /usr/bin (this appears to be the fix)
Then I used the Device Manager to only change the Client so that the RPI3 wired LAN address with port 7624 is stored. Then connect and the Indi Control panel appeared. This time there was no strange behaviour when connecting to the LX90.

It may be a helpful tip in the user manual to give instructions to check where indiserver and the drivers are located and then reset the paths if necessary.

Next test will be with the WLAN.
7 years 6 months ago #9860

Please Log in or Create an account to join the conversation.

  • Posts: 29
  • Thank you received: 2

Replied by VTVL on topic indilx200gps crashed

Jasem,

As per your most recent suggestion "INDI is not installed correctly therefore the driver in not properly linked to the INDI base library. Please reinstall INDI on your maschine."

I did:
~$ sudo apt-get remove indi-full
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
dcraw dkms fliusb-dkms fxload indi-aagcloudwatcher indi-apogee indi-asi
indi-dsi indi-duino indi-eqmod indi-ffmv indi-fishcamp indi-fli indi-gphoto
indi-gpsd indi-maxdomeii indi-mi indi-qhy indi-qsi indi-sbig indi-sx
libapogee3 libboost-regex1.58.0 libfishcamp libfli1 libftdi1 libgps22 libqhy
libqsi7 libsbigudrv2
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
indi-full
0 upgraded, 0 newly installed, 1 to remove and 39 not upgraded.
After this operation, 8,192 B disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 188668 files and directories currently installed.)
Removing indi-full (1.2~201608250622~ubuntu16.04.1) ...
~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
dcraw dkms fliusb-dkms fxload indi-aagcloudwatcher indi-apogee indi-asi
indi-dsi indi-duino indi-eqmod indi-ffmv indi-fishcamp indi-fli indi-gphoto
indi-gpsd indi-maxdomeii indi-mi indi-qhy indi-qsi indi-sbig indi-sx
libapogee3 libboost-regex1.58.0 libfishcamp libfli1 libftdi1 libgps22 libqhy
libqsi7 libsbigudrv2
0 upgraded, 0 newly installed, 30 to remove and 15 not upgraded.
After this operation, 16.0 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 188665 files and directories currently installed.)
Removing indi-gphoto (1.4+r2604~201608231213~ubuntu16.04.1) ...
Removing dcraw (9.21-0.2) ...
Removing indi-fli (1.0.0ubuntu3+r2604~201608231222~ubuntu16.04.1) ...
Removing libfli1 (1.8.ubuntu5+r2604~201608231215~ubuntu16.04.1) ...
Removing fliusb-dkms (1.3+r2604~201608231207~ubuntu16.04.1) ...

Deleting module version: 1.3+r2604~201608231207~ubuntu16.04.1
completely from the DKMS tree.
Done.
Removing .....

Then i checked what was left in /usr/bin ---- the indi* files were still there, so I cut them and pasted them into the /home
Same for /usr/share/indi folder.

Then as per indilib.org/download/ubuntu.html
I installed with the commands:
~$ sudo apt-add-repository ppa:mutlaqja/ppa
Latest INDI Library and drivers!
More info: launchpad.net/~mutlaqja/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring ....
OK
~$ sudo apt-get update
..
..
~$ sudo apt-get install indi-full
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
dcraw dkms fliusb-dkms fxload indi-aagcloudwatcher indi-apogee indi-asi
indi-dsi indi-duino indi-eqmod indi-ffmv indi-fishcamp indi-fli indi-gphoto
indi-gpsd indi-maxdomeii indi-mi indi-qhy indi-qsi indi-sbig indi-sx
libapogee3 libboost-regex1.58.0 libfishcamp libfli1 libftdi1 libgps22 libqhy
libqsi7 libsbigudrv2
Suggested packages:
gphoto2 gpsd
The following NEW packages will be installed:
dcraw dkms fliusb-dkms fxload indi-aagcloudwatcher indi-apogee indi-asi
indi-dsi indi-duino indi-eqmod indi-ffmv indi-fishcamp indi-fli indi-full
indi-gphoto indi-gpsd indi-maxdomeii indi-mi indi-qhy indi-qsi indi-sbig
indi-sx libapogee3 libboost-regex1.58.0 libfishcamp libfli1 libftdi1
libgps22 libqhy libqsi7 libsbigudrv2
0 upgraded, 31 newly installed, 0 to remove and 15 not upgraded.
.
.
.
.
In the /usr/bin/
there were only indi files which appear to be third parter.
There was no indiserver or indi_lx*
In the /usr/share/indi folder there were .xml files
Then I used
~$ sudo apt-get install libindi1
This added the indi_lx and other drivers plus the indiserver to /usr/bin
and apparently nothing extra in /usr/share/indi

Then I used the Indi web Manager from my PC to start the indiserver on the RPI3, aligned the LX-90, started KStars on the PC, used Device manager Client to connect to the RPI3. It worked.

CONCLUSION:
on the indilib.org/download/ubuntu.html page where it says:
To Install only INDI Library:

~$ sudo apt-get install libindi1

To Install INDI Library including all 3rd party drivers:

~$ sudo apt-get install indi-full

To install latest Ekos:

~$ sudo apt-get install indi-full kstars-bleeding

It should say:
To Install only INDI Library: FIRST

~$ sudo apt-get install libindi1

To Install INDI Library ONLY 3rd party drivers: SECOND

~$ sudo apt-get install indi-full

To install latest Ekos AND INDI Library AND INDI 3rd party drivers

~$ sudo apt-get install libindi1 indi-full kstars-bleeding

(I have not tested this last command.)

My problems occured because of the misleading instructions which resulted in not installing the indiserver and needed indi_lx200gps driver.
7 years 6 months ago #9876

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic indilx200gps crashed

I actually replied to the issue without knowing it was already answered here... too many support requests I tend to forget. At any rate, since it is already fixed previously no changes.

EDIT: I updated download instructions to be more clear
Last edit: 7 years 6 months ago by Jasem Mutlaq.
7 years 6 months ago #9877

Please Log in or Create an account to join the conversation.

Time to create page: 0.303 seconds