×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

New INDI Atik driver - Feedback requested

  • Posts: 2247
  • Thank you received: 223
Trying to remove the driver to reinstall the Cloudmakers one for the time being...


root@heidenrod-obs:~# dpkg -r indi-atik
dpkg: dependency problems prevent removal of indi-atik:
indi-atik-dbg depends on indi-atik (= 2.0~201811230011~ubuntu18.04.1).
indi-full depends on indi-atik.

dpkg: error processing package indi-atik (--remove):
dependency problems - not removing
Errors were encountered while processing:
indi-atik
root@heidenrod-obs:~#

root@heidenrod-obs:~# dpkg -r indi-atik-dbg
(Reading database ... 65913 files and directories currently installed.)
Removing indi-atik-dbg (2.0~201811230011~ubuntu18.04.1) ...
root@heidenrod-obs:~# dpkg -r indi-atik
dpkg: dependency problems prevent removal of indi-atik:
indi-full depends on indi-atik.

dpkg: error processing package indi-atik (--remove):
dependency problems - not removing
Errors were encountered while processing:
indi-atik
root@heidenrod-obs:~#

root@heidenrod-obs:~# apt-cache rdepends indi-atik
indi-atik
Reverse Depends:
indi-atik-dbg
indi-full
root@heidenrod-obs:~# apt-cache rdepends indi-full
indi-full
Reverse Depends:
root@heidenrod-obs:~#
Last edit: 5 years 3 months ago by Gonzothegreat.
5 years 3 months ago #32697

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

  • Posts: 2247
  • Thank you received: 223
What is going on ?????


root@heidenrod-obs:~# apt-get remove indi-atik
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
asi-common fxload indi-aagcloudwatcher indi-altaircam indi-apogee indi-armadillo-platypus indi-asi indi-dsi indi-duino indi-eqmod indi-ffmv
indi-fishcamp indi-fli indi-gphoto indi-gpsd indi-gpsnmea indi-maxdomeii indi-mgen indi-mi indi-nexdome indi-nexstarevo indi-nightscape
indi-qhy indi-qsi indi-sbig indi-shelyak indi-sx indi-toupcam libaltaircam libapogee3 libatik libdc1394-22 libexif12 libfishcamp libfli2
libftdi1-2 libgd3 libgphoto2-6 libgphoto2-l10n libgphoto2-port12 libgps23 libltdl7 libqhy libqsi7 libraw1394-11 libraw16 libsbig libtiffxx5
libwebp6 libxpm4
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
indi-atik indi-full
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 81.9 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 65904 files and directories currently installed.)
Removing indi-full (1.7.5~201811221852~ubuntu18.04.1) ...
Removing indi-atik (2.0~201811230011~ubuntu18.04.1) ...
root@heidenrod-obs:~# apt-get install indi-full
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
indi-atik
The following NEW packages will be installed:
indi-atik indi-full
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/24.8 kB of archives.
After this operation, 81.9 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Selecting previously unselected package indi-atik.
(Reading database ... 65895 files and directories currently installed.)
Preparing to unpack .../indi-atik_2.0~201811230011~ubuntu18.04.1_armhf.deb ...
Unpacking indi-atik (2.0~201811230011~ubuntu18.04.1) ...
Selecting previously unselected package indi-full.
Preparing to unpack .../indi-full_1.7.5~201811221852~ubuntu18.04.1_armhf.deb ...
Unpacking indi-full (1.7.5~201811221852~ubuntu18.04.1) ...
Setting up indi-atik (2.0~201811230011~ubuntu18.04.1) ...
Setting up indi-full (1.7.5~201811221852~ubuntu18.04.1) ...
root@heidenrod-obs:~#
5 years 3 months ago #32698

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

  • Posts: 2247
  • Thank you received: 223
this is getting annoying now...

root@heidenrod-obs:~# dpkg -r --force-depends indi-atik
dpkg: indi-atik: dependency problems, but removing anyway as you requested:
indi-full depends on indi-atik.

