Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sony ILCE-7RM5 - not working with latest stable version #610

Open
thunders82 opened this issue Oct 27, 2023 · 9 comments
Open

Sony ILCE-7RM5 - not working with latest stable version #610

thunders82 opened this issue Oct 27, 2023 · 9 comments
Assignees
Labels
Sony tagging Sony reports

Comments

@thunders82
Copy link

A lot of settings for this camera are not available. Can we add them, please?
battery level, ISO, shutter speed, etc...

Here is the list of the currently available ones:

/main/actions/movie
/main/actions/opcode
/main/status/serialnumber
/main/status/manufacturer
/main/status/cameramodel
/main/status/deviceversion
/main/status/vendorextension
/main/imgsettings/whitebalance
/main/other/5005

Thank you

@thunders82
Copy link
Author

Hi,
Here are some additional information. I also noticed I can't even trigger the camera remotely. (--capture-image-and-download)
It seems the issues start from this version:

gphoto2         2.5.28         gcc, popt(m), exif, cdk, aa, jpeg, readline
libgphoto2      2.5.31         standard camlibs, gcc, no ltdl, EXIF
libgphoto2_port 0.12.2         iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, no ltdl, EXIF, USB, serial without locking

I'm experiencing the same issue with the dev branches.

I noticed everything seems to work as expected with:

gphoto2         2.5.28         gcc, popt(m), exif, cdk, aa, jpeg, readline
libgphoto2      2.5.30         standard camlibs, gcc, no ltdl, EXIF
libgphoto2_port 0.12.1         iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, no ltdl, EXIF, USB, serial without locking

except the camera is recognized as:

Model                          Port                                            
----------------------------------------------------------
USB PTP Class Camera           usb:006,009     

instead of:

Model                          Port                                            
----------------------------------------------------------
Sony ILCE-7RM5 (PC Control)    usb:006,009  

@thunders82 thunders82 changed the title Sony ILCE-7RM5 - Settings Sony ILCE-7RM5 - not working with latest stable version Oct 29, 2023
@msmeissn msmeissn self-assigned this Nov 9, 2023
@msmeissn msmeissn added the Sony tagging Sony reports label Nov 9, 2023
@msmeissn
Copy link
Contributor

msmeissn commented Nov 9, 2023

Can you check if the camera is in USB PC Control mode? (via the camera USB menu)

@thunders82
Copy link
Author

Hi @msmeissn, for both tests the camera was set to PC mode.

@justindfoley
Copy link

Hi friends, I just got an A7R4 and have been struggling to get it to work with gphoto2, experiencing the same problems as @thunders82. I thought I was dead in the water but thanks to the note mentioning the version numbers, I rolled libgphoto2 back from version 2.5.31 to 2.5.30 and can now control my camera.

So far I've only tested setting shutterspeed and f-number which seem to work, setting capturetarget does not work, and setting capturemode works but the choices don't match the actual config. If I can't figure those out or find the answer elsewhere I'll start a new issue for that.

@yuxhuang
Copy link

Hi,

I can confirm @justindfoley's report. I have also an A7R4 and gphoto2 is not able to control the camera unless I roll back libgphoto2 to 2.5.30.

Here is an except from my gphoto2 --summary with 2.5.31:

gphoto2 --summary
Camera summary:                                                                
Manufacturer: Sony Corporation
Model: ILCE-7RM4
  Version: 1.20
  Serial Number: ****** masked ******
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, File Upload
	No Image Capture, No Open Capture, Sony Capture

Storage Devices Summary:

Device Property Summary:
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): error 2002 on query.
Focus Mode(0x500a): error 2002 on query.
Exposure Metering Mode(0x500b): error 2002 on query.
Flash Mode(0x500c): error 2002 on query.
Exposure Program Mode(0x500e): error 2002 on query.
Exposure Bias Compensation(0x5010): error 2002 on query.
Still Capture Mode(0x5013): error 2002 on query.
DOC Compensation(0xd200): error 2002 on query.
DRangeOptimize(0xd201): error 2002 on query.
Image size(0xd203): error 2002 on query.

// skipped

Here is excerpt from gphoto2 --summary with 2.5.30:

Camera summary:                                                                
Manufacturer: Sony Corporation
Model: ILCE-7RM4
  Version: 1.20
  Serial Number: ****** masked ******
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, File Upload
	No Image Capture, No Open Capture, Sony Capture

Storage Devices Summary:

