-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for SNAP port on EQMOD Mounts #39
Comments
Hi, |
I built the code in your snapport branch, but I don't see any new INDI parameters for the snap ports. I'm not sure what I should expect to see though. I have an EQ6-R Pro. |
I put a "return true;" inside the HasSnapPort1 function and was able to make it work. I plugged a camera (Fujifilm X-T20) into the snap port and was able to open and close the shutter using the INDI parameter. So... the next thing you'll want is a mount code.
Should we assume that the 35 printed in the log should be a 0x23 in the code? Let me try that. EDIT: Yup, 0x23 seems to work for an EQ6-R Pro. For what it's worth, this mount only has one snap port, not two, so it's only HasSnapPort1 that needs to change. |
Thank you for testing, and solving the issue with EQ6-R (I did'nt know the mount code and did not want to look at the firmware). I added the mount in my repo so it should be ok now. I've just tested |
There might be two mount codes for EQ6-R Pro. There are different firmware downloads for mounts with USB and mounts without. I have a newer one that has USB. I know someone with the older version of the mount, but we have stay-at-home orders right now for COVID-19. I'm not sure if I'd be able to step him through finding the mount code remotely. I will test your new version, but cannot do it until after work. I also did not try your script (from your older branch) to make this available to gphoto. Instead I tested by using indi_setprop to open and close the shutter from a simple bash script. |
Ok, you're right, there is also a firmware V2.11 for AZEQ6 and EQ6-R (not pro?) mounts on the |
I cannot build your changed branch. This looks like it is related to "Use updated API call" changes @knro was making.
|
Ah yes, I rebase my fork to stay in sync with the upstream indi-3rdparty repo, but I also build the |
If I rebuilt indi-core, would I run into issues with the other 3rd party drivers I am using as well... not just indi-eqmod? I might be able to try rebuilding core tonight. It would be nice to get this tested before the next Astroberry release so I can eventually get back to a vanilla install. I think I'd start with a full backup of this SD card before I try. I'm worried I will create a mess. :) |
Concerning other third party drivers, I don't know without looking at every commits, but it's almost |
I tested your snapport branch. I only made the one tweak to the udp_format line mentioned above (not related to this change). My EQ6-R Pro mount was identified as one that supported snap port 1. I was able to open and close the shutter on my camera using the INDI control panel via Cartes du Ciel. I also tested opening and closing the shutter with indi_setprop at the command line. Everything still works as expected. 👍 This change is very helpful for people like me with cameras that do not support tethered shooting over USB. I can write simple scripts to control the shutter on my camera using the INDI properties. I looked at your eqsnap1.py script from your old branch. I don't think this would be helpful for me, but might be helpful for others. I need to control the shutter on my camera without extracting images from the camera. My camera shutter cannot be fired, in any way, when a USB connection exists. I know some cameras allow for this, and your script would allow the GPhoto CCD driver to control the shutter via the snap port while still downloading photos over USB. That would be handy for someone with such a camera. I'm unable to test that though. :) Thanks again for your work on this. It's very awesome. |
Ok, many thanks to take the time to perform these tests. I will make the PR now. |
Just to let you know - astroberry has been upgraded to the latest INDI core libs |
Thanks @rkaczorek! |
This has been previously discussed here. --> indilib/indi#617
I would love to be able to use the SNAP port on my EQ6-R Pro via EQMOD. Is there a way to do this yet... even via a simple script?
The text was updated successfully, but these errors were encountered: