Bug 417968 - Critical Break: Guiding via MOUNT Unavailable.
Summary: Critical Break: Guiding via MOUNT Unavailable.
Status: RESOLVED FIXED
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: 3.4.0
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-21 05:34 UTC by MountainAirCA
Modified: 2020-05-06 11:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Mount Only Log (12.36 KB, application/zip)
2020-02-22 19:17 UTC, MountainAirCA
Details
Mount + Cam + INDI (13.55 KB, application/zip)
2020-02-22 19:17 UTC, MountainAirCA
Details
Celestron CGX (debug) + CCD Simulator Log (836 bytes, text/plain)
2020-02-24 03:30 UTC, MountainAirCA
Details
Celestron CGX (debug) + ASI174 + ASI294 + UPB (837 bytes, text/plain)
2020-02-24 03:31 UTC, MountainAirCA
Details
Latest log, with mount debugging (125.24 KB, text/plain)
2020-02-25 05:21 UTC, MountainAirCA
Details
Latest log, with mount debugging (76.74 KB, text/plain)
2020-02-26 06:39 UTC, MountainAirCA
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MountainAirCA 2020-02-21 05:34:03 UTC
SUMMARY

Cannot choose Celestron CGX mount as a guiding option.  Ekos only lists the guide camera (ASI174mm) itself, but I am not using the ST4 guide port.  The previous version of KStars/Ekos that I used, 3.2.6, automatically chose Celestron CGX for the "Guide Via" setting and I never had any issues with it.

This happens in both Ekos Linux and Ekos Mac.

STEPS TO REPRODUCE
1. Connect to a profile using Celestron CGX mount and ASI174MM guide cam using an OAG.
2. Go to the Guide tab.
3. Attempt to change the "Via" dropdown to Celestron CGX.  Option is not available.
4. Note that mount can be controlled via KStars as usual.


OBSERVED RESULT
Celestron CGX is not available as a Guide Via option, despite Indi reporting drivers for both Celestron CGX and ASI174MM loaded fine.  Mount control works as normal, you just can't guide with it.

EXPECTED RESULT
We should be able to guide via the mount.  This breaks my imaging rig.  I can try ST4, but that is a sub-optimal workaround for something that worked fine a few days ago.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 10.15.3
Linux/KDE Plasma: StellarMate 1.5.0
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Jasem Mutlaq 2020-02-21 07:28:29 UTC
Can you please attach the verbose debug log with Mount logging enabled?
Comment 2 MountainAirCA 2020-02-22 19:17:09 UTC
Created attachment 126304 [details]
Mount Only Log
Comment 3 MountainAirCA 2020-02-22 19:17:31 UTC
Created attachment 126305 [details]
Mount + Cam + INDI
Comment 4 MountainAirCA 2020-02-22 19:26:49 UTC
Two logs attached, for my ASI294MC-Pro and ASI174MM-Mini guider combination.

I also tried my ASI1600MM, EFW and ASI174MM0Mini guider configuration, and that has a similar but not identical issue.

For the ASI294MC-Pro, I can see ONLY the ASI174MM in the Guide Via menu.

For the ASI1600MM-Pro, I can see BOTH the ASI174MM and ASI1600mm in the Guide Via menu.

Under no circumstances can I see the Celestron CGX mount that I had used previously to receive the guiding pulses.  I looked over the INDI control panel in detail, but A) I didn't change anything between KStars releases and B) I don't see anything that might prevent me from using the mount as a guide route.
Comment 5 MountainAirCA 2020-02-23 00:14:13 UTC
Jasem -- I tried this multiple times, making no changes in between.  One time, the Celestron CGX guide option showed up.  I cannot figure out how it showed up.  I had disconnected from the devices, but not stopped the INDI profile and had not disconnected any power or USB cables from devices.  As soon as I disconnected and reconnected, it was gone and I cannot get it back.  So somehow this issue is intermittent.  Could it be an issue with the order in which the INDI drivers load and connect?

I just have tried this 20 times but could not get it back.
Comment 6 Jasem Mutlaq 2020-02-23 08:50:04 UTC
Try to do this.

1. Create new profile
2. Turn off "Auto connect"
3. Select Celestron + CCD Simulator
4. Start Profile
5. Make sure debug is turn on in INDI COntrol Panel --> Celestron
6. Connect Celestron in INDI Control Panel.