(Reading database ... 65904 files and directories currently installed.)
Removing indi-atik (2.0~201811230011~ubuntu18.04.1) ...
root@heidenrod-obs:~#

root@heidenrod-obs:~# apt-get update
Hit:1
CUT
Hit:7
Reading package lists... Done
root@heidenrod-obs:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
indi-full : Depends: indi-atik but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@heidenrod-obs:~#
5 years 3 months ago #32699

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

  • Posts: 2247
  • Thank you received: 223
someone please tell me how the hell do I remove this indi-atik ????


root@heidenrod-obs:~# apt-get purge indi-atik
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'indi-atik' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
indi-full : Depends: indi-atik but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@heidenrod-obs:~# apt-get install indi-atik
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
indi-atik
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/22.4 kB of archives.
After this operation, 73.7 kB of additional disk space will be used.
Selecting previously unselected package indi-atik.
(Reading database ... 65898 files and directories currently installed.)
Preparing to unpack .../indi-atik_2.0~201811230011~ubuntu18.04.1_armhf.deb ...
Unpacking indi-atik (2.0~201811230011~ubuntu18.04.1) ...
Setting up indi-atik (2.0~201811230011~ubuntu18.04.1) ...
root@heidenrod-obs:~#



No jokes, but the drivers does not work at all, I cannot use my camera, I cannot remove it, I cannot use my observatory now.
5 years 3 months ago #32701

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

  • Posts: 2247
  • Thank you received: 223
Hang on a minute, in Ekos I see the following:



Which one to use please?
5 years 3 months ago #32702
Attachments:

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

  • Posts: 472
  • Thank you received: 165
Unless you can compile the driver yourself it's probably best to temporarily remove indi-full (which is just dependencies and you already have everything) and reinstall the cloudmakers driver, that should solve the dependency problem. But as said the 20181123 version does have known issues that have been fixed since, hopefully Jasem has time to see what is causing the build problem in PPA.
The following user(s) said Thank You: Gonzothegreat
5 years 3 months ago #32706

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

  • Posts: 2247
  • Thank you received: 223

coolbeans

root@heidenrod-obs:~# dpkg -r libatik indi-atik indi-full
(Reading database ... 65904 files and directories currently installed.)
Removing indi-full (1.7.5~201811221852~ubuntu18.04.1) ...
Removing indi-atik (2.0~201811230011~ubuntu18.04.1) ...
Removing libatik (2.0.0~201811232107~ubuntu18.04.1) ...
root@heidenrod-obs:~# dpkg -i /home/atikccd-1.30-armhf.deb
(Reading database ... 65884 files and directories currently installed.)
Preparing to unpack /home/atikccd-1.30-armhf.deb ...
Unpacking atikccd (1.30) ...
Setting up atikccd (1.30) ...
root@heidenrod-obs:~#


atik ccd test:

-> AtikCameraImpl::setGuideRelays(0)
lock()
-> AtikCameraImpl::sendCommand(24, NULL, ..., 0, 0)
<- AtikCameraImpl::sendCommand 1 NULL
unlock()
<- AtikCameraImpl::setGuideRelays 1

close

-> AtikCameraImpl::close()
<- AtikCameraImpl::close

Atik 314L test OK
heidenrod@heidenrod-obs:~/scheduler$
Last edit: 5 years 3 months ago by Gonzothegreat.
5 years 3 months ago #32708

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

  • Posts: 210
  • Thank you received: 104
Good you can restore the previous version.

I tested my 314 with the current git version on a Rpi2 and it work without problem. So it is just a matter to update the ppa with this version.
5 years 3 months ago #32710

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

  • Posts: 2247
  • Thank you received: 223
I will test this new driver at some point, but right now I cannot really mess about and waste some time. I have to re-align the mount before I leave back home.. and using the mini guider for it isn't too great so I need my Atik 314+ to work perfectly.
5 years 3 months ago #32711

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

  • Posts: 2247
  • Thank you received: 223
Here's a 60 sec taken with the Atik 314 in case someone wants to take a look at it.
This is not a jpeg, it is a fits file, had to change the extension to be able to upload it here.

