Still no luck with firewire and dv camera (Sony)
Eric Anderson
anderson at centtech.com
Tue Nov 7 17:35:06 UTC 2006
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
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------
More information about the freebsd-firewire
mailing list