Error PTP Device Prop Not Supported with Nikon Z 7ii (resending)

Art Zemon <[email protected]> Sat, 12 Aug 2023 21:52:44 -0500
Newsgroups gmane.comp.multimedia.gphoto.user
Message-ID <CAN+RJV5tiwBMShbWx9SO6+5O_V8Z3v_p8=-+sd2vO3_GnUcaZw@mail.gmail.com>
--===============7373013176605763642==
Content-Type: multipart/alternative; boundary="000000000000e4e3fd0602c50a4e"

--000000000000e4e3fd0602c50a4e
Content-Type: text/plain; charset="UTF-8"

(resending without the attachment)

When I run "gphoto2 --capture-tethered" with my Nikon Z 7ii, it keeps
exiting with

*** Error ***
PTP Device Prop Not Supported
*** Error (-1: 'Unspecified error') ***

The pertinent part seems to be the following.

Is there a workaround other than running
  while true; do gphoto2 --capture-tethered CAPTURECOMPLETE; done
If I do that, all is good. Gphoto2 does successfully download the photos.

Thanks,
    -- Art Z.

4.269661 camera_wait_for_event       (2): event.Code is 4006 / param 501c
4.269682 ptp_usb_sendreq             (2): Sending PTP_OC 0x1014 (Get device
property description) (0x501c) request...
4.269691 gp_port_write               (3): Writing 16 = 0x10 bytes to port...
4.271139 gp_port_write               (3): Wrote   16 = 0x10 bytes to port:
(hexdump of 16 bytes)
0000  10 00 00 00 01 00 14 10-29 00 00 00 1c 50 00 00  ........)....P..

4.271212 ptp_usb_getdata             (2): Reading PTP_OC 0x1014 (Get device
property description) data...
4.271220 gp_port_read                (3): Reading 1024 = 0x400 bytes from
port...
4.288992 gp_port_read                (3): Read    12 = 0xc out of 1024
bytes from port: (hexdump of 12 bytes)
0000  0c 00 00 00 02 00 14 10-29 00 00 00              ........)...

4.289079 ptp_usb_getresp             (2): Reading PTP_OC 0x1014 (Get device
property description) response...
4.289089 gp_port_read                (3): Reading 1024 = 0x400 bytes from
port...
4.292098 gp_port_read                (3): Read    12 = 0xc out of 1024
bytes from port: (hexdump of 12 bytes)
0000  0c 00 00 00 03 00 0a 20-29 00 00 00              ....... )...

4.292159 ptp_usb_getresp [usb.c:516] (0): PTP_OC 0x1014 receiving resp
failed: PTP Device Prop Not Supported (0x200a)
4.292169 camera_wait_for_event [library.c:7228](0):
'ptp_generic_getdevicepropdesc (params, event.Param1&0xffff, &dpd)' failed:
'PTP Device Prop Not Supported' (0x200a)
4.292184 gp_context_error            (0): PTP Device Prop Not Supported
4.292216 gp_camera_wait_for_event [gphoto2-camera.c:1434](0):
'camera->functions->wait_for_event ( camera, timeout, eventtype, eventdata,
context)' failed: -1
4.293481 gp_camera_free              (2): Freeing camera...
4.293494 gp_camera_exit              (2): Exiting camera ('Nikon Z7_2')...
4.293504 ptp_usb_sendreq             (2): Sending PTP_OC 0x9202
(EndLiveView) request...
4.293509 gp_port_write               (3): Writing 12 = 0xc bytes to port...
4.293589 gp_port_write               (3): Wrote   12 = 0xc bytes to port:
(hexdump of 12 bytes)
0000  0c 00 00 00 01 00 02 92-2a 00 00 00              ........*...

4.293601 ptp_usb_getresp             (2): Reading PTP_OC 0x9202
(EndLiveView) response...
4.293607 gp_port_read                (3): Reading 1024 = 0x400 bytes from
port...
4.304291 gp_port_read                (3): Read    12 = 0xc out of 1024
bytes from port: (hexdump of 12 bytes)
0000  0c 00 00 00 03 00 01 20-2a 00 00 00              ....... *...

