kern/113785: dropouts when playing DV on firewire

Dieter freebsd at sopwith.solgatos.com
Sun Jun 17 01:50:02 UTC 2007


>Number:         113785
>Category:       kern
>Synopsis:       dropouts when playing DV on firewire
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 17 01:50:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dieter
>Release:        6.2
>Organization:
>Environment:
FreeBSD 6.2-RELEASE   amd64
>Description:
FreeBSD 6.2
AMD64
nforce4 ultra
VIA VT6307 firewire controller (onboard)
NEC uPD72871/2  firewire controller (on PCI card)
Canon DV camcorder

fwohci0: <VIA Fire II (VT6306)> port 0xa800-0xa87f mem 0xfdffe000-0xfdffe7ff irq 11 at device 6.0 on pci1
fwohci1: <NEC uPD72871/2> mem 0xfdeff000-0xfdefffff irq 12 at device 8.0 on pci2

Using the VIA controller, "fwcontrol -R" works okay.

But "fwcontrol -S" does not work correctly.  It plays for roughly 1.5 seconds, then
both the audio and video drop out for a moment.  This repeats over and over at
regular intervals.  No error messages appear in dmesg or syslog.  Perhaps a flow
control or buffering problem causing the camcorder to run out of data?

Using the NEC firewire controller, it acts the same as the VIA controller if the
camcorder is powered up with FreeBSD already running.  If I reboot FreeBSD, and
power up the camcorder while FreeBSD is not running (e.g. firmware or boot loader),
then "fwcontrol -S" works fine.  This workaround does not work with the VIA controller.

Leaving the camcorder on and rebooting FreeBSD does not change anything,  If it was
working it remains working, if it was not working it remains not working.

"fwcontrol -r" does not help.

There must be something different sent to the camera when "hot plugging" (actually
just powering up, not plugging/unplugging) verses booting.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list