-
Notifications
You must be signed in to change notification settings - Fork 328
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
Nikon 1 J3 exposure time not correct #1063
Comments
dup of gphoto/gphoto2#661 |
there is also a shutterspeed2 option perhaps, can you check that? can you also attach gphoto2 --summary output? |
First of all, thank you so much for looking into this problem and also for maintaining this very important library!!! I made the following changes in camlibs/ptp2/library.c With these changes, While gphoto2 works with these changes, KStars/Ekos did not succeed in capturing images. Thanks, |
I forgot to attach the output of --summary. Here it is. Thanks again, Harald |
OK. I did some more testing and the attached library.c file works with the Nikon J3 camera. Thanks, Harald |
I thought I share the image I took with the camera and KStars/Ekos and of course the libgphoto2 library last night. This is a stack of 63 images each 30s exposure time. |
Attached is a patch file for the most recent version of the library.c file. Perhaps you can update the file accordingly to make the Nikon Series 1 J3 camera work. |
hmm, for bulb we have code like --set-config bulb=1 --wait-event=1000s --set-config bulb=0 did you try that already? |
Thank you for including the patch. Thanks, Harald |
Describe the bug
A clear and concise description of what the bug is.
Yesterday I posted this bug in the gphoto2 github. But I think it should be posted here. Sorry for posting it twice.
gphoto2 correctly detects the Nikon 1 J3 camera. It also sets the exposure time correctly using:
gphoto2 --set-config Shutterspeed=15
This sets the exposure time to 15 seconds (confirmed on camera display)
After that:
gphoto2 --capture-image
takes an image but only with an exposure time of less than 1 second.
I looked though the code of the camlibs/ptp2/library.c file and noticed that there have been some changes made related to the J1/V1/S1 cameras. I wonder if similar changes are needed for the J3. Thank you for looking into this.
Name the camera
Camera name as shown by gphoto2 --auto-detect or USB IDs
Nikon J3 usb:001,010
libgphoto2 and gphoto2 version
output of: gphoto2 --version
gphoto2 2.5.28
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 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
To Reproduce
Steps to reproduce the behavior:
connect camera to USB port
gphoto2 --set-config Shutterspeed=15
gphoto2 --capture-image
When reproducing with the commandline tool, attach debugout using --debug --debug-logfile=debug.log if considered useful.
Nikon_J3_Debug.txt
The text was updated successfully, but these errors were encountered: