Hello,

I'm currently adding a Ultimate PowerBox v2 from Pegasus Astro on my setup.
The setup is remotely controlled with a NUC installed on the telescope which runs Indiserver and devices drivers under Debian 10 OS ; the whole is controlled with KStars/Ekos on my desktop. The UPB is connected to the NUC to manage power and ports.

I was not able to connect to the UPB with Ekos. The system told me to add the current user to dialout group that I tried without success.
So, I've checked with lsusb if the UPB was recognized. And it was (with a FTDI ship). Then, I've watched to /lib/udev/rules.d/99-indi_auxiliary.rules to know if idVendor/idProduct was included.
This file is normally configured for all FTDI ship but I saw that idProduct is not correct for the UPB. So, I have added a new line for the UPB where I have replaced idProduct 6001 to 6015 :

SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6015", MODE="0666"

The new rules are then applied with :
udevadm control --reload-rules && udevadm trigger

And it works now !

So, is there any changes in the Ultimate PowerBox v2 or with FTDI ships (an addition of IdProduct) ? Is there an other solution without modifying the 99-indi_auxiliary.rules file ?

Thanks
Vincent

Read More...

Vincent B replied to the topic '[Debian 10] Issue on Atik driver compilation' in the forum. 4 months ago

Hi Jarno,

Thanks a lot !

I've checkout indi-3rdparty at this commit and all works fine now ! No problem with compilation.
I've tried the camera and it works.

Please ask Jasem to replace the original files.

Vincent

Read More...

Vincent B created a new topic ' [Debian 10] Issue on Atik driver compilation' in the forum. 4 months ago

Hi all,

I have a problem with an Atik 460EX camera I try to drive with Indi.

I have compiled with success an IndiServer on a Debian 10 OS (without any desktop application), using SSH command line. I have compiled ZWO Asi libray and driver too, without problem, and it works ; KStars/Ekos is installed on an other PC (with Ubuntu 16.04) and I can connect both KStars/Ekos and Indiserver. I got images.

I need to make the same thing with an Atik 460EX camera. So I tried the same way.
I compiled and installed the Atik library in /usr. But when I try to compile the Atik driver (with make -j4), I have an issue

[ 75%] Linking CXX executable indi_atik_wheel
/usr/bin/ld : escamotage incompatible /usr/lib/gcc/i686-linux-gnu/8/../../../i386-linux-gnu/libatikcameras.so lors de la recherche de -latikcameras
/usr/bin/ld : escamotage incompatible /lib/i386-linux-gnu/libatikcameras.so lors de la recherche de -latikcameras
/usr/bin/ld : escamotage incompatible /usr/lib/i386-linux-gnu/libatikcameras.so lors de la recherche de -latikcameras
/usr/bin/ld : escamotage incompatible //lib/i386-linux-gnu/libatikcameras.so lors de la recherche de -latikcameras
/usr/bin/ld : escamotage incompatible //usr/lib/i386-linux-gnu/libatikcameras.so lors de la recherche de -latikcameras
/usr/bin/ld : ne peut trouver -latikcameras
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/indi_atik_wheel.dir/build.make:88: indi_atik_wheel] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/indi_atik_wheel.dir/all] Error 2
make[1]: *** Attente des tâches non terminées....

Sorry, error messages are in French language... I don't know what "Escamotage incompatible" means or lokks like in English language...
Those are errors for the filter wheels (indi_atik_wheel) but I have the same ones for cameras (indi_atik_ccd).

The CMake result is as follows :

vincent@telescope:~/Projects/build/indi-atik$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi-3rdparty/indi-atik
-- The CXX compiler identification is GNU 8.3.0
-- The C compiler identification is GNU 8.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.45: /usr/lib/i386-linux-gnu/libcfitsio.so
-- Found INDI: /usr/lib/i386-linux-gnu/libindidriver.so;/usr/lib/i386-linux-gnu/libindiAlignmentDriver.so (found version "1.8.4")
-- Found ZLIB: /usr/lib/i386-linux-gnu/libz.so (found version "1.2.11")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Found USB1: /usr/lib/i386-linux-gnu/libusb-1.0.so (found version "1.0.22")
-- 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/i386-linux-gnu/libatikcameras.so
-- Performing Test COMPATIBLE_FORTIFY_SOURCE
-- Performing Test COMPATIBLE_FORTIFY_SOURCE - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/vincent/Projects/build/indi-atik

Is there any problem with GCC 8.xx or with the linker ?
Could I use the Jasem's PPA to install drivers on Debian 10 instead of compiling them ? (compile drivers is a good experience to well know this system).

Thank you
Vincent

Read More...

Vincent B created a new topic ' Building Indilib for Moxa W341 computer' in the forum. 4 months ago

Hi all,

I've got a Moxa W341 Wireless industrial computer (the datasheet is here ). I think that it could be a fine tool to drive my telescope under Linux. I would like to put the W341 on the top of the telescope and only with the Indi Server installed ; a second Linux PC is already under the dome, with Ekos/KStars. The W341 has a lot of professional and robust I/O ports and it will avoid too much cables
The problem is that the W341 is rather old : Moxa ART Arm9 32-bit, 64MB DRAM with an special Linux (2.6.38 kernel) made by Moxa. I think there is no package and no Indilib distribution compatible with this PC. A softawre toolchain is available for the W341 (W321 Series) wich includes a GNU C/C++ cross-compiler
So, I would like to know if a cross compilation is possible or not. Is it possible to get some help to about this ?

Thank you
Vincent

Read More...