A570is- Latest Build from svn problem resolved (I think...) - page 2 - AllBest's Builds - CHDK Forum supplierdeeply

A570is- Latest Build from svn problem resolved (I think...)

  • 14 Replies
  • 18226 Views
*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: A570is- Latest Build from svn problem resolved (I think...)
« Reply #10 on: 30 / January / 2008, 19:32:27 »
Advertisements
This is not true. My camera (A570is) support manual focus and do not hang doing "set_focus" when camera is not in MF.
I agree that a config menu entry could be a good solution.

I agree with you for A, S and G series.

Old IXUS cameras (IXUS700, IXUS40) don't have manual focus, (EnterToManualFocus() is empty), camera shuts down after call MoveFocusLensToDistance().
Other IXUS cameras (IXUS70, IXUS 800, A560) don't have manual focus in user's manual, but have non-empty functions MFOn() and MFOff(). Can anybody test  MoveFocusLensToDistance() on these cameras? After MFOn()?


Re: A570is- Latest Build from svn problem resolved (I think...)
« Reply #11 on: 30 / January / 2008, 23:14:46 »
Other IXUS cameras (IXUS70, IXUS 800, A560) don't have manual focus in user's manual, but have non-empty functions MFOn() and MFOff(). Can anybody test  MoveFocusLensToDistance() on these cameras? After MFOn()?

All about IXUS800:

Camera shuts down calling MFOn();
Camera shuts down calling shooting_set_prop(PROPCASE_FOCUS_MODE, 1);
"MF.c" and "MFBar.c" strings found in A610 not present, calls above ending in neverland.

What I discovered further:

Camera shuts down calling MoveFocusLensToDistance() when zoom point equals 8, my cure:
short shooting_get_focus_mode()
{
...
   return shooting_get_zoom() < 8;
...

Suggestion: Current calls to shooting_get_focus_mode() should better be called shooting_can_focus_be_set().

MoveFocusLensToDistance() is limited to 100mm to Infinity, but IXUS800 does auto-focus down to 70mm.
Calling MoveFocusLensToPosition(3000) allows focusing down to 60mm (equals 10mm from the lens rim).

Conclusion: It seems that the MoveFocusLensToDistance() code is left over from another camera with only 8 zoom points and a minimal focus distance of 100mm.

I am investigating further on this subject. My goals is now to pimp IXUS cameras being always-with-you super macro tools.

nirschi
« Last Edit: 30 / January / 2008, 23:43:46 by nirschi »

Re: A570is- Latest Build from svn problem resolved (I think...)
« Reply #12 on: 01 / February / 2008, 01:41:16 »
Camera shuts down calling MoveFocusLensToDistance() when zoom point equals 8...
MoveFocusLensToDistance() is limited to 100mm to Infinity...

To be continued here: http://chdk.setepontos.com/index.php/topic,321.msg3157.html#msg3157

*

Offline whoever

  • ****
  • 280
  • IXUS950
Re: A570is- Latest Build from svn problem resolved (I think...)
« Reply #13 on: 01 / February / 2008, 08:05:13 »
Other IXUS cameras (IXUS70, IXUS 800, A560) don't have manual focus in user's manual, but have non-empty functions MFOn() and MFOff(). Can anybody test  MoveFocusLensToDistance() on these cameras? After MFOn()?
ewavr, would you post code snippets from MFOn() and MFOff() please. How do they look like? Or their addresses in IXUS 800 101b? I'll try in IXUS 950.


Re: A570is- Latest Build from svn problem resolved (I think...)
« Reply #14 on: 01 / February / 2008, 11:31:25 »
Hi whoever,

"MF.c" and "MFBar.c" source modules present in A610 where stripped from IXUS800.
There are entry points with asserts, where the journey probably ends...

@ ewavr: Is there a way to log assert outcome ?

there is a thread called 'Focus distance override and bracketing on IXUS cameras'
http://chdk.setepontos.com/index.php/topic,321.msg3157.html#msg3157

Lets continue this topic there so others can find it.


 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal