SX430 - This will be my first porting Attempt - page 18 - DryOS Development - CHDK Forum supplierdeeply

SX430 - This will be my first porting Attempt

  • 180 Replies
  • 197888 Views
*

Offline blackhole

  • *****
  • 841
  • A590IS 101b
    • Planetary astrophotography
Re: SX430 - This will be my first porting Attempt
« Reply #170 on: 16 / August / 2021, 14:53:33 »
Advertisements

i had given away my older SX430 camera which i used for testing ... and so could not further test any builds ... however a week back i was very happy to be able to aquire another new SX430 camera

Play button pressed --- starts the camera in playback mode --- OK
Power button < 1 sec press --- starts in playback mode --- OK
Power button > 1-2 seconds --- Starts in Record Mode, Lens Extends --- OK

i would be glad to see it added to the autobuild list or if any other things need testing ... will be glad to test those
@ntstatic , if you still have the ability to compile, the necessary changes have been added to the SVN.
As far as I remember that was the reason why the sx430 was not added to the autobuild server.
Are there any other problems? ‚ÄčIf not I think the port can be added to the autobuild server.

Re: SX430 - This will be my first porting Attempt
« Reply #171 on: 18 / August / 2021, 13:15:05 »

i had given away my older SX430 camera which i used for testing ... and so could not further test any builds ... however a week back i was very happy to be able to aquire another new SX430 camera

Play button pressed --- starts the camera in playback mode --- OK
Power button < 1 sec press --- starts in playback mode --- OK
Power button > 1-2 seconds --- Starts in Record Mode, Lens Extends --- OK

i would be glad to see it added to the autobuild list or if any other things need testing ... will be glad to test those
@ntstatic , if you still have the ability to compile, the necessary changes have been added to the SVN.
As far as I remember that was the reason why the sx430 was not added to the autobuild server.
Are there any other problems? ‚ÄčIf not I think the port can be added to the autobuild server.

Oh !! i am so sorry ... i should have waited for a few days ... before parting with my camera the last time ...
although everything in the last build posted on this thread seems to be ok ... i think i do have the copy of the folder i had used to compile in my backup somewhere .. but i will be able to check it only on friday
if i am able to compile it ... i will do a thorough test ... otherwise i would request someone pls compile it for me

Re: SX430 - This will be my first porting Attempt
« Reply #172 on: 20 / August / 2021, 14:12:38 »
i was able to compile the 6010 version with the same folder i had archived one and a half years back ... great ...

most of the tests i randomly performed ... seemed ok

MFTest suit shuts down the camera
however setting the Manual focus works over ptp ... with servo af enabled and without servo af enabled ... in the older versions i remember setting the manual focus over ptp ... and selecting shoot() did not complete the shoot <edit> without the servo or continous af enabled ... it worked in the old version with one of these enabled however <\edit>
now i am able to do both with servo and without over ptp ...

video test reports all ok

hook test reports ok

i am not very well versed with scripts .. anything else that needs to be tested

shut_down() freezes the camera and the camera does eventually shuts down .. but it is not a clean shutdown .. and the changes in the menu options are not saved ....
post_levent_to_ui('PressPowerButton')  however cleanly shuts down the camera and the changes are saved as was suggested long back in this thread .. by one of the gurus

anything else that needs testing ?

« Last Edit: 20 / August / 2021, 14:20:42 by ntstatic »

*

Offline reyalp

  • ******
  • 13387
Re: SX430 - This will be my first porting Attempt
« Reply #173 on: 21 / August / 2021, 00:10:45 »
MFTest suit shuts down the camera
It would be good to know which modes it crashes in, and disable the corresponding CAM_SD_OVER_* defines in camera.h. You should be able to see in the log, and run again with that test unchecked.

Quote
however setting the Manual focus works over ptp ... with servo af enabled and without servo af enabled ... in the older versions i remember setting the manual focus over ptp ... and selecting shoot() did not complete the shoot <edit> without the servo or continous af enabled ... it worked in the old version with one of these enabled however <\edit>
now i am able to do both with servo and without over ptp ...
How are you setting manual focus in this case, through the Canon UI, or set_mf, or a chdkptp shoot option?

In chdkptp, if you use set_mf(1) or set_aflock(1), you should be able to see the focus update immediately when you use set_focus()

Don't forget what the H stands for.


*

Offline blackhole

  • *****
  • 841
  • A590IS 101b
    • Planetary astrophotography
Re: SX430 - This will be my first porting Attempt
« Reply #174 on: 21 / August / 2021, 03:40:04 »
set_mf () is problematic, here is an ancient MF test log: https://chdk.setepontos.com/index.php?topic=13569.msg138618#msg138618
We probably only need #define CAM_SD_OVER_IN_AFL 1 in platform_camera.h

Re: SX430 - This will be my first porting Attempt
« Reply #175 on: 23 / August / 2021, 07:50:16 »
i am setting the focus using
set_focus("xx") when the camera is connected using ptp ... i have tried with chdkptp and putting the commands on the command line
lua set_focus(xx) and then shoot() and also using a vb program based on @mweerden's old code

i am attaching the mftest log file for review

https://drive.google.com/file/d/1MrWLlaPpK7-IzakuKYSonwtKY-SHn3hh/view?usp=sharin

(side question : what is preferrable .. that i attach file to a temporary location eg google drive ... or attach to the post using our server resources ? - ive done both here )

Re: SX430 - This will be my first porting Attempt
« Reply #176 on: 23 / August / 2021, 07:52:24 »
set_mf () is problematic, here is an ancient MF test log: https://chdk.setepontos.com/index.php?topic=13569.msg138618#msg138618
We probably only need #define CAM_SD_OVER_IN_AFL 1 in platform_camera.h

ok from the old post it seems it should work after setting aflock ... i will try that too

Re: SX430 - This will be my first porting Attempt
« Reply #177 on: 23 / August / 2021, 14:05:34 »
the test passes with

set_focus() test to .........false
set_aflock() test to ........ true
set_mf() test to ............... true

shoot full ......... no
bypass interlocks .............yes
 

edit : even with shoot full ...  yes


log file updated here (same link as previous)

https://drive.google.com/file/d/1MrWLlaPpK7-IzakuKYSonwtKY-SHn3hh/view?usp=sharing
« Last Edit: 23 / August / 2021, 14:14:35 by ntstatic »


Re: SX430 - This will be my first porting Attempt
« Reply #178 on: 23 / August / 2021, 14:07:16 »
it seems

set_mf() works
but set_focus() actually doesnt ...



*

Offline reyalp

  • ******
  • 13387
Re: SX430 - This will be my first porting Attempt
« Reply #179 on: 23 / August / 2021, 17:48:25 »
(side question : what is preferrable .. that i attach file to a temporary location eg google drive ... or attach to the post using our server resources ? - ive done both here )
I generally prefer the forum for things that are under the size limit, but either is fine.

Quote
set_mf() works
but set_focus() actually doesnt ...
Looking at the log, servo AF was on for most of the tests. This should be turned off in the canon firmware to test or use CHDK SD override. For the test script, servo will likely interfere with the results. Outside of the test script, CHDK focus override will generally be ignored when it's active (it won't cause an error, so it might appear to "work" but focus will not be set).

Sorry for not catching this earlier. The test procedure for mf_test is described on https://chdk.fandom.com/wiki/Testing#mftest.lua
Don't forget what the H stands for.

 

Related Topics