4.304393 ptp_usb_sendreq             (2): Sending PTP_OC 0x1003 (Close
session) request...
4.304408 gp_port_write               (3): Writing 12 = 0xc bytes to port...
4.305067 gp_port_write               (3): Wrote   12 = 0xc bytes to port:
(hexdump of 12 bytes)
0000  0c 00 00 00 01 00 03 10-2b 00 00 00              ........+...

4.305194 ptp_usb_getresp             (2): Reading PTP_OC 0x1003 (Close
session) response...
4.305211 gp_port_read                (3): Reading 1024 = 0x400 bytes from
port...
4.378556 _cb_irq                     (2): 0x55fa0887c400 with status 0
4.378659 _cb_irq                     (3): interrupt (hexdump of 12 bytes)
0000  0c 00 00 00 04 00 23 c0-ff ff ff ff              ......#.....

4.378687 _cb_irq                     (2): Requeuing completed transfer
0x55fa0887c400
4.388071 gp_port_read                (3): Read    12 = 0xc out of 1024
bytes from port: (hexdump of 12 bytes)
0000  0c 00 00 00 03 00 01 20-2b 00 00 00              ....... +...

4.388283 gp_port_close               (2): Closing port...

--000000000000e4e3fd0602c50a4e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:georgia,=
serif;font-size:small;color:#000000">(resending without the attachment)<br>=
<br>When I run &quot;gphoto2 --capture-tethered&quot; with my Nikon Z 7ii, =
it keeps exiting with<br><br>*** Error *** =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0<br>PTP Device Prop Not Supported<br>*** Error (-1: &#39;U=
nspecified error&#39;) ***<br><br>The pertinent part seems to be the follow=
ing.<br><br>Is there a workaround other than running <br>=C2=A0 while true;=
 do gphoto2 --capture-tethered CAPTURECOMPLETE; done<br>If I do that, all i=
s good. Gphoto2 does successfully download the photos.<br><br>Thanks,<br>=
=C2=A0 =C2=A0 -- Art Z.<br><br>4.269661 camera_wait_for_event =C2=A0 =C2=A0=
 =C2=A0 (2): event.Code is 4006 / param 501c<br>4.269682 ptp_usb_sendreq =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (2): Sending PTP_OC 0x1014 (Get d=
evice property description) (0x501c) request...<br>4.269691 gp_port_write =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (3): Writing 16 =3D 0x10 b=
ytes to port...<br>4.271139 gp_port_write =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 (3): Wrote =C2=A0 16 =3D 0x10 bytes to port: (hexdump of =
16 bytes)<br>0000 =C2=A010 00 00 00 01 00 14 10-29 00 00 00 1c 50 00 00 =C2=
=A0........)....P..<br><br>4.271212 ptp_usb_getdata =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 (2): Reading PTP_OC 0x1014 (Get device property descri=
ption) data...<br>4.271220 gp_port_read =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0(3): Reading 1024 =3D 0x400 bytes from port...<br>4.288=
992 gp_port_read =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(3)=
: Read =C2=A0 =C2=A012 =3D 0xc out of 1024 bytes from port: (hexdump of 12 =
bytes)<br>0000 =C2=A00c 00 00 00 02 00 14 10-29 00 00 00 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0........)... =C2=A0 =C2=A0<br><br>4.289079 p=
tp_usb_getresp =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (2): Reading PTP_O=
C 0x1014 (Get device property description) response...<br>4.289089 gp_port_=
read =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(3): Reading 10=
24 =3D 0x400 bytes from port...<br>4.292098 gp_port_read =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(3): Read =C2=A0 =C2=A012 =3D 0xc out=
 of 1024 bytes from port: (hexdump of 12 bytes)<br>0000 =C2=A00c 00 00 00 0=
