dvgrab Error:no DV with Panasonic NV-MX500EG

Bug #313009 reported by mbeili
6
Affects Status Importance Assigned to Milestone
dvgrab (Ubuntu)
Fix Released
Undecided
Unassigned
Declined for Gutsy by Luca Falavigna
Nominated for Hardy by mbeili
Nominated for Intrepid by mbeili
Nominated for Jaunty by mbeili

Bug Description

Binary package hint: dvgrab

Hello Maintainer,

while using my Panasonic DV Camera NV-MX-500EG I got trouble doing a capture with dvgrab.
The version is:

apt-cache policy dvgrab
dvgrab:
  Installiert: 3.1-2
  Kandidat: 3.1-2
  Versions-Tabelle:
 *** 3.1-2 0
        500 cdrom://Ubuntu-Studio 8.10 _Intrepid Ibex_ - Release i386 (20081028) intrepid/universe Packages
        500 http://de.archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status

The command does not start the playback on the camera to do an capture.
Here is the output:

 dvgrab -f dv1 test-1-
send oops
send oops
send oops
send oops
send oops
send oops
rom1394_0 warning: read failed: 0x0000fffff000040c
Found AV/C device with GUID 0x2800c5bf1117b97c
Warning: Cannot set RR-scheduler
Warning: Cannot disable swapping
send oops
send oops
"" 0.00 MiB 0 frames
Capture Stopped
Error: no DV

I have crosschecked with a NV-GS400. With the NV-GS400 capture works.

In the past with older version it works fine. I tried dynebolic 2.5.2 and it works fine.
Here some info about the versions that dynebolic use:
dvcont version 0.4
dvgrab version 3.0
libavc1394 version 0.3.0

Linux dyne-000D60E83DCC 2.6.18-ck1-dyne #7 SMP Sat Oct 13 01:16:05 UTC 2007 i686 pentium4 i386 GNU/Linux

The av/c works fine using gscanbus from Ubuntu 8.10.
I also compiled and tried today the version 3.2 of dvgrab from Ubuntu 9.04 with the same bad result.

Here the output from testlibraw:

mathias2@ibm:~/libavc1394/dyne$ testlibraw
successfully got handle
current generation number: 1
1 card(s) found
  nodes on bus: 1, card name: ohci1394
using first card found: 1 nodes on bus, local ID is 0, IRM is 0

doing transactions with custom tag handler
trying to send read request to node 0... completed with value 0xd8fb8916

using standard tag handler and synchronous calls
trying to read from node 0... completed with value 0x6d228a16

testing FCP monitoring on local node
got fcp command from node 0 of 8 bytes: 01 23 45 67 89 ab cd ef
got fcp response from node 0 of 8 bytes: 01 23 45 67 89 ab cd ef
testing config rom stuff
get_config_rom returned 0, romsize 64, rom_version 4
here are the first 10 quadlets:
0. quadlet: 0x8a020404
1. quadlet: 0x34393331
2. quadlet: 0x32a264e0
3. quadlet: 0x014c0000
4. quadlet: 0x36000000
5. quadlet: 0x32c90300
6. quadlet: 0x4c000003
7. quadlet: 0x02000081
8. quadlet: 0xc083000c
9. quadlet: 0x2a2c0600
update_config_rom returned 0

polling for leftover messages
mathias2@ibm:~/libavc1394/dyne$

and from gscanbus:
SelfID Info
-----------
Physical ID: 0
Link active: Yes
Gap Count: 63
PHY Speed: S100
PHY Delay: <=144ns
IRM Capable: Yes
Power Class: None
Port 0: Connected to parent node
Init. reset: No

CSR ROM Info
------------
GUID: 0x008045801117B97C
Node Capabilities: 0x000083C0
Vendor ID: 0x00008045
Unit Spec ID: 0x0000A02D
Unit SW Version: 0x00010001
Model ID: 0x00000000
Nr. Textual Leafes: 1

Vendor: MATSUSHITA ELECTRIC IND. CO
Textual Leafes:
Panasonic

AV/C Subunits
-------------
Tape Recorder: 1
Video Camera: 1
Vendor Unique: 1

Here output from lspci:

mathias2@ibm:~/libavc1394$ lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
03:09.0 FireWire (IEEE 1394): NEC Corporation uPD72874 IEEE1394 OHCI 1.1 3-port PHY-Link Ctrlr (rev 01)
03:0a.0 Multimedia controller: Philips Semiconductors SAA7134/SAA7135HL Video Broadcast Decoder (rev 01)
03:0b.0 Ethernet controller: Intel Corporation 82541EI Gigabit Ethernet Controller

I hope we will find the bug.
If you need more Information please feel free to contact me by email.

Happy new year!!

from Berlin/Germany
mbeili

Revision history for this message
Stefan Richter (stefan-r-ubz) wrote :

Report at upstream dvgrab:
https://sourceforge.net/tracker/index.php?func=detail&aid=2492640&group_id=14103&atid=114103

Status so far:
linux-image-2.6.18-6-686_2.6.18.dfsg.1-23etch1_i386.deb works while Ubuntu 2.6.27-9.19-generic doesn't.

Revision history for this message
mbeili (mbeili) wrote :

This bug can be fixed with the patch Stefan wrote at:

http://marc.info/?l=linux1394-devel&m=123247508317615

Please insert the patch in the next Ubuntu Kernel Release on all versions starting from Kernels later than 2.6.18.

It greatly improves working with camcorders (such as Panasonic sells)

mbeili

Changed in dvgrab:
status: New → Fix Committed
Revision history for this message
Stefan Richter (stefan-r-ubz) wrote :

I agree with mbeili.

FYI, the patch is currently staged in kernel.org's linux1394-2.6.git's fixes branch. I will push this for 2.6.29-rc circa in a week or so together with some unrelated updates, and after that propose it for inclusion into kernel.org's 2.6.28.y and 2.6.27.y. You may want to pull the patch into your kernels earlier than that.

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

Stefan, is this issue fixed in the latest Ubuntu release?

Revision history for this message
Stefan Richter (stefan-r-ubz) wrote :

The patch mentioned in comment #2 has been merged in mainline kernels 2.6.29, 2.6.28.5, and 2.6.27.16. I.e. it's fixed in Karmic. Do you know whether those 2.6.x.y updates went into Jaunty and Intrepid kernel packages?

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

Search for OHCI1394 in the following changelogs:
http://changelogs.ubuntu.com/changelogs/pool/main/l/linux/linux_2.6.28-15.49/changelog
and
http://changelogs.ubuntu.com/changelogs/pool/main/l/linux/linux_2.6.27-14.39/changelog

You'll see that the patch is in the latest kernels for Jaunty and Intrepid...

I'm closing this bug as fix released

Changed in dvgrab (Ubuntu):
status: Fix Committed → Fix Released
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.