Something broke :-( Re: fwcontrol update

Dieter freebsd at sopwith.solgatos.com
Wed Aug 20 17:37:59 UTC 2008


> >>>>> I notice that it doesn't print every generation.
> >>>>> I notice that the node_id changes.
> >>>>>       
> >>>>>           
> >>>> This alarms me quite a bit.  I didn't think there was anyway for the 
> >>>> generation to change
> >>>> without the log message being spit out.  Interesting.
> >>>>     
> >>>>         
> >>> Perhaps there is some register on the controller chip that
> >>> affects receiving data but not sending it, and isn't getting
> >>> initialized.  Perhaps the controller chip thinks it is receiving
> >>> bad data, and flags an error or requests a bus reset?
> >>>
> >>> If the resets are happening faster than the printf can run,
> >>> maybe the data (generation number) changes underneath the printf,
> >>> much like ps/top don't get a pure snapshot?
> >>>   
> >>>       
> >> Hrm...First, let's try and get your camera working again.
> >>
> >> I would like you to try and connect your camera to a Mac, Linux or 
> >> Windows box and try to get it working again.
> >>     
> >
> > As far as I can tell the camera is working fine.
> >
> > For example I can send DV data *to* the camera over firewire and it
> > happily converts it to analog and ships it out s-video to the TV.
> >
> > And the data *from* the camera is recognized as DV:
> >
> > 	fwcontrol_prev -u 1 -R camera.dv
> > 	Detected DV format on input.
> > 	(EAGAIN)
> > 	(EAGAIN)
> > 	(EAGAIN)
> >
> > The camera was of course powered off while I tested the argument
> > range checks.  And I only ran tests that seemed safe.  I'm not
> > *completely* insane.
> >   
> 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.


More information about the freebsd-firewire mailing list