×

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

Bi-monthly release with minor bug fixes and improvements

The unlucky guy and desperate that found the work around. Thanks INDI community.

  • Posts: 1009
  • Thank you received: 133
Did you install latest libasi?
What does
strings /usr/lib/libASICamera2.so | grep ^1,
report? Should be "1, 22"
My cameras (183MC, 290MMmini) work with that.
1 year 8 months ago #84802

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

  • Posts: 455
  • Thank you received: 51
Here are all the ASI libs on my system. Maybe I need to make some clean.


/usr/lib/aarch64-linux-gnu/libASICamera2.so.1.25
/usr/lib/aarch64-linux-gnu/libASICamera2.so
/usr/lib/aarch64-linux-gnu/libASICamera2.so.1
find: \u2018/usr/NX/var/db/node/externalports\u2019: Permission denied
find: \u2018/usr/NX/var/tmp/nx\u2019: Permission denied
find: \u2018/usr/NX/scripts/log\u2019: Permission denied
/usr/local/lib/libASICamera2.so.1.25
/usr/local/lib/libASICamera2.so.1.22
/usr/local/lib/libASICamera2.so
/usr/local/lib/libASICamera2.so.1
/usr/local/lib/libASICamera2.so.1.21
1 year 8 months ago #84803

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

  • Posts: 1009
  • Thank you received: 133
Ah, my bad. I'll never learn how Debian organizes the libs :-P
But yes, it seems you are mixing repository installs with manually compiled and installed ones. That can ask for trouble...
As a quick test (assuming last one you installed was the nightly from the repository) I'd remove /usr/local/lib/libASICamera2.so.1.25 and see if that helps.
Cleaning out the manual installs for sure is a good idea. I can recommend 'stow' to handle local installs.
1 year 8 months ago #84804

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

  • Posts: 455
  • Thank you received: 51
The problem comes from the install via apt or compilation that install a 1.25 ASI lib under <strong>aarch64-linux-gnu</strong> and a 1.22 under <strong> /usr/local/lib</strong> (even if the extension is 1.25).
The work around is to rename the 1.25 under <strong>/usr/local/lib</strong> whatever you want and to copy<strong> /usr/local/lib/libASICamera2.so.1.25</strong> under<strong> /usr/lib/aarch64-linux-gnu/libASICamera2.so.1.25</strong>
And hop, all is fine.
Maybe some issue in the compilation scripts because I obtain same result compiling and installing with scripts or using apt.

observatoire@observatoire:~$ sudo find /usr -name libASI*
/usr/lib/aarch64-linux-gnu/libASICamera2.so.1.25
/usr/lib/aarch64-linux-gnu/libASICamera2.so
/usr/lib/aarch64-linux-gnu/libASICamera2.so.1
/usr/local/lib/libASICamera2.so.1.25
/usr/local/lib/libASICamera2.so
/usr/local/lib/libASICamera2.so.1
observatoire@observatoire:~$ strind /usr/lib/aarch64-linux-gnu/libASICamera2.so.1.25 | grep 1,
strind: command not found
observatoire@observatoire:~$ strings /usr/lib/aarch64-linux-gnu/libASICamera2.so.1.25 | grep 1,
1, 25, 0, 0
1, 25, 0, 0
observatoire@observatoire:~$ sudo rm -rf usr/lib/aarch64-linux-gnu/libASI*
observatoire@observatoire:~$ sudo find /usr -name libASI*
/usr/lib/aarch64-linux-gnu/libASICamera2.so.1.25
/usr/lib/aarch64-linux-gnu/libASICamera2.so
/usr/lib/aarch64-linux-gnu/libASICamera2.so.1
/usr/local/lib/libASICamera2.so.1.25
/usr/local/lib/libASICamera2.so
/usr/local/lib/libASICamera2.so.1
observatoire@observatoire:~$ strings /usr/local/lib/libASICamera2.so.1.25 | grep 1,
1, 22
Last edit: 1 year 8 months ago by Patrick.
1 year 8 months ago #84805

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

  • Posts: 1009
  • Thank you received: 133
Yes, there's two issues: The naming is based on the allover version (which is 1.25 for all except the camera lib for aarch64), and when having multiple versions installed it will depend on your setup of LD_LIBRARY_PATH which one the executable will actually use.
Therefore my remark to be careful when mixing repo installs with self-compiled installs, even more if you just manually install over previous installs, as that will keep old versions of updated libraries in place...
1 year 8 months ago #84824

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

  • Posts: 11
  • Thank you received: 1
