×

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

Bi-monthly release with minor bug fixes and improvements

INDI Driver for SVBONY cameras

  • Posts: 8
  • Thank you received: 1
@ MG!IFOS! this is what i did to get the camera driver working in Ubuntu 20.04 on my laptop and Ubuntu Mate x64 on the rpi.

From memory:

create directories to hold project and builds:
mkdir ~/libsv305-build
mkdir ~/indi-sv305-build
mkdir ~/sv305project

download project from github:
cd ~/sv305project
git clone --depth=1 github.com/thx8411/indi-3rdparty.git
git checkout thx8411_sv305_2

build library:
change to the ~/libsv305-build directory
cmake ~/sv305project/indi-3rdparty/libsv305
make
sudo make install

build driver:
change to the ~/indi-sv305-build directory
cmake ~/sv305project/indi-3rdparty/indi-sv305
make
sudo make install

to start the indiserver
sudo indiserver indi-sv305-ccd

i had to start the indiserver as sudo, though im unsure why at this point. perhaps because the library and driver were installed as sudo.
this library is still experimental (though its working quite well).
The following user(s) said Thank You: John Stern
3 years 7 months ago #58134
The topic has been locked.
  • Posts: 67
  • Thank you received: 0
The SV305 does not have an auto guiding ST4 port like the 120 mini does.

But SVBONY has indicated that the SV305 Pro will.
Last edit: 3 years 7 months ago by Doug MacGregor.
3 years 7 months ago #58158
The topic has been locked.
  • Posts: 67
  • Thank you received: 0
Will this work on RPi 4B using Raspberrypi 64-bit Beta?
It can't find the library. (repository not found)

Nevermind. I forgot to put https:// in front of github.com

But...the git checkout line does not work for me.

Response is...

fatal: not a git repository (or any of the parent directories): .git


Note: I have never done this before. I am using my new RPi 4B. Maybe I missed a step?
Last edit: 3 years 7 months ago by Doug MacGregor.
3 years 7 months ago #58159
Attachments:
The topic has been locked.
  • Posts: 48
  • Thank you received: 0

Yes, But i was not interested in using the ST4 port, but pulse guiding via eqmod.
3 years 7 months ago #58160
The topic has been locked.
  • Posts: 67
  • Thank you received: 0

I would contact SVBony directly.
3 years 7 months ago #58162
The topic has been locked.
  • Posts: 1
  • Thank you received: 0
Thank you. My setup is a stock SkyWatcher 250P Goto Dobsonian. I have a home-built waveshare HAT focuser and use the indi_skywatcherAltAzMount driver for the GOTO. Nothing special...lots of short exposure subs, stacking with Siril and finish in GIMP.  boi hrms
teatv
Last edit: 2 years 5 months ago by oliverthom707.
3 years 7 months ago #58172
The topic has been locked.
  • Posts: 10
  • Thank you received: 0
@wmarchewka

(disclaimer: newish to Linux)
"git checkout thx8411_sv305_2" gives error: "fatal: not a git repository (or any of the parent directories): .git"
Checking the cloned-to-local repository (which seemed to copy complete to local w/o any errors) I found no branches at all using "git branch -a". I expected at least "master" returned from that command but that may be my ignorance of Linux and/or git(-stuff).
I should add (and for others new to this) I'm performing all of these remotely from within rPi4 Astroberry.
Given the above, a few questions (based on my limited understanding of Linux/git):

Are the instructions given based on the above scenario (all run within rPi and whatever native/stock config of git-related functionality)? (I ask b/c for instance you may have/be running these on a local laptop and/or with that/a version of git, etc). Also, I'm assuming the commands so far aren't dependent on headless nature of our clone, but maybe that's wrong?

Found in git documentation that yes, cloning should have brought over any branches, so perhaps the clone was corrupted?

Very sorry if I'm misunderstanding the basics, and please feel free to correct, thanks!
Last edit: 3 years 7 months ago by John Stern. Reason: found one answer, removing from post
3 years 7 months ago #58184
The topic has been locked.
  • Posts: 67
  • Thank you received: 0

I'm having the exact same problems and I'm new to this too. I'm running it from RPi 4B like you are but I am using Raspberry Pi 64-bit Beta.

Also from what I've been able to find it looks like a "git init" should have been performed after the "cd ~/sv305project" line (yes/no?)
Then there should be a ".git" folder under the sv305project folder. It is hidden so you may have to ask your RPi OS to display Hidden Files when you open File Manager

My clone command created an indi-3rdparty folder under the sv305project folder.
Doing a "git status" lists all the files that were downloaded.

From there I don't want to do anything until I get an answer to the "checkout" error.
Last edit: 3 years 7 months ago by Doug MacGregor.
3 years 7 months ago #58186
The topic has been locked.
  • Posts: 48
  • 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: 3 years 7 months ago by Rashed.
3 years 7 months ago #58189
The topic has been locked.
  • Posts: 67
  • Thank you received: 0

Thanks for the info on the SV305 Pro.

I get "cmake command not found".
Last edit: 3 years 7 months ago by Doug MacGregor.
3 years 7 months ago #58193
The topic has been locked.
  • Posts: 48
  • 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
3 years 7 months ago #58194
The topic has been locked.
  • 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: 3 years 7 months ago by Doug MacGregor.
3 years 7 months ago #58196
Attachments:
The topic has been locked.
Time to create page: 1.036 seconds