View Single Post
m2cm2c's Avatar
Posts: 100 | Thanked: 240 times | Joined on Feb 2010 @ The South Pole O.o
#205
Originally Posted by eitama View Post
m2cm2c, can you please explain to me how does iFocus forces a certain forcus, even if I do a half press and then press the shutter button?

Also, if I hide the UI, does it keep forcing a certain focus?

I am asking cause I have many mechanical noises since last version, but I am not sure it's related to it.
lfocus doesn't force a focus it only applies it through v4l2-ctl, but for the stop autofocus function it uses the stop-focus.py script which intercepts a "True" half-press button signal and returns "False" instead. as for the mechanical noise I think it is caused by remember led state function which is being sent by lfocus after pressing on the camera button [edit] and tries to turn on the led while the camera is in stand by state which causes the camera to turn on and off hence the lense going into action position and idle position. I think I'll apply a fix for this plus keep the remember led state button turned off and the user turns it on only when he has to take a video since keeping led on after taking a picture doesn't make any sense.

Last edited by m2cm2c; 2010-05-28 at 12:46.