From: Luc J. <luc...@vi...> - 2010-05-28 16:25:35
|
Hi Marcus, As I told you, I ran some tests to verify the new functionality. I tested the Zoom 1X and 5X and it works. But something broke in the library that prevents pictures to be taken after you either exit LiveView or you use camera_exit(). It seems like the camera is never activated so the capture call fails. Then, you have to reset the camera by removing the battery pack. I dug the problem out and I think I have spotted it. In release 12937, there's some new code in library.c (in camera_exit() actually) where you call camera_unprepare_capture(). This seems to cause the problem. I tried removing the call and it works as before (I was using 12794 as my working baseline). There's a comment "...not done yet..." in camera_unprepare_canon_eos_capture(). Is this related?? Can you please try to see if you can reproduce the problem on your side? Here are two tests I tried many times : ---- First Test ---- 1. Allocate the camera 2. Take Picture (it works) --- I tried multiple times 3. Close camera (camera_exit() has to be called) 4. Take Picture (doesn't work) --- on my computer, it takes about a minute to return 5. You have to unplug the power to the camera here and replug it --- I have to unplug the battery pack completely ---- Second Test ---- 1. Allocate the camera 2. Take Picture (it works) --- I tried multiple times 3. Start LiveView 4. Stop LiveView 5. Take Picture (doesn't work) --- it takes about a minute to return Thanks for you help! Luc PS : I replied to your last email concerning the Zoom but this post should probably be posted elsewhere... On 25/05/2010 16:58, Marcus Meissner wrote: > On Tue, May 25, 2010 at 10:05:59AM -0400, Luc Jalbert wrote: > >> Hi Marcus, >> >> When do you think you might be able to address this issue? >> > I have implemented Zoom and Zoom Position (for the preview/viewfinder > code) setting in libgphoto2 TRUNK and 2.4 branch. > > On the EOS 1000D ... I get Zoom Factors of 1 and 5 only, > the Zoom Position can be set in 64 pixel steps. > > It also reacts slow, I can take 2 - 3 preview frames before it gets active. > > gphoto2 --capture-preview --set-config eoszoom=5 --capture-preview --capture-preview --capture-preview > > gphoto2 --set-config eoszoomposition=640,320 > > Ciao, Marcus > > |