SUMMARY STEPS TO REPRODUCE 1. Launch PHD2, no equipment connected 2. Launch Ekos with Telescope and CCD Simulators, PHD2 guider 3. Disconnect and reconnect the Telescope simulated device OBSERVED RESULT PHD2 connects devices at step 2, and notifies the loss of the mount at step 3. Ekos is not able to start guiding as equipment is not connected anymore. It requires a manual disconnect/reconnect in the guider module to restore functionality. This may also happen when PHD2, for an unknown reason, cannot connect succsesfully to the driver at first (but will at a second attempt). EXPECTED RESULT Ekos should be able to detect the equipment loss, and attempt to reconnect. It is possible that the equipment is not connected to Ekos at all, so Ekos cannot rely on its own view of the INDI drivers (probably not the case for the mount, but is for camera). SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Ubuntu 18.04 (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: 5.12.5 ADDITIONAL INFORMATION
This is fixed by https://invent.kde.org/education/kstars/-/commit/11130020b83497e98efaf5ace4fc892283abf652. Device connection/disconnection is handled both ways. The end-user can disconnect devices from Ekos or PHD2, state will be handled properly. Connecting and disconnecting from Ekos side (repeatedly) is tested by test_ekos_guide.