Device Property Summary:
Compression Setting(0x5004):(readwrite) (type=0x2) Enumeration [16,20,19,18,4,3,2] value: 16
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/8 (800)
Focus Mode(0x500a):(readwrite) (type=0x4) Enumeration [1] value: Manual Focus (1)
Exposure Metering Mode(0x500b):(readwrite) (type=0x4) Enumeration [32769,32770,32772,32773,32771,32774] value: 32769
Flash Mode(0x500c):(readwrite) (type=0x4) Enumeration [] value: Fill flash (3)
Exposure Program Mode(0x500e):(readwrite) (type=0x4) Enumeration [] value: M (1)
Exposure Bias Compensation(0x5010):(readwrite) (type=0x3) Enumeration [] value: 0.0 stops (0)
Still Capture Mode(0x5013):(readwrite) (type=0x4) Enumeration [1,32786,32789,2,32784,32772,32771,32773,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,32808,32792,32809,32793] value: Single Shot (1)
DOC Compensation(0xd200):(readwrite) (type=0x3) Enumeration [] value: 0
DRangeOptimize(0xd201):(readwrite) (type=0x2) Enumeration [1,31,17,18,19,20,21] value: 1
Image size(0xd203):(readwrite) (type=0x2) Enumeration [1,2,3] value: 1
Shutter speed(0xd20d):(readwrite) (type=0x6) Range [0 - 4294967295, step 1] value: 0
Property 0xd20e:(readwrite) (type=0x2) Enumeration [] value: 7
Color temperature(0xd20f):(readwrite) (type=0x4) Range [2500 - 9900, step 100] value: 5500
CC Filter(0xd210):(readwrite) (type=0x2) Range [164 - 220, step 1] value: 192
Aspect Ratio(0xd211):(readwrite) (type=0x2) Enumeration [1,3,2,4] value: 1
Focus status(0xd213):(readwrite) (type=0x2) Enumeration [] value: 1
Zoom(0xd214):(readwrite) (type=0x6) Range [0 - 4294967295, step 1] value: 123773952
Objects in memory(0xd215):(readwrite) (type=0x4) Range [0 - 65535, step 1] value: 0
Property 0xd217:(readwrite) (type=0x2) Enumeration [] value: 1
Battery Level(0xd218):(readwrite) (type=0x1) Range [-1 - 100, step 1] value: 85
Picture Effect(0xd21b):(readwrite) (type=0x4) Enumeration [32768] value: 32768
AB Filter(0xd21c):(readwrite) (type=0x2) Range [164 - 220, step 2] value: 192
Property 0xd21d:(readwrite) (type=0x2) Range [0 - 2, step 1] value: 0
ISO(0xd21e):(readwrite) (type=0x6) Enumeration [] value: 1600
Property 0xd21f:(readwrite) (type=0x2) Enumeration [] value: 1
Property 0xd220:(readwrite) (type=0x2) Enumeration [] value: 1
Property 0xd221:(readwrite) (type=0x2) Enumeration [] value: 0
Capture Target(0xd222):(readwrite) (type=0x4) Enumeration [1,17,16] value: 17
Property 0xd223: error 2002 on query.
Exposure Bias Compensation(0xd224):(readwrite) (type=0x3) Enumeration [] value: 0
ISO(0xd226):(readwrite) (type=0x6) Enumeration [16777215,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] value: 1600
Property 0xd227:(readwrite) (type=0x2) Enumeration [] value: 0
Property 0xd228:(readwrite) (type=0x2) Enumeration [4,5] value: 5
Shutter speed(0xd229):(readwrite) (type=0x6) Enumeration [0,19660810,16384010,13107210,9830410,8519690,6553610,5242890,3932170,3276810,2621450,2097162,1638410,1310730,1048586,851978,655370,524298,393226,327690,262154,65539,65540,65541,65542,65544,65546,65549,65551,65556,65561,65566,65576,65586,65596,65616,65636,65661,65696,65736,65786,65856,65936,66036,66176,66336,66536,66786,67136,67536,68036,68736,69536,70536,71936,73536] value: 0
Property 0xd22a:(readwrite) (type=0x2) Enumeration [] value: 1

// skipped

@msmeissn
Copy link
Contributor

i did fixes for this in current libgphoto2 master branch, if you are comfortable with builds froom git, feel free to test that.

@yuxhuang
Copy link

i did fixes for this in current libgphoto2 master branch, if you are comfortable with builds froom git, feel free to test that.

