FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 01-11-2008, 08:21 AM
Hans de Goede
 
Default IDCC camera's & firewire juju stack

Hi All,

Thanks for all the help, I have it working now by building a 2.6.23 kernel with
the patchset from here applied:

http://me.in-berlin.de/~s5r6/linux1394/updates/

Then it works if I lower the number of buffer passed to dc1394_capture_setup()
to 2, after also applying this patch:

http://marc.info/?l=linux1394-devel&m=119965813322642 ?

This is no longer needed and even coriander (from cvs) works fine!

This is with a via vt6306 in OHCI 1.1 mode (which is the factory default for
this pci card), should the above patches be enough to also get it to work in
1.0 mode? If that is the case I can try flashing it to 1.0 mode and see if that
will also work.


Regards,

Hans


p.s.

Next step building libdc1394 and coriander packages for Fedora!

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-11-2008, 01:26 PM
Jarod Wilson
 
Default IDCC camera's & firewire juju stack

Stefan Richter wrote:
> Hans de Goede wrote:
>> Thanks for all the help, I have it working now by building a 2.6.23 kernel with
>> the patchset from here applied:
>> http://me.in-berlin.de/~s5r6/linux1394/updates/
>>
>> Then it works if I lower the number of buffer passed to dc1394_capture_setup()
>> to 2, after also applying this patch:
>> http://marc.info/?l=linux1394-devel&m=119965813322642 ?
>>
>> This is no longer needed and even coriander (from cvs) works fine!
>>
>> This is with a via vt6306 in OHCI 1.1 mode (which is the factory default for
>> this pci card), should the above patches be enough to also get it to work in
>> 1.0 mode? If that is the case I can try flashing it to 1.0 mode and see if that
>> will also work.

I can take care of testing on an VT6306 OHCI 1.0 controller, as well as a
VT6307 OHCI 1.0 controller. Just bumping to the latest linux1394 git code
wasn't enough to get dv capture working (via dvgrab) on one of my VT6307 1.0
controllers, but I'm about to give it a go with the addition of David's
dynamic buffer allocation patch.

> No, according to what several people saw with VT630x in OHCI 1.0 mode,
> there is still the bug that the DMA program stops after receiving one or
> a few frames. This is 100% reproducible with coriander + IIDC camera
> and dvgrab + DV camcorder.
> https://bugzilla.redhat.com/show_bug.cgi?id=415841
>
> As far as I understood, this presumably happens because the problem
> which David Moore addressed with "fw-ohci: Fix for dualbuffer
> three-or-more buffers" is also present but unfixed in the
> packet-per-buffer code.

I can probably get a similar fix added on top of the packet-per-buffer code
today, if it is indeed still needed.

--
Jarod Wilson
jwilson@redhat.com


--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-11-2008, 02:41 PM
Jarod Wilson
 
Default IDCC camera's & firewire juju stack

David Moore wrote:
> On Fri, 2008-01-11 at 10:44 +0100, Stefan Richter wrote:
>> No, according to what several people saw with VT630x in OHCI 1.0 mode,
>> there is still the bug that the DMA program stops after receiving one or
>> a few frames. This is 100% reproducible with coriander + IIDC camera
>> and dvgrab + DV camcorder.
>> https://bugzilla.redhat.com/show_bug.cgi?id=415841
>>
>> As far as I understood, this presumably happens because the problem
>> which David Moore addressed with "fw-ohci: Fix for dualbuffer
>> three-or-more buffers" is also present but unfixed in the
>> packet-per-buffer code.
>
> I thought I had fixed that in my "fw-ohci: Bug fixes for
> packet-per-buffer support" patch

That's what I was thinking/hoping, but...

> but maybe it's still not working perfectly yet.

...I still can't get more than 1 or 2 frames of dv w/the OHCI 1.0 VT6307 I'm
working with right now.

> I'm running out of ideas for why that still might not
> work so further testing or insights would be appreciated.

I'm rather short on ideas too. I was really hoping the dynamic buffer
allocation patch might help too, thinking maybe these cards were just
exhausting the buffer and getting wedged, but no dice.

Oh, I should also mention that I get some lockdep spew w/the dynamic buffer
alloc patch added to the mix... (will get that report over to you via
linux1394-devel though)

--
Jarod Wilson
jwilson@redhat.com


--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-11-2008, 04:21 PM
Jarod Wilson
 
Default IDCC camera's & firewire juju stack

Jarod Wilson wrote:
> David Moore wrote:
>> On Fri, 2008-01-11 at 10:44 +0100, Stefan Richter wrote:
>>> No, according to what several people saw with VT630x in OHCI 1.0 mode,
>>> there is still the bug that the DMA program stops after receiving one or
>>> a few frames. This is 100% reproducible with coriander + IIDC camera
>>> and dvgrab + DV camcorder.
>>> https://bugzilla.redhat.com/show_bug.cgi?id=415841
>>>
>>> As far as I understood, this presumably happens because the problem
>>> which David Moore addressed with "fw-ohci: Fix for dualbuffer
>>> three-or-more buffers" is also present but unfixed in the
>>> packet-per-buffer code.
>> I thought I had fixed that in my "fw-ohci: Bug fixes for
>> packet-per-buffer support" patch
>
> That's what I was thinking/hoping, but...
>
>> but maybe it's still not working perfectly yet.
>
> ...I still can't get more than 1 or 2 frames of dv w/the OHCI 1.0 VT6307 I'm
> working with right now.

On the positive side, I *do* have coriander displaying video from a Unibrain
Fire-i hooked to this same controller now, so the remaining problems appear to
be dv-specific.

--
Jarod Wilson
jwilson@redhat.com


--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 09:23 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org