On Fri, Nov 29, 2013 at 04:46:50PM +1300, Jehan Pagès wrote: > Hey, > > I saw these commits and focusing through entangle, which is an awesome > addition. > Unfortunately when I try any of [,.< >], I get a popup error: > « > Manual focus failed > > Manual focus control was not a range widget > »
Urgh, so looking the gphoto2 code the Canon cameras support manual focus in a totally different way. Nikon cameras let you nudge the focus point in arbitrary steps / granularity. Canon seems to be limited to just 7 separate manual focus points which really sucks. So I'll have to write some more code to deal with canon for this. > > And if I set the 'a' (autofocus), it "works" sometimes the first time > (= I see indeed a focus change relatively to the middle cursor), but > then nothing. I can't focus anymore with 'a' and the camera enters an > infinite "Busy" mode. I can't take photos anymore with entangle, nor > anything else. My only possibility is to shut down the camera > physically. > > Is it normal? Is it just too recent and experimental? Or is it > supposed to work? Because if it does for others, I can say it doesn't > with my Canon EOS 50D, which is too bad. :P The autofocus code looks like it should work exactly the same with Nikon & Canon, so I'm surprised to see this behaviour. Can you try to test in gphoto2 shell eg just set the autofocus config parameter # gphoto --shell > set-config-value /main/actions/autofocusdrive=1 .... > set-config-value /main/actions/autofocusdrive=1 .... > set-config-value /main/actions/autofocusdrive=1 and see if the camera hangs in the same way. Also be interested if you can try manual focusing too - each of the 7 options > set-config-value /main/actions/manualfocusdrive=0 (near focus) > set-config-value /main/actions/manualfocusdrive=7 (far focus) > set-config-value /main/actions/manualfocusdrive=3 (middle focus) > set-config-value /main/actions/manualfocusdrive=1 (near focus) > set-config-value /main/actions/manualfocusdrive=6 (far focus) > set-config-value /main/actions/manualfocusdrive=2 (near focus) > set-config-value /main/actions/manualfocusdrive=5 (far focus) I really need to try harder to find a cheap EOS camera on ebay for testing :-) Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| _______________________________________________ Entangle-devel mailing list Entangle-devel@gna.org https://mail.gna.org/listinfo/entangle-devel