Closed mattyryu closed 1 year ago
It looks like the INDI developers changed the gain property in the 2.0.4 release if INDI for SVBony cameras.
Some background on this, the gain setting for INDI cameras is one of two possible settings (assuming they support gain). The latest release of INDI appears to have switched it to the other setting for SVBony cameras. This is the first time this has happened.
Let me work on this tonight.
Awesome, thanks! Let me know if I can provide any other data that you may need.
Merged #995 with fixes. I would normally test this with my sv305, but it is currently boxed up due to my current move. Let me know how it works.
Thanks for the quick turnaround! It seems much better as the camera loads and I can view all the details about it in the GUI. I do see that it seems stuck in this loop of exposure state: busy and I have yet to capture an image:
2023-10-18T09:59:48.632989-04:00 allsky [INFO] Capture-1-918/MainThread capture.saferun() #209: Camera last ready: 67.6s
2023-10-18T09:59:48.633490-04:00 allsky [INFO] Capture-1-918/MainThread capture.saferun() #210: Exposure state: BUSY
2023-10-18T09:59:48.633634-04:00 allsky [INFO] Capture-1-918/MainThread capture.detectNight() #1272: Sun altitude: 25:53:59.7
2023-10-18T09:59:48.633789-04:00 allsky [INFO] Capture-1-918/MainThread capture.detectMoonMode() #1290: Moon altitude: -18:28:57.6, phase 15.0%
2023-10-18T09:59:48.833919-04:00 allsky [WARNING] Capture-1-918/MainThread indi.getCcdTemperature() #852: Sensor temperature not supported
2023-10-18T09:59:48.934408-04:00 allsky [INFO] Capture-1-918/MainThread indi.getTelescopeRaDec() #842: Telescope Coord: RA 10.18, Dec 33.00
I rebooted and started an strace on the indi_svbony_ccd process and saw what appeared to be configuration happening until this:
futex(0x55afddcd40, FUTEX_WAKE_PRIVATE, 1) = 0
sendmsg(1, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="<?xml version='1.0'?>\n<setNumber"..., iov_len=260}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 260
pselect6(1, [0], NULL, NULL, NULL, NULL) = 1 (in [0])
read(0, "<setNumberVector device=\"Telesco"..., 2048) = 264
pselect6(1, [0], NULL, NULL, NULL, NULL <unfinished ...>) = ?
+++ killed by SIGSEGV +++
I started the strace again on indi_svbony_ccd and it seems to do this every second forever after:
pselect6(1, [0], NULL, NULL, NULL, NULL) = 1 (in [0])
read(0, "<setNumberVector device=\"Telesco"..., 2048) = 264
pselect6(1, [0], NULL, NULL, NULL, NULL) = 1 (in [0])
read(0, "<setNumberVector device=\"Telesco"..., 2048) = 262
pselect6(1, [0], NULL, NULL, NULL, NULL) = 1 (in [0])
read(0, "<setNumberVector device=\"Telesco"..., 2048) = 264
pselect6(1, [0], NULL, NULL, NULL, NULL) = 1 (in [0])
read(0, "<setNumberVector device=\"Telesco"..., 2048) = 264
This is my first time using this so it could entirely be user error and I need to tune the config. I did try rebooting and unplugging the camera for a while to make sure it wasn't locked up. Same result.
I am really not sure the INDI 2.0.4 SVBony driver is actually stable in its current form. Apparently, the driver was completely rewritten last month.
https://github.com/indilib/indi-3rdparty/pull/839
You might want to try INDI 2.0.2 or 2.0.1.
Oh yeah look at that. I'll work on dropping back the INDI driver. Thanks again for the help!
I have INDI 2.0.4 installed. Could you give me some instructions how to downgrade to an earlier version. I'm very new to linux and willing to learn! Thanks
@aaronwmorris I can confirm that running with INDI v2.0.2, the SV305 is working as expected with indi-allsky v7.4 (to go back to the old way of collecting the gain settings before your most recent fix for the v2.0.4 INDI). I can retest your changes when INDI v2.0.5 is release and also report any driver issues in the INDI project.
@SNinfinite I opted to grab a new SD card and install Bullseye/64-bit to be compatible with the v7.4 release of indi-allsky. The setup.sh script will detect if the INDI drivers are installed already, so I went to the indi-core and indi-3rdparty repos and grabbed v2.0.2 and followed the build instructions. After that I grabbed v7.4 of indi-allsky and ran thru the setup. It is possible that you could grab v2.0.2 and follow the instructions to build those on your current system, but I'm not sure it'll work and didn't want to deal with resolving any issues if they came up.
Let me know about your testing. The changes I made in the newer indi-allsky releases were intended to be backwards compatible, as well.
I didn't realize the changes were backwards compatible. I just installed the latest bookworm/64-bit with the latest indi-allsky and the INDI v2.0.2 and everything came up okay.
@SNinfinite so it turns out @aaronwmorris made it really easy for us and you can run:
./misc/build_indi.sh v2.0.2
from the indi-allsky directory to install the v2.0.2 INDI components (even over v2.0.4) without any other work. Amazing!
Hi there- I am having some trouble trying to get an Svbony SV305 camera running with a new installation.
After the installation completes successfully and everything is running I see the following in /var/log/syslog:
Output from indi_getprop:
Cool project! I'd appreciate any help on this. -Matt