Adding properties for the Nikon Z8

Nick Hilton <[email protected]> Sun, 6 Jul 2025 15:25:52 -0700
Newsgroups gmane.comp.multimedia.gphoto.devel
Message-ID <CAHaJagDDhj5EfAkZyCB=f5tMvMzYYqf39RNyNXX_6-iWHuGxfQ@mail.gmail.com>
--===============1748770699450390525==
Content-Type: multipart/alternative; boundary="00000000000066fcf106394a368e"

--00000000000066fcf106394a368e
Content-Type: text/plain; charset="UTF-8"

Hello!

I'm new to libgphoto2 development.  I'm interested in adding shutterspeed2
for the Nikon Z8, I have a Z7 mark I, which does support shutterspeed2.

Looking at the code here
<https://github.com/gphoto/libgphoto2/blob/81904a36a2a64e1f6005199ef9193db70e1fc444/camlibs/ptp2/config.c#L11886>
for the Z7, looks like it's using nikon_z6_capture_settings, so is the Z8.
I've tried adding a custom nikon_z8_capture_settings menu item here
<https://github.com/gphoto/libgphoto2/compare/master...weegreenblobbie:libgphoto2:dev/nikon-z8-shutterspeed2>.
I've built the lib and the gphoto2 cli utility, verified it's linking with
my local build:

ldd gphoto2 | grep libgphoto
libgphoto2.so.6 =>
/home/nhilton/development/pycontrol/external/lib/libgphoto2.so.6
(0x00007275d35f8000)
libgphoto2_port.so.12 =>
/home/nhilton/development/pycontrol/external/lib/libgphoto2_port.so.12
(0x00007275d35e8000)

However I don't see any indication my updates are having any impact.

I had looked at previous commit changes sets that added various nikon
cameras, and it looked similar to what I did, however it's not working.
Not really sure how to proceed.

Is there any documentation on how config.c is organized that I missed?  I
own the following camera and can test the changes necessary: z6ii, z6iii,
z7, z8.

Thank you!
Nick

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

<div dir=3D"ltr">Hello!<div><br></div><div>I&#39;m new to libgphoto2 develo=
pment.=C2=A0 I&#39;m interested in adding shutterspeed2 for the Nikon Z8, I=
 have a Z7 mark I, which does support shutterspeed2.</div><div><br></div><d=
iv>Looking at the <a href=3D"https://github.com/gphoto/libgphoto2/blob/8190=
4a36a2a64e1f6005199ef9193db70e1fc444/camlibs/ptp2/config.c#L11886">code her=
e</a> for the Z7, looks like it&#39;s using=C2=A0nikon_z6_capture_settings,=
 so is the Z8.=C2=A0 I&#39;ve tried adding a custom nikon_z8_capture_settin=
gs menu=C2=A0<a href=3D"https://github.com/gphoto/libgphoto2/compare/master=
...weegreenblobbie:libgphoto2:dev/nikon-z8-shutterspeed2">item here</a>.=C2=
=A0 I&#39;ve built the lib and the gphoto2 cli utility, verified it&#39;s l=
inking with my local build:<br><br>ldd gphoto2 | grep libgphoto<br>	libgpho=
to2.so.6 =3D&gt; /home/nhilton/development/pycontrol/external/lib/libgphoto=
2.so.6 (0x00007275d35f8000)<br>	libgphoto2_port.so.12 =3D&gt; /home/nhilton=
/development/pycontrol/external/lib/libgphoto2_port.so.12 (0x00007275d35e80=
00)<br></div><div><br></div><div>However I don&#39;t see any indication my =
updates are having any impact.</div><div><br></div><div>I had looked at pre=
vious commit changes sets that added various nikon cameras, and it looked s=
imilar to what I did, however it&#39;s not working.=C2=A0 Not really sure h=
ow to proceed.</div><div><br></div><div>Is there any documentation on how c=
onfig.c is organized that I missed?=C2=A0 I own the following camera and ca=
n test the changes necessary: z6ii, z6iii, z7, z8.</div><div><br></div><div=
>Thank you!</div><div>Nick</div><div><br></div><div><br></div></div>

--00000000000066fcf106394a368e--


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


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

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

--===============1748770699450390525==--