dvgrab fails to capture from DV camera when it is not connected during boot

Bug #1202780 reported by Nyyr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dvgrab (Ubuntu)
New
Undecided
Unassigned

Bug Description

When my DV camera is connected when Ubuntu starts, I have no problems with capture using dvgrab. But when Ubuntu starts without DV camera connected and the DV camera is connected just before issuing dvgrab command, AVC works fine, but when I'm trying to capture (by pressing "c" in interactive mode), the DV camera starts to play the video but dvgrab waits and waits and waits.......and is not capturing. After pressing CTRL-C, dvgrab exits and displays "Error: no DV"

Computer booted with camera turned on:

nyyr@n1:~/Videa$ dvgrab -a -f raw -i -s 0 -t kamera-
rom1394_0 warning: read failed: 0x0000fffff0000414
error reading config rom directory for node 0
Found AV/C device with GUID 0x0080880307380aff
Going interactive. Press '?' for help.
Winding Stoppede" 00:00:00:03 "" sec
Winding Stoppedd" 00:00:00:03 "" sec
Waiting for DV... 00:00:00:03 "" sec
Capture Started
"Playing" 00:00:00:06 "" 0.00 sec

Computer booted with camera turned off. Camera turned on just before issuing dvgrab command:

nyyr@n1:~$ dvgrab -a -f raw -i -s 0 -t test-
Found AV/C device with GUID 0x0080880307380aff
Going interactive. Press '?' for help.
Waiting for DV...00:09:55:13 "" sec
"" 0.00 MiB 0 frames
Capture Stopped
Error: no DV

nyyr@n1:~$ sudo su -
[sudo] password for nyyr:
root@n1:~# dvgrab -a -f raw -i -s 0 -t test-
Found AV/C device with GUID 0x0080880307380aff
Going interactive. Press '?' for help.
Waiting for DV...00:10:02:03 "" sec
"" 0.00 MiB 0 frames
Capture Stopped
Error: no DV

syslog.log (the first time camera on during boot, the second time camera off during boot):

root@n1:/var/log# grep firewire syslog
Jul 18 18:25:06 n1 kernel: [ 1.612129] firewire_ohci 0000:05:07.0: added OHCI v1.10 device as card 0, 4 IR + 8 IT contexts, quirks 0x2
Jul 18 18:25:06 n1 kernel: [ 1.612443] firewire_ohci 0000:05:07.0: isochronous cycle inconsistent
Jul 18 18:25:06 n1 kernel: [ 2.112143] firewire_core 0000:05:07.0: created device fw0: GUID 002c8bf300001fd0, S400
Jul 18 18:25:06 n1 kernel: [ 2.166935] firewire_core 0000:05:07.0: created device fw1: GUID 0080880307380aff, S100
Jul 18 18:25:06 n1 kernel: [ 2.166940] firewire_core 0000:05:07.0: phy config: new root=ffc1, gap_count=5
Jul 18 18:25:06 n1 kernel: [ 2.664042] firewire_core 0000:05:07.0: rediscovered device fw0
Jul 18 18:25:06 n1 kernel: [ 2.719698] firewire_core 0000:05:07.0: rediscovered device fw1
Jul 18 19:22:41 n1 kernel: [ 3472.060052] firewire_core 0000:05:07.0: rediscovered device fw0
Jul 18 19:24:06 n1 kernel: [ 1.624064] firewire_ohci 0000:05:07.0: added OHCI v1.10 device as card 0, 4 IR + 8 IT contexts, quirks 0x2
Jul 18 19:24:06 n1 kernel: [ 2.124121] firewire_core 0000:05:07.0: created device fw0: GUID 002c8bf300001fd0, S400
Jul 18 19:24:35 n1 kernel: [ 46.172106] firewire_core 0000:05:07.0: rediscovered device fw0
Jul 18 19:24:35 n1 kernel: [ 46.172121] firewire_core 0000:05:07.0: phy config: new root=ffc1, gap_count=5
Jul 18 19:24:35 n1 kernel: [ 46.672071] firewire_core 0000:05:07.0: rediscovered device fw0
Jul 18 19:24:35 n1 kernel: [ 46.728330] firewire_core 0000:05:07.0: created device fw1: GUID 0080880307380aff, S100
Jul 18 19:24:37 n1 kernel: [ 48.176073] firewire_core 0000:05:07.0: giving up on node ffc0: reading config rom failed: timeout

