Date: Mon, 22 Jan 2007 11:43:50 +1000 From: "leon zadorin" <leonleon77@gmail.com> To: freebsd-firewire@freebsd.org Subject: meaning of /dev/fw0.0 notation and selecting the node on which to receive DV... Message-ID: <26d2cb010701211743v6017dd3atede4d3b020bcb0fa@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26d2cb010701211743v6017dd3atede4d3b020bcb0fa>