Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jun 2009 21:25:39 -0400
From:      "Joe A." <freebsd@chthonic.com>
To:        freebsd-firewire@freebsd.org
Subject:   Failure to pull DV from Panasonic PV-GS320
Message-ID:  <20090608012539.GA1964@panix.com>

next in thread | raw e-mail | index | archive | help

[NB: I am not subscribed to the list; please Cc: me. Thanks]


Greetings...

In September 2008, I was able to do this on FreeBSD 7.0:

fwcontrol -R mini.dv

I'd see this:

Detected DV format on input.
(EAGAIN) - push 'Play'?
(EAGAIN) - push 'Play'?
NTSC
012345678901234567890123456789
<snip>

and eventually obtain a dv file named mini.dv.

At that time, and now, I used a VIA VT6306. However, it now fails:

fwcontrol -R mini.dv
fwcontrol: detect_recv_fn: ioctl FW_SSTBUF: Bad file descriptor

And I am unable to retrieve the DV from the tape.

Grasping at straws, I tried this:
   sysctl hw.firewire.try_bmr=0
   fwcontrol -r

No joy; failures continued. As far as I know, the only thing different
is the upgrade to 7.1 that I had to undertake, due to EOL of 7.0.

Is this a problem, known or new, or PEBKAC?

I have this on the motherboard; but it also fails:

fwohci0@pci0:2:1:0:     class=0x0c0010 card=0x2a36103c chip=0x581111c1
rev=0x70 hdr=0x00
    vendor     = 'Lucent/Agere Systems (Was: AT&T MicroElectronics)'
    device     = 'FW322 1394A PCI PHY/Link Open Host Ctrlr I/F'
    class      = serial bus
    subclass   = FireWire

As of June 7, I see these:

fwcontrol -t
crc_len: 4 generation:5 node_count:2 sid_count:2
id link gap_cnt speed delay cIRM power port0 port1 port2 ini more
00    1      44  S400     0    1    0W     P     -         0    0
01    1      44  S100     0    1    0W     C               1    0

fwcontrol -c 0
first quad: 0x04327a95 info_len=4 crc_len=50 crc=0x7a95(OK)
bus_name: 0x31333934
irmc:1 cmc:1 isc:1 bmc:1 pmc:0
cyc_clk_acc:100 max_rec:10 max_rom:0
generation:3 link_spd:2
EUI64: 00-11-d8-00-00-e9-3b-e5
root_directory: len=0x0006(6) crc=0x8a3e(OK)
0c(I:0c) 0083c0 node_capabilities:
03(I:03) acde48 module_vendor_ID:
81(L:01) 000004 text_leaf: len=7 crc=0x82ed(OK) FreeBSD Project
04(I:04) 0ab248 hardware_version:
81(L:01) 00000a text_leaf: len=9 crc=0xd5f4(OK)
d1(D:11) 000013 unit_directory: len=8 crc=0x83a4(OK)
        12(I:12) acde48 unit_spec_ID:
        81(L:01) 000007 text_leaf: len=5 crc=0xec03(OK) FreeBSD
        13(I:13) 64636f unit_sw_version:
        81(L:01) 00000b text_leaf: len=5 crc=0xc6ec(OK) dcons
        3a(I:3a) 000001 unit_characteristics:
        3b(I:3b) 264000 command_set_revision:
        3c(I:3c) 000000 firmware_revision:
        3d(I:3d) 8cf740 reconnect_timeout:

fwcontrol -c 1
first quad: 0x0404d64e info_len=4 crc_len=4 crc=0xd64e(OK)
bus_name: 0x31333934
irmc:1 cmc:1 isc:1 bmc:0 pmc:0
cyc_clk_acc:100 max_rec:4 max_rom:0
generation:0 link_spd:0
EUI64: 00-80-45-80-11-94-f5-f6
root_directory: len=0x0007(7) crc=0x0270(OK)
03(I:03) 008045 module_vendor_ID:
81(L:01) 00000b text_leaf: len=5 crc=0x508c(OK) Panasonic
17(I:17) 803337 model_ID:
81(L:01) 000012 text_leaf: len=5 crc=0x483a(OK) PV-GS320
0c(I:0c) 0083c0 node_capabilities:
8d(L:0d) 00000d unknown: len=2 crc=0x0a3f(OK)
d1(D:11) 000001 unit_directory: len=4 crc=0x1f4e(OK)
        12(I:12) 00a02d unit_spec_ID:
        13(I:13) 010001 unit_sw_version: AV/C
        17(I:17) 803337 model_ID:
        81(L:01) 00000a text_leaf: len=5 crc=0x483a(OK) PV-GS320

>From pre-September 2008, as I was learning to manipulate the DV
camera:

fwcontrol -t
crc_len: 3 generation:1 node_count:1 sid_count:1
id link gap_cnt speed delay cIRM power port0 port1 port2 ini more
00    1      63  S400     0    1   15W     -     -     -   1    0

fwcontrol -c 0
first quad: 0x04167e69 info_len=4 crc_len=22 crc=0x7e69(OK)
bus_name: 0x31333934
irmc:1 cmc:1 isc:1 bmc:1 pmc:0
cyc_clk_acc:100 max_rec:10 max_rom:0
generation:2 link_spd:2
EUI64: 00-11-06-66-00-00-03-12
root_directory: len=0x0005(5) crc=0xf64b(OK)
0c(I:0c) 0083c0 node_capabilities: 
03(I:03) acde48 module_vendor_ID: 
81(L:01) 000003 text_leaf: len=7 crc=0x82ed(OK) FreeBSD Project
04(I:04) 093378 hardware_version: 
81(L:01) 000009 text_leaf: len=3 crc=0x0000(OK) 

>From dmesg about the firewire card:

fwohci0: <VIA Fire II (VT6306)> port 0xa000-0xa07f mem
0xfa010000-0xfa0107ff irq 7 at device 2.0 on pci2
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:11:06:66:00:00:03:12
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090608012539.GA1964>