×

INDI Library v1.9.2 Released (14 Sep 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones.

ASI usb3 camera retries 3 times on exposure and fails - git builds

  • Posts: 778
  • Thank you received: 101
What does
ls -l /usr/lib*/libASICamera2.*
tell?
 
openSUSE Tumbleweed KStars git INDI git
GPDX+EQMOD, CEM60EC, ASI2600/1600/290mini+EFW+EAF
5 months 3 weeks ago #70413

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

  • Posts: 1116
  • Thank you received: 182
lrwxrwxrwx 1 root root      18 Apr 21 14:06 /usr/lib/x86_64-linux-gnu/libASICamera2.so -> libASICamera2.so.1
-rw-r--r-- 1 root root 1998312 Apr 21 14:06 /usr/lib/x86_64-linux-gnu/libASICamera2.so.1
Atlas Pro AZ-EQ, ASI1600MM-Pro, ASI120MM-S, ES102ED, WO-Z61, Nikon D3300, ASI-EFW, ZWO LRGB,Ha,O3,S2 filter set
Last edit: 5 months 3 weeks ago by Jose Corazon.
5 months 3 weeks ago #70416

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

  • Posts: 279
  • Thank you received: 39
What does <code>ls -l /usr/lib*/libASICamera2.*</code> tell?
odroid@odroid:/media/odroid/T5_1T_SSD/Projects/kstars$ sudo ls -l /usr/lib*/libASICamera2.* ls: cannot access '/usr/lib*/libASICamera2.*': No such file or directory

whereas
odroid@odroid:/media/odroid/T5_1T_SSD/Projects/kstars$ ls -l /usr/lib*/lib*
-rwxr-xr-x 1 root root   11976 Jul  7  2020 /usr/lib/libadpcm.so
-rwxr-xr-x 1 root root  205600 Jul  7  2020 /usr/lib/libamadec.so
-rwxr-xr-x 1 root root   41392 Jul  7  2020 /usr/lib/libamavutils.so
-rwxr-xr-x 1 root root   69832 Jul  7  2020 /usr/lib/libamcodec.so
-rwxr-xr-x 1 root root    8056 Jul  7  2020 /usr/lib/libamffmpegdec.so
-rwxr-xr-x 1 root root  146120 Jul  7  2020 /usr/lib/libammad.so
-rwxr-xr-x 1 root root  343928 Jul  7  2020 /usr/lib/libamplayer.so
-rwxr-xr-x 1 root root  271952 Jul  7  2020 /usr/lib/libamr.so
-rwxr-xr-x 1 root root   23936 Jul  7  2020 /usr/lib/libamstreaming.so
-rwxr-xr-x 1 root root   10872 Jul  7  2020 /usr/lib/libamvdec.so
-rwxr-xr-x 1 root root   21608 Jul  7  2020 /usr/lib/libape.so
lrwxrwxrwx 1 root root      20 Jul  7  2020 /usr/lib/libavcodec.so -> libavcodec.so.53.7.0
lrwxrwxrwx 1 root root      20 Jul  7  2020 /usr/lib/libavcodec.so.53 -> libavcodec.so.53.7.0
-rwxr-xr-x 1 root root 4648416 Jul  7  2020 /usr/lib/libavcodec.so.53.7.0
lrwxrwxrwx 1 root root      21 Jul  7  2020 /usr/lib/libavdevice.so -> libavdevice.so.53.1.1
lrwxrwxrwx 1 root root      21 Jul  7  2020 /usr/lib/libavdevice.so.53 -> libavdevice.so.53.1.1
-rwxr-xr-x 1 root root   38784 Jul  7  2020 /usr/lib/libavdevice.so.53.1.1
lrwxrwxrwx 1 root root      21 Jul  7  2020 /usr/lib/libavfilter.so -> libavfilter.so.2.23.0
lrwxrwxrwx 1 root root      21 Jul  7  2020 /usr/lib/libavfilter.so.2 -> libavfilter.so.2.23.0
-rwxr-xr-x 1 root root  118624 Jul  7  2020 /usr/lib/libavfilter.so.2.23.0
lrwxrwxrwx 1 root root      21 Jul  7  2020 /usr/lib/libavformat.so -> libavformat.so.53.4.0
lrwxrwxrwx 1 root root      21 Jul  7  2020 /usr/lib/libavformat.so.53 -> libavformat.so.53.4.0
-rwxr-xr-x 1 root root 1092008 Jul  7  2020 /usr/lib/libavformat.so.53.4.0
lrwxrwxrwx 1 root root      19 Jul  7  2020 /usr/lib/libavutil.so -> libavutil.so.51.9.1
lrwxrwxrwx 1 root root      19 Jul  7  2020 /usr/lib/libavutil.so.51 -> libavutil.so.51.9.1
-rwxr-xr-x 1 root root  101616 Jul  7  2020 /usr/lib/libavutil.so.51.9.1
-rwxr-xr-x 1 root root  188032 Jul  7  2020 /usr/lib/libcook.so
lrwxrwxrwx 1 root root      19 Dec 30  2018 /usr/lib/libcpufreq.so.0 -> libcpufreq.so.0.0.0
-rw-r--r-- 1 root root   22864 Dec 30  2018 /usr/lib/libcpufreq.so.0.0.0
-rwxr-xr-x 1 root root  537480 Jul  7  2020 /usr/lib/libfaad.so
-rwxr-xr-x 1 root root   35136 Jul  7  2020 /usr/lib/libflac.so
lrwxrwxrwx 1 root root      27 Mar 22  2020 /usr/lib/libhardsid-builder.so.0 -> libhardsid-builder.so.0.0.1
-rw-r--r-- 1 root root   18704 Mar 22  2020 /usr/lib/libhardsid-builder.so.0.0.1
lrwxrwxrwx 1 root root      18 Apr 22 21:57 /usr/lib/libindidriver.so -> libindidriver.so.1
lrwxrwxrwx 1 root root      17 Apr 22 21:57 /usr/lib/libindilx200.so -> libindilx200.so.1
-rwxr-xr-x 1 root root    9928 Jul  7  2020 /usr/lib/liblibpcm_wfd.so
lrwxrwxrwx 1 root root      17 Apr 23  2016 /usr/lib/libnetpbm.so.10 -> libnetpbm.so.10.0
-rw-r--r-- 1 root root  133688 Apr 23  2016 /usr/lib/libnetpbm.so.10.0
-rwxr-xr-x 1 root root  508816 Jul  7  2020 /usr/lib/libopus.so
-rwxr-xr-x 1 root root   15456 Jul  7  2020 /usr/lib/libpcm.so
-rwxr-xr-x 1 root root  286984 Jul  7  2020 /usr/lib/libraac.so
lrwxrwxrwx 1 root root      25 Mar 22  2020 /usr/lib/libresid-builder.so.0 -> libresid-builder.so.0.0.1
-rw-r--r-- 1 root root  183536 Mar 22  2020 /usr/lib/libresid-builder.so.0.0.1
lrwxrwxrwx 1 root root      20 Mar 22  2020 /usr/lib/libsidplay2.so.1 -> libsidplay2.so.1.0.1
-rw-r--r-- 1 root root  262216 Mar 22  2020 /usr/lib/libsidplay2.so.1.0.1
lrwxrwxrwx 1 root root      19 Jul  7  2020 /usr/lib/libswscale.so -> libswscale.so.2.0.0
lrwxrwxrwx 1 root root      19 Jul  7  2020 /usr/lib/libswscale.so.2 -> libswscale.so.2.0.0
-rwxr-xr-x 1 root root  123928 Jul  7  2020 /usr/lib/libswscale.so.2.0.0
lrwxrwxrwx 1 root root      22 Feb 28  2020 /usr/lib/libxmmsclient.so.6 -> libxmmsclient.so.6.0.0
-rw-r--r-- 1 root root  162232 Feb 28  2020 /usr/lib/libxmmsclient.so.6.0.0
 
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04 2) StellarMate on RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
Last edit: 5 months 3 weeks ago by Jerry Black.
5 months 3 weeks ago #70419

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

  • Posts: 279
  • Thank you received: 39
