I am using the CVS version, from January 19th 2004. The camera I'm using, a pointgrey firefly, requires the CVS libdc.
--- Dan Dennedy <dan@...> wrote:
Are you using the CVS version of libdc1394? If not, what version?
On Thu, 2004-01-22 at 15:38, Andrew Roth wrote:
> Hi, I'm having problems getting DMA to work. I get:
> (dc1394_capture.c) opened video1394 device /dev/video1394v3
> (dc1394_capture.c) VIDEO1394_IOC_LISTEN_CHANNEL ioctl failed!
> Request or argp is not valid.
> unable to setup camera- check line 430 of dc1394_multiview.c to make sure
> that the video mode,framerate and format are supported
> : Invalid argument
> is one supported by your camera
> [root@... examples]#
> I'm pretty sure my device and mode are correct because I can grab images in non-DMA mode.
> I think it might be related to this thread: http://sourceforge.net/mailarchive/message.php?msg_id=6814185. In specific, I noticed "I dont mean that far backwards. A kernel as recent as 2.4.20 would not be compatible any longer after applying this patch." (http://sourceforge.net/mailarchive/message.php?msg_id=6816531)
> I'm using Red Hat 9 which I've kept updated with the Red Hat Update Agent:
> Linux version 2.4.20-8 (bhcompile@...) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5))
> Am I getting this because of the kernel version? Any ideas on how I can fix it?
> -Andrew Roth
Sluggy.Net: The Sluggy Freelance Community!
On Thu, 2004-01-22 at 17:27, Andrew Roth wrote:
> I am using the CVS version, from January 19th 2004. The camera I'm
> using, a pointgrey firefly, requires the CVS libdc.
The CVS version and next release of libdc1394 require kernel 2.4.21+.
This is due to an interface change on video1394. The timing was chosen
for now due to the kernel 2.6 release, which requires it. Fortunately,
the change is also compatible the past four 2.4 releases!
If it is not possible for you to upgrade kernel, then use the current
release of libdc1394. If you need the newer version of libdc1394, then
just replace the libdc1394/kernel-video1394.h with the one in the
current release tarball and recompile.