Mini-Help for a mini-lua script - page 3 - Script Writing - CHDK Forum supplierdeeply

Mini-Help for a mini-lua script

  • 28 Replies
  • 8523 Views
*

Offline srsa_4c

  • ******
  • 4426
Re: Mini-Help for a mini-lua script
« Reply #20 on: 18 / August / 2014, 15:32:42 »
Advertisements
Just tried the call_event_proc("PTM_SetCurrentItem",0x8021,3) (focus mode = "infinity") that simply shuts down my camera ...
Don't set IDs that are not for your camera, 0x8021 is focus mode for the a3200, yours is very likely different.

Re: Mini-Help for a mini-lua script
« Reply #21 on: 18 / August / 2014, 15:48:57 »
Just tried the call_event_proc("PTM_SetCurrentItem",0x8021,3) (focus mode = "infinity") that simply shuts down my camera ...
Don't set IDs that are not for your camera, 0x8021 is focus mode for the a3200, yours is very likely different.

Trying everything to get that damned "infinity" setted on my camera  >:(

*

Offline nafraf

  • *****
  • 1308
Re: Mini-Help for a mini-lua script
« Reply #22 on: 18 / August / 2014, 16:35:45 »
Trying everything to get that damned "infinity" setted on my camera  >:(
0x8022 = 3

Re: Mini-Help for a mini-lua script
« Reply #23 on: 18 / August / 2014, 17:25:36 »
0x8022 = 3

Thanks again nafraf.
This ID works fine. It sets the camera to distant subjects focus range (the mountains icon is correctly displayed), but the ixus 125 keeps focusing despite of it, and, if nothing detected, farer subjects are blurred.
I'm looking for for a "set_fous=65535" equivalent. The CHDK SD override doesn't work on ixus 125.
Sorry for misunderstanding due to my bad English.


Re: Mini-Help for a mini-lua script
« Reply #24 on: 18 / August / 2014, 17:33:35 »
This ID works fine. It sets the camera to distant subjects focus range (the mountains icon is correctly displayed), but the ixus 125 keeps focusing despite of it, and, if nothing detected, farer subjects are blurred.
I'm looking for for a "set_fous=65535" equivalent. The CHDK SD override doesn't work on ixus 125.
Sorry for misunderstanding due to my bad English.
Have you tried doing a set_aflock(1) before calling that ?
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Mini-Help for a mini-lua script
« Reply #25 on: 18 / August / 2014, 18:05:56 »
Have you tried doing a set_aflock(1) before calling that ?
Doesn't work either.
This damn camera doesn't like any known SD override. It returns 5 with get_sd_over_modes()  :'(

Sorry for the long OT, guys. But this thing is driving me nuts.

*

Offline srsa_4c

  • ******
  • 4426
Re: Mini-Help for a mini-lua script
« Reply #26 on: 18 / August / 2014, 18:07:42 »
This ID works fine. It sets the camera to distant subjects focus range (the mountains icon is correctly displayed), but the ixus 125 keeps focusing despite of it, and, if nothing detected, farer subjects are blurred.
I'm looking for for a "set_fous=65535" equivalent.
No Canon compacts offer a real infinity setting (AFAIK). The PTM methods usually only allow settings that are available on the camera's user interface.

Re: Mini-Help for a mini-lua script
« Reply #27 on: 18 / August / 2014, 18:09:55 »
Doesn't work either.
What about after calling it?  And don't forget you probably need to be P mode (or anything other than AUTO) when you try all this.

Quote
This damn camera doesn't like any known SD override. It returns 5 with get_sd_over_modes()  :'(
That's the right number based on the test results reported when we were going through all that.  In your case, the camera responds to SD overrides but IIRC will not focus out past about 2m in any mode.
Ported :   A1200    SD940   G10    Powershot N    G16


Re: Mini-Help for a mini-lua script
« Reply #28 on: 18 / August / 2014, 18:29:33 »
No Canon compacts offer a real infinity setting (AFAIK). The PTM methods usually only allow settings that are available on the camera's user interface.
Sure as hell. Just experimented by myself.

What about after calling it?  And don't forget you probably need to be P mode (or anything other than AUTO) when you try all this.
Tryed the set_aflock(1) before and after the call. My cam is stuck on P mode. CHDK fans don't like AUTO things :)
Quote
That's the right number based on the test results reported when we were going through all that.  In your case, the camera responds to SD overrides but IIRC will not focus out past about 2m in any mode.
... sadly

 

Related Topics