New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Atik Horizon 2 resetting #567
Comments
The Atik Horizon 2 requires a firmware to be loaded before usage. The official procedure is to power the camera up, then connect the USB cable. At this point, when starting the driver, the firmware loads and the camera is ready to use. However, when an automated observatory system, with all cables plugged in, turns the camera power supply up, the USB cable is already connected. In this situation, when starting the driver, the firmware loads but the camera cannot be used: the driver has to be stopped and restarted for the USB protocol to be acknowledged properly by the OS. This has to do with the bootloader of the camera, and is documented as such by Atik. The issue here is that when the camera resets in the middle of the observation, which can be detected from the zeroed frame, the driver should be stopped and restarted as well for the functionality to be restored. Precisely, the Atik library should (probably) be unloaded and reloaded for the firmware to be recognised properly, and settings be restored and/or reported to the client (e.g. cooler should be reconfigured quickly before the temperature raises too much and a ramp has to be exercised). |
So it this an issue in INDI driver itself? or Atik SDK? |
There is something in the SDK changelog that relates, but it is actually the current version:
There are a few changes more recent that we should integrate before communicating with Atik:
|
If there was a single camera in the setup, I'd say we could recover by restarting the driver completely. But we cannot do this when there are multiple devices managed by the driver and the library. Or we could separate each instance, but that's not how the library is documented. Delimiting the issue will probably require more discussion. |
@TallFurryMan is this issue still active/relevant? |
Describe the bug
Infrequently, after working properly for some time during an observation session, the Atik Horizon 2 camera would suddenly return only black frames to the client. Only stopping and restarting the INDI driver recovers the proper behaviour, and the very first frame after this recovery is corrupted.
To Reproduce
Exact steps to reproduce the behavior.
dmesg
Expected behavior
If the camera firmware resets for whatever reason, the driver should recover the proper functionality of the camera.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Log Files
This excerpt can be seen in
dmesg
at the moment frames turn black:The text was updated successfully, but these errors were encountered: