fwcontrol.8 (bce5729a9d3db5d19a442491719d1d52d35c7c11) fwcontrol.8 (937bcaa881c80d78eb19e53792bd52124a3f40fb)
1.\" Copyright (c) 2002 Hidetoshi Shimokawa
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 25 unchanged lines hidden (view full) ---

34.Sh SYNOPSIS
35.Nm
36.Op Fl rt
37.Op Fl c Ar node
38.Op Fl d Ar node
39.Op Fl l Ar file
40.Op Fl g Ar gap_count
41.Op Fl b Ar pri_req
1.\" Copyright (c) 2002 Hidetoshi Shimokawa
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 25 unchanged lines hidden (view full) ---

34.Sh SYNOPSIS
35.Nm
36.Op Fl rt
37.Op Fl c Ar node
38.Op Fl d Ar node
39.Op Fl l Ar file
40.Op Fl g Ar gap_count
41.Op Fl b Ar pri_req
42.Op Fl R Ar filename
43.Op Fl S Ar filename
42.Sh DESCRIPTION
43The
44.Nm
45utility is designed to provide a way for users to access and control the
46.Fx
47FireWire subsystem.
48.Pp
49.Bl -tag -width indent

--- 6 unchanged lines hidden (view full) ---

56.It Fl d Ar node
57Hex dump of the configuration ROM.
58.It Fl l Ar file
59Load hex dump file of the configuration ROM and parse it.
60.It Fl g Ar gap_count
61Broadcast gap_count by phy_config packet.
62.It Fl i Ar pri_req
63Set PRIORITY_BUDGET register on all supported nodes.
44.Sh DESCRIPTION
45The
46.Nm
47utility is designed to provide a way for users to access and control the
48.Fx
49FireWire subsystem.
50.Pp
51.Bl -tag -width indent

--- 6 unchanged lines hidden (view full) ---

58.It Fl d Ar node
59Hex dump of the configuration ROM.
60.It Fl l Ar file
61Load hex dump file of the configuration ROM and parse it.
62.It Fl g Ar gap_count
63Broadcast gap_count by phy_config packet.
64.It Fl i Ar pri_req
65Set PRIORITY_BUDGET register on all supported nodes.
66.It Fl R Ar filename
67Receive DV stream and dump it to a file. Use Ctl-C to stop the receiving.
68Some DV cameras seem not to send the stream if a bus manager exits.
69If you cannot get the stream, try the following commands.
70.Bd -literal -offset indent
71sysctl hw.firewire.try_bmr=0; fwcontrol -r
72.Ed
73.It Fl S Ar filename
74Send a DV file as isochronus stream.
64.El
75.El
76.Sh EXAMPLES
77Each DV frame has fixed size and it is easy to edit those frame order.
78.Bd -literal -offset indent
79fwcontrol -R original.dv
80.Ed
81.Pp
82Receive stream.
83.Bd -literal -offset indent
84dd if=original.dv of=first.dv bs=120000 count=30
85.Ed
86.Pp
87Get first 30 frames(NTSC).
88.Bd -literal -offset indent
89dd if=original.dv of=second.dv bs=120000 skip=30 count=30
90.Ed
91.Pp
92Get second 30 frames(NTSC).
93.Bd -literal -offset indent
94cat second.dv first.dv | fwcontrol -S /dev/stdin
95.Ed
96.Pp
97Swap first and second 30 frames and send them to DV recorder.
98For PAL, replace 'bs=120000' with 'bs=144000'.
65
66.Sh FILES
67.Bl -tag -width indent
68.It Pa /dev/fw0
69.El
70.Sh SEE ALSO
71.Xr firewire 4 ,
72.Xr fwohci 4 ,

--- 13 unchanged lines hidden ---
99
100.Sh FILES
101.Bl -tag -width indent
102.It Pa /dev/fw0
103.El
104.Sh SEE ALSO
105.Xr firewire 4 ,
106.Xr fwohci 4 ,

--- 13 unchanged lines hidden ---