sx40HS focus to infinity not doing it. - page 9 - General Help and Assistance on using CHDK stable releases - CHDK Forum  

sx40HS focus to infinity not doing it.

  • 83 Replies
  • 14519 Views
*

Offline msl

  • *****
  • 1263
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: sx40HS focus to infinity not doing it.
« Reply #80 on: 08 / December / 2012, 15:08:01 »
Advertisements
Do you think it will work for all cameras?

I think yes. It's seems to be a standard 'levent' function for all cameras with MF mode. I got a lot of positive reports.

msl
CHDK-DE:  CHDK-DE links

*

Offline philmoz

  • *****
  • 3123
    • Photos
Re: sx40HS focus to infinity not doing it.
« Reply #81 on: 08 / December / 2012, 19:01:59 »
Quote
Btw, with CHDK version 1.2 we have an extra override function for MF infinitely. There is also a shortcut.
That shortcut (left or right in <alt>?) crashed the sx260 and didn't work with the G1X. Philmoz figured out that you have to be in manual focus mode for set_focus(d) to work. The shortcut doesn't do anything on my sx260 now. I wonder if they took it out?

The <ALT> shortcut to set focus to infinity (if you are in MF) should be the up button on the sx260 (down sets hyperfocal distance).

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)

*

Offline iax

  • *
  • 45
Re: sx40HS focus to infinity not doing it.
« Reply #82 on: 05 / January / 2013, 15:39:12 »
Same problem here. The sx40 won't manually focus at infinity at 35x zoom. To me this is happening independently from CHDK it really seems a limitation of the camera manual focus system, at least of my camera hardware + firmware (1.00i).

I even tried to lock focus at infinity (autofocus on the Moon and halfpress+left to lock focus) and memorize it to a preset (e.g. C1). When recalling the preset the MF indicator shows infinity but the resulting image is blurred, the lens system just won't return at the same exact position.

Physically the lens can reach a position where it can focus infinity (in fact AF works) but something is preventing to reach that position in MF (including setting focus distance via CHDK scripts).

Maybe it's just the section of the system that translates the focus distance into lens position. Would it be possible to use CHDK to control directly the lens system at a lower level (I know this might be risky...)?

Thanks

*

Offline lapser

  • *****
  • 1093
Re: sx40HS focus to infinity not doing it.
« Reply #83 on: 05 / January / 2013, 15:55:45 »
You can try the following code for switching into MF mode:
Code: (lua) [Select]
if(get_focus_mode()~=1) then
    print("Switch MF mode")
    post_levent_for_npt("PressSw1AndMF")
    sleep(500) -- maybe not necessary
end
I finally got around to testing this, and it works great on my sx260. Is there a similar method for switching to auto focus mode?

Many thanks for the help!
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos


 

Related Topics