×

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

Bi-monthly release with minor bug fixes and improvements

update for INDI drivers for Raspberry Pi

  • Posts: 407
  • Thank you received: 74
I think the basic message from Hans is why isn't Raspbian Buster/Stretch etc not supported in the same way as Ubuntu Mate.

It feels, too many, that relying on Ubuntu Mate on the PI means Indi is always playing "catch up" (which of course is always going to be true to some extent) and Mate too far behind on PI support for "average joe user" who does not want to compile from sources but wants Raspbian - a fairly popular OS :-)

In effect they want a mechanism the same as Ubuntu Mate that provides an up todate version of Indi/Kstars/Indi and a simple(ish) update method.

I know that there are tech reasons why Indi relies on Ubuntu Mate (for the PI) but IMO I think its time to look if there is an alternative solution - after all PI does not update theeir kit that often :-)

Are the tech difficulties so bad ?

Could not Docker type approach be used - there was an attempt a while back !
RPI3 Ubuntu 16.04 / AMD desktop Kstars under Ubuntu 16.04 Mounts :azeq6 ,SWAZGoTo

RPI3 Fedora testing out on AMD desktop Fedpra 28 - running kstars 2.9.4 , Indilib 1.7.4 ?????
The following user(s) said Thank You: han
4 years 9 months ago #40738

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

  • Posts: 333
  • Thank you received: 92
In Buster the following line doesn't work :

pi@raspberrypi:~ $ sudo apt-get build-dep libindi-plugins
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list


I checked all the dependencies you indicated above and they are all fulfilled.

Worse the eqmod driver 1.74 can't be installed in Buster. Get thefollowing error " Dependency is not satisfiable libgsl2"

I can't install libgsl2 since libgslcblas0 is already installed:

pi@raspberrypi:~/Downloads $ sudo apt-get install libgsl2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libgsl2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libgslcblas0
E: Package 'libgsl2' has no installation candidate


So no progress
4 years 9 months ago #40739

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

  • Posts: 333
  • Thank you received: 92

Thanks Stash, for me a INDI Debian package for Buster would be fine or maybe INDI can be added to the Raspbian repository. Note that Raspbian Stretch is no longer available for installation. Any new install of Raspbian on a Pi will be edition Buster.

Normally I program in Object Pascal and the IDE generates a single executable either for Linux armhf, Linux/Windows AMD64, I386 or MacOS x86_64 and it just works. Any library is included in the single executable file. No dependencies or separate libraries.

Han
4 years 9 months ago #40741

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

  • Posts: 111
  • Thank you received: 41
You need to activate the source repo in apt
4 years 9 months ago #40744

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

  • Posts: 333
  • Thank you received: 92
Hello Copello,
I assume you mean enable the source code repositories? Is that something you can do in a Debian Linux and how? /etc/apt/sources.list ?

Han
Last edit: 4 years 9 months ago by han.
4 years 9 months ago #40750

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

  • Posts: 1067
  • Thank you received: 140
I have the latest INdI version installed and running well on rpi4 and raspbian buster, it installed dead easy and worked first time..
Then installed INdI WebManager and set to start on boot, plus installed all the 3rd party drivers too, all works well....I must followed the instruction on the INdI git hub page...
My issue it with Kstars, I have installed that too from git, but has some errors..not sure if it’s me or not..
So for now using the rpi4 as server and running Kstars from my Kubuntu laptop... :)
4 years 9 months ago #40759

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

  • Posts: 1067
  • Thank you received: 140
These are the instructions I followed and worked perfectly first time, on rpi4 and raspbian buster

github.com/indilib/indi
4 years 9 months ago #40760

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

  • Posts: 407
  • Thank you received: 74
And there's the problem - an up todate Kstars is, as far as I know, not available in any form and cannot be compiled on Raspbian.

Plus a lot of people cannot or wish not to compile anything they just want something they can install and update easily.

I accept RPI4 has only just been released so it takes time but Kstars on Raspbian has always proved a pain to me at least - if you want the latest (last one from Rasp Repo was 1.74 I beleive). Ubuntu Mate is too far behind the hardware progress IMO.

As far as I know Indigo dont have any problems with Raspbian - but there again the equiv of a Raspbian Kstars/Ekos doesn't exist except for the Web Interface which IMO just doesn't hack it. Please correct me if there are Raspbian Indigo gui client executable programs (not sources).

In simple terms why isnt Raspbian O/S supported better by Kstars/Ekos as it seems everything else is there and working (drivers/3rd party drivers ). After all it is a Debian based OS as is Ubuntu (Mate) ?
RPI3 Ubuntu 16.04 / AMD desktop Kstars under Ubuntu 16.04 Mounts :azeq6 ,SWAZGoTo

RPI3 Fedora testing out on AMD desktop Fedpra 28 - running kstars 2.9.4 , Indilib 1.7.4 ?????
4 years 9 months ago #40771

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

  • Posts: 111
  • Thank you received: 41
Of course kstars can be compiled on Raspbian. Raspbian is nothing more or less than a Debian Buster running on ARM.
Just type:
>sudo apt-get build-dep kstars

