M3 propcase for remote shutter - General Help and Assistance on using CHDK stable releases - CHDK Forum

M3 propcase for remote shutter

  • 12 Replies
  • 2380 Views
M3 propcase for remote shutter
« on: 29 / August / 2022, 04:11:51 »
Advertisements
I hope someone can point me at the info to detect if the M3's remote shutter has been enabled.
Or tell me you can't do this ;-)

*

Offline Caefix

  • *****
  • 948
  • Sorry, busy deleting test shots...
Re: M3 propcase for remote shutter
« Reply #1 on: 29 / August / 2022, 10:00:07 »
Maybe... :haha
Quote
rem=require("gen/cnf_core")
enabled=get_config_value(rem.remote_enable)
« Last Edit: 29 / August / 2022, 10:03:38 by Caefix »
All lifetime is a loan from eternity.

Re: M3 propcase for remote shutter
« Reply #2 on: 29 / August / 2022, 10:57:05 »
Maybe... :haha
Quote
rem=require("gen/cnf_core")
enabled=get_config_value(rem.remote_enable)


I’m trying to detect what Canon option is set and, in particular, if the remote option is set.


I can’t seem to find the Digic prop case list for the M3.

*

Offline Caefix

  • *****
  • 948
  • Sorry, busy deleting test shots...
Re: M3 propcase for remote shutter
« Reply #3 on: 29 / August / 2022, 14:24:55 »
I can’t seem to find the Digic prop case list for the M3.

 ;) ... CHDK/LUALIB/GEN/propset9.lua
All lifetime is a loan from eternity.

Re: M3 propcase for remote shutter
« Reply #4 on: 29 / August / 2022, 14:51:10 »
I can’t seem to find the Digic prop case list for the M3.

 ;) ... CHDK/LUALIB/GEN/propset9.lua


@Caefix

Many thanks for the pointer/reminder.

I should have known that ;-)

Cheers

Garry

*

Offline Caefix

  • *****
  • 948
  • Sorry, busy deleting test shots...
Re: M3 propcase for remote shutter
« Reply #5 on: 29 / August / 2022, 15:56:46 »
All lifetime is a loan from eternity.

*

Offline reyalp

  • ******
  • 14125
Re: M3 propcase for remote shutter
« Reply #6 on: 30 / August / 2022, 02:19:23 »
Many thanks for the pointer/reminder.

I should have known that ;-)
Note that is only propcases we happen to have identified (or misidentified ;)) and found reason to write down.

I don't see any the refer to the Canon remote, which could mean that setting isn't stored in a propcase, or that it hasn't been identified because it's an uncommon feature.

You can use the propcase browser or one of the propcase comparison scripts or chdkptp devutil to discover what props (if any) change when you change a setting.

... https://chdk.fandom.com/wiki/USB_Remote  8)
That of course refers only to the CHDK DIY remote, and has nothing to do with the Canon native remote functionality.
Don't forget what the H stands for.

Re: M3 propcase for remote shutter
« Reply #7 on: 30 / August / 2022, 02:56:23 »
Many thanks for the pointer/reminder.

I should have known that ;-)
Note that is only propcases we happen to have identified (or misidentified ;) ) and found reason to write down.

I don't see any the refer to the Canon remote, which could mean that setting isn't stored in a propcase, or that it hasn't been identified because it's an uncommon feature.

You can use the propcase browser or one of the propcase comparison scripts or chdkptp devutil to discover what props (if any) change when you change a setting.

... https://chdk.fandom.com/wiki/USB_Remote  8)
That of course refers only to the CHDK DIY remote, and has nothing to do with the Canon native remote functionality.

@reyalp

Something strange is happening and you can see this via the following test script:

Code: [Select]
--[[
@title TEST
@chdk_version 1.6
--]]

props=require'propcase'

repeat -- stay here
    print(get_prop(props.TIMER_MODE))
    sleep(1000) -- adjust as required
until false  -- exit via pressing ALT exit button

When running you can see the prop value change as you change the various Canon options. BTW the Canon remote control is 3.

So I can detect that the remote option has been selected.

The strangeness is that, as soon as I fire the shutter via the wireless remote, the prop returns zero and I have to explicitly reset the Canon remote, despite it showing it is set.

*

Offline reyalp

  • ******
  • 14125
Re: M3 propcase for remote shutter
« Reply #8 on: 30 / August / 2022, 03:07:58 »
The strangeness is that, as soon as I fire the shutter via the wireless remote, the prop returns zero and I have to explicitly reset the Canon remote, despite it showing it is set.
Since your script is only reading the value, whatever is happening is almost certainly a characteristic of the Canon firmware.

Not having a camera with Canon's remote, I'm not familiar with that the expected behavior is, but it is somehow different when running CHDK, please describe both.
Don't forget what the H stands for.

Re: M3 propcase for remote shutter
« Reply #9 on: 30 / August / 2022, 03:34:32 »
@reyalp

Not much more to add really.

If I select the remote option in Canon it remains on and the wireless remote functions as expected and repeatedly.

The prop value, however, changes to 0, from 3.

With the script running, I can press the remote option, via touch, and the correct prop value returns.

BTW touch works in ALT mode.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal