Re: connecting FreeBSD 7 to a DVD-recorder on FW
Zahemszky Gábor <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.firewire |
|---|---|
| Organization | Zahemszky Bt. |
| Message-ID | <[email protected]> |
Hi! Thanks for your answer. Thu, 03 Sep 2009 15:50:36 -0700 -n Sean Bruno <[email protected]> írta: > On Thu, 2009-09-03 at 20:42 +0200, Zahemszky Gábor wrote: > > 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. > > Can you point me to the model/make of the DVD recorder? It's a German, UMax-build "Yamada DVR-9300HX HDD and DVD-recorder" machine. > It looks like > you connected your DVD recorder to your FreeBSD machine. If that is > the case, can you check your system dmesg when you plug in the DVD > recorder? Here you are. I plugged my PCMCIA FW-card, connected the cable, switched on the DVR, switched off and switched on again. === drm0: [ITHREAD] cardbus0: Expecting link target, got 0xff fwohci0: <NEC uPD72873> mem 0xe4205000-0xe4205fff,0xe4206000-0xe42060ff,0xe4207000-0xe42070ff irq 18 at device 0.0 on cardbus0 fwohci0: [FILTER] fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:00:00:00:00:00:00:00 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: <IEEE1394(FireWire) bus> on fwohci0 fwe0: <Ethernet over FireWire> on firewire0 if_fwe0: Fake Ethernet address: 02:00:00:00:00:00 fwe0: Ethernet address: 02:00:00:00:00:00 fwip0: <IP over FireWire> on firewire0 fwip0: Firewire address: 00:00:00:00:00:00:00:00 @ 0xfffe00000000, S400, maxrec 2048 sbp0: <SBP-2/SCSI over FireWire> on firewire0 dcons_crom0: <dcons configuration ROM> on firewire0 dcons_crom0: bus_addr 0x7db04000 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) cardbus0: Expecting link target, got 0xff fwohci0: BUS reset fwohci0: node_id=0xc000ffc1, gen=2, CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire0: bus manager 1 (me) fwohci0: BUS reset fwohci0: node_id=0x8000ffc0, gen=3, non CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 fwohci0: BUS reset fwohci0: node_id=0xc000ffc1, gen=4, CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire0: bus manager 1 (me) Unknown service addr 0xffff:0xf0000900 RREQQ(4) src=0xffc0 data=1d051284 firewire0: New S100 device ID:000e3a0000000000 fwohci0: BUS reset fwohci0: node_id=0xc000ffc1, gen=5, CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire0: bus manager 1 (me) Unknown service addr 0xffff:0xf0000900 RREQQ(4) src=0xffc0 data=af141284 fwohci0: BUS reset fwohci0: node_id=0xc000ffc1, gen=6, CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire0: bus manager 1 (me) Unknown service addr 0xffff:0xf0000900 RREQQ(4) src=0xffc0 data=25201284 bge0: link state changed to UP cpu0: Cx states changed fwohci0: BUS reset fwohci0: node_id=0xc000ffc0, gen=7, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) acpi_tz0: _CRT value is absurd, ignored (256.0C) acpi_tz0: _CRT value is absurd, ignored (256.0C) fwohci0: BUS reset fwohci0: node_id=0x8000ffc0, gen=8, non CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 0 (me) firewire0: root node is not cycle master capable firewire0: bus manager 0 (me) fwohci0: too many cycle lost, no cycle master presents? fwohci0: BUS reset fwohci0: node_id=0xc000ffc1, gen=9, CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire0: bus manager 1 (me) fwohci0: BUS reset fwohci0: node_id=0xc000ffc1, gen=10, CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire0: bus manager 1 (me) Unknown service addr 0xffff:0xf0000900 RREQQ(4) src=0xffc0 data=63c41284 fwohci0: BUS reset fwohci0: node_id=0xc000ffc1, gen=11, CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire0: bus manager 1 (me) Unknown service addr 0xffff:0xf0000900 RREQQ(4) src=0xffc0 data=f6d31284 fwohci0: BUS reset fwohci0: node_id=0xc000ffc1, gen=12, CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire0: bus manager 1 (me) Unknown service addr 0xffff:0xf0000900 RREQQ(4) src=0xffc0 data=acde1284 acpi_tz0: _CRT value is absurd, ignored (256.0C) fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc000ffc1, gen=13, CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire0: bus manager 1 (me) Unknown service addr 0xffff:0xf0000900 RREQQ(4) src=0xffc0 data=bf201284 acpi_tz0: _CRT value is absurd, ignored (256.0C) === And the output of fwcontrol -r -t: $ fwcontrol -r -t crc_len: 4 generation:17 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 $ === > > - what does the information mean in an "fwcontrol -t" output? Eg, > > like > > fwcontrol -t is the "topology map" it lists information about > speeds(S400/S800), connections and IDs. The man page for fwcontrol > explains a lot of this. I have this information about it (a 7.X-machine with csup-ped and built yesterday): -t Show the topology map. And no other information. So I don't know, what the flags C or P in the port-column means, and I didn't know (now, I know it), that the ID (with 2 numbers) are the same, that the node. It's OK. But: > The node "name" is the "id" field from fwcontrol -t. It's a number, > like 0, 1 or 2 My problem is: after the previous fwcontrol output (which showed me, that I have a node with ID: 00 and another node with ID: 01, I cannot ask anything from these nodes: # fwcontrol -n 0 fwcontrol: no such node 0. # fwcontrol -c 1 fwcontrol: no such node 1. # fwcontrol -c 00 fwcontrol: no such node 0. # fwcontrol -c 01 fwcontrol: no such node 1. ???? > I am worried about the "speed" of the unit that shows up as "S100". > That's the minimum speed, and with modern FW components usually means > that something failed in negotiation. Can I switch on some debugging (only) about the FW? > I know of one bug (fixed in version > 8.0) that will show up IF an (I hope, I can switch to 8.0 in one ot two month.) > S800 capable device is connected to a S400 device via one of it's > S800 ports. If you can connect both ends to S400 ports, it would work > around that problem. I don't think, this is my problem, as tt (the DVR) has only one FW-connector port. (I didn't find any information about it's HW - is it an S400- or an S800-capable machine.) Thanks, Zahy < Gabor at Zahemszky dot HU > -- #!/bin/ksh Z='21N16I25C25E30, 40M30E33E25T15U!'; IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ '; set -- $Z;for i;{ [[ $i = ? ]]&&print $i&&break; [[ $i = ??? ]]&&j=$i&&i=${i%?}; typeset -i40 i=8#$i;print -n ${i#???}; [[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;}; IFS=' 0123456789 ';set -- $Z;for i;{ [[ $i = , ]]&&i=2; [[ $i = ?? ]]||typeset -l i;j="$j $i";typeset +l i;};print "$j" _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-firewire To unsubscribe, send any mail to "[email protected]"