Dear All,
It looks I'm facing the same issue. ASI driver crashes and restarts continously.
My Indi server is installed on a Raspberry Pi4. Kstars/Ekos is on a remote PC (local network).
The setup ran perfectly until the latest update. I've 4 ASI cameras attached to the server.
I've tried to installed the file given here : code.launchpad.net/~mutlaqja/+recipe/libomegonpro-stable
But no change.
I've tried updating with the nightly builds.
Can you give me a recommandation to make the setup work again?
Best regards,
François Cochard (Shelyak Instruments).
1 year 8 months ago #84902

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

  • Posts: 455
  • Thank you received: 51
Hello François,
The solution I found is to purge all indi-full and indi-bin then to download indi-core sources and 3rd-party drivers. In each downloaded directory there is a script folder and all the scripts to compile the whole lib and drivers.
The order is to install the prerequisites with the appropriate script, after compiling the libs and finally the 3rd-party drivers.
But that is not all.
As it looks like some install scripts seems to set the ASI on wrong place under /user/local/lib I have made a copy of the /user/local/lib/libASICamera2.so.1.25 which is 1.22 to /usr//aarec64-linux-gnu/lib/libASICamera2.so.1.25 which is 1.25, the one that fail.
As I said it is a dirty workaround, but there is no other solution I found.
Good luck
1 year 8 months ago #84904

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

  • Posts: 11
  • Thank you received: 1
Hello Patrick,
Many thanks for your reply.
Whoo... new fresh install through compiling Indi... looks to me quite a hard task (I could do it, but I'm afraid it will take long - I'm not familiar enough with compiling). I'd like to observe tonight (;>)

We're talking about the Indi server, right? Not the Kstars/Ekos client (which is not on the same PC, in my case)?

I just looked on my Indi server (running on a Raspeberry Pi4): I've nothing in /usr/local/bin. And the
The command "sudo find /usr -name libASI*" returns:
usr/lib/aarch64-linux-gnu/libASICamera2.so.1.25
/usr/lib/aarch64-linux-gnu/libASICamera2.so
/usr/lib/aarch64-linux-gnu/libASICamera2.so.1

The command "strings /usr/lib/aarch64-linux-gnu/libASICamera2.so.1.25 | grep 1," returns
1, 25, 0, 0
1, 25, 0, 0
which says, if I understand properly that I still have the faulty lib (should return 1, 22).

Any simple way to only get the 1.22 version?
Again, many thanks for your help.
Best regards,
François
1 year 8 months ago #84911

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

  • Posts: 1009
  • Thank you received: 133
You could try to get the libasi package from the nightly builds and either install that, or manually extract the .deb and only replace that one lib
1 year 8 months ago #84912

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

  • Posts: 455
  • Thank you received: 51
Yes François we are speaking about the indiserver and the drivers of the devices handled by it.
The solution of Peter sound better that the one I suggest. Just download the indi-3rdparty set (github.com/indilib/indi-3rdparty). Go under indi-3rdparty/libasi/armv8 where there is a libASICamera2.bin. You just have to rename the library from .bin to .1.25.so and copy it in the right folder as /usr/lib/aarch64-linux-gnu/libASICamera2.so.1.25.
Verify that "strings /usr/lib/aarch64-linux-gnu/libASICamera2.so.1.25 | grep 1," gives "1.2".
Hope it will works.
1 year 8 months ago #84915

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

  • Posts: 11
  • Thank you received: 1
Dear Peter and Patrick,

Unbelievable : IT WORKS ! Thank you so much for your help & reactivity.

I did exactly what you mention:
- rename libASICamera2.so.1.25 to libASICamera2.so.1.25OLD,
- copied the libASICamera2.bin (from github.com/indilib/indi-3rdparty/libasi/armv8) and rename it to /usr/lib/aarch64-linux-gnu/libASICamera2.so.1.25
- checked that strings /usr/lib/aarch64-linux-gnu/libASICamera2.so.1.25 | grep 1," gives "1.2" (yes, it does)
... and test Kstars: all ASI cameras work fine.

You're like magicians - thank you so much.
I'm now ready to observe again tonight. One day, I'll show you in detail what I'm doing (spectroscopy with UVEX instrument)...
Take care!
Best regards,
François
The following user(s) said Thank You: Juan Daniel
1 year 8 months ago #84916

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

  • Posts: 455
  • Thank you received: 51
Heureux de savoir que cela fonctionne.
I am a new user of the Solar explorer device developped by Christian Buil and a newcomer in the spectrography world.
But I am also an old faithful user of open source softwares.;)
I will be happy to hear about your works in spectrography.
Have a nice day
Patrick
1 year 8 months ago #84917

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

Time to create page: 0.928 seconds