Then, checkout from e.g. github kstars, go into checkout kstars directory and run:
>mkdir build && cd build && cmake .. && make -j4
and wait ....

INDIGO is not an INDI client but an INDI/GO server, and it brings by design also an integrated webserver to adjust INDI/GO properties
as every INDI client is providing it. Moreover, recently several so called agents were added which allow to guide, etc...
I personally run INDIGO on RPI3: Kstars to polar align, and CCDCiel + PHD2 to image.
4 years 9 months ago #40772

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

  • Posts: 333
  • Thank you received: 92

Astronerd, I got it working now. :) Thanks!
I was on the wrong track due to this in the README.md:

The complete list of system dependancies for all drivers on Debian / Ubuntu
sudo apt-get install libftdi-dev libgps-dev libraw-dev libdc1394-22-dev libgphoto2-dev libboost-dev libboost-regex-dev librtlsdr-dev liblimesuite-dev libftdi1-dev

However before that there is this:
sudo apt-get install libnova-dev libcfitsio-dev libusb-1.0-0-dev zlib1g-dev libgsl-dev build-essential cmake git libjpeg-dev libcurl4-gnutls-dev libtiff-dev


While compiling It still has some string errors and missing dependencies:
-- No package 'libavco-- Checking for module 'libavcodec>=57.64.101'
-- No package 'libavcodec' found
-- Checking for module 'libavdevice>=57.1.100'
-- No package 'libavdevice' found
-- Checking for module 'libavformat>=57.56.100'
-- No package 'libavformat' found
-- Checking for module 'libavutil>=55.34.100'
-- No package 'libavutil' found
-- Checking for module 'libswscale>=4.2.100'
-- No package 'libswscale' found
-- Could not find up to date FFMPEG, could be due to libavcodec, libavdevice, libavformat, libavutil, or libswscale version
-- Since an up to date FFMPEG was not found, INDI Webcam Driver will not be built

-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Could NOT find GMock (missing: GMOCK_LIBRARY GMOCK_INCLUDE_DIR)
-- GTEST not found, not building unit tests

-- Not all libraries found, you must build and install all libraries first:
-- libatik was not found and will now be built. Please install libatik first before running cmake again to install indi-atik.
-- libtoupcam was not found and will now be built. Please install libtoupcam first before running cmake again to install indi-toupcam.
-- libaltair was not found and will now be built. Please install libaltair first before running cmake again to install indi-altair.
-- libinovasdk was not found and will now be built. Please install libinovasdk first before running cmake again to install indi-inovaplx.
-- liblimesuite was not found. Please install liblimesuite first before running cmake again to install indi-limesdr.
-- librtlsdr was not found. Please install librtlsdr first before running cmake again to install indi-rtlsdr.


The build the all the 3rd party drivers at once didn't work for eqmod and I could find a driver for ZWO ASI16000 but still investigating.

My setup will be with CCDCiel (control), PHD2 (guiding) & ASTAP (local solver) so no need for fast Wifi connection. All binaries for armhf are available and working for the Pi3 so I assume for Pi4 also. Updated Instructions are at stargazerslounge.com/topic/337128-update...3195stargazarslounge

Han
4 years 9 months ago #40775

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

  • Posts: 333
  • Thank you received: 92
Astronerd,

I have still problem with some INDI drivers. I use INDIstarter and some drivers are not accessible by INDI client and are not running.

Good:
EQMOD Mount
LX200 Basic
QHYCFW3 (fiter wheel)


Bad:
ZWO CCD
ASI EFW (filter wheel)
ATK Wheel


Are the drivers marked as bad working in your setup?

Han
Last edit: 4 years 9 months ago by han.
4 years 9 months ago #40777

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

  • Posts: 407
  • Thank you received: 74
But there is still the old problem - people do not want to compile(build) Kstars/Ekos on Raspbian. They want the equiv of Unbuntu Mate PPA installation / updates - does that exist and more important does it work? Plus on RPI3b+ after a std compile/build (following std instructions on this forum) the button icons are just "std" large icon which I guess if down to a theme not being present?

Again many people bought RPI4 straight away,not me, expecting Kstars/Ekos/Indi to run without compiling/building - maybe the Indi requirements should be better described via a simple "Truth Table" showing which flavours of hardware/OS require compiling/building and which do not , are supported by an update mechanism (not requiring recomp etc) etc.

I know what Indigo server is thanks - I was referring to,I believe, the non existent Indigo Equiv of free Kstars/Ekos (really the EKOS part) - All I have found runs on Apple OS's only except Pixinsight (which is not free and would seem to too resource hungry for RPI4 - but I have not tried it on any RPI). e.g. AstroImager, AstroGuider, AstroDSLR, AstroTelescope, INDIGO Control Panel and INDIGO Dashboard.

Quote "so called agents" - what does that mean ?
RPI3 Ubuntu 16.04 / AMD desktop Kstars under Ubuntu 16.04 Mounts :azeq6 ,SWAZGoTo

RPI3 Fedora testing out on AMD desktop Fedpra 28 - running kstars 2.9.4 , Indilib 1.7.4 ?????
4 years 9 months ago #40779

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

Time to create page: 0.934 seconds