×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

[SOLVED] ASI ZWO driver keeps restarting

  • Posts: 1009
  • Thank you received: 133
"Value 0x8010203" is what I get here (Pi4, openSUSE Tumbleweed 64bit). As reported, on my Pi4 indi_asi_ccd terminates with SIGBUS.
The following user(s) said Thank You: Jarno Paananen
1 year 8 months ago #84716

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

  • Posts: 294
  • Thank you received: 54
I get the "Value 0x8010203" from unaligned.c on an ODroid N2 (Ubuntu Mate 20.04 LTS).

Haven't checked the latest ASI library on that platform though, still running 1.22.
1 year 8 months ago #84717

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

  • Posts: 460
  • Thank you received: 69

I get Value 0x8010203.
on Ubuntu 20.04.4 LTS
Linux 4.9.312-125 aarch64. arm64
1 year 8 months ago #84719

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

  • Posts: 5
  • Thank you received: 0
This is the line in my log file:
[2022-07-26T21:47:14.018 MST DEBG ][ org.kde.kstars.indi] - INDI Server: "2022-07-27T04:47:13: Driver indi_asi_ccd: indi_asi_ccd: symbol lookup error: indi_asi_ccd: undefined symbol: _ZN4INDI3CCD15addFITSKeywordsEP8fitsfilePNS_7CCDChipE"

Running Ubuntu 20.04 LTS
Kstars Bleeding ...
1 year 8 months ago #84727

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

  • Posts: 474
  • Thank you received: 168
The undefined symbol error is common for having a 3rd-party driver and base INDI library out of sync (C++ is notorious for introducing ABI-incompatibilities when pretty much anything in the base class changes), recompiling the 3rd-party driver fixes it.
1 year 8 months ago #84736

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

I asked ZWO to look into this, and they said they are checking it out. We'll see if they can reproduce the arm64 issue.
The following user(s) said Thank You: Gilles Gagnon
1 year 8 months ago #84758

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

  • Posts: 5
  • Thank you received: 0
I am running Ubuntu 20.04 LTS --- bleeding ...
I'm a bit confused... and a new moon is going to waste.
I think the indi_asi_ccd dirver is closed source and we are dependant on ZWO to fix this.Please confirm.

If I am mistaken and a compile from source will fix this, then I need to verify that this URL links to the latest source building instructions for my architecture.
indilib.org/forum/general/210-howto-buil...st-libindi-ekos.html
... finally, Is there a simple way to switch to an earlier INDI version that will allow me to use a 6200MC camera with a CEM40 mount.
Thanks
1 year 8 months ago #84767

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

  • Posts: 1009
  • Thank you received: 133
No, indi_asi_ccd is open source, but it links against the binary-only libASICamera2, which seems to be the cause of the crashes. So yes, ZWO has to fix this. Recompiling everything yourself won't.
Until then, on aarch64 you need to downgrade to an earlier version of that library (1.22 is safe).
In doubt set your package manager to keep downloaded packages, so you can easily downgrade in case of issues. Can't give you guides to that though, as I'm RPM-based....
If you can compile yourself, it is enough to compile libasi from indi-3rdparty. You just need to check out a version with the proper lib (that would be commit 33bb2a3ec71)
1 year 8 months ago #84770

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

  • Posts: 351
  • Thank you received: 109

Replied by nou on topic ASI ZWO driver keeps restarting

Jasem reverted libASICamera2 to 1.22 for arm8 like hour ago. So compiling latest indi-3rdparty should work now.
The following user(s) said Thank You: Alfred, Peter Sütterlin
1 year 8 months ago #84771

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

  • Posts: 474
  • Thank you received: 168
There is now a new SDK available and change log mentions fixing this issue. I made a pull request at github.com/indilib/indi-3rdparty/pull/626 if you want to test before it's merged to main branch.
1 year 8 months ago #85068

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

  • Posts: 1009
  • Thank you received: 133
Don't know how to check out such a PR, but I downloaded the SDK from ZWO and installed (only) armv8/libASICamera2.so.1.26 on my Pi4.
Indeed I can again connect to my two cameras (290MMmini and 183MC), take images etc.
Thanks!
The following user(s) said Thank You: Jarno Paananen, David Swinnard
1 year 8 months ago #85070

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

  • Posts: 460
  • Thank you received: 69
With the release of the updated libASICamera2 from ZWO, I'm going to mark this topic as solved.

Thank you all!
1 year 8 months ago #85099

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

Time to create page: 1.193 seconds