From owner-freebsd-questions@FreeBSD.ORG Tue Sep 6 07:34:51 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14E5416A425 for ; Tue, 6 Sep 2005 07:34:51 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from aomailrelay01.atosorigin.es (aomailrelay01.atosorigin.es [195.76.254.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87F3543D46 for ; Tue, 6 Sep 2005 07:34:50 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from AOAV02.atosorigin.es ([172.24.0.163]) by aomailrelay01.atosorigin.es (iPlanet Messaging Server 5.2 HotFix 1.09 (built Jan 7 2003)) with ESMTP id for questions@freebsd.org; Tue, 06 Sep 2005 09:41:40 +0200 (Romance Daylight Time) Received: from mailmad05.es.int.atosorigin.com ([172.24.0.162]) by AOAV02 with trend_isnt_name_B; Tue, 06 Sep 2005 09:42:07 +0200 Received: from [172.24.8.84] (es-gmbhr1j.es.int.atosorigin.com [172.24.8.84]) by mailmad05.atosorigin.es (iPlanet Messaging Server 5.2 HotFix 1.26 (built Mar 31 2004)) with ESMTPA id for questions@freebsd.org; Tue, 06 Sep 2005 09:34:51 +0200 (Romance Daylight Time) Date: Tue, 06 Sep 2005 09:34:37 +0200 From: Erik Norgaard To: FreeBSD Questions Message-id: <431D468D.70308@locolomo.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050824) Cc: Subject: Digital Video/Firewire: missing link? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2005 07:34:51 -0000 Hi, After reading a lot of documentation it appeared that passing digital video would be easy, so I jumped in and bought a Canon MVX200. Now I have a missing link: Connecting via firewire to get the raw video. The camera has two modes: Play and Network, according to the manual network mode is for transfering DV via the firewire. I have tried in both modes to connect and transfer data both using fwcontrol and the tools installed with dvts, but it fails: fwcontrol: charm# fwcontrol -R test.dv (EAGAIN) (EAGAIN) fwcontrol: unknown format 0x2 charm# fwcontrol -R test.dv fwcontrol: read failed: Input/output error dvts tools: charm# dvrecv Found AV/C device Vendor: Canon Model: MVX200 total : -1 frames (0 Bytes) charm# dvconnect open video1394 device: No such file or directory charm# dvconnect -d /dev/fw0 mmap videobuffer: Invalid argument charm# dvconnect -d /dev/fw0.0 mmap videobuffer: Invalid argument charm# dvconnect -d /dev/fwmem0 VIDEO1394_LISTEN_CHANNEL: Invalid argument charm# dvconnect -d /dev/fwmem0.0 VIDEO1394_LISTEN_CHANNEL: Invalid argument charm# dvconnect -d /dev/fw0 I have tried to toggle hw.firewire.try_bmr as described in fwcontrol(8) but with no change. fwcontrol -r does not change anything either. What am I missing? Further, changing mode or reconnecting have caused panics. Thanks! Erik System: FreeBSD 6.0-BETA3 #1: Sun Sep 4 20:05:40 CEST 2005 Kernel config: device scbus # SCSI bus (required for SCSI) device da # Direct Access (disks) device pass # Passthrough device (direct SCSI access) device firewire # FireWire bus code device sbp # SCSI over FireWire (Requires scbus and da) device fwe # Ethernet over FireWire (non-standard!) dmesg: fwohci0: mem 0xe5800000-0xe58007ff irq 11 at device 10.2 on pci0 fwohci0: [GIANT-LOCKED] fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:e0:18:00:03:09:43:39 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 sbp0: on firewire0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:e0:18:09:43:39 fwe0: Ethernet address: 02:e0:18:09:43:39 fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) Attaching MVX200 in play or network mode: fwohci0: BUS reset fwohci0: node_id=0x8800ffc0, gen=2, 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: txd err= 3 miss Ack err firewire0: bus_explore node=1 addr=0x400 resp=22 retry=1 fwohci0: txd err= 3 miss Ack err firewire0: bus_explore node=1 addr=0x400 resp=22 retry=2 fwohci0: txd err= 3 miss Ack err firewire0: bus_explore node=1 addr=0x400 resp=22 retry=3 fwohci0: txd err= 3 miss Ack err firewire0: bus_explore node=1 addr=0x400 resp=22 retry=4 firewire0: bus_explore failed for 1 nodes fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=3, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) fwohci0: BUS reset fwohci0: node_id=0x8800ffc0, gen=4, non CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 firewire0: bus manager 0 (me) firewire0: New S100 device ID:00008500009e1a7e -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72 Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9 ------------------------------------------------------------------ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. Este mensaje y los ficheros adjuntos pueden contener informacion confidencial destinada solamente a la(s) persona(s) mencionadas anteriormente. Pueden estar protegidos por secreto profesional Si usted recibe este correo electronico por error, gracias de informar inmediatamente al remitente y destruir el mensaje. Al no estar asegurada la integridad de este mensaje sobre la red, Atos Origin no se hace responsable por su contenido. Su contenido no constituye ningun compromiso para el grupo Atos Origin, salvo ratificacion escrita por ambas partes. Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor no puede garantizar nada al respecto y no sera responsable de cualesquiera danos que puedan resultar de una transmision de virus ------------------------------------------------------------------