[mythtv] firewire tester
Jim Westfall
jwestfall at surrealistic.net
Sat Aug 19 06:25:36 UTC 2006
Hi
Attached is a firewire tester I wrote up this evening. I would like to
get a few firewire folks to give it a try. It still needs a bit of clean
up, but should be mostly functional.
It allows testing of both p2p and broadcast connections, as well as
attempting to fix up broadcast connections.
should make testing easier then the test-mpeg2 > blah, ctrl-c, ls -l blah
method.
firewire_tester <action> -n <node> [-P <port>] [-v]
Actions: (one is required)
-b - test broadcast connection
-p - test p2p connection
-B - attempt to fix/stabilize broadcast connection
Options
-n <node> - required
-P <port> - default 0
-v - verbose
$ ./firewire_tester -p -n 2
Testing P2P connection, node 2, channel 2
p2p: failed
$ ./firewire_tester -b -n 2
Testing broadcast connection, node 2, channel 61
broadcast: failed
$ ./firewire_tester -B -n 2
Attempting to fixup broadcast connection on node 2
broadcast: failed
p2p: failed
p2p: success, 162 packets received
broadcast: failed
p2p: failed
p2p: success, 163 packets received
broadcast: failed
p2p: failed
p2p: success, 110 packets received
broadcast: success, 77 packets
broadcast: success, 99 packets
broadcast: success, 113 packets
broadcast: success, 153 packets
broadcast: success, 141 packets
fix bcast success
$ ./firewire_tester -b -n 2
Testing broadcast connection, node 2, channel 61
broadcast: success, 106 packets
jim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: firewire_tester.c
Type: text/x-csrc
Size: 8532 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20060818/f774d9d5/attachment.c
More information about the mythtv-dev
mailing list