×
INDI Library v1.8.1 Released (09 Sep 2019)

Monthly maintenance release INDI v1.8.1

trouble with eqmod mount disconnecting

1 year 8 months ago
geehalel
Gold Boarder
Gold Boarder
Posts: 184
Karma: 16
More
trouble with eqmod mount disconnecting #24968
Ok, I understand what you mean now, Concerning the indi-eqmod crash, did you use alignment ? A sequence of capture/solve/sync on the same target as ekos does may cause an issue in some circumstances. Besides I've seen in a preceding post that you leave your mount parked and powered a day long: be warned that parking the mount does not stop motor powering, there is no (direct) way to disable the driver ICs but using the power switch.

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

1 year 8 months ago
TallFurryMan
Platinum Boarder
Platinum Boarder
Posts: 737
Karma: 13
More
trouble with eqmod mount disconnecting #24973
No I didn't use alignment. The scope being in the basement, I only ticked "Track" in Ekos for my tests.

About motor ICs remaining powered, I'm not sure I understand what your warning applies to. You mean that it could be damaging in the long term, or that it still consumes power even when parked? I plan to have a power controller in the observatory to shut down supply in some situations, but with the current code I don't think a park/unpark operation in Ekos or INDI could be linked to that control.

-Eric

HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access

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

1 year 8 months ago
knro
Administrator
Administrator
Posts: 7418
Karma: 51
trouble with eqmod mount disconnecting #24974

geehalel wrote: Ok, I understand what you mean now, Concerning the indi-eqmod crash, did you use alignment ? A sequence of capture/solve/sync on the same target as ekos does may cause an issue in some circumstances. Besides I've seen in a preceding post that you leave your mount parked and powered a day long: be warned that parking the mount does not stop motor powering, there is no (direct) way to disable the driver ICs but using the power switch.


The crash is most likely due to a memory leak I fixed earlier but Eric didn't use the fix in his branch. At least I hope this is it :D

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

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

1 year 7 months ago 1 year 7 months ago by xsnrg. Reason: added version info
xsnrg
Gold Boarder
Gold Boarder
Posts: 243
Karma: 2
More
Topic Author
trouble with eqmod mount disconnecting #25545
I was hopeful, but last night I had it fail 3 times while guiding. I should still have logs, so will send them. Have any of the other logs been helpful @knro? Anything else I can do?

This was with kstars-bleeding-2.9.5-2.4.x86_64

12" pier with HDX110 using EQMod
ASI 1600 mono/color mains with ASI290MM in off-axis
ASI filter wheel
Moonlite focusers for the sharpening
AT115EDT and 8" Newt for the light
Fedora Linux, 100% INDI
The following user(s) said Thank You TallFurryMan

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

1 year 7 months ago
knro
Administrator
Administrator
Posts: 7418
Karma: 51
trouble with eqmod mount disconnecting #25546
Send the logs anyway and I'll see if there is something of use.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You xsnrg

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

1 year 7 months ago
xsnrg
Gold Boarder
Gold Boarder
Posts: 243
Karma: 2
More
Topic Author
trouble with eqmod mount disconnecting #25575
sent.

12" pier with HDX110 using EQMod
ASI 1600 mono/color mains with ASI290MM in off-axis
ASI filter wheel
Moonlite focusers for the sharpening
AT115EDT and 8" Newt for the light
Fedora Linux, 100% INDI

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

1 year 7 months ago
knro
Administrator
Administrator
Posts: 7418
Karma: 51
trouble with eqmod mount disconnecting #25587
Ok, so what's happening is that if the mount fails to respond, EQMod throws an error and disconnects itself. However, this was not handled properly so it was not really disconnected as far as INDI goes. But that's only part of the issue. I updated the driver to make it more tolerant to transient errors, so it would retry the command now up to 3 times before finally giving up. It's in GIT now and should be in nightly soon, so you can give it a try.

I ran a quick test with my EQ8 and everything appeared to be in order.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You TallFurryMan, Ihoujin, xsnrg

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

1 year 7 months ago
Ihoujin
Platinum Boarder
Platinum Boarder
Posts: 718
Karma: 3
More
trouble with eqmod mount disconnecting #25603
I hope this resolves my own issues. I have been struggling with mount disconnection for a while. It would say 'tty read failure...'
I believed there were hardware issues for longest time because it would be relatively stable indoors, but became very unreliable outdoors in the cold. So I was suspecting something temperature dependant.

INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.

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

1 year 7 months ago
geehalel
Gold Boarder
Gold Boarder
Posts: 184
Karma: 16
More
trouble with eqmod mount disconnecting #25618
Hi,
I'm not sure that performing retries after a disconnection is a good idea. I did not look at the driver update but having a clear disconnection in Indi is a good thing (thanks Jasem). Now I believe that the reconnection should be manual. The logs before the disconnection are not very helpful, from the driver point of view this happens in the kernel space (tty_read, tty_write). The reason may be either between the computer and the serial adapter (usb/bluetootth), between the adapter and the mount motor controllers, or in the motor controllers if there is a power glitch and they reboot. I believe that in the first case the kernel will reassign a device at the reconnection (from ttyUSB0 to ttyUSB1 for instance), in the second case there will be either read/write faliures or bad characters, and in the latter case, there will only be write failures or maybe a read timeout while the controllers are rebooting. The problem in the latter case if you automatically reconnect, is that the driver will think that the mount is uninitialized, and it will consider that it points to the Celestial Pole. The next goto may be risky in that case...
So it may be a good idea to make automatic reconnection optional, so you may disable it if you are in an automated sequence for instance. Also people reporting disconnections may try to investigate by looking the status after the disconnection: do motor controllers have rebooted? where is the serial adapter ? maybe try to speak directly with the mount using picocom to test the connectivity.
Lastly I'm thinking that power issues may eventually come from the mount capacitors, if you think that your power connection is correct. But I'm not an expert here.
Jean-Luc.

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

1 year 7 months ago
knro
Administrator
Administrator
Posts: 7418
Karma: 51
trouble with eqmod mount disconnecting #25619
Thanks Jean-Luc. The retry happens immediately after an error. Disconnection only occurs if it fails 3 times. When it is disconnected, the user must manually reconnect again.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

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

1 year 7 months ago
geehalel
Gold Boarder
Gold Boarder
Posts: 184
Karma: 16
More
trouble with eqmod mount disconnecting #25625
Ok, let's see if that resolves the issue. I think that the controllers would have time to reboot/reset during the retries. I wonder how will the driver behave after a motor controller reset and if this could be useful to make it recover from that situation.

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

1 year 7 months ago
xsnrg
Gold Boarder
Gold Boarder
Posts: 243
Karma: 2
More
Topic Author
trouble with eqmod mount disconnecting #25626
In my case, tracking stops when this happens, but the boards must not be resetting as I can manually reconnect and everything works fine. I just have to slew the mount back to the object because of how far it may have drifted depending on how long it was disconnected before I catch it. I am hoping the retry will just reconnect right away and go on about its business. The issues others people have may not be the same as mine though.

12" pier with HDX110 using EQMod
ASI 1600 mono/color mains with ASI290MM in off-axis
ASI filter wheel
Moonlite focusers for the sharpening
AT115EDT and 8" Newt for the light
Fedora Linux, 100% INDI

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

Time to create page: 1.170 seconds