diff --git a/src/add-ons/kernel/bus_managers/firewire/00README.haiku b/src/add-ons/kernel/bus_managers/firewire/00README.haiku index f06e01b44e..9b6274b7af 100644 --- a/src/add-ons/kernel/bus_managers/firewire/00README.haiku +++ b/src/add-ons/kernel/bus_managers/firewire/00README.haiku @@ -92,6 +92,27 @@ IEEE 1394 support for haiku Physical layer chip - This does not matter, most physical layer chip should work +6. Example + fwcontrol + Output a list of devices that are connected to the bus + + fwcontrol -t + Show the topology map + + fwcontrol -c 0 + Show the config rom of node 0 + + fwcontrol -r + trigger bus reset + + fwcontrol -R mini.dv + Receive DV or MPEG TS stream and save it in mini.dv. Press Ctrl-C to + stop receiving data. + Note: the program will try to guess which mode first + + fwcontrol -M d -R mini.dv + Explicitly specify receiving via DV mode. + References: [1] IEEE 1394-1995 [2] IEEE 1394a-2000 diff --git a/src/bin/fwcontrol/fwcontrol.c b/src/bin/fwcontrol/fwcontrol.c index 1f4a14767b..7aefad9ef8 100644 --- a/src/bin/fwcontrol/fwcontrol.c +++ b/src/bin/fwcontrol/fwcontrol.c @@ -90,7 +90,7 @@ usage(void) "fwcontrol [-u bus_num] [-rt] [-g gap_count] [-o node] " "[-b pri_req] [-c node] [-d node] [-l file] " #ifdef __HAIKU__ - "[-R file] [-S file] \n" + "[-M mode] [-R file] [-S file] \n" #else "[-R file] [-S file] [-m target]\n" #endif @@ -107,6 +107,7 @@ usage(void) "\t-l: load and parse hex dump file of configuration ROM\n" "\t-R: Receive DV or MPEG TS stream\n" #ifdef __HAIKU__ + "\t-M: Specify either d for dv mode or m for mpeg mode\n" "\t-S: Send DV stream\n"); #else "\t-S: Send DV stream\n"