Project

General

Profile

Bug #9898

Tethering with doesn't work with Nikon DSC D7000

Added by Tobias Jakobs almost 6 years ago. Updated about 4 years ago.

Status:
Closed: upstream
Priority:
Low
Assignee:
-
Category:
Tethering
Target version:
-
Start date:
04/11/2014
Due date:
% Done:

0%

Estimated time:
Affected Version:
1.4.1
System:
Ubuntu
bitness:
32-bit
hardware architecture:
amd64/x86

Description

Tethering with doesn't work with Nikon DSC D7000 here is the log from
$ darktable -d camctl 2>1 >camctl.log

[camera_control] creating new context 0x9208900
[camera_control] loaded 1711 camera drivers.
[camera_control] loaded 38 port drivers.
[camera_control] 2 cameras connected
[camera_control] gphoto2 error: This camera does not provide any configuration options.
[camera_control] device Mass Storage Camera on port disk:/media/tobias/08D1-3CAD initialized
[camera_control] gphoto2 error: This camera does not support summaries.
[camera_control] device Nikon DSC D7000 (PTP mode) on port usb:002,006 initialized
[camera_control] registering listener 0x976ab40
[camera_control] unregistering listener 0x976ab40

History

#1 Updated by Ulrich Pegelow almost 6 years ago

  • Status changed from New to Closed: upstream