Thank you gentlemen for pointing out the symbolic link issue
ls -l /usr/lib/aarch64-linux-gnu/libASI*
lrwxrwxrwx 1 root root      18 Apr 21 16:06 /usr/lib/aarch64-linux-gnu/libASICamera2.so -> libASICamera2.so.1
-rw-r--r-- 1 root root 1887712 Apr 21 16:06 /usr/lib/aarch64-linux-gnu/libASICamera2.so.1.16
 
cd /usr/lib/aarch64-linux-gnu
sudo rm libASICamera2.so
sudo ln -s libASICamera2.so.1.16 libASICamera2.so
I'm not sure how I got to  ...so.1.16  but at least I'm not crashing now with the nightly build.

My build from source version doesn't display the EKOS menu item, at the moment, but that's again, something I've left out somewhere, and less of an issue as long the the nightly runs.

Thanks
  Jerry
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04 2) StellarMate on RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
5 months 3 weeks ago #70434

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

  • Posts: 1116
  • Thank you received: 182
There seems to be a post missing. So what exactly is the problem with the symbolic link? I more than likely am stuck at the same point.

Jo
Atlas Pro AZ-EQ, ASI1600MM-Pro, ASI120MM-S, ES102ED, WO-Z61, Nikon D3300, ASI-EFW, ZWO LRGB,Ha,O3,S2 filter set
5 months 3 weeks ago #70435

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

  • Posts: 778
  • Thank you received: 101
