×

INDI Library v1.9.8 Released (Yesterday)

Bi-monthly INDI Library released with new drivers and bug fixes.

INDI Driver for SVBONY cameras

  • Posts: 47
  • Thank you received: 0
you cannot checkout a branch if you only clone to depth=1, whiich i presume you are doing when you are following wmarchewka's post.

have only tried it on rpi3.
git clone https://github.com/thx8411/indi-3rdparty thx8841_sv305
cd thx8841_sv305
git checkout thx8411_sv305_2 
cd libsv305/
mkdir build
cd build
cmake ../
sudo make install
 
cd ../../indi-sv305/
mkdir build
cd build
cmake ../
make -j4
sudo make install

@dlwmacgregor:
Thanks. i did not know there was a pro series. infact it is on sale on ebay, shipped from china.

to be fair the pro series os more overkill for guiding - it is going to be far better in planetary given it's USB3 support.
I already got the sv350 as I am not interested in ST4. the good people here have already worked out the driver and i am sure will provide the support needed if i need to make modifications to the code..
Last edit: 2 years 1 month ago by Rashed.
2 years 1 month ago #58189

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

  • Posts: 67
  • Thank you received: 0

Thanks for the info on the SV305 Pro.

I get "cmake command not found".
Last edit: 2 years 1 month ago by Doug MacGregor.
2 years 1 month ago #58193

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

  • Posts: 47
  • Thank you received: 0
Here is a crash course on how to build it.
github.com/thx8411/indi-3rdparty#install-pre-requisites

you need to run

sudo apt-get -y 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 libfftw3-dev libftdi-dev libgps-dev libraw-dev libdc1394-22-dev libgphoto2-dev libboost-dev libboost-regex-dev librtlsdr-dev liblimesuite-dev libftdi1-dev libavcodec-dev libavdevice-dev
2 years 1 month ago #58194

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

  • Posts: 67
  • Thank you received: 0
Well, I tried your commands on NOOBS 32-bit and I made it almost all the way to the end but I got a CMake Error on cmake ../

Where do I go from here?

Your help is much appreciated. This isn't critical. The driver will be out sooner or later. I just wanted to try my hand at this.

OK. I think I fixed it. I needed to run...

sudo apt-get install libindi-dev

No CMake errors.

make -j4 worked.

Last line worked. (sudo make install</code>)

Great!

Now, which one is the driver? If I understand it correctly, it was installed?
Last edit: 2 years 1 month ago by Doug MacGregor.
2 years 1 month ago #58196
Attachments:

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

Is this driver ready to be merged to INDI 3rdparty repo? what's pending at this stage?
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
2 years 1 month ago #58209

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

  • Posts: 10
  • Thank you received: 0
@Sarwar
Using your method, I used:
git clone github.com/thx8411/indi-3rdparty (*omitted "thx8841_sv305")
cd indi-3rdparty (*no "thx8841_sv305" dir to change to)
then, was able to successfully:
git checkout thx8411_sv305_2

then:
cd libsv305-build (*dir prev. created)
cmake ~/sv305project/indi-3rdparty/libsv305 (*seemed successful, no errors)
make (*seemed successful)
sudo make install (*seemed successful)

