Hi!
 
I think this is a bug.
 
Nikon 1 S1 with manual lens. (Firmware version 1.2)
 
gphoto2 2.5.15
Copyright (c) 2000-2017 Lutz Mueller 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.15         gcc, popt(m), exif, cdk, aa, jpeg, readline
libgphoto2      2.5.30.1       standard camlibs (SKIPPING lumix), gcc, no ltdl, EXIF
libgphoto2_port 0.12.1         iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, no ltdl, EXIF, USB, serial without locking
Model                          Port
----------------------------------------------------------
Nikon S1                       usb:001,003
 
I setup the shutterspeed iso etc in a setup script which works fine.
The capture script just hangs the camera, have to take the battery out to get it running again.
 
% env LC_ALL=C gphoto2 --capture-image-and-download --force-overwrite --filename capt0001.jpg --debug --debug-logfile=cid_error.log
 
The log is about 40K. The last few lines are
 
0.153056 ptp_usb_getresp             (2): Reading PTP_OC 0x1015 (Get device property value) response...
0.153074 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
0.153789 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-07 00 00 00              ....... ....
0.153819 ptp_usb_sendreq             (2): Sending PTP_OC 0x9201 (StartLiveView) request...
0.153843 gp_port_write               (3): Writing 12 = 0xc bytes to port...
0.154604 gp_port_write               (3): Wrote   12 = 0xc bytes to port: (hexdump of 12 bytes)
0000  0c 00 00 00 01 00 01 92-08 00 00 00              ............
0.154630 ptp_usb_getresp             (2): Reading PTP_OC 0x9201 (StartLiveView) response...
0.154647 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
0.526338 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-08 00 00 00              ....... ....
0.526428 ptp_usb_sendreq             (2): Sending PTP_OC 0x90c8 (DeviceReady) request...
0.526482 gp_port_write               (3): Writing 12 = 0xc bytes to port...
0.527183 gp_port_write               (3): Wrote   12 = 0xc bytes to port: (hexdump of 12 bytes)
0000  0c 00 00 00 01 00 c8 90-09 00 00 00              ............
0.527211 ptp_usb_getresp             (2): Reading PTP_OC 0x90c8 (DeviceReady) response...
0.527230 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
0.528576 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-09 00 00 00              ....... ....
0.528609 ptp_usb_sendreq             (2): Sending PTP_OC 0x9207 (InitiateCaptureRecInMedia) (0xffffffff,0x1) request...
0.528634 gp_port_write               (3): Writing 20 = 0x14 bytes to port...
0.529435 gp_port_write               (3): Wrote   20 = 0x14 bytes to port: (hexdump of 20 bytes)
0000  14 00 00 00 01 00 07 92-0a 00 00 00 ff ff ff ff  ................
0010  01 00 00 00            -                         ....
0.529470 ptp_usb_getresp             (2): Reading PTP_OC 0x9207 (InitiateCaptureRecInMedia) response...
0.529494 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
 
(hangs here)
 
In this thread
https://github.com/gphoto/libgphoto2/issues/569
 
there was a suggestion to run
gphoto2 --set-config opcode=0x100e --wait-event-and-download=5s --debug --debug-logfile=100e.log
 
This actually works.
 
An interesting thing to note is that the camera came with firmware version 1.0 on which capture-image-and-download somewhat worked. It did finish, the only problem was that the shutterspeed was wrong and did not get picked up from what I set it to. I thought a firmware update would fix it but it got worse.
 
The 0x100e command does get an image with the right shutterspeed.
 
I tried a newer version of gphoto2 and libgphoto2 on another computer with identical results.
This version of gphoto2 is using the following software versions and options:
gphoto2         2.5.23         gcc, popt(m), exif, cdk, aa, jpeg, readline
libgphoto2      2.5.30.1       standard camlibs (SKIPPING lumix), gcc, no ltdl, EXIF
libgphoto2_port 0.12.1         iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, no ltdl, EXIF, USB, serial without locking
 
thanks in advance for any help,
-AR
 
 
 
 
 
 
 
_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Reply via email to