×

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

Bi-monthly release with minor bug fixes and improvements

Problem to connect Eqmod with Ubuntu

  • Posts: 1
  • Thank you received: 0
Hi all! 
Yesterday, I broke down my USB port on my raspberry Pi. Therefore, no telescop anymore. I installed Ubuntu 20 on an old laptop and followed  Ubuntu (indilib.org)  this instructions. gsc can't be found and isn't therefore installed. But my problem is after.
I try to connect all my stuff to the laptop and, only my ASI EAF connect correctly. My Moravian camera doesn't, my toupcam doesn't too at all, and Eqmod connect for a few second, then crashes.

here is the log I get. I uninstall and reinstalled all without improvment. Do you have an idea?

[2021-05-21T13:29:39.803 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Loading device configuration... "
[2021-05-21T13:29:39.804 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Debug is disabled. "
[2021-05-21T13:29:39.804 CEST INFO ][           org.kde.kstars.ekos] - "Re-enabling debug logging for EQMod Mount..."
[2021-05-21T13:29:39.806 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Debug is disabled. "
[2021-05-21T13:29:39.821 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Dome Policy set to: Dome ignored. Mount can park or unpark regardless of dome parking state. "
[2021-05-21T13:29:39.823 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Dome Policy set to: Dome ignored. Mount can park or unpark regardless of dome parking state. "
[2021-05-21T13:29:39.832 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] updateLocation: long = 37.6167 lat = 54.2 "
[2021-05-21T13:29:39.833 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Observer location updated: Latitude 54:12:00.0 (54.2) Longitude 37:37:00.0 (37.6167) "
[2021-05-21T13:29:39.833 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] updateLocation: long = 37.6167 lat = 54.2 "
[2021-05-21T13:29:39.834 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Observer location updated: Latitude 54:12:00.0 (54.2) Longitude 37:37:00.0 (37.6167) "
[2021-05-21T13:29:39.838 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Setting Backlash compensation - RA=10 microsteps DE=10 microsteps "
[2021-05-21T13:29:39.839 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Setting Backlash compensation - RA=10 microsteps DE=10 microsteps "
[2021-05-21T13:29:39.839 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Use Backlash :  RA: False, DE: False "
[2021-05-21T13:29:39.839 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Use Backlash :  RA: False, DE: False "
[2021-05-21T13:29:39.840 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Setting Custom Tracking Rates - RA=0.5 arcsec/s DE=0.5 arcsec/s "
[2021-05-21T13:29:39.840 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Setting Custom Tracking Rates - RA=0.5 arcsec/s DE=0.5 arcsec/s "
[2021-05-21T13:29:39.841 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Setting pulse limits: minimum pulse  10 ms, minimum timer pulse  100 ms "
[2021-05-21T13:29:39.841 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Setting pulse limits: minimum pulse  10 ms, minimum timer pulse  100 ms "
[2021-05-21T13:29:39.896 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Setting Slew rates - RA=64.00x DE=64.00x "
[2021-05-21T13:29:39.896 CEST DEBG ][           org.kde.kstars.indi] - INDI server disconnected from BLOB manager for Device: "EQMod Mount" Property: "ALIGNDATA" Exit code: 0
[2021-05-21T13:29:39.897 CEST DEBG ][           org.kde.kstars.indi] - INDI server disconnected from BLOB manager for Device: "EQMod Mount" Property: "HORIZONLIMITSDATAFITS" Exit code: 0
[2021-05-21T13:29:39.898 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[ERROR] Error: Communication failed -> tty write failed, check connection: Bad file descriptor "
[2021-05-21T13:29:39.899 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] EQMod Mount is offline. "
[2021-05-21T13:29:39.908 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Inverting Declination Axis. "
[2021-05-21T13:29:39.909 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Inverting Declination Axis. "
[2021-05-21T13:29:39.909 CEST DEBG ][           org.kde.kstars.indi] - EQMod Mount : "Alignment mode set to Nearest Point "
[2021-05-21T13:29:39.909 CEST DEBG ][           org.kde.kstars.indi] - EQMod Mount : "Alignment mode set to Nearest Point "
[2021-05-21T13:29:39.910 CEST INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Device configuration applied. "
[2021-05-21T13:29:39.918 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2021-05-21T11:29:39: Client 15: read EOF"
[2021-05-21T13:29:39.918 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2021-05-21T11:29:39: Client 15: shut down complete - bye!"
[2021-05-21T13:29:39.918 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2021-05-21T11:29:39: Client 16: read EOF"
[2021-05-21T13:29:39.918 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2021-05-21T11:29:39: Client 16: shut down complete - bye!"
[2021-05-21T13:29:39.918 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2021-05-21T13:29:40.078 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2021-05-21T11:29:40: Driver indi_eqmod_telescope: stderr EOF"
[2021-05-21T13:29:40.078 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "<delProperty device=\"EQMod Mount\"/>"
[2021-05-21T13:29:40.078 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2021-05-21T13:29:40.078 CEST DEBG ][           org.kde.kstars.indi] - Removing device "EQMod Mount"
[2021-05-21T13:29:40.078 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "Child process 14818 died"
[2021-05-21T13:29:40.078 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2021-05-21T11:29:40: Driver indi_eqmod_telescope: Terminated after #0 restarts."
[2021-05-21T13:29:40.078 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2021-05-21T13:29:40.078 CEST CRIT ][           org.kde.kstars.indi] - INDI driver  "indi_eqmod_telescope"  crashed!
[2021-05-21T13:29:40.084 CEST DEBG ][           org.kde.kstars.indi] - INDIListener: Removing device "EQMod Mount"
[2021-05-21T13:29:40.085 CEST INFO ][           org.kde.kstars.ekos] - "EQMod Mount est déconnecté."
[2021-05-21T13:29:40.086 CEST DEBG ][           org.kde.kstars.indi] - INDI: Stopping local drivers...
[2021-05-21T13:29:40.086 CEST DEBG ][           org.kde.kstars.indi] - Removing managed driver "EQMod Mount"
[2021-05-21T13:29:40.086 CEST DEBG ][           org.kde.kstars.indi] - Removing managed driver "ToupCam"
[2021-05-21T13:29:40.086 CEST DEBG ][           org.kde.kstars.indi] - Removing managed driver "ASI EAF"
[2021-05-21T13:29:40.087 CEST DEBG ][           org.kde.kstars.indi] - INDIListener: Removing client manager for server localhost @ 7624
[2021-05-21T13:29:40.087 CEST DEBG ][           org.kde.kstars.indi] - Stopping INDI Driver  "indi_eqmod_telescope"
[2021-05-21T13:29:40.087 CEST DEBG ][           org.kde.kstars.indi] - Stopping INDI Driver  "indi_toupcam_ccd"
[2021-05-21T13:29:40.087 CEST DEBG ][           org.kde.kstars.indi] - INDI server disconnected. Exit code: 0
[2021-05-21T13:29:40.087 CEST DEBG ][           org.kde.kstars.indi] - Stopping INDI Driver  "indi_asi_focuser"
[2021-05-21T13:29:40.087 CEST DEBG ][           org.kde.kstars.indi] - Stopping INDI Server  "localhost" @ "7624"
[2021-05-21T13:29:40.087 CEST DEBG ][           org.kde.kstars.ekos] - Resetting Ekos Manager...
[2021-05-21T13:29:40.087 CEST DEBG ][           org.kde.kstars.indi] - INDI server disconnected from BLOB manager for Device: "EQMod Mount" Property: "ALIGNMENT_POINT_OPTIONAL_BINARY_BLOB" Exit code: -1
[2021-05-21T13:29:40.089 CEST WARN ][                       default] - QSqlDatabasePrivate::removeDatabase: connection 'filter_db' is still in use, all queries will cease to work.
[2021-05-21T13:29:40.089 CEST WARN ][                       default] - QSqlDatabasePrivate::addDatabase: duplicate connection name 'filter_db', old connection removed.
  
2 years 10 months ago #71461

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

  • Posts: 104
  • Thank you received: 21
Please enable detailed logging for the mount on the Ekos frontpage (where you press the play button) and post that log.
Last edit: 2 years 10 months ago by Grimaldi.
2 years 10 months ago #71465

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

  • Posts: 26
  • Thank you received: 3
Hello,

I've the exact same problem on an Ubuntu 20.10, with the last kstars/indi from the stable repo. (3.5.3 / 1.9.0)
When I connect the eqmod driver (using a pegasus eqdir cable), I seems to connect (all the tabs appears, and looks good) then one or two seconds later, it crashs.

I've attached a logfile. It seems to have a connection issue at line 523. It also complains the port is already used sometimes (line 461), but it's not the case

I tested the same mount/cable on a Macos with the last kstars (3.5.3 with indi 1.9.0 embedded) ... it works perfectly well.
I tested to connect the Ubuntu Kstars to the remote OSX indi .... works fine too.
I tested the indinighly PPA ... (indi 1.9.1) and have the same problem.
I've to admit I had some issue on linux with all my "serial" device since upgrading to 1.9.0 (for example my PPBA powerbox is hard to connect sometimes...)

I never had any issue with the same ubuntu with indi 1.8.x.

Don't hesitate to ask me anything needed to find the problem.

Anthony.
Last edit: 2 years 10 months ago by Anthony Hinsinger.
2 years 10 months ago #71564
Attachments:

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

  • Posts: 104
  • Thank you received: 21
Is baud rate 9600 the correct rate to connect to the mount?
2 years 10 months ago #71569

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

  • Posts: 26
  • Thank you received: 3
sure:
[2021-05-24T00:38:01.588 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[DEBUG] Connecting to /dev/serial/by-id/usb-Pegasus_Astro_EQDIR_Stick_PA40UU16-if00-port0 @ 9600 "
2 years 10 months ago #71573

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

  • Posts: 104
  • Thank you received: 21
Yeah, sure, that‘s why I am asking the question. I have seen swallowed characters if the rate is slightly off. Some messages are then going through, and can be parsed, some not. Not really reproducible. So what does the manual of the mount say?
2 years 10 months ago #71591

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

  • Posts: 2
  • Thank you received: 1
Don't use nonLTS versions of *buntu and you will never have a problem!
2 years 10 months ago #71681

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

Time to create page: 0.550 seconds