Manual Focus Override Crashes Canon SD780 - General Help and Assistance on using CHDK stable releases - CHDK Forum

Manual Focus Override Crashes Canon SD780

  • 7 Replies
  • 3470 Views
Manual Focus Override Crashes Canon SD780
« on: 28 / August / 2010, 05:23:06 »
Advertisements
Whenever I put in a manual focus value into my Canon SD780, the camera crashes when I half-press the shutter.  Is there any reason why it does this?  Is there a solution to this issue?

Re: Manual Focus Override Crashes Canon SD780
« Reply #1 on: 28 / August / 2010, 09:17:35 »
The CHDK code uses lens_set_focus_pos() which in turn uses _GetFocusLensSubjectDistance().

In stubs_entry_2.s, that is declared as :-

NHSTUB(GetFocusLensSubjectDistance,0xDEADC0DE)

It should be  :-

NHSTUB(GetFocusLensSubjectDistance,0xffa94780)

Jason or someone else needs to amend the CHDK code.


David

*

Offline fe50

  • ******
  • 3119
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Manual Focus Override Crashes Canon SD780
« Reply #2 on: 28 / August / 2010, 12:16:38 »
The CHDK code uses lens_set_focus_pos() which in turn uses _GetFocusLensSubjectDistance().
In stubs_entry_2.s, that is declared as :-
NHSTUB(GetFocusLensSubjectDistance,0xDEADC0DE)
It should be  :-
NHSTUB(GetFocusLensSubjectDistance,0xffa94780)
Updated in CHDK changeset #927, thx David !

Re: Manual Focus Override Crashes Canon SD780
« Reply #3 on: 28 / August / 2010, 13:30:00 »
Of course, it may still not work ...



Re: Manual Focus Override Crashes Canon SD780
« Reply #4 on: 19 / September / 2010, 14:52:09 »
I've had the same problem with my SD780 for a while...I just downloaded 943, however, and it doesn't crash anymore. Still, though, it doesn't seem to care what I put in the subject distance thing. It seems to focus on a point roughly five feet away.


!Noah!

Re: Manual Focus Override Crashes Canon SD780
« Reply #5 on: 20 / September / 2010, 12:19:40 »
Also, I noticed on another Canon camera that there was an option to use the zoom lever for focus...is it just a matter of time before that ends up on the SD780, as well, or is it impossible for some reason?


!Noah!

*

Offline fe50

  • ******
  • 3119
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Manual Focus Override Crashes Canon SD780
« Reply #6 on: 21 / September / 2010, 00:48:01 »
Also, I noticed on another Canon camera that there was an option to use the zoom lever for focus...is it just a matter of time before that ends up on the SD780, as well, or is it impossible for some reason?
--> http://chdk.wikia.com/wiki/CHDK_User_Manual#More_keys_and_shortcuts
--> http://chdk.wikia.com/wiki/CHDK_firmware_usage/AllBest#New.2FSpecial_Short-cut_Keys
Do you mean this ?

Re: Manual Focus Override Crashes Canon SD780
« Reply #7 on: 21 / September / 2010, 10:00:49 »
No...actually, this is what I'm talking about (taken from the second page, section "Override Subject Distance")

These Manual Focus adjustments can also be achieved with shortcut keys. In <ALT> mode, using the Left / Right keys to adjust the Value Factor and the ((((Zoom lever)))) to adjust the Subject Distance, (or on cameras without a zoom lever use the Display button) Infinity is immediately selected by pressing the Up key, and for Hyperfocal adjustment based on current F-stop and zoom focal length, press the Down key.


!Noah!


 

Related Topics