×

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

Bi-monthly release with minor bug fixes and improvements

New INDI Atik driver - Feedback requested

  • Posts: 112
  • Thank you received: 9
Hi Helge,

Sorry I can't fix your problem but I can relay my similar experience with Altair cams. In my case the indiserver build was looking for a library named 'libaltaircam' in a directory named '/usr/local/lib/'. There was no such library there. It was located in '/usr/lib/x86_64_linux_gnu/'. indiserver failed in the exact sequence shown in your attached log file. I am sure the guys and gals at INDI will get to the bottom of it!
The following user(s) said Thank You: Helge
5 years 2 weeks ago #37360

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

  • Posts: 281
  • Thank you received: 29
Hi kamisan,

Thanks a lot for sharing your experience - did you find a kind of workaround, like symlink - not sure how to write out correctly (maybe something like „ln -s /usr/lib/x86_64_linux_gnu /usr/local/lib“)

Best, Helge
5 years 2 weeks ago #37364

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

  • Posts: 281
  • Thank you received: 29
Just had a look - also in my case the libatik libs are at the mentioned location (x86_64_linux_gnu-folder). Maybe it has to do with the fact that I am having the indiserver on a miniPC, and not a Raspberry Pi, thus the location differs?
5 years 2 weeks ago #37365

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

  • Posts: 1957
  • Thank you received: 420
Does it work if you create a symbolic link from the driver in /usr/lib/x86_64_linux_gnu to the /usr/local/lib directory? It can be created with

sudo ln -s /usr/lib/x86_64_linux_gnu/libaltaircam.so /usr/local/lib


HTH, Wouter
5 years 2 weeks ago #37369

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

  • Posts: 281
  • Thank you received: 29
Hi Wouter,

Unfortunately, no success (yet): I tried the "symlink", slightly modified, as there are quite a few atik-libs (see also attached screenshot. So I put in as follows:

sudo ln -s /usr/lib/x86_64_linux_gnu/libatik*.* /usr/local/lib

hope that modification did not make things worse. There are also some libs that sound similar, so I repeated the symlink for them as well: sudo ln -s /usr/lib/x86_64_linux_gnu/libatk*.* /usr/local/lib .

Best, Helge
5 years 2 weeks ago #37387
Attachments:

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

  • Posts: 1957
  • Thank you received: 420
Hi Helge,

Sorry, I should have given you some more background info on those drivers and on how symlinks work on linux. When you issue this ls statement then you can see that all but one atik drivers are in fact symlinks to this one driver file:

$> ls -al /usr/lib/x86_64-linux-gnu/libatik*
lrwxrwxrwx 1 root root 19 Mar 9 14:46 /usr/lib/x86_64-linux-gnu/libatikcameras.so -> libatikcameras.so.2
lrwxrwxrwx 1 root root 23 Mar 9 14:46 /usr/lib/x86_64-linux-gnu/libatikcameras.so.2 -> libatikcameras.so.2.2.5
-rw-r--r-- 1 root root 4247608 Mar 9 14:46 /usr/lib/x86_64-linux-gnu/libatikcameras.so.2.2.5
lrwxrwxrwx 1 root root 12 Mar 9 14:46 /usr/lib/x86_64-linux-gnu/libatik.so -> libatik.so.2

The arrows, denoted by "->" mean it is a symlink. So in fact the only symlink needed is to the /usr/lib/x86_64-linux-gnu/libatikcameras.so.2.2.5 file. HOWEVER the filename will change with future updates of the driver and that is why the other symlinks exist.

I executed your symlink command and this is the result:

$> sudo ln -s /usr/lib/x86_64_linux_gnu/libatik*.* /usr/local/lib
$> ls -al /usr/local/lib/libatik\*.\*
lrwxrwxrwx 1 root root 36 Apr 5 18:21 '/usr/local/lib/libatik*.*' -> '/usr/lib/x86_64_linux_gnu/libatik*.*'

So you in fact created a symlink to a non-existent file and that is why it still doesn't work.

In short, please execute the symlink command as I stated before:

sudo ln -s /usr/lib/x86_64_linux_gnu/libaltaircam.so /usr/local/lib

and it should work. Actually you'll need to delete the old symlink with

sudo rm /usr/local/lib/libatik\*.\*

Note the two back slashes which are ESSENTIAL to make the command work!!!!

Please also note that with every update of the atik driver you will need to check if the symlink still points to an existing file. If it doesn't and you don't check, you will notice because you return to the same problems ;)

The atik driver maintainer (is that Atik themselves?) should adhere t the INDI standard that the drivers should be in /usr/local/lib OR should add a command to automatically create the symlink when installing the package and actually remove the old one when upgrading the package. fortunately the way apt and dpkg work on Debian based Linux distributions, of which Ubuntu is one, makes this very well possible and actually easy to implement.

Let me know please if it works once you have done all of this :)


CS, Wouter
The following user(s) said Thank You: Helge
Last edit: 5 years 2 weeks ago by Wouter van Reeven.
5 years 2 weeks ago #37388

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

  • Posts: 281
  • Thank you received: 29
Dear Wouter,

Eventually got it working, thank you so much for the kind support!!!

Best, Helge
5 years 2 weeks ago #37399

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

  • Posts: 1957
  • Thank you received: 420
Dear Helge,

Great! So glad to have been of help. Enjoy your imaging and please share your results in the Gallery on this forum!


Clear skies, Wouter
Last edit: 5 years 2 weeks ago by Wouter van Reeven.
5 years 2 weeks ago #37401

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

  • Posts: 456
  • Thank you received: 76
Sorry for the really stupid question by me,,, but if I do an apt-get upgrade, will I get the new atik drivers or should I uninstall the cloudmakers one?
I've already updated but I was previously using the cloudmaker drivers (and all working great)
Thanks,
Derek
5 years 1 week ago #37405

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

Remove any old drivers in /usr/local, it's those there that can interfere with the driver.
The following user(s) said Thank You: Hans
5 years 1 week ago #37406

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

  • Posts: 2255
  • Thank you received: 223
I have put my observatory back online, so far the Atik is behaving normally. I will test it more once and if I get a clear night this week.
Tried 1s 5s 10s and it was ok.

tbc...
5 years 1 week ago #37488

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

  • Posts: 2255
  • Thank you received: 223
I can confirm that the Atik 314 works well. I have taken countless pictures to achieve focus, not missed a bit.
Thanks
5 years 1 week ago #37580

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

Time to create page: 0.513 seconds