meaning of /dev/fw0.0 notation and selecting the node on which to receive DV...

leon zadorin leonleon77 at gmail.com
Mon Jan 22 02:09:02 UTC 2007


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.


More information about the freebsd-firewire mailing list