root@n1:~# lspci
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 02)
00:06.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 02)
00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 5
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6
00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller #1
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller #2
01:00.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GF110 High Definition Audio Controller (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
05:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)

root@n1:~# lsmod
Module Size Used by
dm_crypt 23126 1
rfcomm 47562 0
bnep 18240 2
bluetooth 211812 10 rfcomm,bnep
binfmt_misc 17541 1
snd_hda_codec_hdmi 32476 4
coretemp 13642 0
kvm_intel 137888 0
kvm 422160 1 kvm_intel
snd_hda_codec_realtek 79855 1
ppdev 17114 0
snd_hda_intel 34063 5
snd_hda_codec 135141 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 17765 1 snd_hda_codec
gpio_ich 13384 0
snd_pcm 97523 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
microcode 23030 0
parport_pc 32867 1
snd_seq_midi 13325 0
snd_rawmidi 30750 1 snd_seq_midi
snd_seq_midi_event 14900 1 snd_seq_midi
snd_seq 61931 2 snd_seq_midi,snd_seq_midi_event
nvidia 11309216 40
snd_timer 29990 2 snd_pcm,snd_seq
psmouse 102506 0
snd_seq_device 14498 3 snd_seq_midi,snd_rawmidi,snd_seq
serio_raw 13216 0
usblp 18315 0
mac_hid 13254 0
lpc_ich 17145 0
snd 83674 20 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 15092 1 snd
snd_page_alloc 18573 2 snd_hda_intel,snd_pcm
lp 17800 0
parport 46563 3 ppdev,parport_pc,lp
raid10 48415 0
raid456 62592 0
async_pq 13188 1 raid456
async_xor 12880 2 raid456,async_pq
xor 17153 1 async_xor
async_memcpy 12530 1 raid456
async_raid6_recov 12825 1 raid456
raid6_pq 97140 2 async_pq,async_raid6_recov
async_tx 13350 5 raid456,async_pq,async_xor,async_memcpy,async_raid6_recov
raid0 17316 0
multipath 13146 0
linear 12895 0
vesafb 13846 1
raid1 35666 2
firewire_ohci 41034 0
firewire_core 64697 1 firewire_ohci
crc_itu_t 12708 1 firewire_core
floppy 70245 0
r8169 62705 0

root@n1:~# uname -a
Linux n1 3.5.0-36-generic #57~precise1-Ubuntu SMP Thu Jun 20 18:21:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

root@n1:~# apt-cache showpkg dvgrab
Package: dvgrab
Versions:
3.5-2 (/var/lib/apt/lists/cz.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-amd64_Packages) (/var/lib/dpkg/status)
 Description Language:
                 File: /var/lib/apt/lists/cz.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-amd64_Packages
                  MD5: 412c523a49f1311a15db4dfe32b2087c
 Description Language: en
                 File: /var/lib/apt/lists/cz.archive.ubuntu.com_ubuntu_dists_precise_universe_i18n_Translation-en
                  MD5: 412c523a49f1311a15db4dfe32b2087c

Reverse Depends:
  dvgrab:i386,dvgrab
  videoporama,dvgrab
  theorur,dvgrab
  stopmotion,dvgrab
  lives,dvgrab
  kdenlive,dvgrab
  dvsource,dvgrab
Dependencies:
3.5-2 - libavc1394-0 (2 0.5.3) libc6 (2 2.4) libdv4 (0 (null)) libgcc1 (2 1:4.1.1) libiec61883-0 (2 1.2.0) libjpeg8 (2 8c) libquicktime2 (2 2:1.2.2) libraw1394-11 (0 (null)) libstdc++6 (2 4.4.0) dvgrab:i386 (0 (null))
Provides:
3.5-2 -
Reverse Provides:

root@n1:~# lsb_release -rd
Description: Ubuntu 12.04.2 LTS
Release: 12.04

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1202780/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Nyyr (nyyr1)
affects: ubuntu → dvgrab (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.