FWIW, I found something better. A function that cancels the retract timer.Second function call after the "AC:SStoreLensT" or "AC:SStoreLens" log string.
Quote from: c_joerg on 23 / January / 2019, 02:09:14Should I found the functions here?chdk/trunk/platform/sx50hs/sub/100c/funcs_by_xxxNot yet.QuoteWhat exactly I have to call on my SX50 (100c) in lua?call_func_ptr(0xFF049EB4)You can make a test script that only has that single line and execute it in playback mode (obviously, the lens has to be extended when you run the script).
Should I found the functions here?chdk/trunk/platform/sx50hs/sub/100c/funcs_by_xxx
What exactly I have to call on my SX50 (100c) in lua?
I would like to try this with my other cameras (G1x 101a, G1x 100e, S110 103a, SX230 101a) as well. I'm still not clear how I get the address…
Index: platform/g1x/sub/100e/funcs_by_address.csv===================================================================--- platform/g1x/sub/100e/funcs_by_address.csv (revision 5154)+++ platform/g1x/sub/100e/funcs_by_address.csv (working copy)@@ -595,6 +595,7 @@ 0xff0977ac,j_PTM_BackupUIProperty_FW 0xff0977b4,PTM_RestoreUIProperty_FW 0xff099ec4,UIFS_CancelStoreLensTimer_FW+0xff099f1c,cancel_lens_retract_timer 0xff09a0d4,PB2Rec 0xff09a114,Rec2PB 0xff09a978,task_InitFileModules
I've attached a patch that contains the addresses for all supported DIGIC II ... 5 cameras.
This could be turned into a feature,
The method only works if the retract delay is set to 1 minute on the Canon UI.
This could be turned into a feature, but I could not decide on my own how to implement it.
- The script wrapper could simply call this function: that would mean the script author would need to make sure the call is made after every rec->play transition.- The above logic could be implemented in CHDK core. In this case, the script command would enable/disable the retract override.Since I don't write any serious scripts, I'd need the opinion of others who do.
if the logic can be implemented simply and reliably in the core
Started by Jim
Started by cocuyo
Started by mpf
General Discussion and Assistance
Started by pigeonhill
Started by mirax7