gphoto2 icon indicating copy to clipboard operation
gphoto2 copied to clipboard

Sony ILCE-7RM2, unable to read or set capturetarget

Open lidar532 opened this issue 1 year ago • 1 comments

Bug description

I'm trying to get the camera to simply take photos to the SD card, and not attempt to send anything to gphoto2. I'm triggering the camera externally at 1 Hz, and simply need to capture the photos to the 512 GB SDcard I have loaded. My goal is to use gphoto2 to remotely control various camera settings such as shutter speed, ISO, Exp. Comp, etc. The camera will be located in the wing tip of an aircraft with no access while in flight.

To do this, I attempted to use:

gphoto2: {/home/wright} /> set-config capturetarget=1

*** Error ***
capturetarget not found in configuration tree.
*** Error (-1: 'Unspecified error') ***
gphoto2: {/home/wright} />

which failed as shown, as did:

gphoto2: {/home/wright} /> get-config capturetarget

*** Error ***
capturetarget not found in configuration tree.
*** Error (-1: 'Unspecified error') ***
gphoto2: {/home/wright} />

Summary Output

gphoto2: {/home/wright} /> summary
Camera summary:
Manufacturer: Sony Corporation
Model: ILCE-7RM2
  Version: 4.0
  Serial Number: 00000000000000003282801003437093
Vendor Extension ID: 0x11 (1.0)
Vendor Extension Description: Sony PTP Extensions

Capture Formats:
Display Formats: JPEG, Unknown(b301), ARW

Device Capabilities:
        File Download, No File Deletion, No File Upload
        No Image Capture, No Open Capture, Sony Capture

Storage Devices Summary:

