Bug 393775 - Problem connecting Maxdome II since KSatrs v. 2.9.4
Summary: Problem connecting Maxdome II since KSatrs v. 2.9.4
Status: RESOLVED FIXED
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: 2.9.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-02 16:48 UTC by Jean-Claude
Modified: 2020-12-14 18:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Maxdome II not recognized (61.21 KB, text/plain)
2018-05-02 16:48 UTC, Jean-Claude
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Claude 2018-05-02 16:48:14 UTC
Created attachment 112378 [details]
Maxdome II not recognized

I spent a long time trying to find out why it was impossible to connect my Maxdome II observatory to KSatrs v. 2.9.5.
Finally I tested older versions of KStars I had saved.
I found the same difficulties with KStars v. 2.9.4 as with KSatrs v. 2.9.5.
However there was no problem with KStars v. 2.9.3 !
See attached log
Comment 1 Juan M.B. 2018-05-05 15:41:09 UTC
I made some changes to the INDI MaxDome II driver on december, 2017. I don't know if this problem could be related to my changes.

I have tested the driver extensively, but I am not using a real MaxDome II board. I use an Arduino-based controller implementing the MaxDome II protocol. I could make some tests with a proper MaxDome board, but it could take me some time.

Which versions of indilib are causing problems? You can check the version by typing "indiserver" in a terminal.
Comment 2 Jean-Claude 2018-05-05 16:26:24 UTC
(In reply to Juan M.B. from comment #1)
Hi Juan,
I have typed indiserver in a Terminal (on macOS) but it replies : Command not found.
The Terminal replies the same when the KStars app or the INDI Server app are running.
I've been using KStars 2.9.3, 2.9.4, 2.9.5
Trying to answer your question I tested again KStars 2.9.4 and KStars 2.9.5 which were causing the current problem : these versions work NOW PERFECTLY AND CONNECT MAXDOME II without problem !!!
What I did : I simply changed the USB port of my MacBook Pro ! Now all my devices are immediately recognized and mounted.
I reported to-day in an INDI forum the fact that changing the USB port of a computer could solve many USB connection problems.
Thanks any how and I wish you a nice day !
Comment 3 Jean-Claude 2018-05-05 18:54:19 UTC
Juan, I've replied too quickly that the problem was gone if I used the other USB port of my computer.
This brings an improvement (the dome connects now) but the driver still behaves in a non standard way.
Because you told me that you didn't have a real MaxDome II board, if you wish we could do a TeamViewer session .
I'm using a Mac but this should not make a real difference to you.
Please reply to my proposal.
Regards,
Comment 4 Juan M.B. 2018-05-06 10:56:32 UTC
Hi Jean-Claude,

I have no experience with macOS, so I don't know why the terminal doesn't recognize the "indiserver" command.

Tonight I will test the last INDI version with a proper MaxDome II board. I prefer to make this tests in my computer first, because I have installed the development version of INDI with all the development tools, so I can check what is really happening under the surface.

Of course, if I can't reproduce the problem here, a TeamViewer session will be of great help!
Comment 5 Jean-Claude 2018-05-08 06:28:42 UTC
Hi Juan,
There is definitively a problem with indi_maxdomeii version 1.3 which has be implemented on KStars v.2.9.4 and v.2.9.5
With KStars v.2.9.3 (built on indi_maxdomeii version 1.2) there is no problem.
Here are some visible elements :
#1 The buttons Shutter and Absolute Position of the INDI Control Panel are often red
#2 An error [ERROR] Error on command : No response from MAX DOME
#3 On a Mac it is possible to see the Package Contents of an app;
On KStars v.2.9.3, if I open the Package Contents down to DriverSupport I can see 4 folders
But on KStars v.2.9.4 and KStars v.2.9.5 I can also see a bunch of other files which should be included in a folder (I think)
Regards
Comment 6 Jean-Claude 2018-05-09 08:05:34 UTC
Juan,
I think the problem with the MaxDome II connexion might not be in the driver itself but in the INDI protocol which has been changed.
The reason is that I tried to connect my dome with an app called AstroTelescope (runs only on Mac, http://www.cloudmakers.eu/xindi/) without any success.
Comment 7 Juan M.B. 2018-05-09 23:30:03 UTC
I've been testing the driver and found an error in the code!
I have to test it in the real MaxDomeII board, but I'm quite confident it is the bug that is causing you trouble.
I'm pretty busy this week, but I'll try to fix it as soon as I can.
Comment 8 Jean-Claude 2018-05-10 11:47:30 UTC
(In reply to Juan M.B. from comment #7)
> I'm pretty busy this week, but I'll try to fix it as soon as I can.

Very nice !
While you'll be on the dome code, I wonder why the Dome Toolbar is not active in the Toolbars.
Regards,
Comment 9 Juan M.B. 2018-05-16 22:27:42 UTC
I uploaded a fix to the INDI project yesterday. It is already merged in the main repository at https://github.com/indilib/indi
I suppose your issue is the same I observed in my MaxDomeII.
I couldn't test the shutter operation because I have only one board :(
Comment 10 Jean-Claude 2018-05-16 22:36:18 UTC
(In reply to Juan M.B. from comment #9)
> I uploaded a fix to the INDI project yesterday. It is already merged in the
> main repository at https://github.com/indilib/indi
> I suppose your issue is the same I observed in my MaxDomeII.
> I couldn't test the shutter operation because I have only one board :(
Very nice, and I'll wait to test it that the fix will be integrated in the next KStars version for macOS.
I have only one board too because I don't have shutters.
Comment 11 Jean-Claude 2018-05-23 08:18:50 UTC
(In reply to Juan M.B. from comment #9)
> I uploaded a fix to the INDI project yesterday. It is already merged in the
> main repository at https://github.com/indilib/indi
> I suppose your issue is the same I observed in my MaxDomeII.
> I couldn't test the shutter operation because I have only one board :(

Juan, I don't know if your fix will also apply to KStars from StellarMate but I found there the same connection problem.
Regards,
Comment 12 Jasem Mutlaq 2018-05-23 10:43:51 UTC
Official INDI is not released yet. It will be released soon.
Comment 13 Jasem Mutlaq 2018-06-12 12:44:37 UTC
Is this bug resolved?
Comment 14 Jean-Claude 2018-06-12 13:50:03 UTC
YES, you can mark this bug as resolved !
Thank you.