Hi,

Can you also report the USB ids in this mode?

Can you capture a debug trace of the capture command?

Is it reporting a /capt0000.jpg file? Then you immediately
need to download it via gphoto2 --capture-image-and-download

Ciao, Marcus

sOn Wed, Jun 17, 2020 at 10:46:27PM +0200, Andreas Harth wrote:
> Okay, switching in the camera menu "PC Remote Function: On" I get
> 
> $ gphoto2 --auto-detect
> Model                          Port
> ----------------------------------------------------------
> USB PTP Class Camera           usb:003,010
> $
> 
> and the attached summary.txt and config.txt.
> 
> I was able to do
> 
> $ gphoto2 --capture-image
> 
> once (photo saved on camera), but now when doing
> 
> $ gphoto2 --capture-image
> 
> I can hear the shutter sound and after a few seconds get and error message
> *** Error ***
> PTP Invalid Object Handle
> ERROR: Could not capture image.
> ERROR: Could not capture.
> 
> Cheers,
> Andreas.
> 
> On 6/17/20 10:08 PM, Andreas Harth wrote:
> > On 6/17/20 7:42 PM, Marcus Meissner wrote:
> > > On Wed, Jun 17, 2020 at 06:24:41PM +0200, Andreas Harth wrote:
> > > > # lsusb | grep -ie sony
> > > > Bus 003 Device 013: ID 054c:0c1a Sony Corp.
> > > > # gphoto2 --auto-detect
> > > > Model                          Port
> > > > ----------------------------------------------------------
> > > > Mass Storage Camera            disk:/media/aharth/7000-8000
> > > 
> > > Here it appears as a mass storage device.
> > > 
> > > Can it be switched to other modes e.g. PTP?
> > 
> > Ah, should have RTFM.
> > 
> > After switching "Control with Smartphone: off" in the camera menu, I can 
> > enable "USB Connection: MTP" and then I get:
> > 
> > # lsusb  | grep -ie sony
> > Bus 003 Device 015: ID 054c:0830 Sony Corp.
> > # gphoto2 --auto-detect
> > Model                          Port
> > ----------------------------------------------------------
> > #
> > 
> > After leaving the menu and connecting via USB, the camera screen says "USB 
> > Mode: MTP", the lens closes and I get:
> > 
> > # lsusb  | grep -ie sony
> > Bus 003 Device 016: ID 054c:0c1b Sony Corp.
> > # gphoto2 --auto-detect
> > Model                          Port
> > ----------------------------------------------------------
> > USB PTP Class Camera           usb:003,016
> > 
> > Now I can get summary.txt and config.txt (attached).
> > 
> > The summary.txt says:
> > 
> > Device Capabilities:
> >      File Download, No File Deletion, No File Upload
> >      No Image Capture, No Open Capture, No vendor specific capture
> > 
> > Looks like Sony plans to release PC software to "turn the ZV-1 into a 
> > webcam" in July 2020.
> > 
> > If that means a camera firmware update to allow image/video capture, I 
> > guess I have to wait.
> > 
> > Cheers,
> > Andreas.
> > 
> > KNF bis ca. 1999 :)