Device Property Summary:
Compression Setting(0x5004):(readwrite) (type=0x2) Enumeration [2,3,4,16,19] value: RAW (4)
White Balance(0x5005):(readwrite) (type=0x4) Enumeration [2,4,32785,32784,6,32769,32770,32771,32772,7,32816,32786,32800,32801,32802] value: Daylight (4)
F-Number(0x5007):(readwrite) (type=0x4) Range [0 - 65535, step 1] value: f/0 (0)
Focus Mode(0x500a):(read only) (type=0x4) Enumeration [1,2,32772,32773,32774] value: Manual Focus (1)
Exposure Metering Mode(0x500b):(read only) (type=0x4) Enumeration [4,1,32770] value: Average (1)
Flash Mode(0x500c):(read only) (type=0x4) Enumeration [2,1,4,3,5,32769,32771,32772,32817,32818] value: Undefined (0)
Exposure Program Mode(0x500e):(read only) (type=0x4) Enumeration [32768,32769,2,3,4,1,32848,32849,32850,32851,32852,32896,32897,32898,32899,32833,7,32785,32789,32788,32786,32787,32790,32791,32792] value: M (1)
Exposure Bias Compensation(0x5010):(readwrite) (type=0x3) Enumeration [0,1,2,5000,4700,4500,4300,4000,3700,3500,3300,3000,2700,2500,2300,2000,1700,1500,1300,1000,700,500,300,-300,-500,-700,-1000,-1300,-1500,-1700,-2000,-2300,-2500,-2700,-3000,-3300,-3500,-3700,-4000,-4300,-4500,-4700,-5000] value: 0.0 stops (0)
Still Capture Mode(0x5013):(readwrite) (type=0x4) Enumeration [1,2,32786,32773,32771,32772,32776,32777,32780,32781,32782,32783,33591,34103,35127,33623,34135,35159,33655,34167,35191,33553,34065,35089,33569,34081,33585,34097,33590,34102,35126,33622,34134,35158,33654,34166,35190,33552,34064,35088,33568,34080,33584,34096,32792,32808,32793,32809] value: Power Wind (2)
DOC Compensation(0xd200):(readwrite) (type=0x3) Enumeration [0,1,2,3000,2700,2500,2300,2000,1700,1500,1300,1000,700,500,300,-300,-500,-700,-1000,-1300,-1500,-1700,-2000,-2300,-2500,-2700,-3000] value: 0
DRangeOptimize(0xd201):(readwrite) (type=0x2) Enumeration [1,31,17,18,19,20,21,32,33,34,35,36,37,38] value: 31
Image size(0xd203):(readwrite) (type=0x2) Enumeration [1,2,3] value: 1
Shutter speed(0xd20d):(readwrite) (type=0x6) Range [0 - 4294967295, step 1] value: 65636
Property 0xd20e:(read only) (type=0x2) Enumeration [1,2,3,11,8,9,10,4,12,5,13,6,14,7,15] value: 15
Color temperature(0xd20f):(read only) (type=0x4) Range [2500 - 9900, step 100] value: 0
Aspect Ratio(0xd211):(readwrite) (type=0x2) Enumeration [1,2] value: 1
Focus status(0xd213):(read only) (type=0x2) Enumeration [1,2,3,5,6,7] value: 1
ISO(0xd21e):(readwrite) (type=0x6) Enumeration [16777215,25,50,64,80,100,125,160,200,250,320,400,500,640,800,1000,1250,1600,2000,2500,3200,4000,5000,6400,8000,10000,12800,16000,20000,25600,32000,40000,51200,64000,80000,102400,128000,160000,204800,256000,320000,409600,33554431,16777241,16777266,16777280,16777296,16777316,16777341,16777376,16777416,16777466,16777536,16777616,16777716,16777856,16778016,16778216,16778466,16778816,16779216,16779716,16780416,16781216,16782216,16783616,16785216,16787216,16790016,16793216,16802816,16828416,16879616,16982016,17186816,50331647,33554532,33554632,33554832,33555232,33556032,33557632,33560832,33567232,33580032,33605632] value: 16777215
Picture Effect(0xd21b):(readwrite) (type=0x4) Enumeration [32768,32769,32770,32771,32772,32773,32784,32800,32801,32816,32832,32848,32849,32850,32851,32864,32880,32881,32882,32896,32897,32898,32912,32928,32929,32930,32931,32932,32933,32934,32944,32960,32961,32962] value: 32768
Property 0xd21d:(read only) (type=0x2) Range [0 - 2, step 1] value: 0
Property 0xd21f:(read only) (type=0x2) Enumeration [2,1] value: 1
Property 0xd217:(read only) (type=0x2) Enumeration [2,1] value: 1
Battery Level(0xd218):(read only) (type=0x1) Range [-1 - 100, step 1] value: 93
Sensor Crop(0xd219):(read only) (type=0x2) Enumeration [2,1] value: 1
Property 0xd212:(readwrite) (type=0x2) Range [0 - 15, step 1] value: 0
CC Filter(0xd210):(readwrite) (type=0x2) Range [164 - 220, step 1] value: 192
AB Filter(0xd21c):(readwrite) (type=0x2) Range [164 - 220, step 2] value: 192
Property 0xd221:(readwrite) (type=0x2) Enumeration [0,1,2] value: 1
Zoom(0xd214):(readwrite) (type=0x6) Range [0 - 4294967295, step 1] value: 57464832
Objects in memory(0xd215):(readwrite) (type=0x4) Range [0 - 65535, step 1] value: 0
Property 0xd220: error 2002 on query.
Autofocus(0xd2c1):(readwrite) (type=0x4) Enumeration [1,2] value: 1
Capture(0xd2c2):(readwrite) (type=0x4) Enumeration [1,2] value: 1
Property 0xd2c3:(readwrite) (type=0x4) Enumeration [1,2] value: 1
Property 0xd2c9:(readwrite) (type=0x4) Enumeration [1,2] value: 1
Movie(0xd2c8):(readwrite) (type=0x4) Enumeration [1,2] value: 1
Property 0xd2c5:(readwrite) (type=0x4) Enumeration [1,2] value: 1
Still Image(0xd2c7):(readwrite) (type=0x4) Enumeration [1,2] value: 1
gphoto2: {/home/wright} />

If this is camera specific, include the camera name as shown by gphoto2 --auto-detect or USB IDs

##libgphoto2 and gphoto2 version

wright@atpi01:~$ gphoto2 --version
gphoto2 2.5.27

Copyright (c) 2000-2021 Marcus Meissner and others

gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.

This version of gphoto2 is using the following software versions and options:
gphoto2         2.5.27         gcc, popt(m), exif, cdk, aa, jpeg, readline
libgphoto2      2.5.27         standard camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.12.0         iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, EXIF, USB, serial without locking
wright@atpi01:~$

To Reproduce

  1. Connect the camera via usb
  2. Power up the camera
  3. Run gphoto interactive
  4. Attempt to get or set capturetarget

lidar532 avatar Jul 18 '22 17:07 lidar532

Only some newer Sony allow capturetarget selection, others support only SDRAM capture.

The property in summary would be 0xd222 , which is not in the list here.

So I think the 7RM2 is one of the sonys not yet supporting remote capture to sdram.

You can check the menu in camera if it offers this perhaps, but its seems not visible over remote.

msmeissn avatar Jul 23 '22 09:07 msmeissn