Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2007 00:05:59 -0600
From:      Eric Anderson <anderson@centtech.com>
To:        freebsd-firewire@FreeBSD.org
Cc:        simokawa@FreeBSD.org
Subject:   Re: Still no luck with firewire and dv camera (Sony)
Message-ID:  <45A48247.8050400@centtech.com>
In-Reply-To: <4550C3BB.2050701@centtech.com>
References:  <4547801F.3010607@centtech.com> <4550C3BB.2050701@centtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Just tickling this thread again:

Now, with a totally new camera (Canon HV10 HDV camera), here's what I 
see when I attach the canon camera:

Jan  9 23:00:00 neutrino kernel: fwohci0: BUS reset
Jan  9 23:00:00 neutrino kernel: fwohci0: node_id=0xc800ffc1, gen=2, 
CYCLEMASTER mode
Jan  9 23:00:00 neutrino kernel: firewire0: 2 nodes, maxhop <= 1, cable 
IRM = 1 (me)
Jan  9 23:00:00 neutrino kernel: firewire0: bus manager 1 (me)
Jan  9 23:00:00 neutrino kernel: fwohci0: txd err= 3 miss Ack err
Jan  9 23:00:00 neutrino kernel: firewire0: bus_explore node=0 
addr=0x400 resp=22 retry=1
Jan  9 23:00:00 neutrino kernel: fwohci0: txd err= 3 miss Ack err
Jan  9 23:00:00 neutrino kernel: firewire0: bus_explore node=0 
addr=0x400 resp=22 retry=2
Jan  9 23:00:00 neutrino kernel: fwohci0: txd err= 3 miss Ack err
Jan  9 23:00:00 neutrino kernel: firewire0: bus_explore node=0 
addr=0x400 resp=22 retry=3
Jan  9 23:00:00 neutrino kernel: fwohci0: txd err= 3 miss Ack err
Jan  9 23:00:00 neutrino kernel: firewire0: bus_explore node=0 
addr=0x400 resp=22 retry=4
Jan  9 23:00:00 neutrino kernel: firewire0: bus_explore failed for 1 nodes
Jan  9 23:00:01 neutrino kernel: fwohci0: BUS reset
Jan  9 23:00:01 neutrino kernel: fwohci0: node_id=0xc800ffc0, gen=3, 
CYCLEMASTER mode
Jan  9 23:00:01 neutrino kernel: firewire0: 1 nodes, maxhop <= 0, cable 
IRM = 0 (me)
Jan  9 23:00:01 neutrino kernel: firewire0: bus manager 0 (me)
Jan  9 23:00:04 neutrino kernel: fwohci0: BUS reset
Jan  9 23:00:04 neutrino kernel: fwohci0: node_id=0xc800ffc1, gen=4, 
CYCLEMASTER mode
Jan  9 23:00:04 neutrino kernel: firewire0: 2 nodes, maxhop <= 1, cable 
IRM = 1 (me)
Jan  9 23:00:04 neutrino kernel: firewire0: bus manager 1 (me)
Jan  9 23:00:04 neutrino kernel: firewire0: New S100 device 
ID:0000850001269c51


Then when I try to capture:
[root@neutrino /tmp]# fwcontrol -R test.dv
NTSC
01(14 blocks padded)2(249 blocks padded)fwcontrol: unknown format 0x30
[root@neutrino /tmp]# fwcontrol -R test.dv
NTSC
0fwcontrol: unknown format 0x32
[root@neutrino /tmp]# fwcontrol -R test.dv
fwcontrol: read failed: Input/output error
[root@neutrino /tmp]# fwcontrol -R test.dv
NTSC
0fwcontrol: unknown format 0x34
[root@neutrino /tmp]# fwcontrol -R test.dv
fwcontrol: read failed: Input/output error
[root@neutrino /tmp]# fwcontrol -R test.dv
NTSC
01(20 blocks padded)fwcontrol: unknown format 0x1
[root@neutrino /tmp]# fwcontrol -R test.dv
NTSC
0fwcontrol: read failed: Input/output error
[root@neutrino /tmp]# fwcontrol -R test.dv
NTSC
012fwcontrol: unknown format 0xd
[root@neutrino /tmp]#

And I get a lot of these:

Jan 10 00:04:07 neutrino kernel: start IR DMA 0x40000002
Jan 10 00:04:07 neutrino kernel: fwohci0: Isochronous receive err 8402(long)


Anyone maintaining firewire?  If not, I wonder who could, or what is 
involved..

Eric




On 11/07/06 11:34, Eric Anderson wrote:
> A few questions:
> 
> 1. Is anyone able to use a Sony camera in this fashion?  What are the 
> steps you are taking (if so)?
> 
> 2. Is anyone maintaining this code anymore?
> 
> Eric
> 
> 
> On 10/31/06 10:55, Eric Anderson wrote:
>> 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
An undefined problem has an infinite number of solutions.
------------------------------------------------------------------------



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