Re: gPhoto2 - Regarding Capture-Tethered

Marcus Meissner <[email protected]> Thu, 9 Jul 2020 07:53:26 +0200
Newsgroups gmane.comp.multimedia.gphoto.user
Message-ID <[email protected]>
On Thu, Jul 09, 2020 at 02:31:14AM +0600, Nazmus Sakib wrote:
> Hi Marcus.
> 
> One more ques please:
> 
> In my Canon 6D, I wanted to detect if any specific Camera Settings
> changed by On-Camera by Button-LCD. I am checking  "--wait-event" Log's PTP
> property which should have a unique value for each Camera Settings?
> 
> *Changed Shutter Speed:*
> UNKNOWN PTP Property d1c3 changed
> UNKNOWN Button 32789
> UNKNOWN OLCInfo event mask=1
> UNKNOWN OLCInfo event 0x1000 content 00
> UNKNOWN OLCInfo event mask=1000
> UNKNOWN OLCInfo event 0x1000 content 01
> UNKNOWN OLCInfo event mask=1000
> UNKNOWN PTP Property d1d9 changed
> UNKNOWN PTP Property d1d5 changed
> 
> *Changed F-Stop:*
> UNKNOWN PTP Property d1c3 changed
> UNKNOWN Button 32789
> UNKNOWN OLCInfo event mask=1
> UNKNOWN PTP Property d1d9 changed
> UNKNOWN PTP Property d1d5 changed
> 
> *Changed ISO:*
> UNKNOWN OLCInfo event 0x1000 content 00
> UNKNOWN OLCInfo event mask=1000
> UNKNOWN OLCInfo event 0x1000 content 03
> UNKNOWN OLCInfo event mask=1000
> UNKNOWN PTP Property d1d9 changed
> UNKNOWN PTP Property d1d5 changed
> 
> From the above data I don't see any specific unique value which I can
> consider against a specific Settings i.e. Shutter, F-Stop or ISO.
> 
> But in Nikon D5100, I can easily detect it by:
> 
> *Shutter:* PTP Property 500d changed
> *F-Sop:* PTP Property 5007 changed
> *ISO:* PTP Property 500f changed
> 
> Can you advise how to get the unique PTP  Property of Canon Camera Settings?

shutterspeed would be d102
iso would be d103
aperture / f-stop woudl be d101

Something is weird in above trace with the OLC event handling.

Can you send me a debuglogfile of the above?

	gphoto2 --wait-event --debug --debug-logfile=wait-event.log

ciao, Marcus