> Camera summary:
> Manufacturer: Sony Corporation
> Model: ZV-1
>   Version: 1.00
>   Serial Number: 000000000000000080819050XXXXXXXX
> 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: 3
> White Balance(0x5005):(readwrite) (type=0x4) Enumeration [] value: Automatic 
> (2)
> F-Number(0x5007):(readwrite) (type=0x4) Range [0 - 65535, step 1] value: 
> f/1.8 (180)
> Focus Mode(0x500a):(readwrite) (type=0x4) Enumeration [2,32773,32772,32774,1] 
> value: 32773
> Exposure Metering Mode(0x500b):(readwrite) (type=0x4) Enumeration [32769] 
> value: 32769
> Flash Mode(0x500c):(readwrite) (type=0x4) Enumeration [] value: Automatic 
> flash (1)
> Exposure Program Mode(0x500e):(readwrite) (type=0x4) Enumeration 
> [2,3,4,1,32848,32849,32850,32851,32852,32768,32896,32897,32898,32899,32833,7,32785,32789,32788,32786,32787,32790,32791,32792,32793,32794,32795,32796]
>  value: 32768
> 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,32772,32771,32773,32776,32777,32780,32781,32782,32783] 
> value: Single Shot (1)
> DOC Compensation(0xd200):(readwrite) (type=0x3) Enumeration [] value: 0
> DRangeOptimize(0xd201):(readwrite) (type=0x2) Enumeration [31] 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: 65566
> 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 [156 - 228, 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
> Property 0xd214:(readwrite) (type=0x6) Range [0 - 4294967295, step 1] value: 
> 23462912
> 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: 
> 70
> Picture Effect(0xd21b):(readwrite) (type=0x4) Enumeration [32768] value: 32768
> AB Filter(0xd21c):(readwrite) (type=0x2) Range [156 - 228, step 1] value: 192
> Property 0xd21d:(readwrite) (type=0x2) Range [0 - 2, step 1] value: 0
> ISO(0xd21e):(readwrite) (type=0x6) Enumeration [] value: 16777215
> Property 0xd220:(readwrite) (type=0x2) Enumeration [] value: 1
> Property 0xd221:(readwrite) (type=0x2) Enumeration [] value: 0
> Property 0xd222:(readwrite) (type=0x4) Enumeration [1,17,16] value: 1
> Property 0xd223: error 2002 on query.
> Property 0xd224:(readwrite) (type=0x3) Enumeration [] value: 0
> Property 0xd226:(readwrite) (type=0x6) Enumeration [16777215] value: 16777215
> Property 0xd227:(readwrite) (type=0x2) Enumeration [] value: 0
> Property 0xd228:(readwrite) (type=0x2) Enumeration [4,5] value: 5
> Property 0xd229:(readwrite) (type=0x6) Enumeration 
> [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,75536,78336,81536,85536,91136,97536]
>  value: 65566
> Property 0xd22a:(readwrite) (type=0x2) Enumeration [] value: 1
> Property 0xd22b:(readwrite) (type=0x2) Enumeration [] value: 0
> Property 0xd235:(readwrite) (type=0x2) Enumeration [0,1] value: 0
> 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,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 [4,25,5,27] value: 4
> Property 0xd243:(readwrite) (type=0x4) Enumeration [2,4] value: 2
> Property 0xd244:(readwrite) (type=0x4) Enumeration [2,4,6] value: 2
> Property 0xd245:(readwrite) (type=0x2) Enumeration [1,2] value: 1
> Property 0xd246:(readwrite) (type=0x2) Enumeration [1,2,4] value: 1
> 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: 
> 11616
> Property 0xd24a:(readwrite) (type=0x6) Range [0 - 4294967295, step 1] value: 0
> Property 0xd24b:(readwrite) (type=0x2) Enumeration [] value: 0
> Property 0xd24c:(readwrite) (type=0x2) Range [0 - 0, step 1] value: 100
> Property 0xd24d:(readwrite) (type=0x2) Enumeration [0,1,2,3,4] value: 0
> Property 0xd24e:(readwrite) (type=0x4) Enumeration [] value: 1
> Property 0xd24f:(readwrite) (type=0x2) Enumeration [] value: 1
> Property 0xd250:(readwrite) (type=0x2) Enumeration [] value: 0
> Property 0xd25b:(readwrite) (type=0x2) Enumeration [0,1] value: 1
> Property 0xd25c:(readwrite) (type=0x6) Range [1000 - 1000, step 100] value: 
> 1000
> Property 0xd25d:(readwrite) (type=0x6) 16777216
> Property 0xd25f:(readwrite) (type=0x2) Enumeration [1,3,4] value: 1
> Property 0xd260:(readwrite) (type=0x2) Enumeration [] value: 1
> Property 0xd265:(readwrite) (type=0x2) Enumeration [] value: 0
> Property 0xd266:(readwrite) (type=0x2) Enumeration [0,1] value: 0
> Property 0xd2c1:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2c2:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2c3:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2c5:(readwrite) (type=0x4) Enumeration [1,2] value: 1
> Still Image(0xd2c7):(readwrite) (type=0x4) Enumeration [1,2] value: 1
> Movie(0xd2c8):(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2c9:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2ca:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2d1:(readwrite) (type=0x3) Range [-7 - 7, step 1] value: 3
> Property 0xd2d5:(readwrite) (type=0x4) Enumeration [1,2] value: 1
> Property 0xd2d6:(readwrite) (type=0x4) Enumeration [1,2] value: 1
> Property 0xd2d7:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2d8:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2d9:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2dd:(readwrite) (type=0x1) Range [-1 - 1, step 1] value: 2
> Property 0xd2de:(readwrite) (type=0x4) Enumeration [1,2] value: 1
> 

> Camera summary:
> Manufacturer: Sony Corporation
> Model: ZV-1
>   Version: 1.00
>   Serial Number: 00000000000000008081905002885478
> 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: 3
> White Balance(0x5005):(readwrite) (type=0x4) Enumeration [] value: Automatic 
> (2)
> F-Number(0x5007):(readwrite) (type=0x4) Range [0 - 65535, step 1] value: 
> f/1.8 (180)
> Focus Mode(0x500a):(readwrite) (type=0x4) Enumeration [2,32773,32772,32774,1] 
> value: 32773
> Exposure Metering Mode(0x500b):(readwrite) (type=0x4) Enumeration [32769] 
> value: 32769
> Flash Mode(0x500c):(readwrite) (type=0x4) Enumeration [] value: Automatic 
> flash (1)
> Exposure Program Mode(0x500e):(readwrite) (type=0x4) Enumeration 
> [2,3,4,1,32848,32849,32850,32851,32852,32768,32896,32897,32898,32899,32833,7,32785,32789,32788,32786,32787,32790,32791,32792,32793,32794,32795,32796]
>  value: 32768
> 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,32772,32771,32773,32776,32777,32780,32781,32782,32783] 
> value: Single Shot (1)
> DOC Compensation(0xd200):(readwrite) (type=0x3) Enumeration [] value: 0
> DRangeOptimize(0xd201):(readwrite) (type=0x2) Enumeration [31] 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: 65549
> 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 [156 - 228, 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
> Property 0xd214:(readwrite) (type=0x6) Range [0 - 4294967295, step 1] value: 
> 23462912
> 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: 
> 70
> Picture Effect(0xd21b):(readwrite) (type=0x4) Enumeration [32768] value: 32768
> AB Filter(0xd21c):(readwrite) (type=0x2) Range [156 - 228, step 1] value: 192
> Property 0xd21d:(readwrite) (type=0x2) Range [0 - 2, step 1] value: 0
> ISO(0xd21e):(readwrite) (type=0x6) Enumeration [] value: 16777215
> Property 0xd220:(readwrite) (type=0x2) Enumeration [] value: 1
> Property 0xd221:(readwrite) (type=0x2) Enumeration [] value: 1
> Property 0xd222:(readwrite) (type=0x4) Enumeration [1,17,16] value: 1
> Property 0xd223: error 2002 on query.
> Property 0xd224:(readwrite) (type=0x3) Enumeration [] value: 0
> Property 0xd226:(readwrite) (type=0x6) Enumeration [16777215] value: 16777215
> Property 0xd227:(readwrite) (type=0x2) Enumeration [] value: 0
> Property 0xd228:(readwrite) (type=0x2) Enumeration [4,5] value: 5
> Property 0xd229:(readwrite) (type=0x6) Enumeration 
> [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,75536,78336,81536,85536,91136,97536]
>  value: 65549
> Property 0xd22a:(readwrite) (type=0x2) Enumeration [] value: 1
> Property 0xd22b:(readwrite) (type=0x2) Enumeration [] value: 0
> Property 0xd235:(readwrite) (type=0x2) Enumeration [0,1] 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,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 [4,25,5,27] value: 4
> Property 0xd243:(readwrite) (type=0x4) Enumeration [2,4] value: 2
> Property 0xd244:(readwrite) (type=0x4) Enumeration [2,4,6] value: 2
> Property 0xd245:(readwrite) (type=0x2) Enumeration [1,2] value: 1
> Property 0xd246:(readwrite) (type=0x2) Enumeration [1,2,4] value: 1
> 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: 
> 11616
> Property 0xd24a:(readwrite) (type=0x6) Range [0 - 4294967295, step 1] value: 0
> Property 0xd24b:(readwrite) (type=0x2) Enumeration [] value: 0
> Property 0xd24c:(readwrite) (type=0x2) Range [0 - 0, step 1] value: 100
> Property 0xd24d:(readwrite) (type=0x2) Enumeration [0,1,2,3,4] value: 0
> Property 0xd24e:(readwrite) (type=0x4) Enumeration [] value: 1
> Property 0xd24f:(readwrite) (type=0x2) Enumeration [] value: 1
> Property 0xd250:(readwrite) (type=0x2) Enumeration [] value: 0
> Property 0xd25b:(readwrite) (type=0x2) Enumeration [0,1] value: 1
> Property 0xd25c:(readwrite) (type=0x6) Range [1000 - 1000, step 100] value: 
> 1000
> Property 0xd25d:(readwrite) (type=0x6) 16777216
> Property 0xd25f:(readwrite) (type=0x2) Enumeration [1,3,4] value: 1
> Property 0xd260:(readwrite) (type=0x2) Enumeration [] value: 1
> Property 0xd265:(readwrite) (type=0x2) Enumeration [] value: 0
> Property 0xd266:(readwrite) (type=0x2) Enumeration [0,1] value: 0
> Property 0xd2c1:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2c2:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2c3:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2c5:(readwrite) (type=0x4) Enumeration [1,2] value: 1
> Still Image(0xd2c7):(readwrite) (type=0x4) Enumeration [1,2] value: 1
> Movie(0xd2c8):(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2c9:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2ca:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2d1:(readwrite) (type=0x3) Range [-7 - 7, step 1] value: 3
> Property 0xd2d5:(readwrite) (type=0x4) Enumeration [1,2] value: 1
> Property 0xd2d6:(readwrite) (type=0x4) Enumeration [1,2] value: 1
> Property 0xd2d7:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2d8:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2d9:(readwrite) (type=0x4) Enumeration [1,2] value: 2
> Property 0xd2dd:(readwrite) (type=0x1) Range [-1 - 1, step 1] value: 2
> Property 0xd2de:(readwrite) (type=0x4) Enumeration [1,2] value: 1
> 


> _______________________________________________
> Gphoto-devel mailing list
> Gphoto-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gphoto-devel


-- 
Marcus Meissner,SUSE LINUX GmbH; Maxfeldstrasse 5; D-90409 Nuernberg; Zi. 
3.1-33,+49-911-740 53-432,,serv=loki,mail=wotan,type=real <meiss...@suse.de>


_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Reply via email to