Hi guys, I've been bashing my head against the wall for a few days. I'm new to chdk scripting but I am a programmer. I have a Powershot A2200 with 1.00c firmware, and CHDK 1.50 seems to work well in general on this camera. I use chdkptp on Ubuntu and it works, I'm able to send some command like = set_zoom(100), and chdkptp gui can show the live view finder and so on. I do begin my ptp sessions with the proper switch_mode_usb(1) and (0) etc.
I want to use chdkptp and in the middle of the script, I want to turn on usb trigger mode (yes, that will kill the usb ptp connection). There doesn't seem to be a call to do this however.
Another way to do that would be to open the Chdk menu with simulated key presses (<ALT> and then <MENU>) but no matter what I try, that doesn't happen. If I use
= post_levent_to_ui('PressDispButton"); post_levent_to_ui('UnpressDispButton"); post_levent_to_ui('PressMenuButton"); post_levent_to_ui('UnpressMenuButton")
Then the regular canon menu opens.
If I do
= enter_alt(); press("menu")
samt result, and so on (I have tried every combination of commands possible), no matter what I try.
Help, please!