then:
cd indi-sv305-build (*dir prev. created)
cmake ~/sv305project/indi-3rdparty/indi-sv305 (*successful/no errors)
make (*partially successful? some repeating error types of the form: /usr/bin/ld: //usr/local/lib/libSVBCameraSDK.so: invalid string offset 3931 >= 552 for section `.strtab' ) *last printline following make command: " [100%] Built target indi_sv305_ccd "
sudo make install (*seemed successful, no errors)

At that point, i tried running indi from sudo per your comments, but got an error that driver wasn't found (no details as this was last night).
Today, brought up kstars/ekos/indi panel, but no (new) driver was available in the dropdown. Closed and tried running indi via sudo again, same error.
Should I be running a command to update my local ekos indi, or point it to the driver? Is there a step I've missed that involved moving the (newly built) driver into a space where local ekos/indi can find it?
(re: prereq's mentioned in a post here are installed)
thanks
2 years 1 month ago #58226

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

  • Posts: 47
  • Thank you received: 0
I did not get those linking errors in your screenshot.

My sv305 is in the mail somewhere, ill try when I get it. Should be with me in a couple of days I guess.

Does indiserver indi_sv305_ccd work?
2 years 1 month ago #58228

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

  • Posts: 8
  • Thank you received: 1
@MG!IFOS!
I just went through your steps and was able to successfully build both the library and driver.

Did you get all the prerequisites that Sarwar pointed out? Pretty sure you need:

sudo apt-get install libindi-dev

You also need to get these items (zlib and cfitsio ) from this README:

github.com/thx8411/indi-3rdparty/blob/master/indi-sv305/README

sudo apt-get install zlib1g

sudo apt install libcfitsio-dev


I had no build errors in either the cmake or make:

walt@rpi-indi:~/sv305-indi$ cmake ~/sv305/indi-3rdparty/indi-sv305
-- The CXX compiler identification is GNU 9.3.0
-- The C compiler identification is GNU 9.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.47: /usr/lib/aarch64-linux-gnu/libcfitsio.so
-- Found INDI: /usr/lib/aarch64-linux-gnu/libindidriver.so;/usr/lib/aarch64-linux-gnu/libindiAlignmentDriver.so (found version "1.8.6")
-- Found ZLIB: /usr/lib/aarch64-linux-gnu/libz.so (found version "1.2.11")
-- Found SV305 libraries : /usr/local/lib/libSVBCameraSDK.so
-- Performing Test COMPATIBLE_FORTIFY_SOURCE
-- Performing Test COMPATIBLE_FORTIFY_SOURCE - Success
Linux target
-- Configuring done
-- Generating done
-- Build files have been written to: /home/walt/sv305-indi
walt@rpi-indi:~/sv305-indi$ make
Scanning dependencies of target indi_sv305_ccd
[ 50%] Building CXX object CMakeFiles/indi_sv305_ccd.dir/sv305_ccd.cpp.o
[100%] Linking CXX executable indi_sv305_ccd
[100%] Built target indi_sv305_ccd
2 years 1 month ago #58233

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

  • Posts: 47
  • Thank you received: 0
Got the camera this morning.

Installing on Rpi4 went smoothly. installed in /usr/lib.

and did get the linking error. I believe it is related to the binary that is provided by the OEM for rpi4. a couple of observations may have already been reported:
1. first time I connect it fails to, something about failed to set Gain.
2. the driver only appears when the remote mode is selected. I am guessing this will be fixed when it is absorbed into the master repo.

I cannot test it with stars, as I am still waiting on my guide scope and there are no clear skies in the coming week. but it takes pictures just fine. Live video seems to be working as well
2 years 1 month ago #58245

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

  • Posts: 67
  • Thank you received: 0

What was the name of the driver file and where did you put it?
My install placed it in /usr/local/bin and seems to be called indi_sv305_ccd.
OK Ekos was able to find it when I selected Remote Mode.
But now I'm getting an error on the Remote Server.
Last edit: 2 years 1 month ago by Doug MacGregor.
2 years 1 month ago #58247
Attachments:

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

  • Posts: 47
  • Thank you received: 0
I installed in /usr/bin. But i don't think it matters

You need to run indiserver indi_xxxxx on the terminal before connecting with remote on kstars

2 years 1 month ago #58288

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

  • Posts: 67
  • Thank you received: 0

Which OS are your running on your RPi? I did mine with NOOBS (Raspbian I guess).
And as far as needing to run "indiserver indi_xxxxx", I thought that KStars/Ekos handled starting the server itself. What is the "xxxxx" for?

I typed in indi-web -v to start the server and I did get one error. Is that the wrong command?
Maybe my problem is that I'm running KStars 3.0.0 and my Windows 10 PC is running 3.4.3

I'm rusty on Linux and CL input. My Linux days were in the 90's.

I appreciate the help.
Last edit: 2 years 1 month ago by Doug MacGregor.
2 years 1 month ago #58339
Attachments:

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

Time to create page: 0.661 seconds