3 00 0a 20-29 00 00 00 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0....=
... )... =C2=A0 =C2=A0<br><br>4.292159 ptp_usb_getresp [usb.c:516] (0): PTP=
_OC 0x1014 receiving resp failed: PTP Device Prop Not Supported (0x200a)<br=
>4.292169 camera_wait_for_event [library.c:7228](0): &#39;ptp_generic_getde=
vicepropdesc (params, event.Param1&amp;0xffff, &amp;dpd)&#39; failed: &#39;=
PTP Device Prop Not Supported&#39; (0x200a)<br>4.292184 gp_context_error =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(0): PTP Device Prop Not Supported=
<br>4.292216 gp_camera_wait_for_event [gphoto2-camera.c:1434](0): &#39;came=
ra-&gt;functions-&gt;wait_for_event ( camera, timeout, eventtype, eventdata=
, context)&#39; failed: -1<br>4.293481 gp_camera_free =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0(2): Freeing camera...<br>4.293494 gp_camera_exi=
t =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(2): Exiting camera (&#39=
;Nikon Z7_2&#39;)...<br>4.293504 ptp_usb_sendreq =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 (2): Sending PTP_OC 0x9202 (EndLiveView) request...<br>4.=
293509 gp_port_write =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (3): =
Writing 12 =3D 0xc bytes to port...<br>4.293589 gp_port_write =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (3): Wrote =C2=A0 12 =3D 0xc bytes to p=
ort: (hexdump of 12 bytes)<br>0000 =C2=A00c 00 00 00 01 00 02 92-2a 00 00 0=
0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0........*... =C2=A0 =C2=
=A0<br><br>4.293601 ptp_usb_getresp =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 (2): Reading PTP_OC 0x9202 (EndLiveView) response...<br>4.293607 gp_por=
t_read =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(3): Reading =
1024 =3D 0x400 bytes from port...<br>4.304291 gp_port_read =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(3): Read =C2=A0 =C2=A012 =3D 0xc =
out of 1024 bytes from port: (hexdump of 12 bytes)<br>0000 =C2=A00c 00 00 0=
0 03 00 01 20-2a 00 00 00 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0.=
...... *... =C2=A0 =C2=A0<br><br>4.304393 ptp_usb_sendreq =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 (2): Sending PTP_OC 0x1003 (Close session) request=
...<br>4.304408 gp_port_write =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 (3): Writing 12 =3D 0xc bytes to port...<br>4.305067 gp_port_write =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (3): Wrote =C2=A0 12 =3D 0xc =
bytes to port: (hexdump of 12 bytes)<br>0000 =C2=A00c 00 00 00 01 00 03 10-=
2b 00 00 00 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0........+... =
=C2=A0 =C2=A0<br><br>4.305194 ptp_usb_getresp =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 (2): Reading PTP_OC 0x1003 (Close session) response...<br>4.3=
05211 gp_port_read =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(=
3): Reading 1024 =3D 0x400 bytes from port...<br>4.378556 _cb_irq =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (2): 0x55fa0=
887c400 with status 0<br>4.378659 _cb_irq =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (3): interrupt (hexdump of 12 bytes)=
<br>0000 =C2=A00c 00 00 00 04 00 23 c0-ff ff ff ff =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0......#..... =C2=A0 =C2=A0<br><br>4.378687 _cb_irq =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (2): =
Requeuing completed transfer 0x55fa0887c400<br>4.388071 gp_port_read =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(3): Read =C2=A0 =C2=A012 =
=3D 0xc out of 1024 bytes from port: (hexdump of 12 bytes)<br>0000 =C2=A00c=
 00 00 00 03 00 01 20-2b 00 00 00 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0....... +... =C2=A0 =C2=A0<br><br>4.388283 gp_port_close =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (2): Closing port...<br></div><div c=
lass=3D"gmail_default" style=3D"font-family:georgia,serif;font-size:small;c=
olor:#000000"><br></div><div><br></div></div>

--000000000000e4e3fd0602c50a4e--


--===============7373013176605763642==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============7373013176605763642==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Gphoto-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gphoto-user

--===============7373013176605763642==--