File Attachment:

File Name: 314_60s.jpeg
File Size:2,829 KB
5 years 3 months ago #32779
Attachments:

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

  • Posts: 2247
  • Thank you received: 223
Attempting to compile this driver from source too. Am I missing the obvious? Do I need more coffee?

# git describe --tags
v1.7.5-174-g9d9f0478

# cd build/
# cmake -DCMAKE_INSTALL_PREFIX=/usr ..
-- The CXX compiler identification is GNU 7.3.0
-- The C compiler identification is GNU 7.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found CFITSIO 3.43: /usr/lib/arm-linux-gnueabihf/libcfitsio.so
-- Found INDI: /usr/lib/arm-linux-gnueabihf/libindidriver.so;/usr/lib/arm-linux-gnueabihf/libindiAlignmentDriver.so (found version "1.7.6")
-- Found ZLIB: /usr/lib/arm-linux-gnueabihf/libz.so (found version "1.2.11")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Found USB1: /usr/lib/arm-linux-gnueabihf/libusb-1.0.so (found version "1.0.21")
-- Performing Test USB1_HAS_LIBUSB_ERROR_NAME
-- Performing Test USB1_HAS_LIBUSB_ERROR_NAME - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Atik Library: /usr/lib/arm-linux-gnueabihf/libatikcameras.so
-- Performing Test COMPATIBLE_FORTIFY_SOURCE
-- Performing Test COMPATIBLE_FORTIFY_SOURCE - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/heidenrod/indi-drivers/indi/3rdparty/indi-atik/build
#

# make
Scanning dependencies of target indi_atik_wheel
[ 25%] Building CXX object CMakeFiles/indi_atik_wheel.dir/atik_wheel.cpp.o
[ 50%] Linking CXX executable indi_atik_wheel
[ 50%] Built target indi_atik_wheel
Scanning dependencies of target indi_atik_ccd
[ 75%] Building CXX object CMakeFiles/indi_atik_ccd.dir/atik_ccd.cpp.o
/home/heidenrod/indi-drivers/indi/3rdparty/indi-atik/atik_ccd.cpp: In member function ‘virtual void ATIKCCD::debugTriggered(bool)’:
/home/heidenrod/indi-drivers/indi/3rdparty/indi-atik/atik_ccd.cpp:1240:9: error: ‘ArtemisSetDebugCallbackContext’ was not declared in this scope
ArtemisSetDebugCallbackContext(this, &ATIKCCD::debugCallbackHelper);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/heidenrod/indi-drivers/indi/3rdparty/indi-atik/atik_ccd.cpp:1240:9: note: suggested alternative: ‘ArtemisSetDebugCallback’
ArtemisSetDebugCallbackContext(this, &ATIKCCD::debugCallbackHelper);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ArtemisSetDebugCallback
/home/heidenrod/indi-drivers/indi/3rdparty/indi-atik/atik_ccd.cpp:1242:9: error: ‘ArtemisSetDebugCallbackContext’ was not declared in this scope
ArtemisSetDebugCallbackContext(nullptr, nullptr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/heidenrod/indi-drivers/indi/3rdparty/indi-atik/atik_ccd.cpp:1242:9: note: suggested alternative: ‘ArtemisSetDebugCallback’
ArtemisSetDebugCallbackContext(nullptr, nullptr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ArtemisSetDebugCallback
CMakeFiles/indi_atik_ccd.dir/build.make:62: recipe for target 'CMakeFiles/indi_atik_ccd.dir/atik_ccd.cpp.o' failed
make[2]: *** [CMakeFiles/indi_atik_ccd.dir/atik_ccd.cpp.o] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/indi_atik_ccd.dir/all' failed
make[1]: *** [CMakeFiles/indi_atik_ccd.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
#
5 years 3 months ago #32806

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

  • Posts: 472
  • Thank you received: 165
You need to build and install libatik directory first, you currently have older version which doesn't yet have those debug callbacks.
The following user(s) said Thank You: Gonzothegreat
5 years 3 months ago #32807

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

Time to create page: 0.709 seconds