Hi Jo,

yes, the link was what I was (trying to) point out. The executable is linked to libASICamera2.so, but this usually is a link to the actual (versioned) library. I was just not sure where they actually end up on your systems, as I don't have debian based installations around....
In my case it's like
/usr/lib64/libASICamera2.so -> libASICamera2.so.1
/usr/lib64/libASICamera2.so.1 -> libASICamera2.so.1.16
/usr/lib64/libASICamera2.so.1.16
and I had suspected that something wasn't updated properly in the package, and maybe leftovers from the 1.17 install had survived.

I would completely remove libasi, re-install it, and check where the links are pointing, and that they match the above pattern...
openSUSE Tumbleweed KStars git INDI git
GPDX+EQMOD, CEM60EC, ASI2600/1600/290mini+EFW+EAF
5 months 3 weeks ago #70440

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

  • Posts: 102
  • Thank you received: 9
KStars 3.5.4 Beta (Build 2021-04-26To1:15:59Z) on Ubuntu 20.04.2 LTS still giving me the "INDI Driver indi_asi_ccd crashed. Restart it?" dialog loop.

Noticed the link in /usr/lib/ are incorrect:
lrwxrwxrwx 1 root root      18 Apr 25 17:05 libASICamera2.so -> libASICamera2.so.1
-rw-r--r-- 1 root root 1998312 Apr 25 17:05 libASICamera2.so.1.16

What's the best way to remove/reinstall the libasi?  Then I'll verify/correct the links.
5 months 2 weeks ago #70606

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

  • Posts: 778
  • Thank you received: 101
Seems you are missing a link libASICamera2.so.1 -> libASICamera2.so.1.16
In doubt you can create that yourself (ln -s libASICamera2.so.1.16 /usr/lib/libASICamera2.so.1).

I just compiled the latest version here on my computer (Tumbleweed). No issues, indi_asi_ccd doesn't crash, and drives the camera.
openSUSE Tumbleweed KStars git INDI git
GPDX+EQMOD, CEM60EC, ASI2600/1600/290mini+EFW+EAF
5 months 2 weeks ago #70616

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

  • Posts: 1116
  • Thank you received: 182
Just follow Jerry's instructions above and adapt to your installation, i.e. the subfolder where the lib would be placed. That differs from installation to installation. It eliminated the crash on my system.

ls -l /usr/lib/aarch64-linux-gnu/libASI*
lrwxrwxrwx 1 root root 18 Apr 21 16:06 /usr/lib/aarch64-linux-gnu/libASICamera2.so -> libASICamera2.so.1
-rw-r--r-- 1 root root 1887712 Apr 21 16:06 /usr/lib/aarch64-linux-gnu/libASICamera2.so.1.16

cd /usr/lib/aarch64-linux-gnu
sudo rm libASICamera2.so
sudo ln -s libASICamera2.so.1.16 libASICamera2.so
Atlas Pro AZ-EQ, ASI1600MM-Pro, ASI120MM-S, ES102ED, WO-Z61, Nikon D3300, ASI-EFW, ZWO LRGB,Ha,O3,S2 filter set
5 months 2 weeks ago #70619

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

  • Posts: 102
  • Thank you received: 9
Thanks - very familiar how to set the links up, but was more looking for how to "completely remove libasi, re-install it" as Peter suggests above. I did straighten out the libASICamera2.so link to point to the existing libASICamera2.so.1.16 library and I no longer get the indi_asi_ccd crash dialog. Will verify the driver talks to the actual camera later.

What's the ultimate cause of this broken link? Bad apt-get upgrade? Bad install?
(Coincidently, after I fixed the libASI link, I did a update/upgrade and the link reverted to the identical broken state.  Looking at it closer, it almost looks like a character limit or typo - the link target is "libASICamera2.so.1" and should be "libASICamera2.so.16")

 
Last edit: 5 months 2 weeks ago by AirBourn.
5 months 2 weeks ago #70629
Attachments:

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

  • Posts: 102
  • Thank you received: 9
But now my EAF doesn't show in Ekos. Similar problem?
5 months 2 weeks ago #70638

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

  • Posts: 1116
  • Thank you received: 182
That still seems to be a recurring problem.  Check with Brian (starman365) on how to fix this.  I for my part just reverted back to the Indi version of March 10.  That continues to work for me.
Atlas Pro AZ-EQ, ASI1600MM-Pro, ASI120MM-S, ES102ED, WO-Z61, Nikon D3300, ASI-EFW, ZWO LRGB,Ha,O3,S2 filter set
5 months 2 weeks ago #70645

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

Time to create page: 0.651 seconds