From owner-freebsd-questions@FreeBSD.ORG Mon Jun 29 13:10:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC2BD106566C for ; Mon, 29 Jun 2009 13:10:39 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx1.freebsd.org (Postfix) with ESMTP id 5E80D8FC0C for ; Mon, 29 Jun 2009 13:10:39 +0000 (UTC) (envelope-from faust64@gmail.com) Received: by fxm18 with SMTP id 18so1864799fxm.43 for ; Mon, 29 Jun 2009 06:10:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=evAueltZlOm5/skVRHmyzSvY2BfLZgf+C2MNbKt6pFA=; b=Mh7Vi2Q521eVwXF+NKY9kKgKYz3PnfFwBZXJLlExBjVDynswqKefRFtJbv8oWEnzBm PlNsP1n2YjRbke5HYG07p1YnQ6825TmiJjEjxUe1i3cxBa5IsTJ/KFIAhsMY5Xy8jnR2 awhBhs372WoRFSH05evsQczQs5yk6bmyCWf7Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=MUlIjQ9WUnk9aH5VRFfMlK2FctDT6kyTqsrd3B+n0lBn2bBWrf6w2NmWYSf6chLwKe lLhvB1DXPdnhAaFXnpLBTVQjy41l9BhInGyq5nBuWpWTMNuXhLBGsBahivwQLVTdajmt 4yr8VDdDGzcD1YwYLdMGRhKXfLq8mroQ1w9+g= MIME-Version: 1.0 Received: by 10.204.76.199 with SMTP id d7mr3742722bkk.74.1246281038157; Mon, 29 Jun 2009 06:10:38 -0700 (PDT) From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Mon, 29 Jun 2009 15:10:18 +0200 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD & FireWire X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2009 13:10:40 -0000 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