From owner-freebsd-firewire@FreeBSD.ORG Mon Jan 22 02:09:02 2007 Return-Path: X-Original-To: freebsd-firewire@freebsd.org Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C83DD16A401 for ; Mon, 22 Jan 2007 02:09:02 +0000 (UTC) (envelope-from leonleon77@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.231]) by mx1.freebsd.org (Postfix) with ESMTP id 8E58513C45D for ; Mon, 22 Jan 2007 02:09:02 +0000 (UTC) (envelope-from leonleon77@gmail.com) Received: by wr-out-0506.google.com with SMTP id 71so638082wri for ; Sun, 21 Jan 2007 18:09:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=p39jqqaxoC+DwjXAcXIoH2klY2TN/3KdlaW8BwWvlH3WY+Q0oc2lNy+QPwDwgmYeAhZEi0JY2uskuEaizQ54Mf8hkE7YogA/X/gBVNK1ltCVSdR6wtO1Iyh6ebpKyAF+nm+pDtW6HuqBCApSQ2Vwkxft8huRlkZYwaH8CGKfZlw= Received: by 10.90.73.3 with SMTP id v3mr5583862aga.1169430230103; Sun, 21 Jan 2007 17:43:50 -0800 (PST) Received: by 10.90.119.1 with HTTP; Sun, 21 Jan 2007 17:43:50 -0800 (PST) Message-ID: <26d2cb010701211743v6017dd3atede4d3b020bcb0fa@mail.gmail.com> Date: Mon, 22 Jan 2007 11:43:50 +1000 From: "leon zadorin" To: freebsd-firewire@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: meaning of /dev/fw0.0 notation and selecting the node on which to receive DV... X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2007 02:09:02 -0000 Hi, would like to ask a simple question in relation to firewire on *BSD (e.g. /dev/fw0.0) and fwcontrol utils... Firstly, what is the meaning of decimal notation in /dev/fw0.0 is the decimal part for a node number... it would appear that opening any (e.g. fw0.0 or fw0.1 etc.) would still allow one to traverse the whole topology of nodes on a given firewire bus (as from fwcontrol sources...) Secondly, how would one specify the communication (of say DV stream) with a certain node? For instance, say I have 2 cameras on the same bus... now, if I wanted to receive DV from a specfic one - how would I do that (by opening /dev/fw0.X as opposed to /dev/fw0.Y or my calling some "set node" ioctl...) ? Is this how the decimal part of fw0.0 is used - even though every other node's info can be read, the stream communication (similar to FW_STSTREAM) on /dev/fw0.0 is only with node 0? Would the nodes' numbers get reassigned if bus reset was to take place? Sorry for all these "random"/basic questions - just starting to learn about BSD's firewire api... Kind regards Leon.