I am running Kstars 3.5.2 on a Mac and just added the SV305 camera but when I start EKOS I get this error:Driver indi_sv305_ccd was not found on the system. Please make sure the package that provides the 'indi_sv305_ccd' binary is installed.
How do I fix this. I read a post about this on the RPI but it didn't seem to be a solution for me.
Wow there is a lot of code there. I spent some time looking at it and my first guess is that this uses the libgphoto2 and makes direct calls to the library. I have been using the command line gphoto2 with the following command:
gphoto2 --wait-event=10s --capture-image-and-download --force-overwrite --filename xxx.jpg
So I don't actually know what the wait-event waits for but after the command is issued nothing happens for several seconds and then the shutter clicks. The code you direct me to seems to be in the area where INDI waits for the image to download. On photo if you don't wait long enough nothing happens in the camera. You don't actually capture a photo. So it isn't like a failure to wait for the download to finish.
There is some discussion here: github.com/gphoto/gphoto2/issues/272
I also discovered that gphoto2 supposedly can control the focus so maybe I could write some code to add that to INDI so sunny camera users could use the EKOS focus feature. That might be a bridge quite far but maybe not too far.
I get the following output
'Loading camera drivers from '/usr/l... | \ 0.0%
Loading camera drivers from '/usr/l... |- | 5.0%
Loading camera drivers from '/usr/l... |-- / 10.0%
Loading camera drivers from '/usr/l... |--- - 15.0%
Loading camera drivers from '/usr/l... |---- \ 20.0%
Loading camera drivers from '/usr/l... |
Still no luck getting pictures downloaded to local host. I switched to running Kstars on the Mac connected directly to the mount and camera via USB. The A7R4 reliably downloads fits images but no raw or JPEG files are saved using either the photo or Sony DLSR driver. Funny thing is that using gphoto2 on Mac command line will download both RAW, JPG, or both but only when a --wait-event=10s option is used I am wondering if a wait option is needed in Indi
I am using the A7R4. It seems to work fine. I saw some strange exposures last night that were 1/10th second but the ones longer than 1 sec seemed to work. I tried using the gphoto driver last night instead of the Sony driver. I have tried running on both the RPI and Mabook. I have tried a lot of things but can't get the photos to download to either the RPI or MacBook. Strange though is that I do get the FITS returned. My RP4 8GB running Astroberry is really too slow for this. It is ok for general astrophotography when you exposures are very long and you don't care but trying to adjust lens focus is a pain because of the speed to analyze the fits. I am considering buying a Mac Mini and remote into it.
Just as an update. I was able to take the Sony SDK and modify it to add a focus control. So I have an executable that I can invoke and pass it the desired focus position of the lens as a command line argument and it will set the focus. I can then execute a gphoto2 command that captures and downloads an image. Wrapping this with a simple Matlab script I can measure the FWHM of a star and search for best focus. It is not integrated into EKOS but it is a workable solution.
I'll try that. There are probably a lot of things I am missing that I should be doing.
I thought I would follow up with what I have learned. I now use the V4L2 which gives the iGuide camera and makes me fowl better that using iPolar. Set the detector width to 1280 pixels in the INDI panel and set the pixel size to 3.75 as it defaults to 640 and 5.6. You have to do this every time. EKOS won't let you set the integration time longer than 0.5 but PHD2 will allow you to set it up to 3.5 seconds.
Because you need to set this every time you start EKOS you can change the guid telescope to 5.6/3.75*120 = 179.2mm which it will remember. This gives the same IFOV are 3.75 @ 120. Then you only need to change the 640 to 1280.
That is what I found out. It worked and then for some reason it quit. I changed the USB to USB0 and now it seems to work all the time.
Since you responded here I do have a question for you. I considered getting StellarMate but I could get Astroberry with instant gratification. Astroberry is Kstars/INDI/EKOS plus PHD2. I have been running it with my Sony A7R4 and CEM40G. Everything works fine but for two things which would cause me to buy StellerMate in a a blink of an eye if it fixes any of these issues. The biggest issue is that it will crash several times. I can usually recover from a crash in few minutes but it is not fun. The second thing is that the Sony Images don't download. I still get the FITS file in EKOS so the fact that I have to go to the camera to get the raw files is not big deal.
So the to kill for function to me is to get focus control for Sony Lenses. I can do this in the Sony Imaging Edge software but as you know it is hard to get the best focus looking at a not so magnified star image. Some other metric like full width 1/2 max would work. EKOS has auto focus for telescopes but not for the cameras. I set us gphoto2 and I think that it can control the focus but I haven't figured that out. I say this because the camera has a configuration called CrDeviceProperty_NearFar. And it has values from -7 to +7. The Imaging Edge software has focus buttons that move the focus new and far with 3 choices of step size. I am guessing that that corresponds to NearFar of -7 -3 -1 and +1 +3 and +7.
So I guess I am writing all of this because I am hoping someone can either give me a tip that will enable me to implement this function or someone like you could add this as a feature to StellarMate. This would be a big hep to people like me who are using camera's for Astrophotography before advancing to a telescope.
I struggled with this problem and I found a simple fix. Some how the value gets changed aft a few uses. This is aimed to frustrate you. Start EKOS. Go to the INDI window click on the Connection Tab under PORT on the right hand panel change USB1 to SUB0 and click the set button.
I have the same mount and like you it is my first mount. I would like to know how it works for you and how Astroberry is working. I have a Sony A7R4 and I have a few issues. Guiding with the CEM40G uses the V4L2_CCD the iGuide selection in INDI is wrong. When your run this got to the INDI controls and the image_info tab. Change the max width to 1280 and the pixel size to 3.75 before starting PHD2.
I got rotten guiding results about 7 arctic p-p. The unguided mount works better than the guiding with PHD2. I also found that KSTARS crashes a lot. IDK Why.
I just got my first mount last week, a small grade from my 1960's Tasco. I discovered Astroberry and have been running my CEM40, over USB2, for several days with no problems however last night it quit working with an error "Failed to connect to port (/dev/ttyUSB1) Error Port Failure ERROR no such file..."
Checking with lsusb I get
astroberry@astroberry:~ $ lsusb
Bus 001 Device 008: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Bus 001 Device 007: ID 1233:1455 Denver Electronics
Bus 001 Device 005: ID 0130:1466
Bus 001 Device 004: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I tried two builds of Astroberry on an RPI3B and RPI4 with identical results. I contacted iOptron and got the quick reply "We received some reports about unstable connection of CEM40 to Raspberry Pi, i.e. ASIAIR; it might connect one time but fail another time. You may try the same with Windows. "
I tried windows and it works fine.
So I have a couple of question for anyone that can help. Has anybody heard of this. I would seem to impact StellerMate and other products if it is a RPI issue. Do I need to abandon the RPI and use a windows machine? If so how do I put INDI on the PC?
My nirvana would be to run everything from my Mac remotely but I also have a Windows VM and can get something for the mount. It would be best if I could run everything, like iPolar, without having 3 machines. My camera is a Sony A7R4 and EKOS/INDI seems to do almost everything, almost.
I have the very latest version I downloaded about 2 week ago. As an update I got everything working running on the RPI4. Now I just need EKOS to do lens focus for the Sony. It is possible to remote both focus and zoom on the Sony.
Ok Maybe I am going mad. I tried again on my MacBook Pro and the same thing. Then I went to the RPI and everything works. The files appear on the RPI and the transfer is a very fast 6 seconds for a 61 mega-pixel image. The only difference, maybe, is I plugged the CEM40G into the USB3 port on the RPI and the camera is, as always, plugged into the USB connector on the declination mount. I can control the CEM40G and read the guide camera which is configured as a V4L2. Also I switched to TeamViewer which is really nice and pretty fast. I only wish I could hide the TeamView control widget.
Thanks for all the help
Seems every way I turn is a roadblock. If it try and run on my Mac everything is fine but the iGuide camera driver isn’t available on the Mac. INDI is available on a PC. However the Sony camera behaves the same if I drive it from the RPI or from a direct USB connection to the Mac. It is 20x faster on the Mac. How do you drive it? I thought of building a Linux machine but probably no difference.
So I edit these files and find a debug switch? What do I do with the DB file?