S110 Porting thread - page 10 - DryOS Development - CHDK Forum

S110 Porting thread

  • 105 Replies
  • 60862 Views
*

Offline reyalp

  • ******
  • 14080
Re: S110 Porting thread
« Reply #90 on: 24 / November / 2019, 15:17:50 »
Advertisements
I have found something that is a loss that it's not working.
Normally when I use a script with zoom@infinity set you will see AFL on the screen when the script runs, according to the S110 manual that function should activate AFL somewhere on the screen.
I don't understand this. AFL should only appear when you use the AFL shortcut (usually half pres + focus mode key) or maybe if you use set_aflock() in script. Most (if not all?) cameras with MF just switch to MF rather than displaying AFL.
Don't forget what the H stands for.

*

Offline Mlapse

  • *****
  • 583
  • S95 S110
Re: S110 Porting thread
« Reply #91 on: 27 / November / 2019, 07:38:51 »
In P-mode my A480, A490 and S95 show AFL if I use set_aflock(true)/set_focus(60000) in a script. however, the S110 does not.
example: look at this picture of my S95 I posted because of the space bar, it has AFL in the right upper corner.
https://chdk.setepontos.com/index.php?action=dlattach;topic=13932.0;attach=16121;image
« Last Edit: 27 / November / 2019, 07:49:01 by Mlapse »
frustration is a key ingredient in progress

Re: S110 Porting thread
« Reply #92 on: 27 / November / 2019, 10:16:33 »
In P-mode my A480, A490 and S95 show AFL if I use set_aflock(true)/set_focus(60000) in a script. however, the S110 does not.
example: look at this picture of my S95 I posted because of the space bar, it has AFL in the right upper corner.
https://chdk.setepontos.com/index.php?action=dlattach;topic=13932.0;attach=16121;image
According to the spreadsheet linked here :

https://chdk.setepontos.com/index.php?topic=11078.0

the S110 crashes if set_aflock( ) is called.   Without looking at the code I'd guess that function is disabled for the S110?  It also appears that the S110 will use set_focus( ) properly without making that call.

« Last Edit: 27 / November / 2019, 10:18:34 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline Mlapse

  • *****
  • 583
  • S95 S110
Re: S110 Porting thread
« Reply #93 on: 27 / November / 2019, 10:46:49 »
ah, that would explain it, did not see that spreadsheet.
and you are right, it is probably disabled for the S110, because I've had no crashes calling set_aflock().
« Last Edit: 27 / November / 2019, 10:58:08 by Mlapse »
frustration is a key ingredient in progress


*

Offline Mlapse

  • *****
  • 583
  • S95 S110
Re: S110 Porting thread
« Reply #94 on: 15 / December / 2019, 09:15:11 »
I've placed AFL in CF under the ringfunc/erase button and can enable it as long as no script is active.
would it be possible to call it from a script as a keypress or can I log the call that's made when I press it manually with no script active?
frustration is a key ingredient in progress

Re: S110 Porting thread
« Reply #95 on: 15 / December / 2019, 09:33:56 »


would it be possible to call it from a script as a keypress
I don't see any reason that would not work. Did you try it?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline Mlapse

  • *****
  • 583
  • S95 S110
Re: S110 Porting thread
« Reply #96 on: 15 / December / 2019, 11:45:04 »
no, i have not yet, because i was wondering if
press 'erase'
would do it
or that it should be press 'ringfunc' or something else.
but i will try it tomorrow then, thanks.
frustration is a key ingredient in progress

*

Offline srsa_4c

  • ******
  • 4451
Re: S110 Porting thread
« Reply #97 on: 15 / December / 2019, 11:48:25 »
no, i have not yet, because i was wondering if
press 'erase'
would do it
click would probably be better, the button is named erase. From the port's kbd.c:
Code: [Select]
KeyMap keymap[] = {
    { 0, KEY_ERASE           ,0x00000001 }, // RING FUNC


*

Offline Mlapse

  • *****
  • 583
  • S95 S110
Re: S110 Porting thread
« Reply #98 on: 15 / December / 2019, 15:18:08 »
[click would probably be better, the button is named erase.

ok, had a moment, tested it and works. thanks.

Code: [Select]
        if (bi.platform=="s110") then click'erase' end               -- ringfunc button has to be set to AFL in CF
        if (bi.platform=="s110") then click'set' click'set' end     -- disable AFL in CF by calling funcset...twice to remove menu again

AFL is gone again after the first shot. So I made a mistake, it does not work.
« Last Edit: 03 / February / 2020, 11:14:53 by Mlapse »
frustration is a key ingredient in progress

*

Offline Mlapse

  • *****
  • 583
  • S95 S110
Re: S110 Porting thread
« Reply #99 on: 12 / November / 2021, 11:59:12 »
while taking a shot normally the lcd goes blank.
but with the s110 sometimes the backlight stays on.
so you do not see an image, but you have light coming off the display.
and with night shots it is really a deal breaker if that happens.
sometimes it happens the complete run, other times it is a few shots off and then 1 or 2 shots on.

is there a way this can be prevented?
frustration is a key ingredient in progress

 

Related Topics