Submit the log.
Comment 7 Jasem Mutlaq 2020-02-23 15:25:35 UTC
Can you make sure your mount is set to Equatorial mode? i.e. EQ-North or EQ-South. Not ALTAZ
Comment 8 MountainAirCA 2020-02-23 20:57:23 UTC
(In reply to Jasem Mutlaq from comment #7)
> Can you make sure your mount is set to Equatorial mode? i.e. EQ-North or
> EQ-South. Not ALTAZ

It is definitely set to EQ N, according to the INDI Control Panel UI at least.  And I was tracking appropriately.  I will try to get the other log tonight.
Comment 9 MountainAirCA 2020-02-24 03:30:28 UTC
Created attachment 126364 [details]
Celestron CGX (debug) + CCD Simulator Log

This is the debug log you asked for, with the mount set to debug plus only the CCD simulator.  Question, I once saw a similar issue with a dropdown in one of your apps; I forget where exactly it was, but I had two options but only one appeared in the list even though everything else operated fine.  Is it possible the dropdown just isn't enumerating all the list options completely?
Comment 10 MountainAirCA 2020-02-24 03:31:52 UTC
Created attachment 126365 [details]
Celestron CGX (debug) + ASI174 + ASI294 + UPB

Here's another debug log for the mount, but with my usual equipment enabled in the profile as well.
Comment 11 MountainAirCA 2020-02-24 03:32:54 UTC
Two debug logs attached.  Hopefully they are helpful.  Thank you for looking into this!
Comment 12 MountainAirCA 2020-02-24 03:56:50 UTC
Another interesting observation: I hooked up my old RPi3 running Kstars 3.3.9 and the Celestron CGX guide option appeared immediately and seems to work fine -- and this is even when I'm controlling it remotely from KStars 3.4.0 on the Mac via INDI.

My earlier comment wondering if this was a UI issue with the dropdown appears to be invalidated.
Comment 13 Jasem Mutlaq 2020-02-24 06:16:40 UTC
I was looking for the KStars log file, not the individual mount log since the former contains a lot more data once debug is enabled. At any rate, can you please update to the latest INDI and test again?
Comment 14 MountainAirCA 2020-02-24 21:15:41 UTC
Sorry about the misunderstanding.  When I get home tonight I'll try to track that other log down.

In regards to updating INDI:  On the Mac, I'll download and install KStars 3.4.1 that you just released.  I'm not aware of a way to update just INDI on the Mac.

On StellarMate OS, is the best way to update Indi to use the StellarMate App to update to the latest KStars/INDI?  I'm generally not afraid of APT-GET, but that and the Software Update Utility on the desktop of StellarMate OS 1.4.x pretty reliably either broke my KStars install (RPi3) or the entire software update mechanism (RPi4).  I flashed those poor SD cards probably 15 times before I finally decided to not update after flashing, and it's been much more stable since.  I did try it last week on RPi4/OS 1.5.0, but it didn't find any updates at the time.
Comment 15 MountainAirCA 2020-02-25 05:21:50 UTC
Created attachment 126389 [details]
Latest log, with mount debugging

Sorry if I included too many other device types in this log, but I wanted to try to get you everything you need to resolve this.
Comment 16 Jasem Mutlaq 2020-02-25 07:36:09 UTC
It's highly recommended to flash SM OS v1.5.1 to your StellarMate and test that. It has the latest Celestron driver and then we can check reliably for issues there. Can you please update and report back?
Comment 17 MountainAirCA 2020-02-25 17:55:27 UTC
I have flashed 1.5.1 to RPi4 and will try it tonight, but note the logs from last night used KStars 3.4.1 that was released just a couple days ago.  Were there Celestron INDI updates since then?  I don't see a date on the Celestron NextStar INDI page.  Does KStars 3.4.1 not include an update that StellarMate OS 1.5.1 has?

I feel like we're a bit stuck in a rut of updating to the latest version and re-capturing logs (even though I seem to be running the latest version).  Did the logs from KStars 3.4.1 show anything?
Comment 18 MountainAirCA 2020-02-26 06:39:06 UTC
Created attachment 126417 [details]
Latest log, with mount debugging

I hope this log worked.  I was connected to the RPi via Ekos Remote from my Mac; the KStars log ended up on the Mac, but the mount debug log ended up on the RPi.
Comment 19 Jasem Mutlaq 2020-02-26 20:16:45 UTC
Thank you yes the log is useful... I've asked Chris to take a look at it as well since he is the Celestron driver expert.
Comment 20 MountainAirCA 2020-03-04 04:00:40 UTC
Hi Jasem/Chris, just checking in to see if there has been any progress on this one.  I would be shocked if I was the only one affected by this -- my hardware configuration of a CGX mount with ASI174MM Mini guide cam is pretty common.  Thanks!
Comment 21 Jasem Mutlaq 2020-03-25 15:10:31 UTC
Is this issue fixed with latest INDI?
Comment 22 MountainAirCA 2020-03-28 11:49:28 UTC
I don't see anything in the change log that might indicate that it is fixed.  I would be happy to install the latest INDI if there was a standalone installer or an updated KStars/Ekos, but there isn't.  I'm looking into how to compile from source, but I'm not a *nix developer.  I downloaded the source, now do I just open Terminal and lcd to that directory and type make indiserver and make indiserver and make drivers?  I just wiped and rebuilt my Mac and want to make sure this is correct before I proceed (I saw many discussions about how to compile INDI without KStars in the forums).  Thanks.
Comment 23 Jasem Mutlaq 2020-03-28 11:53:00 UTC
Hopefully we will get KStars 3.4.2 beta soon and you can test it then.
Comment 24 MountainAirCA 2020-05-05 22:41:28 UTC
GREAT NEWS!

KStars Mac 3.4.2 to StellarMateOS 1.5.2 -- Guide Via show Celestron CGX
KStars Mac 3.4.3 to StellarMateOS 1.5.2 -- Guide Via show Celestron CGX
StellarMateOS 1.5.2 -- Guide Via show Celestron CGX
KStars Mac 3.4.2 Direct USB -- Guide Via show Celestron CGX

It appears that Celestron CGX is now back in the Guide Via dropdown.  I wasn't able to test it because I had the gear set up in my living room, but may be able to test it tonight.

Side note: It would be really great if we had an easy way to update the INDI drivers on the Mac without waiting for a KStars release.