Please have a look at the manual [[http://www.darktable.org/usermanual/ch04s04.html.php#d0e9345]] and first make sure that your camera is supported by gphoto2. If not - which I assume - please check with the gphoto2 project on how you can help them to get it supported.

#2 Updated by Tobias Jakobs almost 6 years ago

I've checked the manual and 1.-3. of the list worked. The output I've posted is from 4. of the list. I can capture images and download with gphoto2 in the command-line.

The D7000 is even in the list from the gphoto project:
http://www.gphoto.org/proj/libgphoto2/support.php

Nikon DSC D7000 (PTP mode) Image Capture, Liveview, Configuration, Other Ops 20

Why do you think that the camera isn't supported?

#3 Updated by David LaCivita about 4 years ago

I'm having the same issue with the same camera. Has anyone figured out a solution?

#4 Updated by Mark Trickett about 4 years ago

David LaCivita wrote:

I'm having the same issue with the same camera. Has anyone figured out a solution?

Hmmm....my D7000 has previously worked for 6 months without problems - I was in tethering dreamland! I have not used it for about 2 months now, but today I tried and it failed to work. When tethering, it connects, takes the picture but won't transfer the image to the PC and then I am unable to capture another image. It fails with an I/O error and Darktable crashes. I have no problem transferring the images from the camera to Lightable and no problems writing to the disk that is set to capture. PC/cable/entire setup is identical to previous working environment. Only change is that my rolling distro (Manjaro x64) updated. Now using Darktable 2.1.0.

Tried everything...but b4 I post properly I need to do some more debugging (different PC/change cable etc etc). I am merely writing now to reply to you to say 'it used to work, it is supported, but today it does not work for me'....Just for the hell of it here's a camctl.log when it failed:

[tiberiust@workshop ~]$ darktable -d camctl 2>1 > camctl4.log
Segmentation fault (core dumped)
[tiberiust@workshop ~]$ cat camctl4.log
[camera_control] creating new context 0x2a10cc0
[camera_control] loaded 2207 camera drivers.
[camera_control] loaded 8 port drivers.
[camera_control] 0 cameras connected
[camera_control] registering listener 0x2cb50a0
[camera_control] loaded 9 port drivers.
[camera_control] 1 cameras connected
[camera_control] device Nikon DSC D7000 (PTP mode) on port usb:001,006 initialized
[camera_control] camera control locked for camera 0x3214cc0
[camera_control] camera control un-locked for camera 0x3214cc0
[camera_control] building property menu from camera configuration
[camera_control] registering listener 0x2c01060
[camera_control] camera control locked for camera 0x3214cc0
[camera_control] enabling tether mode
[camera_control] starting camera event thread of context 0x2a10cc0
[camera_control] registering listener 0x1d08bc0
[camera_control] Starting live view
[camera_control] live view thread started
[camera_control] executing set camera config job eosviewfinder=1
4 fps
[camera_control] Camera configuration change event, lets update internal configuration cache.
[camera_control] executing set camera config job imagesize=2464x1632
[camera_control] executing set camera config job iso=100
[camera_control] executing set camera config job whitebalance=Automatic
[camera_control] executing set camera config job f-number=f/13
[camera_control] executing set camera config job imagequality=NEF (Raw)
[camera_control] executing set camera config job focusmode=AF-C
[camera_control] executing set camera config job expprogram=M
[camera_control] executing set camera config job shutterspeed2=4
[camera_control] Camera configuration change event, lets update internal configuration cache.
[camera_control] executing set camera config job imagesize=2464x1632
[camera_control] executing set camera config job iso=100
[camera_control] executing set camera config job whitebalance=Automatic
[camera_control] executing set camera config job f-number=f/13
[camera_control] executing set camera config job imagequality=NEF (Raw)
[camera_control] executing set camera config job focusmode=AF-C
[camera_control] executing set camera config job expprogram=M
[camera_control] executing set camera config job shutterspeed2=4
[camera_control] Camera configuration change event, lets update internal configuration cache.
[camera_control] executing set camera config job imagesize=2464x1632
[camera_control] executing set camera config job iso=100
[camera_control] executing set camera config job whitebalance=Automatic
[camera_control] executing set camera config job f-number=f/13
[camera_control] executing set camera config job imagequality=NEF (Raw)
[camera_control] executing set camera config job focusmode=AF-C
[camera_control] executing set camera config job expprogram=M
[camera_control] executing set camera config job shutterspeed2=4
[camera_control] Camera configuration change event, lets update internal configuration cache.
[camera_control] executing set camera config job imagesize=2464x1632
[camera_control] executing set camera config job iso=100
[camera_control] executing set camera config job whitebalance=Automatic
[camera_control] executing set camera config job f-number=f/13
[camera_control] executing set camera config job imagequality=NEF (Raw)
[camera_control] executing set camera config job focusmode=AF-C
[camera_control] executing set camera config job expprogram=M
[camera_control] executing set camera config job shutterspeed2=4
12 fps
[camera_control] Camera configuration change event, lets update internal configuration cache.
[camera_control] executing set camera config job imagesize=2464x1632
[camera_control] executing set camera config job iso=100
[camera_control] executing set camera config job whitebalance=Automatic
[camera_control] executing set camera config job f-number=f/13
[camera_control] executing set camera config job imagequality=NEF (Raw)
[camera_control] executing set camera config job focusmode=AF-S
[camera_control] executing set camera config job expprogram=M
[camera_control] executing set camera config job shutterspeed2=4
14 fps
15 fps
15 fps
15 fps
15 fps
[camera_control] executing remote camera capture job
[camera_control] unregistering listener 0x1d08bc0
[camera_control] disabling tether mode
[camera_control] camera control un-locked for camera 0x3214cc0
[camera_control] unregistering listener 0x2c01060
[camera_control] building property menu from camera configuration
[camera_control] registering listener 0x2c01060
[camera_control] camera control locked for camera 0x3214cc0
[camera_control] enabling tether mode
[camera_control] starting camera event thread of context 0x2a10cc0
[camera_control] live view failed to capture preview: I/O in progress
15 fps
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing set camera config job f-number=f/9.5
[camera_control] executing set camera config job focusmode=AF-A
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] live view failed to capture preview: I/O in progress
[camera_control] registering listener 0x3ef8ba0
[camera_control] live view thread stopped
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing remote camera capture job
[camera_control] capture job failed to capture image: I/O in progress
[camera_control] executing set camera config job imagesize=3696x2448
[camera_control] capture job failed to capture image: I/O problem
[camera_control] Camera file added event
[camera_control] Camera configuration change event, lets update internal configuration cache.
[camera_control] Camera configuration change event, lets update internal configuration cache.

#5 Updated by David LaCivita about 4 years ago

Mark Trickett wrote:

David LaCivita wrote:

I'm having the same issue with the same camera. Has anyone figured out a solution?

Hmmm....my D7000 has previously worked for 6 months without problems - I was in tethering dreamland! I have not used it for about 2 months now, but today I tried and it failed to work. When tethering, it connects, takes the picture but won't transfer the image to the PC and then I am unable to capture another image. It fails with an I/O error and Darktable crashes. I have no problem transferring the images from the camera to Lightable and no problems writing to the disk that is set to capture. PC/cable/entire setup is identical to previous working environment. Only change is that my rolling distro (Manjaro x64) updated. Now using Darktable 2.1.0.

Tried everything...but b4 I post properly I need to do some more debugging (different PC/change cable etc etc). I am merely writing now to reply to you to say 'it used to work, it is supported, but today it does not work for me'....Just for the hell of it here's a camctl.log when it failed:

With RAW+jpeg I would loose connection and be dumped to lighttable but not a crash. I switched to RAW only and that kept me in tether. I have live view and capture working but no other capabilities.

#6 Updated by Mark Trickett about 4 years ago

I never had much luck changing settings thru Darktable. I'm doing studio product shots and always only shoot RAW. I used to set the camera up as much as possible before connecting to tether. When tethered I would only change the aperture/shutter and leave everything else alone since tinkering with the other settings thru Darktable caused unreliability. It seems you have experienced a similar situation as well. It was always a bit 'dodgy' - sometimes losing the connection and sometimes needing a few replugs to get it to work, but it never took more than a couple of minutes to get a reliable and stable connection.

I just tried on another PC with another cable. Still doesn't work. I get a variety or errors. I've been following https://www.darktable.org/usermanual/ch04s04.html.php
and using gphoto2 2.5.6 (which is the underlying software that Darktable uses for tethering) and it does not work. (about 1 out of 10 is successful... replug/restart/reload etc etc between efforts) and logfiles report all sorts of errors - it's not a single consistent problem at all. So, for me it seems to be something with my distro and gphoto/USB.

I guess that serves me right for using a rolling distro (Manjaro/Gnome3) for something that needs to be stable. Come back Ubuntu, all is forgiven ;)
Can yu tell me what distro and version of gphoto2 ($ gphoto2 --version) you are using since your setup seems to be how mine used to be?

