Something broke :-( Re: fwcontrol update
Dieter
freebsd at sopwith.solgatos.com
Wed Aug 20 23:56:13 UTC 2008
>> So, is you camera working perfectly at this time? I.e. with old
>> fwcontrol, everything is fine? My concern was that somehow we had
>> triggered a bit in the firewire hardware(most likely the camera) that
>> caused you camera to be non-functional.
>
> I think the camera itself is working.
>
> I think the NEC fw controller in the FreeBSD box is slightly messed up,
> resulting in lots of bus resets when the camera sends DV data.
>
> I'll try the VIA fw controller and see if -R works. If it works,
> then we know the camera is fine. Unfortunately I don't know if
> -R ever worked with the VIA. -S definitely doesn't work properly
> with VIA. I haven't been able to get the VIA to go into
> "non CYCLEMASTER mode", even using the -f option that works with
> the NEC.
I moved the cable from the NEC port (bus 1) to the VIA port (bus 0)
# fwcontrol -u 0 -f 0
send phy_config root_node=0 gap_count=-1
console says: nothing
# fwcontrol -u 0 -r
console says:
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc1, gen=5, CYCLEMASTER mode <-- should be non-CYCLEMASTER mode? :-(
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
firewire0: bus manager 1 (me)
# fwcontrol -u 0 -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 5 S100 0 1 0W - P 0 0
01 1 5 S400 0 1 15W - C 1 0
# fwcontrol -u 0 -R camera.dv
Detected DV format on input.
NTSC
012345678901234567890123456789
012345678901234567890123456789
012345678901234567890123456789
console says: nothing
I then powered down the camera, moved the cable back to the
NEC port, powered up, put the NEC into non-CYCLEMASTER mode,
ran fwcontrol -S and the DV file played fine. So: the camera
itself works fine, and the VIA controller can do -R even in
CYCLEMASTER mode.
So I'm back to my theory that the NEC controller is slightly unhappy.
But what I'd really like, is a way to get the onboard VIA VT6307 controller
to do fwcontrol -S correctly. The NEC controller card is using up a slot
I need for other things.
More information about the freebsd-firewire
mailing list