Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2009 15:10:18 +0200
From:      =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= <faust64@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD & FireWire
Message-ID:  <ce5f79aa0906290610o248f2d97q88e2d04ebb656f3d@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all !

I'm trying to read from two firewire DV cameras.

calling fwcontrol without arguments shows me three elements.
except EUI64 field, every datas (node, ...) change when I plug in or out a
device.

when I'm trying to read from my cameras' streams (using fwcontrol), I alway=
s
get the same stream, which is the one of the last camera I pluged in.

Reading the sources, I noticed you can specify your source in fwcontrol,
using option 'u'.
this option makes an strtol on the following argument, and uses it back to
open "/dev/fw%d.0"

so I looked my /dev, and all I got is fw0, fw0.0, fwmem0, fwmem-0.0
fw0 and wfmem0 are respectives links to fw0.0 and fwmem0.0

so, whatever i could ask, i'll always get the same source camera.

When there already is a plugged firewire device, I can plug in or out other=
s
FW devices, without affecting my /dev.


How can I do to get all my FW devices associed to a file in /dev?


Thanks for your help.
Sorry for my english.


Samuel Mart=EDn Moro
CamTrace
{EPITECH.} tek3



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ce5f79aa0906290610o248f2d97q88e2d04ebb656f3d>