Thanks - I just tried to build from the master branches of both gphoto2 and libgphoto2. The result has a different failure mode from before:

 LD_LIBRARY_PATH=/opt/gphoto2/lib /opt/gphoto2/bin/gphoto2 --version
gphoto2 2.5.28.1

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.28.1       gcc, popt(m), exif, no cdk, aa, jpeg, readline
libgphoto2      2.5.31.1       standard camlibs, gcc, no ltdl, EXIF
libgphoto2_port 0.12.2         iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, no ltdl, EXIF, USB, serial without locking

LD_LIBRARY_PATH=/opt/gphoto2/lib /opt/gphoto2/bin/gphoto2 --summary
Camera summary:                                                                
Manufacturer: Sony Corporation
Model: ILCE-7RM4
  Version: 1.20
  Serial Number: ***masked***
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, File Upload
	No Image Capture, No Open Capture, Sony Capture

Storage Devices Summary:

Device Property Summary:
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) Enumeration [400,450,500,560,630,710,800,900,1000,1100,1300,1400,1600,1800,2000,2200] value: f/8 (800)
Focus Mode(0x500a):(readwrite) (type=0x4) Enumeration [2,32773,32772,32774,1] value: Manual Focus (1)
Exposure Metering Mode(0x500b):(readwrite) (type=0x4) Enumeration [32769,32770,32772,32773,32771,32774] value: 32769
Flash Mode(0x500c):(readwrite) (type=0x4) Enumeration [2,1,3,32769,32771] value: Fill flash (3)
Exposure Program Mode(0x500e):(readwrite) (type=0x6) Enumeration [65538,131075,196612,1,491600,491601,491602,491603,622681,622682,622683,622684,294912] value: M (1)
Exposure Bias Compensation(0x5010):(readwrite) (type=0x3) Enumeration [5000,4700,4300,4000,3700,3300,3000,2700,2300,2000,1700,1300,1000,700,300,0,-300,-700,-1000,-1300,-1700,-2000,-2300,-2700,-3000,-3300,-3700,-4000,-4300,-4700,-5000] value: 0.0 stops (0)
Still Capture Mode(0x5013):(readwrite) (type=0x6) Enumeration [1,98322,98325,65538,98320,229380,229379,229381,557064,557065,557068,557069,557070,557071,295735,296247,297271,295767,296279,297303,295799,296311,297335,295697,296209,297233,295713,296225,295729,296241,361270,361782,362806,361302,361814,362838,361334,361846,362870,361232,361744,362768,361248,361760,361264,361776,426024,426008,491561,491545] value: Single Shot (1)
DOC Compensation(0xd200):(readwrite) (type=0x3) Enumeration [3000,2700,2300,2000,1700,1300,1000,700,300,0,-300,-700,-1000,-1300,-1700,-2000,-2300,-2700,-3000] value: 0
DRangeOptimize(0xd201):(readwrite) (type=0x2) Enumeration [1,31,17,18,19,20,21] value: 1
Image size(0xd203):(readwrite) (type=0x2) Enumeration [1,2,3] value: 1
Shutter speed(0xd20d):(readwrite) (type=0x6) Enumeration [0,19660810,16384010,13107210,9830410,8519690,6553610,5242890,3932170,3276810,2621450,2097162,1638410,1310730,1048586,851978,655370,524298,393226,327690,262154,65539,65540,65541,65542,65544,65546,65549,65551,65556,65561,65566,65576,65586,65596,65616,65636,65661,65696,65736,65786,65856,65936,66036,66176,66336,66536,66786,67136,67536,68036,68736,69536,70536,71936,73536] value: 0
Property 0xd20e:(readwrite) (type=0x2) Enumeration [] value: 15
Color temperature(0xd20f):(readwrite) (type=0x4) Range [2500 - 9900, step 100] value: 5500
CC Filter(0xd210):(readwrite) (type=0x2) Range [164 - 220, step 1] value: 192
Aspect Ratio(0xd211):(readwrite) (type=0x2) Enumeration [1,3,2,4] value: 1
Focus status(0xd213):(readwrite) (type=0x2) Enumeration [] value: 1
Zoom(0xd214):(readwrite) (type=0x6) Range [0 - 4294967295, step 1] value: 4294967295
Objects in memory(0xd215):(readwrite) (type=0x4) Range [0 - 65535, step 1] value: 0
Property 0xd217:(readwrite) (type=0x2) Enumeration [] value: 1
Battery Level(0xd218):(readwrite) (type=0x1) Range [-1 - 100, step 1] value: 99
Picture Effect(0xd21b):(readwrite) (type=0x4) Enumeration [32768,32769,32770,32771,32772,32773,32784,32800,32801,32816,32832,32848,32849,32850,32851,32864] value: 32768
AB Filter(0xd21c):(readwrite) (type=0x2) Range [164 - 220, step 2] value: 192
Property 0xd21d:(readwrite) (type=0x2) Range [0 - 2, step 1] value: 0
ISO(0xd21e):(readwrite) (type=0x6) Enumeration [16777215,268435506,268435520,268435536,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,268475456,268486656,268499456,268515456,268537856] value: 200
Property 0xd21f:(readwrite) (type=0x2) Enumeration [] value: 1
Property 0xd221:(readwrite) (type=0x2) Enumeration [] value: 0
Capture Target(0xd222):(readwrite) (type=0x4) Enumeration [1,17,16] value: 17
Property 0xd223:(readwrite) (type=0xffff) ''
Property 0xd22a:(readwrite) (type=0x2) Enumeration [] value: 1
Focus Area(0xd22c):(readwrite) (type=0x4) Enumeration [1,2,3,257,258,259,260,513,514,515,516,517,518,519] value: 1
Live View Setting Effect(0xd231):(readwrite) (type=0x2) Enumeration [1,2] value: 1
Property 0xd235:(readwrite) (type=0x2) Enumeration [0,1] value: 0
Property 0xd236:(readwrite) (type=0x2) Enumeration [0,1] value: 0
Property 0xd238:(readwrite) (type=0x2) Enumeration [0,1] value: 0
Property 0xd239:(readwrite) (type=0x2) Enumeration [1,0] value: 0
Property 0xd23a:(readwrite) (type=0x4) Enumeration [1,4,16] value: 4
Property 0xd23b:(readwrite) (type=0x4) Enumeration [65535,1,2,3,4,5,10,15,30] value: 65535
Property 0xd23c:(readwrite) (type=0x2) Enumeration [] value: 0
Property 0xd23d:(readwrite) (type=0x4) Enumeration [] value: 1
Property 0xd23e:(readwrite) (type=0x2) Enumeration [] value: 0
Property 0xd23f:(readwrite) (type=0x2) Enumeration [0,1,2,3,4,5,6,7,8,9,10] value: 0
Property 0xd240:(readwrite) (type=0x2) Enumeration [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19] value: 1
Property 0xd241:(readwrite) (type=0x2) Enumeration [8,9,3] value: 9
Property 0xd242:(readwrite) (type=0x4) Enumeration [1,24,2,26,3,28,30] value: 1
Property 0xd243:(readwrite) (type=0x4) Enumeration [] value: 1
Property 0xd244:(readwrite) (type=0x4) Enumeration [] value: 1
Property 0xd245:(readwrite) (type=0x2) Enumeration [] value: 1
Property 0xd246:(readwrite) (type=0x2) Enumeration [] value: 2
Property 0xd247:(readwrite) (type=0x2) Enumeration [0,1,2,3,17,18,19,20] value: 0
Property 0xd248:(readwrite) (type=0x2) Enumeration [] value: 1
Property 0xd249:(readwrite) (type=0x6) Range [0 - 4294967295, step 1] value: 1030
Property 0xd24a:(readwrite) (type=0x6) Range [0 - 4294967295, step 1] value: 0
Property 0xd24c:(readwrite) (type=0x2) Range [0 - 0, step 1] value: 84
Property 0xd24e:(readwrite) (type=0x4) Enumeration [] value: 1
Property 0xd24f:(readwrite) (type=0x2) Enumeration [1,2] value: 1
Property 0xd250:(readwrite) (type=0x2) Enumeration [] value: 0
Property 0xd251:(readwrite) (type=0x2) Range [0 - 2, step 1] value: 0
Property 0xd252:(readwrite) (type=0x2) Enumeration [1,2,3] value: 1
Property 0xd253:(readwrite) (type=0x2) Enumeration [1,2,3] value: 1
Property 0xd254:(readwrite) (type=0x8) Enumeration [4294967295,47244640255,257698037759,515396075519] value: 20971760
Property 0xd255:(readwrite) (type=0x2) Enumeration [5,4,3,2,1] value: 3
Property 0xd256:(readwrite) (type=0x2) Enumeration [] value: 4
Property 0xd257:(readwrite) (type=0x6) Range [0 - 4294967295, step 1] value: 0
Property 0xd258:(readwrite) (type=0x6) Range [0 - 4294967295, step 1] value: 0
Property 0xd259:(readwrite) (type=0x2) Enumeration [] value: 1
Property 0xd25a:(readwrite) (type=0x2) Enumeration [0,1] value: 0
Property 0xd25b:(readwrite) (type=0x2) Enumeration [0,1] value: 0
Property 0xd25c:(readwrite) (type=0x6) Range [1000 - 1000, step 100] value: 1000
Property 0xd25d:(readwrite) (type=0x6) 16777216
Property 0xd25f:(readwrite) (type=0x2) Enumeration [] value: 1
Property 0xd260:(readwrite) (type=0x2) Enumeration [] value: 1
Property 0xd261:(readwrite) (type=0x6) Range [0 - 4294967295, step 1] value: 0
Property 0xd262:(readwrite) (type=0x2) Enumeration [1,0] value: 0
Property 0xd263:(readwrite) (type=0x2) Enumeration [1,0] value: 0
Property 0xd264:(readwrite) (type=0x2) Enumeration [] value: 0
Property 0xd267:(readwrite) (type=0x6) Range [0 - 41943520, step 1] value: 0
Property 0xd268:(readwrite) (type=0x2) Enumeration [1,2] value: 1
Property 0xd269:(readwrite) (type=0x2) Enumeration [] value: 3
Property 0xd26a:(readwrite) (type=0x2) Enumeration [1,2] value: 2
Property 0xd26b:(readwrite) (type=0x6) Range [0 - 0, step 1] value: 0
Property 0xd26c:(readwrite) (type=0x6) Range [0 - 0, step 1] value: 0
Property 0xd26d:(readwrite) (type=0x2) Enumeration [0,1] value: 0
Property 0xd26e:(readwrite) (type=0x2) Enumeration [0,1] value: 0
Property 0xd26f:(readwrite) (type=0x2) Enumeration [0,1] value: 0
Property 0xd270:(readwrite) (type=0x2) Enumeration [] value: 0
Property 0xd271:(readwrite) (type=0x2) Enumeration [0,1] value: 1
Property 0xd272:(readwrite) (type=0x2) Enumeration [0,1] value: 1
Property 0xd273:(readwrite) (type=0x2) Enumeration [] value: 0
Property 0xd278:(readwrite) (type=0xffff) ''
Autofocus(0xd2c1): error 2002 on query.
Capture(0xd2c2): error 2002 on query.
Property 0xd2c3: error 2002 on query.
Still Image(0xd2c7): error 2002 on query.
Movie(0xd2c8): error 2002 on query.
Property 0xd2c9: error 2002 on query.
Property 0xd2ca: error 2002 on query.
Property 0xd2cd: error 2002 on query.
Property 0xd2ce: error 2002 on query.
Property 0xd2cf: error 2002 on query.
Property 0xd2d0: error 2002 on query.
Near Far(0xd2d1): error 2002 on query.
Property 0xd2d2: error 2002 on query.
Property 0xd2d3: error 2002 on query.
Property 0xd2d4: error 2002 on query.
Property 0xd2d5: error 2002 on query.
Property 0xd2d6: error 2002 on query.
Property 0xd2d7: error 2002 on query.
Property 0xd2d8: error 2002 on query.
Property 0xd2d9: error 2002 on query.
Property 0xd2da: error 2002 on query.
Property 0xd2db: error 2002 on query.
AF Area Position(0xd2dc): error 2002 on query.
Property 0xd2dd: error 2002 on query.
Property 0xd2df: error 2002 on query.
Property 0xd2e0: error 2002 on query.
Property 0xd2e1: error 2002 on query.

And when trying to capture image and download:

LD_LIBRARY_PATH=/opt/gphoto2/lib /opt/gphoto2/bin/gphoto2 --capture-image-and-download 
ERROR: Could not capture image.                                                
ERROR: Could not capture.

@msmeissn
Copy link
Contributor

can you try to get debug logfiles of above

add --debug-logfile=debug.log --debug

@yuxhuang
Copy link

Hi @msmeissn, thanks for your response, I ran debug for both.
capture-debug.log.gz
summary-debug.log.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sony tagging Sony reports
Projects
None yet
Development

No branches or pull requests

4 participants