From owner-freebsd-firewire@FreeBSD.ORG Tue Oct 31 16:55:59 2006 Return-Path: X-Original-To: freebsd-firewire@freebsd.org Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F7BD16A403 for ; Tue, 31 Oct 2006 16:55:59 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95C9C43D58 for ; Tue, 31 Oct 2006 16:55:58 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id k9VGtt5q093963 for ; Tue, 31 Oct 2006 10:55:56 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <4547801F.3010607@centtech.com> Date: Tue, 31 Oct 2006 10:55:59 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.7 (X11/20061015) MIME-Version: 1.0 To: freebsd-firewire@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2133/Tue Oct 31 04:42:29 2006 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Subject: Still no luck with firewire and dv camera (Sony) 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: Tue, 31 Oct 2006 16:55:59 -0000 I'm not able to capture any video from my dv camera using FreeBSD. It works fine with Windows. Here's some info: FreeBSD 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #37: Tue Oct 31 09:40:27 CST 2006 i386 # fwcontrol 2 devices (info_len=2) node EUI64 status 1 39-4f-c0-00-2f-74-e9-21 0 0 08-00-46-01-02-f2-57-49 1 # 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 63 S100 0 1 0W P 1 0 01 1 63 S400 0 1 0W C - 0 0 # fwcontrol -p === base register === 0x07 0x3f 0xe2 0x40 0xc0 0x03 0x00 0x00 Physical_ID:1 R:1 CPS:1 RHB:0 IBR:0 Gap_Count:63 Extended:7 Num_Ports:2 PHY_Speed:2 Delay:0 LCtrl:1 C:1 Jitter:0 Pwr_Class:0 WDIE:0 ISBR:0 CTOI:0 CPSI:0 STOI:0 PEI:0 EAA:1 EMC:1 Max_Legacy_SPD:0 BLINK:0 Bridge:0 Page_Select:0 Port_Select0 === page 0 port 0 === 0xfe 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Astat:3 BStat:3 Ch:1 Con:1 RXOK:1 Dis:0 Negotiated_speed:0 PIE:0 Fault:0 Stanby_fault:0 Disscrm:0 B_Only:0 DC_connected:0 Max_port_speed:0 LPP:0 Cable_speed:0 Connection_unreliable:0 Beta_mode:0 Port_error:0x0 Loop_disable:0 In_standby:0 Hard_disable:0 === page 0 port 1 === 0xf8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Astat:3 BStat:3 Ch:1 Con:0 RXOK:0 Dis:0 Negotiated_speed:0 PIE:0 Fault:0 Stanby_fault:0 Disscrm:0 B_Only:0 DC_connected:0 Max_port_speed:0 LPP:0 Cable_speed:0 Connection_unreliable:0 Beta_mode:0 Port_error:0x0 Loop_disable:0 In_standby:0 Hard_disable:0 === page 1 === 0x01 0x00 0x00 0x0c 0xc2 0x40 0x11 0x04 Compliance:1 Vendor_ID:0x000cc2 Product_ID:0x401104 This is a Sony DCR-PC101 camera. Turning on the camera: Oct 31 10:26:54 neutrino kernel: fwohci0: BUS reset Oct 31 10:26:54 neutrino kernel: fwohci0: node_id=0xc800ffc1, gen=2, CYCLEMASTER mode Oct 31 10:26:54 neutrino kernel: firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) Oct 31 10:26:54 neutrino kernel: firewire0: bus manager 1 (me) Oct 31 10:26:54 neutrino kernel: firewire0: New S100 device ID:0800460102f25749 # fwcontrol -R outfile.dv fwcontrol: read failed: Input/output error which gives me this in my logs: Oct 31 10:30:03 neutrino kernel: fwohci0: Isochronous receive err 8402(long) So I tried: # sysctl hw.firewire.try_bmr=0 hw.firewire.try_bmr: 1 -> 0 # fwcontrol -r And I see this: Oct 31 10:50:18 neutrino kernel: fwohci0: Initiate bus reset Oct 31 10:50:18 neutrino kernel: fwohci0: BUS reset Oct 31 10:50:18 neutrino kernel: fwohci0: node_id=0xc800ffc1, gen=3, CYCLEMASTER mode Oct 31 10:50:18 neutrino kernel: firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) Oct 31 10:50:18 neutrino kernel: fw_rcv: unknown response RRESQ(6) src=0xffc0 tl=0x24 rt=1 data=0x0 Oct 31 10:50:18 neutrino kernel: try ad-hoc work around!! Oct 31 10:50:18 neutrino kernel: no use... Then: # fwcontrol -R outfile.dv NTSC 0fwcontrol: unknown format 0xd Oct 31 10:51:10 neutrino kernel: fwohci0: Isochronous receive err 8402(long) # fwcontrol -R outfile.dv NTSC 0fwcontrol: unknown format 0x3f # fwcontrol -R outfile.dv NTSC 01fwcontrol: unknown format 0x39 # fwcontrol -R outfile.dv NTSC 0fwcontrol: unknown format 0x3c # fwcontrol -R outfile.dv NTSC 01fwcontrol: unknown format 0x3f Nothing seems to work.. Any ideas? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------