Skip to content
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

Make EOS Mirror Lock control work again #804

Open
anjok opened this issue Jun 18, 2023 · 1 comment
Open

Make EOS Mirror Lock control work again #804

anjok opened this issue Jun 18, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@anjok
Copy link
Contributor

anjok commented Jun 18, 2023

Is your feature request related to a problem? Please describe.
En-/Disabling Mirror Lock used to be supported, but is apparently commented out because it didn't work with some models.

Also the procedure used is probably wrong. I blindly tried the string in the code with my 450D and 6D (which you kids shouldn't do at home) and it set the camera in a weird state which was fixed by disconnecting and turning it on/off again. But that didn't alter the Mirror lock.

So after some further investigation and using the procedure outlined in:

https://github.com/gphoto/libgphoto2/blob/master/camlibs/ptp2/canon-eos-customfunc.txt

it turned out that the string for the 450D is different:

off: d4,4,1,20,2,101,1,0,10f,1,0,2,38,4,201,1,0,202,1,0,203,1,0,204,1,0,3,2c,3,50e,1,0,511,1,0,60f,1,0,4,38,4,701,1,0,704,1,0,811,1,0,80f,1,0,
on: d4,4,1,20,2,101,1,0,10f,1,0,2,38,4,201,1,0,202,1,0,203,1,0,204,1,0,3,2c,3,50e,1,0,511,1,0,60f,1,1,4,38,4,701,1,0,704,1,0,811,1,0,80f,1,0,

Note these actually toggle the on my 450D, no idea if it works for others.

And the 6D is different again. There's a property EOS_MirrorLockupState for which I have am Issue open and trying to figure out myself:

gphoto/libgphoto2#913

Describe the solution you'd like
Now, since the single fixed customfuncex string is apparently not working, it would be better to have either two strings for on/off which the user can set. This is for those cams that use customfuncex. Or put it in some config file that the user can change if he needs to.

For the 6D and others, I hope the property can be made writable and simple be toggled when mirror lock time is changed to <2 = > off and >=2 => on.

Describe alternatives you've considered
It would be nicer if there was a --set-config eos-mirror-lock=on in gphoto, but I'm even less knowledgable in that code base than in indi. And since it's not clear if the customfuncex value varies by model or even cam, I'm not sure that's managebable for them.

@anjok anjok added the enhancement New feature or request label Jun 18, 2023
@anjok
Copy link
Contributor Author

anjok commented Jun 20, 2023

OK, so the dev version of gphoto now has a flag /main//status/mirrorup (name subject to change). While it would be nice if the indi driver could support the logic outlined above (<2s -> lock off, >=2s lock on), it's not really needed.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant