*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> fwcontrol (8)              



NAME    [Toc]    [Back]

     fwcontrol -- FireWire control utility

SYNOPSIS    [Toc]    [Back]

     fwcontrol [-u bus_num] [-prt] [-c node] [-d node] [-o node] [-s node]
	       [-l file] [-g gap_count] [-b pri_req] [-R filename]
	       [-S filename]

DESCRIPTION    [Toc]    [Back]

     The fwcontrol utility is designed to provide a way for users to access
     and control the FreeBSD FireWire subsystem.  Without options, fwcontrol
     will output a list of devices that are/were connected to the bus.

     The following options are available:

     -u bus_num
	     Specify the FireWire bus number to be operated.

     -r      Initiate bus reset.

     -t      Show the topology map.

     -p      Dump phy registers.

     -c node
	     Show the configuration ROM on the node.

     -d node
	     Hex dump of the configuration ROM.

     -o node
	     Send a link-on PHY packet to the node.

     -s node
	     Write to RESET_START register on the node.

     -l file
	     Load hex dump file of the configuration ROM and parse it.

     -g gap_count
	     Broadcast gap_count by phy_config packet.

     -i pri_req
	     Set PRIORITY_BUDGET register on all supported nodes.

     -R filename
	     Receive DV stream and dump it to a file.  Use Ctrl-C to stop the
	     receiving.  Some DV cameras seem not to send the stream if a bus
	     manager exits.  If you cannot get the stream, try the following

		   sysctl hw.firewire.try_bmr=0
		   fwcontrol -r

	     The resulting file contains raw DV data excluding isochronus
	     header and CIP header.  It can be handled by libdv in the FreeBSD
	     Ports Collection.

     -S filename
	     Send a DV file as isochronus stream.

EXAMPLES    [Toc]    [Back]

     Each DV frame has fixed size and it is easy to edit those frame order.

	   fwcontrol -R original.dv

     Receive stream.

	   dd if=original.dv of=first.dv bs=120000 count=30

     Get first 30 frames(NTSC).

	   dd if=original.dv of=second.dv bs=120000 skip=30 count=30

     Get second 30 frames(NTSC).

	   cat second.dv first.dv | fwcontrol -S /dev/stdin

     Swap first and second 30 frames and send them to DV recorder.

     For PAL, replace ``bs=120000'' with ``bs=144000''.

FILES    [Toc]    [Back]


SEE ALSO    [Toc]    [Back]

     firewire(4), fwe(4), fwohci(4), sbp(4)

HISTORY    [Toc]    [Back]

     The fwcontrol utility first appeared in FreeBSD 5.0.

AUTHORS    [Toc]    [Back]

     Hidetoshi Shimokawa <simokawa@FreeBSD.org>

BUGS    [Toc]    [Back]

     This utility is still under development and provided for debug purpose.

FreeBSD 5.2.1		       December 30, 2002		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
fwe FreeBSD Ethernet emulation driver for FireWire
if_fwp FreeBSD Ethernet emulation driver for FireWire
fwohci FreeBSD OHCI firewire chipset device driver
ngctl FreeBSD netgraph control utility
rndc HP-UX name server control utility
rndc OpenBSD name server control utility
cdcontrol FreeBSD compact disc control utility
chio OpenBSD medium changer control utility
chio FreeBSD medium changer control utility
kbdcontrol FreeBSD keyboard control and configuration utility
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service