From owner-freebsd-firewire@FreeBSD.ORG Thu Sep 3 19:25:12 2009 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B95531065670 for ; Thu, 3 Sep 2009 19:25:12 +0000 (UTC) (envelope-from Gabor@Zahemszky.HU) Received: from relay02.digicable.hu (relay02.digicable.hu [92.249.128.188]) by mx1.freebsd.org (Postfix) with ESMTP id 4DD4C8FC08 for ; Thu, 3 Sep 2009 19:25:12 +0000 (UTC) Received: from [94.21.14.83] (helo=Picasso.Zahemszky.HU) by relay02.digicable.hu with esmtpa id 1MjHGl-0005Kb-0C for ; Thu, 03 Sep 2009 20:42:51 +0200 Date: Thu, 3 Sep 2009 20:42:50 +0200 From: Zahemszky =?ISO-8859-2?Q?G=E1bor?= To: freebsd-firewire@freebsd.org Message-ID: <20090903204250.765c7bca@Picasso.Zahemszky.HU> Organization: Zahemszky Bt. X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable X-Original: 94.21.14.83 Subject: connecting FreeBSD 7 to a DVD-recorder on FW X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 19:25:12 -0000 Hi! I've got some DV files (grabbed from a Pana-camera, with iMovie - from iLife - on a Mac). In my laptop I have an PCMCIA based FW-card, so I'd like to transfer these files to my DVD-recorder's disk, which has DV-IN connector on it. I connected my machine with a DV-cable to my recorder, set up the recorder to use the DV connector as a source, and tried the "fwcontrol -S myfile.dv" command. fwcontrol printed numbers 1234... and so on, and after about a minute, (it was the length of the DV-file) it stopped. But the dvd-recorder didn't see any data on the DV-IN line. So after it, I tried fwcontrol -r, fwcontrol -t, tried to ask the configuration with -c 0, -c 1, but it wasn't good. So some questions: - what does the information mean in an "fwcontrol -t" output? Eg, like this one in the laptop: nothing plugged in it: crc_len: 3 generation:3 node_count:1 sid_count:1 id link gap_cnt speed delay cIRM power port0 port1 port2 ini more 00 1 5 S400 0 1 -1W - - 1 0 plugged the cable into one of the ports: crc_len: 4 generation:9 node_count:2 sid_count:2 id link gap_cnt speed delay cIRM power port0 port1 port2 ini more 00 1 5 S100 0 1 0W - P 0 0 01 1 5 S400 0 1 -1W - C 1 0 When I plugged the cable on the other connector of my FW-card, the C went from port1 to port0: crc_len: 4 generation:14 node_count:2 sid_count:2 id link gap_cnt speed delay cIRM power port0 port1 port2 ini more 00 1 5 S100 0 1 0W - P 0 0 01 1 5 S400 0 1 -1W C - 1 0 And this one is from my other machine, with a built-in FW-controller, with only one connector, and without a cable plugged in it: crc_len: 3 generation:2 node_count:1 sid_count:1 id link gap_cnt speed delay cIRM power port0 port1 port2 ini more 00 1 5 S400 0 1 -1W - - 1 0 So what do these pieces of information mean? What are node names - I need them to the -c or -d, or to some other options? Where can I see them? How can I know, that my machine sees the DVD-recorder on the link, or what can I do, if it doesn't see? Thanks, G=E1bor < Gabor at Zahemszky dot HU > --=20 #!/bin/ksh Z=3D'21N16I25C25E30, 40M30E33E25T15U!'; IFS=3D' ABCDEFGHIJKLMNOPQRSTUVWXYZ '; set -- $Z;for i;{ [[ $i =3D ? ]]&&print $i&&break; [[ $i =3D ??? ]]&&j=3D$i&&i=3D${i%?}; typeset -i40 i=3D8#$i;print -n ${i#???}; [[ "$j" =3D ??? ]]&&print -n "${j#??} "&&j=3D;typeset +i i;}; IFS=3D' 0123456789 ';set -- $Z;for i;{ [[ $i =3D , ]]&&i=3D2; [[ $i =3D ?? ]]||typeset -l i;j=3D"$j $i";typeset +l i;};print "$j"