tks/Mark

#7 Updated by David LaCivita about 4 years ago

Mark Trickett wrote:

I guess that serves me right for using a rolling distro (Manjaro/Gnome3) for something that needs to be stable. Come back Ubuntu, all is forgiven ;)
Can yu tell me what distro and version of gphoto2 ($ gphoto2 --version) you are using since your setup seems to be how mine used to be?

tks/Mark

I'm on Ubuntu 15.10 and gphoto 2.8. I did a "$ sudo apt-get install gphoto2" when all of this started.

#8 Updated by David LaCivita about 4 years ago

Oops, gphoto 2.5.8.

#9 Updated by Mark Trickett about 4 years ago

update...

OMG! I tried again on system 2. I just left everything alone for a few days and changed absolutely nothing on PC or camera...and it worked!!! Reliably!!! So, I went back to my studio and it worked there as well - perfectly! There were no system updates during this time and the only thing I messed with on the camera was auto > manual focus and back again several times. I cannot believe that made any difference.
So I am stuck in that horrible situation where I had a major problem (I was unable to take studio shots for 2 days) and I did not diagnose or correct or even find the problem. It is therefore likely to occur again.

tl;dr: I've been using Linux in production for about 5 years now (I only use MS Windows for Excel). Rolling distros (Arch/Manjaro/Gentoo etc etc) give you the latest packages, so you get all the latest features and application updates across your entire system with one single update command. This is especially nice for something like Darktable which is in rapid development. However, with those updates sometimes come new bugs, or incompatibilities, which can stop things like this working. IMHO for production work we should sacrifice the latest features in return for stability. I am going to wait a couple of months for Ubuntu 16.04 LTS, get a PPA for Darktable and leave it - it's the only way....

Also available in: Atom PDF

Go to top