Quantcast
Channel: Recent Topics - INDI Forum
Viewing all articles
Browse latest Browse all 15748

Getting SBIG Drivers Working on Raspberry Pi - by: mrnetdes

$
0
0
I had trouble getting the SBIG drivers working on a Raspberry Pi model 1 B+ with Raspbian installed so I thought I would share my experience here in case someone else runs into the same issue I did. I installed the basic INDI library and the SBIG drivers (indi-sbig and libsbigudrv) using the libindi_1.1.0_rpi.tar package from this site. When I started the indiserver with the indi_sbig_ccd driver the server went into a loop with the following messages.



I had to halt the process with Ctl-c. If I executed the indi_sbig_ccd module from the command line I got a "Illegal instruction" message. I used gdb to run the indi_sbig_ccd driver and found that the problem was in the libsbigudrv library.



I ended up installing the libsbigudrv source package and building it on the Raspberry Pi. That resolved my issue and I was able to connect to the Raspberry Pi using KStars/Ekos on a laptop and successfully capture images from my SBIG camera attached to the Raspberry Pi.

If you are interested, here is what I did to download and build the libsbigudrv package. First, I had to add the mutlaqja repository manually since the apt-add-repository tool is not installed by default on the Raspbian distribution.
Create the followiing file /etc/apt/sources.list.d/mutlaqja.list



I used the "trusty" Ubuntu release since it was the oldest supported release on the repository site. The Raspbian distribution is based on Debian wheezy which is roughly equivalent to Ubuntu saucy (13.10).

Then you have to get the public key using the following command



Now to download and build the package.


The library is not really compiled from source, rather the cmake determines which of the supplied library files should be used for the current machine architecture. In my case, with a Raspberry Pi B+, it used the libsbigudrv_arm_v6.bin file which gets copied to libsbigudrv.so.2.1.0 file and linked as libsgibudrv.so.

I hope this helps.

Viewing all articles
Browse latest Browse all 15748

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>