https://bugs.kde.org/show_bug.cgi?id=397818

            Bug ID: 397818
           Summary: Mount interface tricked to unknown parking state
           Product: kstars
           Version: 2.9.8
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: mutla...@ikarustech.com
          Reporter: eric.dejouha...@gmail.com
  Target Milestone: ---

It is possible to trick the Ekos mount interface into returning neither parked
or unparked state, leading to an infinite timer loop in the Scheduler.

If for some reason the parking property of the INDI mount interface goes into
state IPS_ALERT, the Mount module is unable to decide whether the mount is
parked or unparked, and returns PARKING_ERROR to status requests.

Because of this, the Scheduler (and other clients) cannot decide on the action
to run after calling getParkingStatus(). Specifically Scheduler implements
function MountParked(), which returns a boolean state, parked or not parked
(that is the question). When the Mount module doesn't know, Scheduler considers
the mount isn't parked. Half the time, this is a bad deduction.

The Mount module is responsible of this task, thus should clarify its opinion.

Note the Scheduler changed the implementation of isMountParked() in 0fa94d8 to
clarify the state in case the Mount doesn't support parking.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to