SX420 IS port - page 7 - DryOS Development - CHDK Forum

SX420 IS port

  • 95 Replies
  • 36853 Views
*

Online reyalp

  • ******
  • 14080
Re: SX420 IS port
« Reply #60 on: 29 / October / 2020, 00:38:44 »
Advertisements
Looks like you have to  use a script that calls set_mf(true) first.
FWIW, I added a script for cameras like this that require MF or AF lock to use SD override, here http://subversion.assembla.com/svn/chdk/trunk/CHDK/SCRIPTS/setfmode.lua and included in future autobuilds.
This should really be a native feature in the CHDK override, but that's a project for another day.

Usage
In the script menu, you can select mode of "Ovr" "MF", "AFL" and "AF"
Ovr selects selects a mode that supports SD override, preferring MF or AFL. The others select that named mode, regardless of whether it works with overrides.
You can also set the distance, if the mode is MF or AFL.

After running the script, you can enable / set CHDK SD override in the menu, or use SD bracketing. Note that some cameras may forget the MF or AFL setting in some cases, like after switching to play, changing shooting modes or going into power saving.

On cameras without native MF, when using AFL or MF mode, you should be able to adjust the focus distance directly in alt mode, with zoom changing the focus distance and left / right changing the increment.
Don't forget what the H stands for.

*

Offline c_joerg

  • *****
  • 1248
Re: SX420 IS port
« Reply #61 on: 29 / October / 2020, 03:58:37 »
FWIW, I added a script for cameras like this that require MF or AF lock to use SD override, here http://subversion.assembla.com/svn/chdk/trunk/CHDK/SCRIPTS/setfmode.lua and included in future autobuilds.
This should really be a native feature in the CHDK override, but that's a project for another day.

I have already read several times that users want this function without a script.
M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Online reyalp

  • ******
  • 14080
Re: SX420 IS port
« Reply #62 on: 29 / October / 2020, 12:59:20 »
I have already read several times that users want this function without a script.
Of course. But implementing it in a useful way is complicated.

*looks at the year on those posts, hides under desk*
Don't forget what the H stands for.

*

Offline c_joerg

  • *****
  • 1248
Re: SX420 IS port
« Reply #63 on: 29 / October / 2020, 13:15:33 »
Of course. But implementing it in a useful way is complicated.
It's a job for a 'Guru Member'  ;)
M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd


*

Offline blackhole

  • *****
  • 937
  • A590IS 101b
    • Planetary astrophotography
Re: SX420 IS port
« Reply #64 on: 29 / October / 2020, 15:30:19 »
FWIW, I added a script for cameras like this that require MF or AF lock to use SD override
It looks good, easy to use.

Re: SX420 IS port
« Reply #65 on: 29 / October / 2020, 22:55:25 »
Of course. But implementing it in a useful way is complicated.
*looks at the year on those posts, hides under desk*
I suddenly feel old.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline Pedro

  • *
  • 16
Re: SX420 IS port
« Reply #66 on: 02 / November / 2020, 08:03:11 »
Well, ran the focus mode script, works fine and focus test passes without shutting down (all three of them). CanĀ“t get the zoom to change focus in alt mode with override. By the way, I found out that the zoom lever, which can change the zoom at different speeds depending on how far from the middle you move it, gets blocked in alt mode if pushed to the limits. In other words, zoom only works if done slowly and stops if you try to do it fast. Outside of alt mode, works normally.

*

Offline blackhole

  • *****
  • 937
  • A590IS 101b
    • Planetary astrophotography
Re: SX420 IS port
« Reply #67 on: 02 / November / 2020, 11:10:05 »
Can you try this:
-in the CHDK menu go to "Miscellaneous stuff" >> "Tools" >> "Memory browser"
-set the address with the keys left, right to 0x00015ed8 , you can change the increase factor with the zoom lever
-slightly move the zoom lever to the left and see if the value changes next to the item "WORD:", if you see a change send a new value, of course send and the value you see until no key is pressed
-repeat the same for the opposite direction


*

Offline Pedro

  • *
  • 16
Re: SX420 IS port
« Reply #68 on: 02 / November / 2020, 14:15:15 »
Can you try this:
-in the CHDK menu go to "Miscellaneous stuff" >> "Tools" >> "Memory browser"
-set the address with the keys left, right to 0x00015ed8 , you can change the increase factor with the zoom lever
-slightly move the zoom lever to the left and see if the value changes next to the item "WORD:", if you see a change send a new value, of course send and the value you see until no key is pressed
-repeat the same for the opposite direction
Will do

*

Online reyalp

  • ******
  • 14080
Re: SX420 IS port
« Reply #69 on: 02 / November / 2020, 15:26:05 »
In other words, zoom only works if done slowly and stops if you try to do it fast. Outside of alt mode, works normally.
FWIW, the zoom control should not move the zoom at all in alt mode (the debugging blackhole asked for will allow fixing that). It should adjust the focus override if enabled. If you enable "show state displays" in OSD settings, when SD override is enabled you should see (probably red) text like
SD: nnnn
Adj: +/-N
showing the focus distance and the increment that the zoom key is supposed to change it.

You can also display the actual focus distance, using OSD settings->DOF Calculator
Show DOF Calculator (in misc)
Show Subj. Dist. in Misc.

Note that to enable SD override, you have to set the override to "ON" using the set button, in addition to setting a distance.
Don't forget what the H stands for.

 

Related Topics