-
Notifications
You must be signed in to change notification settings - Fork 116
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 DSC D3x(PTP mode) PTP Parameter Not Supported #635
Comments
I have the same problem with Nikon D3X. --capture-movie works, as does --capture-preview, but --capture-image or --capture-image-and-download do not. This seems to be related to:
Using the Entangle GUI yields the same error. Any idea on how to troubleshoot this? Very much appreciated! Versions:
Here the full log output: (
|
Hi,
Does this mean that Is it useful to suppress this command in the libgphoto2 library.c file? (similar to suggestion in gphoto/libgphoto2#140)? If yes, what lines to comment out? I'm not sure where the D3X model is defined in the library file? Does it fall within the D3000 series? (which might not be appropriate since D3X does not belong to Nikon's entry-level line D3000 series?)
|
The D3x InitiateCaptureRecInMedia command has a bit different parameter syntax than the others. i added a hack to handle this |
can you test current libgphoto2 master branch? |
Sure, next week when I have my camera at hand! Thanks already. |
did you havr the chance to try it? |
Hi Marcus, |
I tried an incremental patch. can you update and test again? |
Thanks. The 'PTP par not supported' error is gone, but now I get an "Invalid Status" error. The Camera is in S-mode with memory card inserted. --capture-preview works, but --capture-image doesn't. Attached the log. |
Sorry - just to clarify, reviewing the log there's both a 'PTP Parameter Not Supported' error in addition to 'Invalid Status', not only the latter.
|
I got the same problems!
|
Describe the bug
(myenv) forol@forol-VirtualBox:~/Desktop$ gphoto2 --abilities
Abilities for camera : Nikon DSC D3x (PTP mode)
Serial port support : no
USB support : yes
Capture choices :
: Image
: Preview
: Trigger Capture
Configuration support : yes
Delete selected files on camera : yes
Delete all files on camera : no
File preview (thumbnail) support : yes
File upload support : no
(myenv) forol@forol-VirtualBox:~/Desktop$ gphoto2 --capture-image
*** Error ***
PTP Parameter Not Supported
ERROR: Could not capture image.
ERROR: Could not capture.
(myenv) forol@forol-VirtualBox:~/Desktop$ gphoto2 --capture-preview
File capture_preview.jpg exists. Overwrite? [y|n] y
Saving file as capture_preview.jpg
Name the camera
Model Port
Nikon DSC D3x (PTP mode) usb:002,009
libgphoto2 and gphoto2 version
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.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
To Reproduce
my-logfile.txt
The text was updated successfully, but these errors were encountered: