summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/mythtv-contrib/mythchanger.10f.beta.tar
blob: e848866caa575a40995fe5a10b4e72fe7df416a1 (plain)
ofshex dumpascii
0000 6d 79 74 68 63 68 61 6e 67 65 72 2e 31 30 66 2e 62 65 74 61 2f 00 00 00 00 00 00 00 00 00 00 00 mythchanger.10f.beta/...........
0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0060 00 00 00 00 30 30 30 30 37 35 35 00 30 30 30 31 37 35 30 00 30 30 30 31 37 35 30 00 30 30 30 30 ....0000755.0001750.0001750.0000
0080 30 30 30 30 30 30 30 00 31 31 31 32 32 32 35 35 32 34 35 00 30 31 32 37 36 33 00 20 35 00 00 00 0000000.11122255245.012763..5...
00a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
00e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0100 00 75 73 74 61 72 20 20 00 62 69 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .ustar...bil....................
0120 00 00 00 00 00 00 00 00 00 62 69 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .........bil....................
0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
01a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
01c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
01e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0200 6d 79 74 68 63 68 61 6e 67 65 72 2e 31 30 66 2e 62 65 74 61 2f 52 45 41 44 4d 45 00 00 00 00 00 mythchanger.10f.beta/README.....
0220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0260 00 00 00 00 30 30 30 30 36 34 34 00 30 30 30 31 37 35 30 00 30 30 30 31 37 35 30 00 30 30 30 30 ....0000644.0001750.0001750.0000
0280 30 30 31 30 30 31 32 00 31 31 31 30 36 31 30 36 35 37 35 00 30 31 33 36 34 30 00 20 30 00 00 00 0010012.11106106575.013640..0...
02a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
02c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
02e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0300 00 75 73 74 61 72 20 20 00 62 69 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .ustar...bil....................
0320 00 00 00 00 00 00 00 00 00 62 69 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .........bil....................
0340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
03a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
03c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
03e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0400 0d 0a 6d 79 74 68 63 68 61 6e 67 65 72 20 2d 20 61 20 63 61 62 6c 65 20 53 54 42 20 66 69 72 65 ..mythchanger.-.a.cable.STB.fire
0420 77 69 72 65 20 63 68 61 6e 6e 65 6c 20 63 68 61 6e 67 65 72 20 66 6f 72 20 6d 79 74 68 62 75 6e wire.channel.changer.for.mythbun
0440 74 75 2f 4d 79 74 68 54 56 0d 0a 0d 0a 44 65 76 65 6c 6f 70 65 64 20 62 79 3a 20 6d 61 6a 6f 72 tu/MythTV....Developed.by:.major
0460 69 64 69 6f 74 0d 0a 52 45 41 44 4d 45 20 56 65 72 73 69 6f 6e 20 31 0d 0a 28 43 29 32 30 30 38 idiot..README.Version.1..(C)2008
0480 20 62 79 20 74 68 65 20 6d 79 74 68 62 75 6e 74 75 20 44 65 76 65 6c 6f 70 6d 65 6e 74 20 54 65 .by.the.mythbuntu.Development.Te
04a0 61 6d 0d 0a 0d 0a 49 6e 63 6f 72 70 6f 72 61 74 65 73 20 63 6f 64 65 20 28 43 29 62 79 3a 20 4a am....Incorporates.code.(C)by:.J
04c0 69 6d 20 4c 6f 68 6d 65 79 65 72 2c 20 4a 69 6d 20 57 65 73 74 66 61 6c 6c 2c 20 44 61 6e 20 44 im.Lohmeyer,.Jim.Westfall,.Dan.D
04e0 65 6e 6e 65 64 79 2c 20 53 74 61 63 79 20 44 2e 20 53 6f 6e 2c 20 0a 20 20 20 20 20 20 20 20 20 ennedy,.Stacy.D..Son,...........
0500 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4d 61 74 74 20 50 6f 72 74 65 72 20 61 6e 64 20 ................Matt.Porter.and.
0520 43 68 72 69 73 20 49 6e 67 72 61 73 73 69 61 2c 20 65 74 2e 20 61 6c 2e 0d 0a 0d 0a 44 69 73 74 Chris.Ingrassia,.et..al.....Dist
0540 72 69 62 75 74 65 64 20 61 73 20 70 61 72 74 20 6f 66 20 74 68 65 20 6d 79 74 68 62 75 6e 74 75 ributed.as.part.of.the.mythbuntu
0560 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 6f 66 20 4d 79 74 68 54 56 20 75 6e 64 65 72 20 47 50 .distribution.of.MythTV.under.GP
0580 4c 20 76 32 20 61 6e 64 20 6c 61 74 65 72 2e 0d 0a 0d 0a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a L.v2.and.later.....*************
05a0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ********************************
05c0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0d 0a ******************************..
05e0 4c 69 63 65 6e 73 65 3a 0d 0a 0d 0a 54 68 69 73 20 50 61 63 6b 61 67 65 20 69 73 20 66 72 65 65 License:....This.Package.is.free
0600 20 73 6f 66 74 77 61 72 65 3b 20 79 6f 75 20 63 61 6e 20 72 65 64 69 73 74 72 69 62 75 74 65 20 .software;.you.can.redistribute.
0620 69 74 20 61 6e 64 2f 6f 72 0d 0a 6d 6f 64 69 66 79 20 69 74 20 75 6e 64 65 72 20 74 68 65 20 74 it.and/or..modify.it.under.the.t
0640 65 72 6d 73 20 6f 66 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 0d 0a erms.of.the.GNU.General.Public..
0660 4c 69 63 65 6e 73 65 20 61 73 20 70 75 62 6c 69 73 68 65 64 20 62 79 20 74 68 65 20 46 72 65 65 License.as.published.by.the.Free
0680 20 53 6f 66 74 77 61 72 65 20 46 6f 75 6e 64 61 74 69 6f 6e 3b 20 65 69 74 68 65 72 0d 0a 76 65 .Software.Foundation;.either..ve
06a0 72 73 69 6f 6e 20 32 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 2c 20 6f 72 20 28 61 74 20 79 rsion.2.of.the.License,.or.(at.y
06c0 6f 75 72 20 6f 70 74 69 6f 6e 29 20 61 6e 79 20 6c 61 74 65 72 20 76 65 72 73 69 6f 6e 2e 0d 0a our.option).any.later.version...
06e0 0d 0a 54 68 69 73 20 70 61 63 6b 61 67 65 20 69 73 20 64 69 73 74 72 69 62 75 74 65 64 20 69 6e ..This.package.is.distributed.in
0700 20 74 68 65 20 68 6f 70 65 20 74 68 61 74 20 69 74 20 77 69 6c 6c 20 62 65 20 75 73 65 66 75 6c .the.hope.that.it.will.be.useful
0720 2c 0d 0a 62 75 74 20 57 49 54 48 4f 55 54 20 41 4e 59 20 57 41 52 52 41 4e 54 59 3b 20 77 69 74 ,..but.WITHOUT.ANY.WARRANTY;.wit
0740 68 6f 75 74 20 65 76 65 6e 20 74 68 65 20 69 6d 70 6c 69 65 64 20 77 61 72 72 61 6e 74 79 20 6f hout.even.the.implied.warranty.o
0760 66 0d 0a 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 20 6f 72 20 46 49 54 4e 45 53 53 20 46 4f f..MERCHANTABILITY.or.FITNESS.FO
0780 52 20 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 2e 20 20 53 65 65 20 74 68 65 R.A.PARTICULAR.PURPOSE...See.the
07a0 20 47 4e 55 0d 0a 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 66 6f 72 .GNU..General.Public.License.for
07c0 20 6d 6f 72 65 20 64 65 74 61 69 6c 73 2e 0d 0a 0d 0a 59 6f 75 20 73 68 6f 75 6c 64 20 68 61 76 .more.details.....You.should.hav
07e0 65 20 72 65 63 65 69 76 65 64 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 47 4e 55 20 47 65 6e e.received.a.copy.of.the.GNU.Gen
0800 65 72 61 6c 20 50 75 62 6c 69 63 0d 0a 4c 69 63 65 6e 73 65 20 61 6c 6f 6e 67 20 77 69 74 68 20 eral.Public..License.along.with.
0820 74 68 69 73 20 70 61 63 6b 61 67 65 3b 20 69 66 20 6e 6f 74 2c 20 77 72 69 74 65 20 74 6f 20 74 this.package;.if.not,.write.to.t
0840 68 65 20 46 72 65 65 20 53 6f 66 74 77 61 72 65 0d 0a 46 6f 75 6e 64 61 74 69 6f 6e 2c 20 49 6e he.Free.Software..Foundation,.In
0860 63 2e 2c 20 35 31 20 46 72 61 6e 6b 6c 69 6e 20 53 74 2c 20 46 69 66 74 68 20 46 6c 6f 6f 72 2c c.,.51.Franklin.St,.Fifth.Floor,
0880 20 42 6f 73 74 6f 6e 2c 20 4d 41 20 20 30 32 31 31 30 2d 31 33 30 31 20 20 55 53 41 0d 0a 0d 0a .Boston,.MA..02110-1301..USA....
08a0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ********************************
08c0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a ********************************
08e0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0d 0a 0d 49 4e 53 54 41 4c 4c 41 54 49 4f 4e 0d 0a 3d 3d 3d ************...INSTALLATION..===
0900 3d 3d 3d 3d 3d 3d 3d 3d 3d 0d 0a 0d 0a 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 70 61 63 6b 61 =========....The.following.packa
0920 67 65 73 20 61 72 65 20 72 65 71 75 69 72 65 64 20 74 6f 20 63 6f 6d 70 69 6c 65 20 6d 79 74 68 ges.are.required.to.compile.myth
0940 63 68 61 6e 67 65 72 20 69 6e 20 61 6e 20 55 62 75 6e 74 75 2f 6d 79 74 68 62 75 6e 74 75 20 0d changer.in.an.Ubuntu/mythbuntu..
0960 0a 65 6e 76 69 72 6f 6e 6d 65 6e 74 3a 0d 0a 0d 0a 20 2a 20 62 75 69 6c 64 2d 65 73 73 65 6e 74 .environment:.....*.build-essent
0980 69 61 6c 0d 0a 20 2a 20 6c 69 62 72 61 77 31 33 39 34 2d 64 65 76 0d 0a 20 2a 20 6c 69 62 69 65 ial...*.libraw1394-dev...*.libie
09a0 63 36 31 38 38 33 2d 64 65 76 0d 0a 20 2a 20 6c 69 62 61 76 63 31 33 39 34 2d 64 65 76 0d 0a 0d c61883-dev...*.libavc1394-dev...
09c0 0a 59 6f 75 20 63 61 6e 20 69 6e 73 74 61 6c 6c 20 74 68 65 73 65 20 70 61 63 6b 61 67 65 73 20 .You.can.install.these.packages.
09e0 77 69 74 68 20 53 79 6e 61 70 74 69 63 2c 20 6f 72 20 76 69 61 20 61 70 74 2d 67 65 74 2e 0d 0a with.Synaptic,.or.via.apt-get...
0a00 0d 0a 49 66 20 63 6f 6d 70 69 6c 69 6e 67 20 69 6e 20 61 20 64 69 66 66 65 72 65 6e 74 20 65 6e ..If.compiling.in.a.different.en
0a20 76 69 72 6f 6e 6d 65 6e 74 2c 20 79 6f 75 20 77 69 6c 6c 20 6e 65 65 64 20 74 6f 20 65 6e 73 75 vironment,.you.will.need.to.ensu
0a40 72 65 20 74 68 65 20 6e 65 63 65 73 73 61 72 79 20 62 75 69 6c 64 20 0d 0a 70 61 63 6b 61 67 65 re.the.necessary.build...package
0a60 73 20 61 6e 64 20 64 65 76 65 6c 6f 70 6d 65 6e 74 20 6c 69 62 72 61 72 69 65 73 20 61 72 65 20 s.and.development.libraries.are.
0a80 69 6e 73 74 61 6c 6c 65 64 2e 0d 0a 0d 0a 54 6f 20 63 6f 6d 70 69 6c 65 2c 20 66 72 6f 6d 20 69 installed.....To.compile,.from.i
0aa0 6e 73 69 64 65 20 74 68 65 20 6d 79 74 68 63 68 61 6e 67 65 72 20 64 69 72 65 63 74 6f 72 79 2c nside.the.mythchanger.directory,
0ac0 20 64 6f 3a 0d 0a 0d 0a 20 20 20 24 20 6d 61 6b 65 20 63 6c 65 61 6e 0d 0a 20 20 20 24 20 6d 61 .do:.......$.make.clean.....$.ma
0ae0 6b 65 0d 0a 20 20 20 24 20 73 75 64 6f 20 6d 61 6b 65 20 69 6e 73 74 61 6c 6c 0d 0a 0d 0a 54 68 ke.....$.sudo.make.install....Th
0b00 65 20 63 68 61 6e 67 65 72 20 65 78 65 63 75 74 61 62 6c 65 20 22 6d 79 74 68 63 68 61 6e 67 65 e.changer.executable."mythchange
0b20 72 22 20 77 69 6c 6c 20 62 65 20 69 6e 73 74 61 6c 6c 65 64 20 74 6f 20 2f 75 73 72 2f 62 69 6e r".will.be.installed.to./usr/bin
0b40 0d 0a 0d 0a 55 53 49 4e 47 20 6d 79 74 68 63 68 61 6e 67 65 72 0d 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d ....USING.mythchanger..=========
0b60 3d 3d 3d 3d 3d 3d 3d 3d 0d 0a 0d 0a 54 68 65 20 63 6f 6d 6d 61 6e 64 20 73 79 6e 74 61 78 20 66 ========....The.command.syntax.f
0b80 6f 72 20 6d 79 74 68 63 68 61 6e 67 65 72 20 69 73 3a 0d 0a 0d 0a 20 24 20 6d 79 74 68 63 68 61 or.mythchanger.is:.....$.mythcha
0ba0 6e 67 65 72 20 2d 63 20 3c 63 68 61 6e 6e 65 6c 3e 20 5b 4f 50 54 49 4f 4e 5d 2e 2e 2e 0d 0a 0d nger.-c.<channel>.[OPTION]......
0bc0 0a 4d 61 6e 64 61 74 6f 72 79 20 61 72 67 75 6d 65 6e 74 73 3a 20 63 68 61 6e 6e 65 6c 20 6e 75 .Mandatory.arguments:.channel.nu
0be0 6d 62 65 72 0d 0a 0d 0a 20 4f 70 74 69 6f 6e 73 3a 0d 0a 20 20 20 20 0a 20 20 20 20 2d 63 20 3c mber.....Options:...........-c.<
0c00 63 68 61 6e 6e 65 6c 20 6e 75 6d 62 65 72 3e 20 63 68 61 6e 6e 65 6c 20 74 6f 20 74 75 6e 65 0a channel.number>.channel.to.tune.
0c20 20 20 20 20 2d 66 20 3c 63 68 61 6e 67 65 72 3e 20 66 6f 72 63 65 20 63 68 61 6e 6e 65 6c 20 63 ....-f.<changer>.force.channel.c
0c40 68 61 6e 67 65 72 3a 0d 0a 20 20 20 20 20 20 20 20 31 20 3d 20 53 41 33 32 35 30 48 44 0d 0a 20 hanger:..........1.=.SA3250HD...
0c60 20 20 20 20 20 20 20 32 20 3d 20 53 41 34 32 30 30 48 44 20 28 61 6e 64 20 73 6f 6d 65 20 33 32 .......2.=.SA4200HD.(and.some.32
0c80 35 30 73 29 0d 0a 20 20 20 20 20 20 20 20 33 20 3d 20 53 41 34 32 35 30 48 44 43 0d 0a 20 20 20 50s)..........3.=.SA4250HDC.....
0ca0 20 20 20 20 20 34 20 3d 20 53 41 34 32 35 30 48 44 43 20 61 6c 74 65 72 6e 61 74 65 20 28 61 6e .....4.=.SA4250HDC.alternate.(an
0cc0 64 20 34 32 34 30 48 44 43 73 20 77 69 74 68 20 34 32 35 30 20 66 69 72 6d 77 61 72 65 29 0d 0a d.4240HDCs.with.4250.firmware)..
0ce0 20 20 20 20 20 20 20 20 35 20 3d 20 53 41 38 33 30 30 0d 0a 20 20 20 20 20 20 20 20 36 20 3d 20 ........5.=.SA8300..........6.=.
0d00 4d 6f 74 6f 72 6f 6c 61 20 46 61 73 74 20 28 44 43 48 20 61 6e 64 20 44 43 54 20 73 65 72 69 65 Motorola.Fast.(DCH.and.DCT.serie
0d20 73 29 0d 0a 20 20 20 20 20 20 20 20 37 20 3d 20 4d 6f 74 6f 72 6f 6c 61 20 61 6c 74 65 72 6e 61 s)..........7.=.Motorola.alterna
0d40 74 65 0a 20 20 20 20 20 2d 67 20 3c 47 55 49 44 3e 20 47 55 49 44 20 6f 66 20 74 61 72 67 65 74 te......-g.<GUID>.GUID.of.target
0d60 20 53 54 42 0a 20 20 20 20 20 2d 68 20 64 69 73 70 6c 61 79 20 74 68 69 73 20 68 65 6c 70 20 61 .STB......-h.display.this.help.a
0d80 6e 64 20 65 78 69 74 0a 20 20 20 20 20 2d 50 20 70 6f 77 65 72 20 6f 6e 20 53 54 42 20 28 64 65 nd.exit......-P.power.on.STB.(de
0da0 66 61 75 6c 74 3a 20 6e 6f 29 0a 20 20 20 20 20 2d 52 20 72 65 73 65 74 20 66 69 72 65 77 69 72 fault:.no)......-R.reset.firewir
0dc0 65 20 62 75 73 20 62 65 66 6f 72 65 20 64 6f 69 6e 67 20 61 6e 79 74 68 69 6e 67 20 65 6c 73 65 e.bus.before.doing.anything.else
0de0 20 28 64 65 66 61 75 6c 74 3a 20 6e 6f 29 0a 20 20 20 20 20 2d 76 20 76 65 72 62 6f 73 65 20 6f .(default:.no)......-v.verbose.o
0e00 75 74 70 75 74 0a 20 20 20 20 20 2d 56 20 44 69 73 70 6c 61 79 20 76 65 72 73 69 6f 6e 20 69 6e utput......-V.Display.version.in
0e20 66 6f 72 6d 61 74 69 6f 6e 20 61 6e 64 20 65 78 69 74 0a 0a 4f 50 54 49 4f 4e 20 4f 56 45 52 56 formation.and.exit..OPTION.OVERV
0e40 49 45 57 0d 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0d 0a 0d 0a 2d 63 20 3c 63 68 61 6e IEW..===============....-c.<chan
0e60 6e 65 6c 20 6e 75 6d 62 65 72 3e 20 20 20 20 20 20 20 20 20 54 68 65 20 63 68 61 6e 6e 65 6c 20 nel.number>.........The.channel.
0e80 79 6f 75 20 77 61 6e 74 20 74 6f 20 74 75 6e 65 0d 0a 0d 0a 2d 66 20 3c 63 68 61 6e 67 65 72 3e you.want.to.tune....-f.<changer>
0ea0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 49 66 20 79 6f 75 72 20 53 54 42 20 69 73 20 64 ................If.your.STB.is.d
0ec0 65 74 65 63 74 65 64 20 69 6e 63 6f 72 72 65 63 74 6c 79 20 6f 72 20 69 66 20 74 68 65 20 63 68 etected.incorrectly.or.if.the.ch
0ee0 61 6e 6e 65 6c 20 63 68 61 6e 67 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 annel.changer...................
0f00 20 20 20 20 20 20 20 20 20 20 6d 79 74 68 63 68 61 6e 67 65 72 20 73 65 6c 65 63 74 73 20 64 6f ..........mythchanger.selects.do
0f20 65 73 20 6e 6f 74 20 77 6f 72 6b 2c 20 79 6f 75 20 63 61 6e 20 66 6f 72 63 65 20 74 68 65 20 75 es.not.work,.you.can.force.the.u
0f40 73 65 20 6f 66 20 61 6e 6f 74 68 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 se.of.another...................
0f60 20 20 20 20 20 20 20 20 20 20 63 68 61 6e 67 65 72 20 77 69 74 68 20 74 68 69 73 20 6f 70 74 69 ..........changer.with.this.opti
0f80 6f 6e 2e 0a 0a 2d 67 20 3c 47 55 49 44 3e 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 on...-g.<GUID>..................
0fa0 20 43 68 61 6e 67 65 73 20 63 68 61 6e 6e 65 6c 20 6f 66 20 74 68 65 20 53 54 42 20 77 69 74 68 .Changes.channel.of.the.STB.with
0fc0 20 74 68 65 20 73 75 70 70 6c 69 65 64 20 47 55 49 44 2e 20 20 54 68 69 73 20 69 73 20 76 65 72 .the.supplied.GUID...This.is.ver
0fe0 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 73 y.............................us
1000 65 66 75 6c 20 66 6f 72 20 62 61 63 6b 65 6e 64 73 20 77 69 74 68 20 6d 75 6c 74 69 70 6c 65 20 eful.for.backends.with.multiple.
1020 66 69 72 65 77 69 72 65 20 74 75 6e 65 72 73 2e 20 20 4f 74 68 65 72 77 69 73 65 2c 20 74 68 65 firewire.tuners...Otherwise,.the
1040 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 ..............................de
1060 66 61 75 6c 74 20 61 63 74 69 6f 6e 20 69 73 20 74 6f 20 63 68 61 6e 67 65 20 74 68 65 20 63 68 fault.action.is.to.change.the.ch
1080 61 6e 6e 65 6c 20 6f 6e 20 74 68 65 20 66 69 72 73 74 20 53 54 42 20 66 6f 75 6e 64 20 6f 6e 0a annel.on.the.first.STB.found.on.
10a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 65 20 ............................the.
10c0 66 69 72 65 77 69 72 65 20 62 75 73 2e 0a 0d 0a 2d 68 20 20 20 20 20 20 20 20 20 20 20 20 20 20 firewire.bus....-h..............
10e0 20 20 20 20 20 20 20 20 20 20 20 20 44 69 73 70 6c 61 79 73 20 68 65 6c 70 20 69 6e 66 6f 20 61 ............Displays.help.info.a
1100 6e 64 20 65 78 69 74 73 0a 0d 0a 2d 50 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 nd.exits...-P...................
1120 20 20 20 20 20 20 20 50 6f 77 65 72 20 6f 6e 20 74 68 65 20 53 54 42 20 62 65 66 6f 72 65 20 63 .......Power.on.the.STB.before.c
1140 68 61 6e 6e 65 6c 20 63 68 61 6e 67 65 2d 20 64 65 66 61 75 6c 74 3a 20 6e 6f 2e 20 20 55 73 65 hannel.change-.default:.no...Use
1160 20 74 68 69 73 20 6f 70 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .this.option....................
1180 20 20 20 20 20 20 20 20 20 69 66 20 79 6f 75 20 6f 72 20 4d 79 74 68 54 56 20 72 6f 75 74 69 6e .........if.you.or.MythTV.routin
11a0 65 6c 79 20 70 6f 77 65 72 73 20 64 6f 77 6e 20 79 6f 75 72 20 53 54 42 2e 20 20 41 6c 73 6f 20 ely.powers.down.your.STB...Also.
11c0 75 73 65 66 75 6c 20 74 6f 20 72 65 63 6f 76 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 useful.to.recover...............
11e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 66 74 65 72 20 66 69 72 6d 77 61 72 65 20 75 70 64 ..............after.firmware.upd
1200 61 74 65 20 6f 6e 20 53 41 20 53 54 42 73 2c 20 77 68 69 63 68 20 70 6f 77 65 72 20 6f 66 66 20 ate.on.SA.STBs,.which.power.off.
1220 61 66 74 65 72 20 75 70 64 61 74 65 2e 0d 0a 0d 0a 2d 52 20 20 20 20 20 20 20 20 20 20 20 20 20 after.update.....-R.............
1240 20 20 20 20 20 20 20 20 20 20 20 20 20 50 65 72 66 6f 72 6d 73 20 61 20 62 75 73 20 72 65 73 65 .............Performs.a.bus.rese
1260 74 20 42 45 46 4f 52 45 20 64 6f 69 6e 67 20 61 6e 79 74 68 69 6e 67 20 65 6c 73 65 2e 20 20 55 t.BEFORE.doing.anything.else...U
1280 73 65 20 6f 6e 6c 79 20 69 66 20 2a 61 62 73 6f 6c 75 74 65 6c 79 2a 0a 20 20 20 20 20 20 20 20 se.only.if.*absolutely*.........
12a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 63 65 73 73 61 72 79 20 66 6f ....................necessary.fo
12c0 72 20 75 6e 73 74 61 62 6c 65 20 53 54 42 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 r.unstable.STBs.................
12e0 20 20 20 20 20 20 20 20 20 20 20 20 20 0a 2d 76 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..............-v................
1300 20 20 20 20 20 20 20 20 20 20 56 65 72 62 6f 73 65 20 6f 75 74 70 75 74 2d 20 77 69 6c 6c 20 64 ..........Verbose.output-.will.d
1320 69 73 70 6c 61 79 20 2a 65 76 65 72 79 74 68 69 6e 67 2a 20 6d 79 74 68 63 68 61 6e 67 65 72 20 isplay.*everything*.mythchanger.
1340 69 73 20 64 6f 69 6e 67 2c 20 74 6f 20 68 65 6c 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 is.doing,.to.help...............
1360 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 74 68 20 74 72 6f 75 62 6c 65 73 68 6f 6f 74 69 ..............with.troubleshooti
1380 6e 67 20 61 6e 64 20 64 65 62 75 67 67 69 6e 67 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ng.and.debugging................
13a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0a 2d 56 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ...............-V...............
13c0 20 20 20 20 20 20 20 20 20 20 20 44 69 73 70 6c 61 79 73 20 76 65 72 73 69 6f 6e 20 6e 75 6d 62 ...........Displays.version.numb
13e0 65 72 20 61 6e 64 20 65 78 69 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 0a 2d 2d er.and.exits..................--
1400 65 6e 64 20 31 2e 30 2d 2d 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 end.1.0--.......................
1420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
14a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
14c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
14e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
15a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
15c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
15e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1600 6d 79 74 68 63 68 61 6e 67 65 72 2e 31 30 66 2e 62 65 74 61 2f 4d 61 6b 65 66 69 6c 65 00 00 00 mythchanger.10f.beta/Makefile...
1620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1660 00 00 00 00 30 30 30 30 36 34 34 00 30 30 30 31 37 35 30 00 30 30 30 31 37 35 30 00 30 30 30 30 ....0000644.0001750.0001750.0000
1680 30 30 30 30 34 35 37 00 31 31 31 30 36 31 30 30 32 30 32 00 30 31 34 34 31 31 00 20 30 00 00 00 0000457.11106100202.014411..0...
16a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
16c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
16e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1700 00 75 73 74 61 72 20 20 00 62 69 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .ustar...bil....................
1720 00 00 00 00 00 00 00 00 00 62 69 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .........bil....................
1740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1800 70 72 65 66 69 78 20 3d 20 2f 75 73 72 0a 0a 43 43 20 3d 20 67 63 63 0a 0a 61 6c 6c 20 3a 20 6d prefix.=./usr..CC.=.gcc..all.:.m
1820 79 74 68 63 68 61 6e 67 65 72 0a 0a 6d 79 74 68 63 68 61 6e 67 65 72 20 3a 20 43 46 4c 41 47 53 ythchanger..mythchanger.:.CFLAGS
1840 20 3d 20 2d 57 61 6c 6c 20 2d 67 0a 6d 79 74 68 63 68 61 6e 67 65 72 20 3a 20 4c 44 46 4c 41 47 .=.-Wall.-g.mythchanger.:.LDFLAG
1860 53 20 3d 20 2d 67 0a 6d 79 74 68 63 68 61 6e 67 65 72 20 3a 20 4c 44 4c 49 42 53 20 3d 20 20 2d S.=.-g.mythchanger.:.LDLIBS.=..-
1880 6c 72 61 77 31 33 39 34 20 2d 6c 69 65 63 36 31 38 38 33 20 2d 6c 61 76 63 31 33 39 34 20 2d 6c lraw1394.-liec61883.-lavc1394.-l
18a0 72 6f 6d 31 33 39 34 20 0a 0a 6d 79 74 68 63 68 61 6e 67 65 72 20 3a 20 6d 79 74 68 63 68 61 6e rom1394...mythchanger.:.mythchan
18c0 67 65 72 2e 6f 0a 0a 63 6c 65 61 6e 20 3a 0a 09 72 6d 20 2d 72 66 20 20 2a 2e 6f 20 20 0a 0a 69 ger.o..clean.:..rm.-rf..*.o....i
18e0 6e 73 74 61 6c 6c 20 3a 0a 09 69 6e 73 74 61 6c 6c 20 6d 79 74 68 63 68 61 6e 67 65 72 20 24 28 nstall.:..install.mythchanger.$(
1900 70 72 65 66 69 78 29 2f 62 69 6e 2f 6d 79 74 68 63 68 61 6e 67 65 72 0a 0a 2e 50 48 4f 4e 59 3a prefix)/bin/mythchanger...PHONY:
1920 20 63 6c 65 61 6e 20 69 6e 73 74 61 6c 6c 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .clean.install..................
1940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
19a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
19c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
19e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a00 6d 79 74 68 63 68 61 6e 67 65 72 2e 31 30 66 2e 62 65 74 61 2f 6d 79 74 68 63 68 61 6e 67 65 72 mythchanger.10f.beta/mythchanger
1a20 2e 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .c..............................
1a40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a60 00 00 00 00 30 30 30 30 36 34 34 00 30 30 30 31 37 35 30 00 30 30 30 31 37 35 30 00 30 30 30 30 ....0000644.0001750.0001750.0000
1a80 30 30 33 36 35 33 37 00 31 31 31 32 32 32 35 35 30 30 34 00 30 31 35 34 34 37 00 20 30 00 00 00 0036537.11122255004.015447..0...
1aa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b00 00 75 73 74 61 72 20 20 00 62 69 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .ustar...bil....................
1b20 00 00 00 00 00 00 00 00 00 62 69 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .........bil....................
1b40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ba0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1bc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1be0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c00 2f 2a 0a 20 2a 20 20 6d 79 74 68 63 68 61 6e 67 65 72 20 2d 2d 20 61 20 6d 79 74 68 74 76 20 66 /*..*..mythchanger.--.a.mythtv.f
1c20 69 72 65 77 69 72 65 20 63 68 61 6e 6e 67 65 72 20 63 68 61 6e 67 65 72 0a 20 2a 20 20 64 65 76 irewire.channger.changer..*..dev
1c40 65 6c 6f 70 65 64 20 66 6f 72 20 6d 79 74 68 62 75 6e 74 75 20 4d 79 74 68 54 56 20 4e 6f 76 65 eloped.for.mythbuntu.MythTV.Nove
1c60 6d 62 65 72 20 32 30 30 38 20 62 79 20 6d 61 6a 6f 72 69 64 69 6f 74 0a 20 2a 0a 20 2a 0a 20 2a mber.2008.by.majoridiot..*..*..*
1c80 20 20 69 6e 63 6f 72 70 6f 72 61 74 65 73 20 63 6f 64 65 20 28 63 29 20 62 79 3a 20 4a 69 6d 20 ..incorporates.code.(c).by:.Jim.
1ca0 4c 6f 68 6d 65 79 65 72 2c 20 4a 69 6d 20 57 65 73 74 66 61 6c 6c 2c 20 44 61 6e 20 44 65 6e 6e Lohmeyer,.Jim.Westfall,.Dan.Denn
1cc0 65 64 79 2c 20 53 74 61 63 79 20 44 2e 20 53 6f 6e 2c 20 0a 20 2a 20 20 20 20 20 20 20 20 20 20 edy,.Stacy.D..Son,...*..........
1ce0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4d 61 74 74 20 50 6f 72 74 65 72 20 61 6e ..................Matt.Porter.an
1d00 64 20 43 68 72 69 73 20 49 6e 67 72 61 73 73 69 61 2c 20 65 74 2e 20 61 6c 0a 20 2a 0a 20 2a 20 d.Chris.Ingrassia,.et..al..*..*.
1d20 20 64 65 70 65 6e 64 73 20 6f 6e 3a 20 6c 69 62 72 61 77 31 33 39 34 2d 64 65 76 20 6c 69 62 69 .depends.on:.libraw1394-dev.libi
1d40 65 63 36 31 38 38 33 2d 64 65 76 20 6c 69 62 61 76 63 31 33 39 34 2d 64 65 76 0a 20 2a 0a 20 2a ec61883-dev.libavc1394-dev..*..*
1d60 20 20 44 69 73 74 72 69 62 75 74 65 64 20 61 73 20 70 61 72 74 20 6f 66 20 74 68 65 20 6d 79 74 ..Distributed.as.part.of.the.myt
1d80 68 62 75 6e 74 75 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 6f 66 0d 0a 20 2a 20 20 4d 79 74 68 hbuntu.distribution.of...*..Myth
1da0 54 56 20 75 6e 64 65 72 20 47 50 4c 20 76 32 20 61 6e 64 20 6c 61 74 65 72 2e 0d 0a 20 2a 20 20 TV.under.GPL.v2.and.later....*..
1dc0 0d 0a 20 2a 20 20 54 68 69 73 20 50 61 63 6b 61 67 65 20 69 73 20 66 72 65 65 20 73 6f 66 74 77 ...*..This.Package.is.free.softw
1de0 61 72 65 3b 20 79 6f 75 20 63 61 6e 20 72 65 64 69 73 74 72 69 62 75 74 65 20 69 74 20 61 6e 64 are;.you.can.redistribute.it.and
1e00 2f 6f 72 0d 0a 20 2a 20 20 6d 6f 64 69 66 79 20 69 74 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 /or...*..modify.it.under.the.ter
1e20 6d 73 20 6f 66 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 0d 0a 20 2a ms.of.the.GNU.General.Public...*
1e40 20 20 4c 69 63 65 6e 73 65 20 61 73 20 70 75 62 6c 69 73 68 65 64 20 62 79 20 74 68 65 20 46 72 ..License.as.published.by.the.Fr
1e60 65 65 20 53 6f 66 74 77 61 72 65 20 46 6f 75 6e 64 61 74 69 6f 6e 3b 20 65 69 74 68 65 72 0d 0a ee.Software.Foundation;.either..
1e80 20 2a 20 20 76 65 72 73 69 6f 6e 20 32 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 2c 20 6f 72 .*..version.2.of.the.License,.or
1ea0 20 28 61 74 20 79 6f 75 72 20 6f 70 74 69 6f 6e 29 20 61 6e 79 20 6c 61 74 65 72 20 76 65 72 73 .(at.your.option).any.later.vers
1ec0 69 6f 6e 2e 0d 0a 20 2a 20 20 0d 0a 20 2a 20 20 54 68 69 73 20 70 61 63 6b 61 67 65 20 69 73 20 ion....*.....*..This.package.is.
1ee0 64 69 73 74 72 69 62 75 74 65 64 20 69 6e 20 74 68 65 20 68 6f 70 65 20 74 68 61 74 20 69 74 20 distributed.in.the.hope.that.it.
1f00 77 69 6c 6c 20 62 65 20 75 73 65 66 75 6c 2c 0d 0a 20 2a 20 20 62 75 74 20 57 49 54 48 4f 55 54 will.be.useful,...*..but.WITHOUT
1f20 20 41 4e 59 20 57 41 52 52 41 4e 54 59 3b 20 77 69 74 68 6f 75 74 20 65 76 65 6e 20 74 68 65 20 .ANY.WARRANTY;.without.even.the.
1f40 69 6d 70 6c 69 65 64 20 77 61 72 72 61 6e 74 79 20 6f 66 0d 0a 20 2a 20 20 4d 45 52 43 48 41 4e implied.warranty.of...*..MERCHAN
1f60 54 41 42 49 4c 49 54 59 20 6f 72 20 46 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 41 52 54 49 43 TABILITY.or.FITNESS.FOR.A.PARTIC
1f80 55 4c 41 52 20 50 55 52 50 4f 53 45 2e 20 20 53 65 65 20 74 68 65 20 47 4e 55 0d 0a 20 2a 20 20 ULAR.PURPOSE...See.the.GNU...*..
1fa0 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 66 6f 72 20 6d 6f 72 65 20 General.Public.License.for.more.
1fc0 64 65 74 61 69 6c 73 2e 0d 0a 20 2a 20 20 0d 0a 20 2a 20 20 59 6f 75 20 73 68 6f 75 6c 64 20 68 details....*.....*..You.should.h
1fe0 61 76 65 20 72 65 63 65 69 76 65 64 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 47 4e 55 20 47 ave.received.a.copy.of.the.GNU.G
2000 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 0d 0a 20 2a 20 20 4c 69 63 65 6e 73 65 20 61 6c 6f 6e 67 eneral.Public...*..License.along
2020 20 77 69 74 68 20 74 68 69 73 20 70 61 63 6b 61 67 65 3b 20 69 66 20 6e 6f 74 2c 20 77 72 69 74 .with.this.package;.if.not,.writ
2040 65 20 74 6f 20 74 68 65 20 46 72 65 65 20 53 6f 66 74 77 61 72 65 0d 0a 20 2a 20 20 46 6f 75 6e e.to.the.Free.Software...*..Foun
2060 64 61 74 69 6f 6e 2c 20 49 6e 63 2e 2c 20 35 31 20 46 72 61 6e 6b 6c 69 6e 20 53 74 2c 20 46 69 dation,.Inc.,.51.Franklin.St,.Fi
2080 66 74 68 20 46 6c 6f 6f 72 2c 20 42 6f 73 74 6f 6e 2c 20 4d 41 20 20 30 32 31 31 30 2d 31 33 30 fth.Floor,.Boston,.MA..02110-130
20a0 31 20 20 55 53 41 0d 0a 20 2a 0a 20 2a 2f 0a 0a 23 69 6e 63 6c 75 64 65 20 3c 75 6e 69 73 74 64 1..USA...*..*/..#include.<unistd
20c0 2e 68 3e 0a 23 69 6e 63 6c 75 64 65 20 3c 73 74 64 6c 69 62 2e 68 3e 0a 23 69 6e 63 6c 75 64 65 .h>.#include.<stdlib.h>.#include
20e0 20 3c 73 74 64 69 6f 2e 68 3e 0a 23 69 6e 63 6c 75 64 65 20 3c 65 72 72 6e 6f 2e 68 3e 0a 23 69 .<stdio.h>.#include.<errno.h>.#i
2100 6e 63 6c 75 64 65 20 3c 73 79 73 2f 73 65 6c 65 63 74 2e 68 3e 0a 23 69 6e 63 6c 75 64 65 20 3c nclude.<sys/select.h>.#include.<
2120 73 74 72 69 6e 67 2e 68 3e 0a 23 69 6e 63 6c 75 64 65 20 3c 74 69 6d 65 2e 68 3e 0a 23 69 6e 63 string.h>.#include.<time.h>.#inc
2140 6c 75 64 65 20 3c 6c 69 62 72 61 77 31 33 39 34 2f 63 73 72 2e 68 3e 0a 23 69 6e 63 6c 75 64 65 lude.<libraw1394/csr.h>.#include
2160 20 3c 6e 65 74 69 6e 65 74 2f 69 6e 2e 68 3e 0a 23 69 6e 63 6c 75 64 65 20 3c 6c 69 62 72 61 77 .<netinet/in.h>.#include.<libraw
2180 31 33 39 34 2f 72 61 77 31 33 39 34 2e 68 3e 0a 23 69 6e 63 6c 75 64 65 20 3c 6c 69 62 61 76 63 1394/raw1394.h>.#include.<libavc
21a0 31 33 39 34 2f 61 76 63 31 33 39 34 2e 68 3e 0a 23 69 6e 63 6c 75 64 65 20 3c 6c 69 62 61 76 63 1394/avc1394.h>.#include.<libavc
21c0 31 33 39 34 2f 72 6f 6d 31 33 39 34 2e 68 3e 0a 23 69 6e 63 6c 75 64 65 20 3c 6c 69 62 69 65 63 1394/rom1394.h>.#include.<libiec
21e0 36 31 38 38 33 2f 69 65 63 36 31 38 38 33 2e 68 3e 0a 23 69 6e 63 6c 75 64 65 20 22 66 69 72 65 61883/iec61883.h>.#include."fire
2200 77 69 72 65 5f 75 74 69 6c 73 2e 68 22 0a 23 69 6e 63 6c 75 64 65 20 22 73 74 62 73 2e 68 22 0a wire_utils.h".#include."stbs.h".
2220 0a 23 64 65 66 69 6e 65 20 56 45 52 53 49 4f 4e 20 22 2e 31 30 66 20 62 65 74 61 22 0a 0a 73 74 .#define.VERSION.".10f.beta"..st
2240 72 75 63 74 20 53 54 42 4c 69 73 74 20 53 54 42 53 5b 36 5d 3b 0a 0a 69 6e 74 20 63 68 61 6e 6e ruct.STBList.STBS[6];..int.chann
2260 65 6c 20 3d 20 30 3b 0a 69 6e 74 20 50 6f 77 65 72 4f 6e 20 3d 20 30 3b 0a 69 6e 74 20 52 65 73 el.=.0;.int.PowerOn.=.0;.int.Res
2280 65 74 46 69 72 73 74 20 3d 20 30 3b 0a 69 6e 74 20 46 6f 72 63 65 64 43 68 61 6e 67 65 72 20 3d etFirst.=.0;.int.ForcedChanger.=
22a0 20 2d 31 3b 0a 69 6e 74 20 76 65 72 62 6f 73 65 20 3d 20 30 3b 0a 69 6e 74 20 70 6f 72 74 20 3d .-1;.int.verbose.=.0;.int.port.=
22c0 20 30 3b 09 09 0a 0a 76 6f 69 64 20 6d 73 5f 73 6c 65 65 70 28 75 6e 73 69 67 6e 65 64 20 6c 6f .0;....void.ms_sleep(unsigned.lo
22e0 6e 67 20 6d 69 6c 6c 69 73 65 63 73 29 0d 0a 7b 0d 0a 20 20 20 20 73 74 72 75 63 74 20 74 69 6d ng.millisecs)..{......struct.tim
2300 65 73 70 65 63 20 72 65 71 20 3d 20 7b 20 30 20 7d 3b 0d 0a 20 20 20 20 74 69 6d 65 5f 74 20 73 espec.req.=.{.0.};......time_t.s
2320 65 63 73 20 3d 20 28 69 6e 74 29 28 6d 69 6c 6c 69 73 65 63 73 20 2f 20 31 30 30 30 29 3b 0d 0a ecs.=.(int)(millisecs./.1000);..
2340 20 20 20 20 6d 69 6c 6c 69 73 65 63 73 20 3d 20 6d 69 6c 6c 69 73 65 63 73 20 2d 28 20 73 65 63 ....millisecs.=.millisecs.-(.sec
2360 73 20 2a 20 31 30 30 30 29 3b 0d 0a 20 20 20 20 72 65 71 2e 74 76 5f 73 65 63 20 3d 20 73 65 63 s.*.1000);......req.tv_sec.=.sec
2380 73 3b 0d 0a 20 20 20 20 72 65 71 2e 74 76 5f 6e 73 65 63 20 3d 20 6d 69 6c 6c 69 73 65 63 73 20 s;......req.tv_nsec.=.millisecs.
23a0 2a 20 31 30 30 30 30 30 30 4c 3b 0d 0a 0d 0a 20 20 20 20 77 68 69 6c 65 28 6e 61 6e 6f 73 6c 65 *.1000000L;........while(nanosle
23c0 65 70 28 26 72 65 71 2c 26 72 65 71 29 20 3d 3d 20 2d 31 29 0d 0a 20 20 20 20 20 20 20 20 20 63 ep(&req,&req).==.-1)...........c
23e0 6f 6e 74 69 6e 75 65 3b 0d 0a 7d 0a 0a 76 6f 69 64 20 62 61 64 5f 69 64 28 76 6f 69 64 29 0a 7b ontinue;..}..void.bad_id(void).{
2400 0a 20 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 55 4e 4b 4e 4f 57 4e 20 53 54 .....fprintf(stderr,."UNKNOWN.ST
2420 42 5c 6e 5c 6e 22 29 3b 0a 20 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 50 6c B\n\n");.....fprintf(stderr,."Pl
2440 65 61 73 65 20 65 6d 61 69 6c 20 74 68 65 20 56 65 6e 64 6f 72 20 61 6e 64 20 4d 6f 64 65 6c 20 ease.email.the.Vendor.and.Model.
2460 49 44 20 61 6c 6f 6e 67 20 77 69 74 68 5c 6e 22 29 3b 0a 20 20 20 20 66 70 72 69 6e 74 66 28 73 ID.along.with\n");.....fprintf(s
2480 74 64 65 72 72 2c 20 22 74 68 65 20 6d 6f 64 65 6c 20 6e 75 6d 62 65 72 20 6f 66 20 79 6f 75 72 tderr,."the.model.number.of.your
24a0 20 53 54 42 20 74 6f 3a 20 6d 61 6a 6f 72 2e 69 64 69 6f 74 40 67 6d 61 69 6c 2e 63 6f 6d 5c 6e .STB.to:.major.idiot@gmail.com\n
24c0 5c 6e 22 29 3b 0a 20 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 50 6c 65 61 73 \n");.....fprintf(stderr,."Pleas
24e0 65 20 72 75 6e 20 6d 79 74 68 63 68 61 6e 67 65 72 20 61 67 61 69 6e 20 77 69 74 68 20 74 68 65 e.run.mythchanger.again.with.the
2500 20 2d 66 20 6f 70 74 69 6f 6e 20 74 6f 20 66 6f 72 63 65 20 61 20 63 68 61 6e 6e 65 6c 20 63 68 .-f.option.to.force.a.channel.ch
2520 61 6e 67 65 72 20 66 6f 72 20 79 6f 75 72 20 53 54 42 5c 6e 5c 6e 22 29 3b 0a 20 20 20 20 65 78 anger.for.your.STB\n\n");.....ex
2540 69 74 28 30 29 3b 0a 7d 0a 0a 73 74 61 74 69 63 20 6f 63 74 6c 65 74 5f 74 20 67 65 74 5f 67 75 it(0);.}..static.octlet_t.get_gu
2560 69 64 28 72 61 77 31 33 39 34 68 61 6e 64 6c 65 5f 74 20 68 61 6e 64 6c 65 2c 20 6e 6f 64 65 69 id(raw1394handle_t.handle,.nodei
2580 64 5f 74 20 6e 6f 64 65 29 0d 0a 7b 0d 0a 09 71 75 61 64 6c 65 74 5f 74 20 20 20 20 20 20 20 71 d_t.node)..{...quadlet_t.......q
25a0 75 61 64 6c 65 74 3b 0d 0a 09 6f 63 74 6c 65 74 5f 74 20 20 20 20 20 20 20 20 6f 66 66 73 65 74 uadlet;...octlet_t........offset
25c0 3b 0d 0a 09 6f 63 74 6c 65 74 5f 74 20 20 20 20 20 20 20 20 67 75 69 64 20 3d 20 30 3b 0d 0a 0d ;...octlet_t........guid.=.0;...
25e0 0a 09 6f 66 66 73 65 74 20 3d 20 43 53 52 5f 52 45 47 49 53 54 45 52 5f 42 41 53 45 20 2b 20 43 ..offset.=.CSR_REGISTER_BASE.+.C
2600 53 52 5f 43 4f 4e 46 49 47 5f 52 4f 4d 20 2b 20 50 4c 55 47 52 45 50 4f 52 54 5f 47 55 49 44 5f SR_CONFIG_ROM.+.PLUGREPORT_GUID_
2620 48 49 3b 0d 0a 0d 0a 09 69 6e 74 20 65 72 72 6f 72 20 3d 20 72 61 77 31 33 39 34 5f 72 65 61 64 HI;.....int.error.=.raw1394_read
2640 28 68 61 6e 64 6c 65 2c 20 6e 6f 64 65 2c 20 6f 66 66 73 65 74 2c 20 73 69 7a 65 6f 66 28 71 75 (handle,.node,.offset,.sizeof(qu
2660 61 64 6c 65 74 5f 74 29 2c 20 26 71 75 61 64 6c 65 74 29 3b 0d 0a 09 69 66 20 28 65 72 72 6f 72 adlet_t),.&quadlet);...if.(error
2680 20 3d 3d 20 2d 31 29 0d 0a 09 7b 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 20 6f 66 66 6c 69 6e 65 .==.-1)...{..........int.offline
26a0 20 3d 20 28 65 72 72 6e 6f 20 3d 3d 20 31 31 29 3b 0d 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 .=.(errno.==.11);..........if.(!
26c0 6f 66 66 6c 69 6e 65 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 offline)..........{.............
26e0 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 67 65 74 5f 67 75 69 64 20 48 49 20 65 72 .fprintf(stderr,."get_guid.HI.er
2700 72 6f 72 3a 20 25 64 22 2c 20 65 72 72 6e 6f 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 ror:.%d",.errno);..............e
2720 78 69 74 28 31 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 72 65 74 75 xit(1);..........}..........retu
2740 72 6e 20 2d 31 3b 0d 0a 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 0d 0a 09 71 75 61 64 6c 65 rn.-1;......}.............quadle
2760 74 20 3d 20 68 74 6f 6e 6c 28 71 75 61 64 6c 65 74 29 3b 0d 0a 09 67 75 69 64 20 3d 20 71 75 61 t.=.htonl(quadlet);...guid.=.qua
2780 64 6c 65 74 3b 0d 0a 09 67 75 69 64 20 3c 3c 3d 20 33 32 3b 0d 0a 09 6f 66 66 73 65 74 20 3d 20 dlet;...guid.<<=.32;...offset.=.
27a0 43 53 52 5f 52 45 47 49 53 54 45 52 5f 42 41 53 45 20 2b 20 43 53 52 5f 43 4f 4e 46 49 47 5f 52 CSR_REGISTER_BASE.+.CSR_CONFIG_R
27c0 4f 4d 20 2b 20 50 4c 55 47 52 45 50 4f 52 54 5f 47 55 49 44 5f 4c 4f 3b 0d 0a 0d 0a 20 20 20 20 OM.+.PLUGREPORT_GUID_LO;........
27e0 65 72 72 6f 72 20 3d 20 72 61 77 31 33 39 34 5f 72 65 61 64 28 68 61 6e 64 6c 65 2c 20 6e 6f 64 error.=.raw1394_read(handle,.nod
2800 65 2c 20 6f 66 66 73 65 74 2c 20 73 69 7a 65 6f 66 28 71 75 61 64 6c 65 74 5f 74 29 2c 20 26 71 e,.offset,.sizeof(quadlet_t),.&q
2820 75 61 64 6c 65 74 29 3b 0d 0a 20 20 20 20 69 66 20 28 65 72 72 6f 72 20 3d 3d 20 2d 31 29 0d 0a uadlet);......if.(error.==.-1)..
2840 20 20 09 7b 0d 0a 20 20 20 20 20 20 20 20 20 69 6e 74 20 6f 66 66 6c 69 6e 65 20 3d 20 28 65 72 ...{...........int.offline.=.(er
2860 72 6e 6f 20 3d 3d 20 31 31 29 3b 0d 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 6f 66 66 6c 69 6e rno.==.11);..........if.(!offlin
2880 65 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 70 72 69 6e e)..........{..............fprin
28a0 74 66 28 73 74 64 65 72 72 2c 20 22 67 65 74 5f 67 75 69 64 20 48 49 20 65 72 72 6f 72 3a 20 25 tf(stderr,."get_guid.HI.error:.%
28c0 64 22 2c 20 65 72 72 6e 6f 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 78 69 74 28 31 29 d",.errno);..............exit(1)
28e0 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 2d 31 3b ;..........}..........return.-1;
2900 0d 0a 20 20 20 20 7d 0d 0a 09 71 75 61 64 6c 65 74 20 3d 20 68 74 6f 6e 6c 28 71 75 61 64 6c 65 ......}...quadlet.=.htonl(quadle
2920 74 29 3b 0d 0a 09 67 75 69 64 20 2b 3d 20 71 75 61 64 6c 65 74 3b 0d 0a 0d 0a 09 72 65 74 75 72 t);...guid.+=.quadlet;.....retur
2940 6e 20 67 75 69 64 3b 0d 0a 7d 0a 0a 6f 63 74 6c 65 74 5f 74 20 73 74 62 5f 6f 66 66 6c 69 6e 65 n.guid;..}..octlet_t.stb_offline
2960 28 6f 63 74 6c 65 74 5f 74 20 54 72 79 47 55 49 44 2c 20 6e 6f 64 65 69 64 5f 74 20 6e 6f 64 65 (octlet_t.TryGUID,.nodeid_t.node
2980 29 0d 0a 7b 0d 0a 20 20 20 20 77 68 69 6c 65 20 28 54 72 79 47 55 49 44 20 3d 3d 20 2d 31 29 0d )..{......while.(TryGUID.==.-1).
29a0 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 6d 73 5f 73 6c 65 65 70 28 35 30 30 29 3b 0d 0a .....{..........ms_sleep(500);..
29c0 20 20 20 20 20 20 20 20 54 72 79 47 55 49 44 20 3d 20 67 65 74 5f 67 75 69 64 28 68 61 6e 64 6c ........TryGUID.=.get_guid(handl
29e0 65 2c 20 30 78 66 66 63 30 20 7c 20 6e 6f 64 65 29 3b 0d 0a 20 20 20 20 7d 0d 0a 20 20 20 20 72 e,.0xffc0.|.node);......}......r
2a00 65 74 75 72 6e 20 54 72 79 47 55 49 44 3b 0d 0a 7d 0a 0a 69 6e 74 20 62 75 73 5f 72 65 73 65 74 eturn.TryGUID;..}..int.bus_reset
2a20 28 72 61 77 31 33 39 34 68 61 6e 64 6c 65 5f 74 20 68 61 6e 64 6c 65 29 0a 7b 0a 20 20 20 20 69 (raw1394handle_t.handle).{.....i
2a40 66 20 28 21 72 61 77 31 33 39 34 5f 72 65 73 65 74 5f 62 75 73 5f 6e 65 77 28 68 61 6e 64 6c 65 f.(!raw1394_reset_bus_new(handle
2a60 2c 20 52 41 57 31 33 39 34 5f 4c 4f 4e 47 5f 52 45 53 45 54 29 20 3d 3d 20 30 29 0a 20 20 20 20 ,.RAW1394_LONG_RESET).==.0).....
2a80 7b 0a 20 20 20 20 20 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 66 69 72 65 77 {.........fprintf(stderr,."firew
2aa0 69 72 65 20 62 75 73 20 72 65 73 65 74 20 46 41 49 4c 45 44 21 20 25 64 3a 20 25 73 5c 6e 22 2c ire.bus.reset.FAILED!.%d:.%s\n",
2ac0 20 65 72 72 6e 6f 2c 20 73 74 72 65 72 72 6f 72 28 20 65 72 72 6e 6f 20 29 29 3b 0a 20 20 20 20 .errno,.strerror(.errno.));.....
2ae0 20 20 20 20 72 61 77 31 33 39 34 5f 64 65 73 74 72 6f 79 5f 68 61 6e 64 6c 65 28 68 61 6e 64 6c ....raw1394_destroy_handle(handl
2b00 65 29 3b 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 31 3b 0a 20 20 e);.................return.1;...
2b20 20 20 20 0a 20 20 20 20 7d 0a 20 20 20 20 6d 73 5f 73 6c 65 65 70 28 32 35 30 30 29 3b 0a 20 20 ........}.....ms_sleep(2500);...
2b40 20 20 72 65 74 75 72 6e 20 30 3b 0a 7d 0a 0a 76 6f 69 64 20 46 69 6e 64 53 54 42 73 28 72 61 77 ..return.0;.}..void.FindSTBs(raw
2b60 31 33 39 34 68 61 6e 64 6c 65 5f 74 20 68 61 6e 64 6c 65 2c 20 6e 6f 64 65 69 64 5f 74 20 6e 6f 1394handle_t.handle,.nodeid_t.no
2b80 64 65 2c 20 69 6e 74 20 73 74 62 29 0a 7b 0a 20 20 20 20 0a 20 20 20 20 69 6e 74 20 69 3b 0a 20 de,.int.stb).{..........int.i;..
2ba0 20 20 20 69 6e 74 20 6a 3b 0a 20 20 20 20 69 6e 74 20 76 65 6e 64 6f 72 5f 63 6f 75 6e 74 3b 0a ...int.j;.....int.vendor_count;.
2bc0 20 20 20 20 69 6e 74 20 6d 6f 64 65 6c 5f 63 6f 75 6e 74 3b 0a 20 20 20 20 6f 63 74 6c 65 74 5f ....int.model_count;.....octlet_
2be0 74 20 67 75 69 64 3b 0a 20 20 20 20 6f 63 74 6c 65 74 5f 74 20 54 72 79 47 55 49 44 3b 0a 20 20 t.guid;.....octlet_t.TryGUID;...
2c00 20 20 72 6f 6d 31 33 39 34 5f 64 69 72 65 63 74 6f 72 79 20 72 6f 6d 64 69 72 3b 0a 0a 20 20 20 ..rom1394_directory.romdir;.....
2c20 20 69 66 20 28 72 6f 6d 31 33 39 34 5f 67 65 74 5f 64 69 72 65 63 74 6f 72 79 28 68 61 6e 64 6c .if.(rom1394_get_directory(handl
2c40 65 2c 20 6e 6f 64 65 2c 20 26 72 6f 6d 64 69 72 29 20 3c 20 30 29 20 0a 20 20 20 20 7b 0a 20 20 e,.node,.&romdir).<.0)......{...
2c60 20 20 20 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 45 52 52 4f 52 20 72 65 61 ......fprintf(stderr,."ERROR.rea
2c80 64 69 6e 67 20 63 6f 6e 66 69 67 20 72 6f 6d 20 64 69 72 65 63 74 6f 72 79 20 66 6f 72 20 6e 6f ding.config.rom.directory.for.no
2ca0 64 65 20 25 64 5c 6e 22 2c 20 6e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 65 78 69 74 28 31 29 de.%d\n",.node);.........exit(1)
2cc0 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 56 45 52 42 4f 53 45 28 22 53 54 42 20 56 65 6e 64 6f 72 ;.....}......VERBOSE("STB.Vendor
2ce0 20 49 44 3a 20 30 78 25 30 34 78 20 4d 6f 64 65 6c 20 49 44 3a 20 30 78 25 30 34 78 2c 20 22 2c .ID:.0x%04x.Model.ID:.0x%04x,.",
2d00 20 0a 20 20 20 20 20 20 20 20 72 6f 6d 64 69 72 2e 76 65 6e 64 6f 72 5f 69 64 2c 20 72 6f 6d 64 ..........romdir.vendor_id,.romd
2d20 69 72 2e 6d 6f 64 65 6c 5f 69 64 29 3b 20 0a 0a 20 20 20 20 53 54 42 53 5b 73 74 62 5d 2e 70 6f ir.model_id);.......STBS[stb].po
2d40 72 74 20 3d 20 70 6f 72 74 3b 0a 20 20 20 20 53 54 42 53 5b 73 74 62 5d 2e 6e 6f 64 65 20 3d 20 rt.=.port;.....STBS[stb].node.=.
2d60 6e 6f 64 65 3b 0a 20 20 20 20 53 54 42 53 5b 73 74 62 5d 2e 63 68 61 6e 67 65 72 20 3d 20 2d 31 node;.....STBS[stb].changer.=.-1
2d80 3b 0a 0a 20 20 20 20 67 75 69 64 20 3d 20 67 65 74 5f 67 75 69 64 28 68 61 6e 64 6c 65 2c 20 30 ;......guid.=.get_guid(handle,.0
2da0 78 66 66 63 30 20 7c 20 6e 6f 64 65 29 3b 0a 20 20 20 20 69 66 20 28 67 75 69 64 20 3d 3d 20 2d xffc0.|.node);.....if.(guid.==.-
2dc0 31 29 0d 0a 20 20 20 20 20 20 20 20 67 75 69 64 20 3d 20 73 74 62 5f 6f 66 66 6c 69 6e 65 28 54 1)..........guid.=.stb_offline(T
2de0 72 79 47 55 49 44 2c 20 6e 6f 64 65 29 3b 0d 0a 0a 20 20 20 20 53 54 42 53 5b 73 74 62 5d 2e 67 ryGUID,.node);.......STBS[stb].g
2e00 75 69 64 20 3d 20 67 75 69 64 3b 0a 0a 20 20 20 20 76 65 6e 64 6f 72 5f 63 6f 75 6e 74 20 3d 20 uid.=.guid;......vendor_count.=.
2e20 28 20 73 69 7a 65 6f 66 28 73 61 5f 76 65 6e 64 6f 72 29 20 2f 20 73 69 7a 65 6f 66 28 73 61 5f (.sizeof(sa_vendor)./.sizeof(sa_
2e40 76 65 6e 64 6f 72 5b 30 5d 29 20 29 3b 0a 20 20 20 20 6d 6f 64 65 6c 5f 63 6f 75 6e 74 20 3d 20 vendor[0]).);.....model_count.=.
2e60 28 20 73 69 7a 65 6f 66 28 73 61 5f 6d 6f 64 65 6c 29 20 2f 20 73 69 7a 65 6f 66 28 73 61 5f 6d (.sizeof(sa_model)./.sizeof(sa_m
2e80 6f 64 65 6c 5b 30 5d 29 20 29 3b 0a 20 20 20 20 0a 20 20 20 20 66 6f 72 20 28 69 20 3d 20 30 3b odel[0]).);..........for.(i.=.0;
2ea0 20 69 20 3c 20 76 65 6e 64 6f 72 5f 63 6f 75 6e 74 3b 20 69 2b 2b 29 0a 20 20 20 20 7b 0a 20 20 .i.<.vendor_count;.i++).....{...
2ec0 20 20 20 20 20 20 69 66 20 28 73 61 5f 76 65 6e 64 6f 72 5b 69 5d 20 3d 3d 20 72 6f 6d 64 69 72 ......if.(sa_vendor[i].==.romdir
2ee0 2e 76 65 6e 64 6f 72 5f 69 64 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 .vendor_id).........{...........
2f00 20 20 56 45 52 42 4f 53 45 28 22 53 63 69 65 6e 74 69 66 69 63 20 41 74 6c 61 6e 74 61 20 4d 6f ..VERBOSE("Scientific.Atlanta.Mo
2f20 64 65 6c 20 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 6a 20 3d 20 30 3b 20 del.");.............for.(j.=.0;.
2f40 6a 20 3c 20 6d 6f 64 65 6c 5f 63 6f 75 6e 74 3b 20 6a 2b 2b 29 0a 20 20 20 20 20 20 20 20 20 20 j.<.model_count;.j++)...........
2f60 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 61 5f 6d 6f 64 65 6c ..{.................if.(sa_model
2f80 5b 6a 5d 20 3d 3d 20 72 6f 6d 64 69 72 2e 6d 6f 64 65 6c 5f 69 64 29 0a 20 20 20 20 20 20 20 20 [j].==.romdir.model_id).........
2fa0 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 54 ........{.....................ST
2fc0 42 53 5b 73 74 62 5d 2e 63 68 61 6e 67 65 72 20 3d 20 6a 20 2b 20 31 3b 0a 20 20 20 20 20 20 20 BS[stb].changer.=.j.+.1;........
2fe0 20 20 20 20 20 20 20 20 20 20 20 20 20 56 45 52 42 4f 53 45 28 22 25 73 5c 6e 5c 6e 22 2c 20 73 .............VERBOSE("%s\n\n",.s
3000 61 5f 6e 61 6d 65 5b 6a 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 a_name[j]);.................}...
3020 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 ..........}.........}.....}.....
3040 0a 20 20 20 20 76 65 6e 64 6f 72 5f 63 6f 75 6e 74 20 3d 20 28 20 73 69 7a 65 6f 66 28 6d 6f 74 .....vendor_count.=.(.sizeof(mot
3060 6f 5f 76 65 6e 64 6f 72 29 20 2f 20 73 69 7a 65 6f 66 28 6d 6f 74 6f 5f 76 65 6e 64 6f 72 5b 30 o_vendor)./.sizeof(moto_vendor[0
3080 5d 29 20 29 3b 0a 20 20 20 20 6d 6f 64 65 6c 5f 63 6f 75 6e 74 20 3d 20 28 20 73 69 7a 65 6f 66 ]).);.....model_count.=.(.sizeof
30a0 28 6d 6f 74 6f 5f 6d 6f 64 65 6c 29 20 2f 20 73 69 7a 65 6f 66 28 6d 6f 74 6f 5f 6d 6f 64 65 6c (moto_model)./.sizeof(moto_model
30c0 5b 30 5d 29 20 29 3b 0a 20 20 20 20 0a 20 20 20 20 66 6f 72 20 28 69 20 3d 20 30 3b 20 69 20 3c [0]).);..........for.(i.=.0;.i.<
30e0 20 76 65 6e 64 6f 72 5f 63 6f 75 6e 74 3b 20 69 2b 2b 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 .vendor_count;.i++).....{.......
3100 20 20 69 66 20 28 6d 6f 74 6f 5f 76 65 6e 64 6f 72 5b 69 5d 20 3d 3d 20 72 6f 6d 64 69 72 2e 76 ..if.(moto_vendor[i].==.romdir.v
3120 65 6e 64 6f 72 5f 69 64 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 endor_id).........{.............
3140 53 54 42 53 5b 73 74 62 5d 2e 63 68 61 6e 67 65 72 20 3d 20 37 3b 0a 20 20 20 20 20 20 20 20 20 STBS[stb].changer.=.7;..........
3160 20 20 20 56 45 52 42 4f 53 45 28 22 4d 6f 74 6f 72 6f 6c 61 20 4d 6f 64 65 6c 20 22 29 3b 0a 20 ...VERBOSE("Motorola.Model.");..
3180 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 6a 20 3d 20 30 3b 20 6a 20 3c 20 6d 6f 64 65 6c ...........for.(j.=.0;.j.<.model
31a0 5f 63 6f 75 6e 74 3b 20 6a 2b 2b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 _count;.j++).............{......
31c0 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 6f 74 6f 5f 6d 6f 64 65 6c 5b 6a 5d 20 3d 3d 20 ...........if.(moto_model[j].==.
31e0 72 6f 6d 64 69 72 2e 6d 6f 64 65 6c 5f 69 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 romdir.model_id)................
3200 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 .....{.........................V
3220 45 52 42 4f 53 45 28 22 25 73 5c 6e 5c 6e 22 2c 20 6d 6f 74 6f 5f 6e 61 6d 65 5b 6a 5d 29 3b 0a ERBOSE("%s\n\n",.moto_name[j]);.
3240 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 ........................break;..
3260 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 ...................}............
3280 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6a 20 3d 3d 20 6d 6f 64 65 6c 5f 63 .}..............if.(j.==.model_c
32a0 6f 75 6e 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 45 52 42 4f 53 45 28 22 55 ount).................VERBOSE("U
32c0 6e 6b 6e 6f 77 6e 5c 6e 5c 6e 22 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 nknown\n\n");.........}.....}...
32e0 20 20 20 69 66 20 28 46 6f 72 63 65 64 43 68 61 6e 67 65 72 20 21 3d 20 2d 31 29 0a 20 20 20 20 ...if.(ForcedChanger.!=.-1).....
3300 7b 0a 20 20 20 20 20 20 20 20 56 45 52 42 4f 53 45 28 22 28 55 73 69 6e 67 20 75 73 65 72 20 73 {.........VERBOSE("(Using.user.s
3320 65 6c 65 63 74 65 64 20 63 68 61 6e 6e 65 6c 20 63 68 61 6e 67 65 72 20 23 25 64 29 5c 6e 5c 6e elected.channel.changer.#%d)\n\n
3340 22 2c 20 46 6f 72 63 65 64 43 68 61 6e 67 65 72 29 3b 0a 20 20 20 20 20 20 20 20 53 54 42 53 5b ",.ForcedChanger);.........STBS[
3360 73 74 62 5d 2e 63 68 61 6e 67 65 72 20 3d 20 46 6f 72 63 65 64 43 68 61 6e 67 65 72 3b 0a 20 20 stb].changer.=.ForcedChanger;...
3380 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 0a 20 20 ......return;.....}.............
33a0 20 20 69 66 20 28 53 54 42 53 5b 73 74 62 5d 2e 63 68 61 6e 67 65 72 20 3d 3d 20 2d 31 29 0a 20 ..if.(STBS[stb].changer.==.-1)..
33c0 20 20 20 20 20 20 20 62 61 64 5f 69 64 28 29 3b 0a 20 20 20 20 56 45 52 42 4f 53 45 28 22 5c 6e .......bad_id();.....VERBOSE("\n
33e0 22 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 0a 7d 0a 0a 76 6f 69 64 20 43 68 53 ");.....return;......}..void.ChS
3400 74 62 31 28 72 61 77 31 33 39 34 68 61 6e 64 6c 65 5f 74 20 68 61 6e 64 6c 65 2c 20 6e 6f 64 65 tb1(raw1394handle_t.handle,.node
3420 69 64 5f 74 20 6e 6f 64 65 2c 20 69 6e 74 20 73 74 62 63 68 6e 2c 20 69 6e 74 20 63 68 61 6e 67 id_t.node,.int.stbchn,.int.chang
3440 65 72 29 0a 7b 0a 20 20 20 20 71 75 61 64 6c 65 74 5f 74 20 41 56 43 63 6d 64 5b 33 5d 3b 0a 0a er).{.....quadlet_t.AVCcmd[3];..
3460 20 20 20 20 75 6e 73 69 67 6e 65 64 20 69 6e 74 20 72 65 74 6c 65 6e 20 3d 20 30 3b 0a 20 20 20 ....unsigned.int.retlen.=.0;....
3480 20 69 6e 74 20 69 3b 0a 20 20 20 20 69 6e 74 20 64 69 67 69 74 5b 33 5d 3b 0a 0a 20 20 20 20 64 .int.i;.....int.digit[3];......d
34a0 69 67 69 74 5b 30 5d 20 3d 20 28 73 74 62 63 68 6e 20 25 20 31 30 30 30 29 20 2f 20 31 30 30 3b igit[0].=.(stbchn.%.1000)./.100;
34c0 0a 20 20 20 20 64 69 67 69 74 5b 31 5d 20 3d 20 28 73 74 62 63 68 6e 20 25 20 31 30 30 29 20 20 .....digit[1].=.(stbchn.%.100)..
34e0 2f 20 31 30 3b 0a 20 20 20 20 64 69 67 69 74 5b 32 5d 20 3d 20 28 73 74 62 63 68 6e 20 25 20 31 /.10;.....digit[2].=.(stbchn.%.1
3500 30 29 3b 0a 0a 20 20 20 20 73 77 69 74 63 68 20 28 63 68 61 6e 67 65 72 29 0a 20 20 20 20 7b 0a 0);......switch.(changer).....{.
3520 20 20 20 20 20 20 20 20 63 61 73 65 20 4d 6f 74 6f 53 69 6e 67 3a 0a 20 20 20 20 20 20 20 20 20 ........case.MotoSing:..........
3540 20 20 66 6f 72 20 28 69 3d 30 3b 20 69 3c 33 3b 20 69 2b 2b 29 0a 20 20 20 20 20 20 20 20 20 20 ..for.(i=0;.i<3;.i++)...........
3560 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 41 56 43 63 6d 64 5b 30 5d 20 3d 20 4d 4f .{................AVCcmd[0].=.MO
3580 54 4f 53 49 4e 47 5f 43 4d 44 30 20 7c 20 64 69 67 69 74 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 TOSING_CMD0.|.digit[i];.........
35a0 20 20 20 20 20 20 20 41 56 43 63 6d 64 5b 31 5d 20 3d 20 30 78 30 3b 0a 0a 20 20 20 20 20 20 20 .......AVCcmd[1].=.0x0;.........
35c0 20 20 20 20 20 20 20 20 71 75 61 64 6c 65 74 5f 74 20 2a 41 56 43 72 65 74 20 3d 20 61 76 63 31 ........quadlet_t.*AVCret.=.avc1
35e0 33 39 34 5f 74 72 61 6e 73 61 63 74 69 6f 6e 5f 62 6c 6f 63 6b 32 28 68 61 6e 64 6c 65 2c 20 6e 394_transaction_block2(handle,.n
3600 6f 64 65 2c 20 41 56 43 63 6d 64 2c 20 32 2c 20 26 72 65 74 6c 65 6e 2c 20 31 29 3b 0a 20 20 20 ode,.AVCcmd,.2,.&retlen,.1);....
3620 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 20 28 41 56 43 72 65 74 5b 30 5d 20 3e 3e 20 32 ............if.(.(AVCret[0].>>.2
3640 34 29 20 21 3d 20 41 56 43 31 33 39 34 5f 52 45 53 50 5f 41 43 43 45 50 54 45 44 29 0a 20 20 20 4).!=.AVC1394_RESP_ACCEPTED)....
3660 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ............{...................
3680 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 43 48 41 4e 47 45 52 20 45 52 52 4f 52 2d .fprintf(stderr,."CHANGER.ERROR-
36a0 20 72 65 74 75 72 6e 3a 20 25 30 38 78 20 25 30 38 78 20 25 30 38 78 5c 6e 22 2c 20 0a 20 20 20 .return:.%08x.%08x.%08x\n",.....
36c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 71 75 61 64 6c 65 74 5f 74 29 20 ....................(quadlet_t).
36e0 41 56 43 72 65 74 5b 30 5d 2c 20 28 71 75 61 64 6c 65 74 5f 74 29 20 41 56 43 72 65 74 5b 31 5d AVCret[0],.(quadlet_t).AVCret[1]
3700 2c 20 28 71 75 61 64 6c 65 74 5f 74 29 20 41 56 43 72 65 74 5b 32 5d 29 3b 0a 20 20 20 20 20 20 ,.(quadlet_t).AVCret[2]);.......
3720 20 20 20 20 20 20 20 20 20 20 20 20 20 65 78 69 74 28 31 29 3b 0a 20 20 20 20 20 20 20 20 20 20 .............exit(1);...........
3740 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 73 5f 73 6c 65 65 70 28 37 .....}................ms_sleep(7
3760 35 30 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 50);.............}.............r
3780 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 63 61 73 65 eturn;......................case
37a0 20 4d 6f 74 6f 46 61 73 74 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 41 56 43 63 6d 64 5b 30 5d .MotoFast:.............AVCcmd[0]
37c0 20 3d 20 43 4f 4d 4d 4f 4e 5f 43 4d 44 30 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 41 56 43 63 .=.COMMON_CMD0;.............AVCc
37e0 6d 64 5b 31 5d 20 3d 20 43 4f 4d 4d 4f 4e 5f 43 4d 44 31 20 7c 20 28 73 74 62 63 68 6e 20 3c 3c md[1].=.COMMON_CMD1.|.(stbchn.<<
3800 20 38 29 20 7c 20 30 78 30 30 30 30 30 30 66 66 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 41 56 .8).|.0x000000ff;.............AV
3820 43 63 6d 64 5b 32 5d 20 3d 20 30 78 30 30 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 Ccmd[2].=.0x00;.............brea
3840 6b 3b 0a 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 63 61 73 65 20 53 41 33 32 35 30 48 44 k;.................case.SA3250HD
3860 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 41 56 43 63 6d 64 5b 30 5d 20 3d 20 53 41 33 32 35 30 :.............AVCcmd[0].=.SA3250
3880 48 44 5f 43 4d 44 30 20 7c 20 41 56 43 31 33 39 34 5f 53 41 33 32 35 30 5f 4f 50 45 52 41 4e 44 HD_CMD0.|.AVC1394_SA3250_OPERAND
38a0 5f 4b 45 59 5f 50 52 45 53 53 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 41 56 43 63 6d 64 5b 31 _KEY_PRESS;.............AVCcmd[1
38c0 5d 20 3d 20 43 4f 4d 4d 4f 4e 5f 43 4d 44 31 20 7c 20 28 64 69 67 69 74 5b 32 5d 20 3c 3c 20 31 ].=.COMMON_CMD1.|.(digit[2].<<.1
38e0 36 29 20 7c 20 28 64 69 67 69 74 5b 31 5d 20 3c 3c 20 38 29 20 7c 20 64 69 67 69 74 5b 30 5d 3b 6).|.(digit[1].<<.8).|.digit[0];
3900 0a 20 20 20 20 20 20 20 20 20 20 20 20 41 56 43 63 6d 64 5b 32 5d 20 3d 20 43 4f 4d 4d 4f 4e 5f .............AVCcmd[2].=.COMMON_
3920 43 4d 44 32 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 20 20 CMD2;.............break;........
3940 20 20 63 61 73 65 20 53 41 34 32 30 30 48 44 3a 0a 20 20 20 20 20 20 20 20 63 61 73 65 20 53 41 ..case.SA4200HD:.........case.SA
3960 38 33 30 30 48 44 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 41 56 43 63 6d 64 5b 30 5d 20 3d 20 8300HD:.............AVCcmd[0].=.
3980 53 41 33 32 35 30 48 44 5f 43 4d 44 30 20 7c 20 41 56 43 31 33 39 34 5f 53 41 33 32 35 30 5f 4f SA3250HD_CMD0.|.AVC1394_SA3250_O
39a0 50 45 52 41 4e 44 5f 4b 45 59 5f 50 52 45 53 53 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 41 56 PERAND_KEY_PRESS;.............AV
39c0 43 63 6d 64 5b 31 5d 20 3d 20 43 4f 4d 4d 4f 4e 5f 43 4d 44 31 20 7c 20 28 73 74 62 63 68 6e 20 Ccmd[1].=.COMMON_CMD1.|.(stbchn.
39e0 3c 3c 20 38 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 41 56 43 63 6d 64 5b 32 5d 20 3d 20 30 <<.8);.............AVCcmd[2].=.0
3a00 78 30 30 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 20 20 20 x00;.............break;.........
3a20 20 63 61 73 65 20 53 41 34 32 35 30 48 44 43 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 41 56 43 .case.SA4250HDC:.............AVC
3a40 63 6d 64 5b 30 5d 20 3d 20 53 41 33 32 35 30 48 44 5f 43 4d 44 30 20 7c 20 41 56 43 31 33 39 34 cmd[0].=.SA3250HD_CMD0.|.AVC1394
3a60 5f 53 41 33 32 35 30 5f 4f 50 45 52 41 4e 44 5f 4b 45 59 5f 50 52 45 53 53 3b 0a 20 20 20 20 20 _SA3250_OPERAND_KEY_PRESS;......
3a80 20 20 20 20 20 20 20 41 56 43 63 6d 64 5b 31 5d 20 3d 20 43 4f 4d 4d 4f 4e 5f 43 4d 44 31 20 7c .......AVCcmd[1].=.COMMON_CMD1.|
3aa0 20 28 73 74 62 63 68 6e 20 3c 3c 20 38 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 41 56 43 63 .(stbchn.<<.8);.............AVCc
3ac0 6d 64 5b 32 5d 20 3d 20 43 4f 4d 4d 4f 4e 5f 43 4d 44 32 3b 0a 20 20 20 20 20 20 20 20 20 20 20 md[2].=.COMMON_CMD2;............
3ae0 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 63 61 73 .break;......................cas
3b00 65 20 53 41 34 32 35 30 48 44 43 5f 61 6c 74 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 41 56 43 e.SA4250HDC_alt:.............AVC
3b20 63 6d 64 5b 30 5d 20 3d 20 43 4f 4d 4d 4f 4e 5f 43 4d 44 30 3b 0a 20 20 20 20 20 20 20 20 20 20 cmd[0].=.COMMON_CMD0;...........
3b40 20 20 41 56 43 63 6d 64 5b 31 5d 20 3d 20 43 4f 4d 4d 4f 4e 5f 43 4d 44 31 20 7c 20 28 73 74 62 ..AVCcmd[1].=.COMMON_CMD1.|.(stb
3b60 63 68 6e 20 3c 3c 20 38 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 41 56 43 63 6d 64 5b 32 5d chn.<<.8);.............AVCcmd[2]
3b80 20 3d 20 30 78 30 30 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 .=.0x00;.............break;.....
3ba0 20 20 20 20 20 64 65 66 61 75 6c 74 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 70 72 69 6e 74 .....default:.............fprint
3bc0 66 28 73 74 64 65 72 72 2c 20 22 49 6e 76 61 6c 69 64 20 63 68 61 6e 67 65 72 20 6f 70 74 69 6f f(stderr,."Invalid.changer.optio
3be0 6e 5c 6e 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 78 69 74 28 31 29 3b 0a 20 20 20 20 n\n");.............exit(1);.....
3c00 7d 0a 0a 20 20 20 20 6d 73 5f 73 6c 65 65 70 28 37 35 30 29 3b 0a 0a 20 20 20 20 71 75 61 64 6c }......ms_sleep(750);......quadl
3c20 65 74 5f 74 20 2a 41 56 43 72 65 74 20 3d 20 61 76 63 31 33 39 34 5f 74 72 61 6e 73 61 63 74 69 et_t.*AVCret.=.avc1394_transacti
3c40 6f 6e 5f 62 6c 6f 63 6b 32 28 68 61 6e 64 6c 65 2c 20 6e 6f 64 65 2c 20 41 56 43 63 6d 64 2c 20 on_block2(handle,.node,.AVCcmd,.
3c60 33 2c 20 26 72 65 74 6c 65 6e 2c 20 32 29 3b 0a 0a 20 20 20 20 69 66 20 28 20 28 41 56 43 72 65 3,.&retlen,.2);......if.(.(AVCre
3c80 74 5b 30 5d 20 3e 3e 20 32 34 29 20 21 3d 20 41 56 43 31 33 39 34 5f 52 45 53 50 5f 41 43 43 45 t[0].>>.24).!=.AVC1394_RESP_ACCE
3ca0 50 54 45 44 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 PTED).....{.........fprintf(stde
3cc0 72 72 2c 20 22 43 48 41 4e 47 45 52 20 45 52 52 4f 52 2d 20 72 65 74 75 72 6e 3a 20 25 30 38 78 rr,."CHANGER.ERROR-.return:.%08x
3ce0 20 25 30 38 78 20 25 30 38 78 5c 6e 22 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 71 75 61 .%08x.%08x\n",..............(qua
3d00 64 6c 65 74 5f 74 29 20 41 56 43 72 65 74 5b 30 5d 2c 20 28 71 75 61 64 6c 65 74 5f 74 29 20 41 dlet_t).AVCret[0],.(quadlet_t).A
3d20 56 43 72 65 74 5b 31 5d 2c 20 28 71 75 61 64 6c 65 74 5f 74 29 20 41 56 43 72 65 74 5b 32 5d 29 VCret[1],.(quadlet_t).AVCret[2])
3d40 3b 0a 20 20 20 20 20 20 20 20 65 78 69 74 28 31 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 73 77 ;.........exit(1);.....}......sw
3d60 69 74 63 68 20 28 63 68 61 6e 67 65 72 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 63 61 73 itch.(changer).....{.........cas
3d80 65 20 53 41 33 32 35 30 48 44 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 41 56 43 63 6d 64 5b 30 e.SA3250HD:.............AVCcmd[0
3da0 5d 20 3d 20 53 41 33 32 35 30 48 44 5f 43 4d 44 30 20 7c 20 41 56 43 31 33 39 34 5f 50 41 4e 45 ].=.SA3250HD_CMD0.|.AVC1394_PANE
3dc0 4c 5f 4b 45 59 54 55 4e 45 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 41 56 43 63 6d 64 5b 31 5d L_KEYTUNE;.............AVCcmd[1]
3de0 20 3d 20 43 4f 4d 4d 4f 4e 5f 43 4d 44 31 20 7c 20 28 64 69 67 69 74 5b 30 5d 20 3c 3c 20 31 36 .=.COMMON_CMD1.|.(digit[0].<<.16
3e00 29 20 7c 20 28 64 69 67 69 74 5b 31 5d 20 3c 3c 20 38 29 20 7c 20 64 69 67 69 74 5b 32 5d 3b 0a ).|.(digit[1].<<.8).|.digit[2];.
3e20 20 20 20 20 20 20 20 20 20 20 20 20 41 56 43 63 6d 64 5b 32 5d 20 3d 20 43 4f 4d 4d 4f 4e 5f 43 ............AVCcmd[2].=.COMMON_C
3e40 4d 44 32 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 20 20 20 MD2;.............break;.........
3e60 20 63 61 73 65 20 53 41 34 32 35 30 48 44 43 5f 61 6c 74 3a 0a 20 20 20 20 20 20 20 20 20 20 20 .case.SA4250HDC_alt:............
3e80 20 41 56 43 63 6d 64 5b 30 5d 20 7c 3d 20 41 56 43 31 33 39 34 5f 50 41 4e 45 4c 5f 4f 50 45 52 .AVCcmd[0].|=.AVC1394_PANEL_OPER
3ea0 41 4e 44 5f 52 45 4c 45 41 53 45 3b 0a 0a 20 20 20 20 20 20 20 20 64 65 66 61 75 6c 74 3a 0a 20 AND_RELEASE;..........default:..
3ec0 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 41 56 ...........return;.....}......AV
3ee0 43 72 65 74 20 3d 20 61 76 63 31 33 39 34 5f 74 72 61 6e 73 61 63 74 69 6f 6e 5f 62 6c 6f 63 6b Cret.=.avc1394_transaction_block
3f00 32 28 68 61 6e 64 6c 65 2c 20 6e 6f 64 65 2c 20 41 56 43 63 6d 64 2c 20 33 2c 20 26 72 65 74 6c 2(handle,.node,.AVCcmd,.3,.&retl
3f20 65 6e 2c 20 32 29 3b 0a 0a 20 20 20 20 69 66 20 28 20 28 41 56 43 72 65 74 5b 30 5d 20 3e 3e 20 en,.2);......if.(.(AVCret[0].>>.
3f40 32 34 29 20 21 3d 20 41 56 43 31 33 39 34 5f 52 45 53 50 5f 41 43 43 45 50 54 45 44 29 0a 20 20 24).!=.AVC1394_RESP_ACCEPTED)...
3f60 20 20 7b 0a 20 20 20 20 20 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 43 48 41 ..{.........fprintf(stderr,."CHA
3f80 4e 47 45 52 20 45 52 52 4f 52 2d 20 72 65 74 75 72 6e 3a 20 25 30 38 78 20 25 30 38 78 20 25 30 NGER.ERROR-.return:.%08x.%08x.%0
3fa0 38 78 5c 6e 22 2c 20 28 71 75 61 64 6c 65 74 5f 74 29 20 41 56 43 72 65 74 5b 30 5d 2c 20 28 71 8x\n",.(quadlet_t).AVCret[0],.(q
3fc0 75 61 64 6c 65 74 5f 74 29 20 41 56 43 72 65 74 5b 31 5d 2c 20 28 71 75 61 64 6c 65 74 5f 74 29 uadlet_t).AVCret[1],.(quadlet_t)
3fe0 20 41 56 43 72 65 74 5b 32 5d 29 3b 0a 20 20 20 20 20 20 20 20 65 78 69 74 28 31 29 3b 0a 20 20 .AVCret[2]);.........exit(1);...
4000 20 20 7d 0a 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 7d 0a 0a 69 6e 74 20 74 61 70 5f 70 6c 75 67 ..}......return;.}..int.tap_plug
4020 30 28 72 61 77 31 33 39 34 68 61 6e 64 6c 65 5f 74 20 68 61 6e 64 6c 65 2c 20 6e 6f 64 65 69 64 0(raw1394handle_t.handle,.nodeid
4040 5f 74 20 6e 6f 64 65 2c 20 69 6e 74 20 61 63 74 69 6f 6e 2c 20 69 6e 74 20 70 6c 75 67 73 74 61 _t.node,.int.action,.int.plugsta
4060 74 65 29 20 7b 0a 0a 20 20 20 20 73 74 72 75 63 74 20 69 65 63 36 31 38 38 33 5f 6f 50 43 52 20 te).{......struct.iec61883_oPCR.
4080 6f 5f 70 63 72 3b 0a 20 20 20 20 69 6e 74 20 70 6c 75 67 61 63 74 3b 0a 20 20 20 20 69 6e 74 20 o_pcr;.....int.plugact;.....int.
40a0 70 6c 75 67 6e 6f 64 65 20 3d 20 28 30 78 66 66 63 30 20 2b 20 6e 6f 64 65 29 3b 0a 0a 20 20 20 plugnode.=.(0xffc0.+.node);.....
40c0 20 69 66 20 28 21 61 63 74 69 6f 6e 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 70 6c 75 67 .if.(!action).....{.........plug
40e0 61 63 74 20 3d 20 69 65 63 36 31 38 38 33 5f 67 65 74 5f 6f 50 43 52 30 28 68 61 6e 64 6c 65 2c act.=.iec61883_get_oPCR0(handle,
4100 20 70 6c 75 67 6e 6f 64 65 2c 20 26 6f 5f 70 63 72 29 3b 20 20 0a 20 20 20 20 20 20 20 20 69 66 .plugnode,.&o_pcr);...........if
4120 20 28 70 6c 75 67 61 63 74 20 3c 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 .(plugact.<.0).............retur
4140 6e 20 30 3b 20 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 n.0;..........else.............r
4160 65 74 75 72 6e 20 31 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 6f 5f 70 63 72 2e 6e 5f 70 32 70 5f eturn.1;.....}......o_pcr.n_p2p_
4180 63 6f 6e 6e 65 63 74 69 6f 6e 73 20 3d 20 70 6c 75 67 73 74 61 74 65 3b 0a 20 20 20 20 70 6c 75 connections.=.plugstate;.....plu
41a0 67 61 63 74 20 3d 20 69 65 63 36 31 38 38 33 5f 73 65 74 5f 6f 50 43 52 30 28 68 61 6e 64 6c 65 gact.=.iec61883_set_oPCR0(handle
41c0 2c 20 70 6c 75 67 6e 6f 64 65 2c 20 6f 5f 70 63 72 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 ,.plugnode,.o_pcr);.........if.(
41e0 70 6c 75 67 61 63 74 20 3c 20 30 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 plugact.<.0).........{..........
4200 20 20 20 56 45 52 42 4f 53 45 28 22 45 52 52 4f 52 20 73 65 74 74 69 6e 67 20 30 50 43 52 30 3a ...VERBOSE("ERROR.setting.0PCR0:
4220 20 25 73 5c 6e 22 2c 20 73 74 72 65 72 72 6f 72 28 20 65 72 72 6e 6f 20 29 29 3b 0a 20 20 20 20 .%s\n",.strerror(.errno.));.....
4240 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 30 3b 20 20 0a 20 20 20 20 20 20 20 20 7d 20 20 20 ........return.0;...........}...
4260 20 20 20 20 20 0a 20 20 20 20 20 20 20 0a 20 20 20 20 72 65 74 75 72 6e 20 31 3b 0a 7d 0a 0a 76 ..................return.1;.}..v
4280 6f 69 64 20 75 73 61 67 65 28 76 6f 69 64 29 20 7b 0a 20 20 20 20 66 70 72 69 6e 74 66 28 73 74 oid.usage(void).{.....fprintf(st
42a0 64 65 72 72 2c 20 22 6d 79 74 68 63 68 61 6e 67 65 72 20 5b 2d 63 20 3c 63 68 61 6e 6e 65 6c 23 derr,."mythchanger.[-c.<channel#
42c0 3e 5d 20 5b 2d 66 20 3c 63 68 61 6e 67 65 72 23 3e 5d 20 5b 2d 67 20 3c 47 55 49 44 3e 5d 20 5b >].[-f.<changer#>].[-g.<GUID>].[
42e0 2d 50 5d 20 5b 2d 52 5d 20 5b 2d 76 5d 5b 2d 56 5d 5b 2d 68 5d 5c 6e 22 29 3b 0a 20 20 20 20 66 -P].[-R].[-v][-V][-h]\n");.....f
4300 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 20 4f 70 74 69 6f 6e 73 3a 5c 6e 22 29 3b 0a 20 printf(stderr,.".Options:\n");..
4320 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 20 20 20 20 2d 63 20 3c 63 68 61 6e ...fprintf(stderr,."....-c.<chan
4340 6e 65 6c 20 6e 75 6d 62 65 72 3e 5c 6e 22 29 3b 0a 20 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 nel.number>\n");.....fprintf(std
4360 65 72 72 2c 20 22 20 20 20 20 2d 66 20 3c 63 68 61 6e 67 65 72 3e 20 66 6f 72 63 65 20 63 68 61 err,."....-f.<changer>.force.cha
4380 6e 6e 65 6c 20 63 68 61 6e 67 65 72 3a 5c 6e 22 29 3b 0d 0a 20 20 20 20 66 70 72 69 6e 74 66 28 nnel.changer:\n");......fprintf(
43a0 73 74 64 65 72 72 2c 20 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5c 74 20 20 31 20 3d 20 53 stderr,."..............\t..1.=.S
43c0 41 33 32 35 30 48 44 5c 6e 22 29 3b 0d 0a 20 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 A3250HD\n");......fprintf(stderr
43e0 2c 20 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5c 74 20 20 32 20 3d 20 53 41 34 32 30 30 48 ,."..............\t..2.=.SA4200H
4400 44 20 28 61 6e 64 20 73 6f 6d 65 20 33 32 35 30 73 29 5c 6e 22 29 3b 0d 0a 20 20 20 20 66 70 72 D.(and.some.3250s)\n");......fpr
4420 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5c 74 20 20 intf(stderr,."..............\t..
4440 33 20 3d 20 53 41 34 32 35 30 48 44 43 5c 6e 22 29 3b 0d 0a 20 20 20 20 66 70 72 69 6e 74 66 28 3.=.SA4250HDC\n");......fprintf(
4460 73 74 64 65 72 72 2c 20 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5c 74 20 20 34 20 3d 20 53 stderr,."..............\t..4.=.S
4480 41 34 32 35 30 48 44 43 20 61 6c 74 65 72 6e 61 74 65 20 28 61 6e 64 20 34 32 34 30 48 44 43 73 A4250HDC.alternate.(and.4240HDCs
44a0 20 77 69 74 68 20 34 32 35 30 20 66 69 72 6d 77 61 72 65 29 5c 6e 22 29 3b 20 20 20 20 0d 0a 20 .with.4250.firmware)\n");.......
44c0 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 20 20 20 20 20 20 20 20 20 20 20 20 ...fprintf(stderr,."............
44e0 20 20 5c 74 20 20 35 20 3d 20 53 41 38 33 30 30 5c 6e 22 29 3b 0d 0a 20 20 20 20 66 70 72 69 6e ..\t..5.=.SA8300\n");......fprin
4500 74 66 28 73 74 64 65 72 72 2c 20 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5c 74 20 20 36 20 tf(stderr,."..............\t..6.
4520 3d 20 4d 6f 74 6f 72 6f 6c 61 20 46 61 73 74 20 28 44 43 48 20 61 6e 64 20 44 43 54 20 73 65 72 =.Motorola.Fast.(DCH.and.DCT.ser
4540 69 65 73 29 5c 6e 22 29 3b 0d 0a 20 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 ies)\n");......fprintf(stderr,."
4560 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5c 74 20 20 37 20 3d 20 4d 6f 74 6f 72 6f 6c 61 20 53 ..............\t..7.=.Motorola.S
4580 69 6e 67 6c 65 2d 64 69 67 69 74 20 28 64 65 66 61 75 6c 74 29 5c 6e 22 29 3b 0a 20 20 20 20 66 ingle-digit.(default)\n");.....f
45a0 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 20 20 20 20 2d 67 20 3c 47 55 49 44 3e 5c 74 47 printf(stderr,."....-g.<GUID>\tG
45c0 55 49 44 20 6f 66 20 74 61 72 67 65 74 20 53 54 42 20 28 66 6f 72 20 6d 75 6c 74 69 70 6c 65 20 UID.of.target.STB.(for.multiple.
45e0 53 54 42 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 73 29 5c 6e 22 29 3b 20 20 20 20 0a 20 20 20 STB.configurations)\n");........
4600 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 20 20 20 20 2d 50 5c 74 5c 74 70 6f 77 65 .fprintf(stderr,."....-P\t\tpowe
4620 72 20 6f 6e 20 53 54 42 20 28 64 65 66 61 75 6c 74 3a 20 6e 6f 29 5c 6e 22 29 3b 0a 20 20 20 20 r.on.STB.(default:.no)\n");.....
4640 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 20 20 20 20 2d 52 5c 74 5c 74 72 65 73 65 74 fprintf(stderr,."....-R\t\treset
4660 20 66 69 72 65 77 69 72 65 20 62 75 73 20 62 65 66 6f 72 65 20 64 6f 69 6e 67 20 61 6e 79 74 68 .firewire.bus.before.doing.anyth
4680 69 6e 67 20 65 6c 73 65 20 28 64 65 66 61 75 6c 74 3a 20 6e 6f 29 5c 6e 22 29 3b 20 20 20 20 0a ing.else.(default:.no)\n");.....
46a0 20 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 20 20 20 20 2d 76 20 20 20 20 20 ....fprintf(stderr,."....-v.....
46c0 20 20 20 20 20 2d 20 76 65 72 62 6f 73 65 20 6f 75 74 70 75 74 5c 6e 22 29 3b 0a 20 20 20 20 66 .....-.verbose.output\n");.....f
46e0 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 20 20 20 20 2d 56 20 20 20 20 20 20 20 20 20 20 printf(stderr,."....-V..........
4700 2d 20 44 69 73 70 6c 61 79 20 76 65 72 73 69 6f 6e 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 61 6e -.Display.version.information.an
4720 64 20 65 78 69 74 5c 6e 22 29 3b 0a 20 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 d.exit\n");.....fprintf(stderr,.
4740 22 20 20 20 20 2d 68 20 20 20 20 20 20 20 20 20 20 2d 20 64 69 73 70 6c 61 79 20 74 68 69 73 20 "....-h..........-.display.this.
4760 68 65 6c 70 20 61 6e 64 20 65 78 69 74 5c 6e 22 29 3b 0a 20 20 20 20 65 78 69 74 28 31 29 3b 0a help.and.exit\n");.....exit(1);.
4780 7d 0a 0a 69 6e 74 20 6d 61 69 6e 28 69 6e 74 20 61 72 67 63 2c 20 63 68 61 72 20 2a 2a 61 72 67 }..int.main(int.argc,.char.**arg
47a0 76 29 0a 7b 0a 20 20 20 20 69 6e 74 20 63 3b 0a 20 20 20 20 69 6e 74 20 64 65 76 69 63 65 73 3b v).{.....int.c;.....int.devices;
47c0 0a 20 20 20 20 69 6e 74 20 73 65 61 72 63 68 6e 6f 64 65 20 3d 20 30 3b 0a 20 20 20 20 69 6e 74 .....int.searchnode.=.0;.....int
47e0 20 54 6f 74 61 6c 50 6f 72 74 73 3b 0a 20 20 20 20 69 6e 74 20 53 54 42 63 6f 75 6e 74 20 3d 20 .TotalPorts;.....int.STBcount.=.
4800 30 3b 0a 20 20 20 20 69 6e 74 20 73 6b 69 70 70 65 64 20 3d 20 30 3b 0a 20 20 20 20 69 6e 74 20 0;.....int.skipped.=.0;.....int.
4820 69 67 6e 6f 72 65 64 20 3d 20 30 3b 0a 20 20 20 20 6f 63 74 6c 65 74 5f 74 20 54 61 72 67 65 74 ignored.=.0;.....octlet_t.Target
4840 47 55 49 44 20 3d 20 30 3b 0a 0a 20 20 20 20 6f 70 74 65 72 72 20 3d 20 30 3b 0a 0a 20 20 20 20 GUID.=.0;......opterr.=.0;......
4860 77 68 69 6c 65 20 28 28 63 20 3d 20 67 65 74 6f 70 74 28 61 72 67 63 2c 20 61 72 67 76 2c 20 22 while.((c.=.getopt(argc,.argv,."
4880 63 3a 66 3a 67 3a 50 52 76 56 68 22 29 29 20 21 3d 20 2d 31 29 0a 20 20 20 20 7b 0a 20 20 20 20 c:f:g:PRvVh")).!=.-1).....{.....
48a0 20 20 20 20 73 77 69 74 63 68 20 28 63 29 20 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 ....switch.(c)..........{.......
48c0 20 20 20 20 20 20 63 61 73 65 20 27 63 27 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ......case.'c':.................
48e0 63 68 61 6e 6e 65 6c 20 3d 20 61 74 6f 69 28 6f 70 74 61 72 67 29 3b 0a 20 20 20 20 20 20 20 20 channel.=.atoi(optarg);.........
4900 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 ........break;..............case
4920 20 27 66 27 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 46 6f 72 63 65 64 43 68 61 6e .'f':.................ForcedChan
4940 67 65 72 20 3d 20 61 74 6f 69 28 6f 70 74 61 72 67 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ger.=.atoi(optarg);.............
4960 20 20 20 20 20 69 66 20 28 20 46 6f 72 63 65 64 43 68 61 6e 67 65 72 20 3c 3d 20 30 20 7c 7c 20 .....if.(.ForcedChanger.<=.0.||.
4980 46 6f 72 63 65 64 43 68 61 6e 67 65 72 20 3e 20 37 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ForcedChanger.>.7)..............
49a0 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 70 72 69 6e ....{......................fprin
49c0 74 66 28 73 74 64 65 72 72 2c 20 22 49 6e 76 61 6c 69 64 20 63 68 61 6e 6e 65 6c 20 63 68 61 6e tf(stderr,."Invalid.channel.chan
49e0 67 65 72 20 6f 70 74 69 6f 6e 5c 6e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ger.option\n");.................
4a00 20 20 20 20 20 75 73 61 67 65 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d .....usage();..................}
4a20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 46 6f 72 63 65 64 43 68 61 6e 67 65 72 20 ..................ForcedChanger.
4a40 3d 20 28 46 6f 72 63 65 64 43 68 61 6e 67 65 72 20 3d 3d 20 35 29 20 3f 20 32 3a 20 46 6f 72 63 =.(ForcedChanger.==.5).?.2:.Forc
4a60 65 64 43 68 61 6e 67 65 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b edChanger;.................break
4a80 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 27 67 27 3a 0a 20 20 20 20 20 20 20 ;..............case.'g':........
4aa0 20 20 20 20 20 20 20 20 20 54 61 72 67 65 74 47 55 49 44 20 3d 20 73 74 72 74 6f 6c 6c 28 6f 70 .........TargetGUID.=.strtoll(op
4ac0 74 61 72 67 2c 20 30 2c 20 31 36 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 targ,.0,.16);.................br
4ae0 65 61 6b 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 27 50 27 3a 0a 20 20 20 20 eak;..............case.'P':.....
4b00 20 20 20 20 20 20 20 20 20 20 20 20 50 6f 77 65 72 4f 6e 3d 20 31 3b 0a 20 20 20 20 20 20 20 20 ............PowerOn=.1;.........
4b20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 ........break;..............case
4b40 20 27 52 27 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 52 65 73 65 74 46 69 72 73 74 .'R':.................ResetFirst
4b60 3d 20 31 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 20 20 20 20 20 =.1;.................break;.....
4b80 20 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
4ba0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 ................................
4bc0 20 20 20 20 20 20 20 20 20 63 61 73 65 20 27 76 27 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 .........case.'v':..............
4be0 20 20 20 76 65 72 62 6f 73 65 20 3d 20 31 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ...verbose.=.1;.................
4c00 62 72 65 61 6b 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 27 56 27 3a 0a 20 20 break;..............case.'V':...
4c20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 5c ..............fprintf(stderr,."\
4c40 6e 6d 79 74 68 63 68 61 6e 67 65 72 20 76 65 72 73 69 6f 6e 20 25 73 5c 6e 5c 6e 22 2c 20 56 45 nmythchanger.version.%s\n\n",.VE
4c60 52 53 49 4f 4e 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 78 69 74 28 31 29 3b RSION);.................exit(1);
4c80 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 20 20 20 .................break;.........
4ca0 20 20 20 20 20 63 61 73 65 20 27 68 27 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 .....case.'h':.................u
4cc0 73 61 67 65 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 78 69 74 28 31 29 3b sage();.................exit(1);
4ce0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 20 20 20 .................break;.........
4d00 20 20 20 20 20 64 65 66 61 75 6c 74 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 70 .....default:.................fp
4d20 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 5c 6e 49 6e 76 61 6c 69 64 20 63 6f 6d 6d 61 6e 64 rintf(stderr,."\nInvalid.command
4d40 20 6c 69 6e 65 5c 6e 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 73 61 67 65 .line\n");.................usage
4d60 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 7d 0a 20 ();..........................}..
4d80 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 21 63 68 61 6e 6e 65 6c 29 0a 20 20 20 20 20 20 20 20 ...}......if.(!channel).........
4da0 75 73 61 67 65 28 29 3b 0a 0a 20 20 20 20 56 45 52 42 4f 53 45 28 22 5c 6e 6d 79 74 68 63 68 61 usage();......VERBOSE("\nmythcha
4dc0 6e 67 65 72 20 25 73 5c 6e 5c 6e 22 2c 20 56 45 52 53 49 4f 4e 29 3b 0a 0a 20 20 20 20 56 45 52 nger.%s\n\n",.VERSION);......VER
4de0 42 4f 53 45 28 22 41 63 71 75 69 72 69 6e 67 20 66 69 72 65 77 69 72 65 20 68 61 6e 64 6c 65 2e BOSE("Acquiring.firewire.handle.
4e00 2e 2e 20 22 29 3b 0a 0a 20 20 20 20 69 66 20 28 21 28 68 61 6e 64 6c 65 20 3d 20 72 61 77 31 33 ...");......if.(!(handle.=.raw13
4e20 39 34 5f 6e 65 77 5f 68 61 6e 64 6c 65 28 29 29 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 94_new_handle())).....{.........
4e40 56 45 52 42 4f 53 45 28 22 46 41 49 4c 45 44 21 5c 6e 22 29 3b 0a 20 20 20 20 20 20 20 20 72 65 VERBOSE("FAILED!\n");.........re
4e60 74 75 72 6e 20 31 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 56 45 52 42 4f 53 45 28 22 4f 4b 2e 5c turn.1;.....}......VERBOSE("OK.\
4e80 6e 22 29 3b 0a 0a 20 20 20 20 54 6f 74 61 6c 50 6f 72 74 73 20 3d 20 72 61 77 31 33 39 34 5f 67 n");......TotalPorts.=.raw1394_g
4ea0 65 74 5f 70 6f 72 74 5f 69 6e 66 6f 28 68 61 6e 64 6c 65 2c 20 4e 55 4c 4c 2c 20 30 29 3b 0a 20 et_port_info(handle,.NULL,.0);..
4ec0 20 20 20 56 45 52 42 4f 53 45 28 22 25 64 20 70 6f 72 74 28 73 29 20 66 6f 75 6e 64 5c 6e 22 2c ...VERBOSE("%d.port(s).found\n",
4ee0 20 54 6f 74 61 6c 50 6f 72 74 73 29 3b 0a 20 20 20 20 0a 20 20 20 20 69 66 20 28 52 65 73 65 74 .TotalPorts);..........if.(Reset
4f00 46 69 72 73 74 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 62 75 73 5f 72 65 First).....{.........if.(!bus_re
4f20 73 65 74 28 68 61 6e 64 6c 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 56 45 52 42 4f 53 45 set(handle)).............VERBOSE
4f40 28 22 49 6e 69 74 69 61 6c 20 62 75 73 20 72 65 73 65 74 20 73 75 63 63 65 65 64 65 64 5c 6e 22 ("Initial.bus.reset.succeeded\n"
4f60 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 );.........else.............retu
4f80 72 6e 20 31 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 77 68 69 6c 65 20 28 70 6f 72 74 20 3c 20 54 rn.1;.....}......while.(port.<.T
4fa0 6f 74 61 6c 50 6f 72 74 73 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 56 45 52 42 4f 53 45 otalPorts).....{.........VERBOSE
4fc0 28 22 5c 6e 41 63 71 75 69 72 69 6e 67 20 68 61 6e 64 6c 65 20 6f 6e 20 70 6f 72 74 20 25 64 2e ("\nAcquiring.handle.on.port.%d.
4fe0 2e 2e 20 22 2c 20 70 6f 72 74 29 3b 0a 20 20 20 20 20 20 20 20 68 61 6e 64 6c 65 20 3d 20 72 61 ...",.port);.........handle.=.ra
5000 77 31 33 39 34 5f 6e 65 77 5f 68 61 6e 64 6c 65 5f 6f 6e 5f 70 6f 72 74 28 70 6f 72 74 29 3b 0a w1394_new_handle_on_port(port);.
5020 20 20 20 20 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 68 61 6e 64 6c 65 29 0a 20 20 20 20 20 20 .............if.(!handle).......
5040 20 20 7b 09 09 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 ..{...............fprintf(stderr
5060 2c 20 22 46 61 69 6c 65 64 21 5c 6e 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 ,."Failed!\n");.............retu
5080 72 6e 20 31 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 64 65 76 69 63 65 73 rn.1;.........}..........devices
50a0 20 3d 20 72 61 77 31 33 39 34 5f 67 65 74 5f 6e 6f 64 65 63 6f 75 6e 74 28 68 61 6e 64 6c 65 29 .=.raw1394_get_nodecount(handle)
50c0 3b 0a 20 20 20 20 20 20 20 20 56 45 52 42 4f 53 45 28 22 25 64 20 64 65 76 69 63 65 73 20 64 65 ;.........VERBOSE("%d.devices.de
50e0 74 65 63 74 65 64 2e 5c 6e 22 2c 20 64 65 76 69 63 65 73 20 2d 20 31 29 3b 0a 20 20 20 20 20 20 tected.\n",.devices.-.1);.......
5100 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 66 6f 72 20 28 20 3b 20 ........................for.(.;.
5120 64 65 76 69 63 65 73 20 3e 20 30 3b 20 64 65 76 69 63 65 73 2d 2d 29 0a 20 20 20 20 20 20 20 20 devices.>.0;.devices--).........
5140 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 61 70 5f 70 6c 75 67 30 28 68 61 6e {.............if.(!tap_plug0(han
5160 64 6c 65 2c 20 73 65 61 72 63 68 6e 6f 64 65 2c 20 30 2c 20 30 29 29 0a 20 20 20 20 20 20 20 20 dle,.searchnode,.0,.0)).........
5180 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 45 52 42 4f 53 45 28 22 53 ....{.................VERBOSE("S
51a0 6b 69 70 70 69 6e 67 20 65 6d 70 74 79 20 6e 6f 64 65 20 25 64 5c 6e 22 2c 20 73 65 61 72 63 68 kipping.empty.node.%d\n",.search
51c0 6e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 6b 69 70 70 65 64 2b 2b node);.................skipped++
51e0 3b 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 61 72 63 68 6e 6f 64 65 2b 2b 3b ;..................searchnode++;
5200 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 20 20 20 20 20 .................continue;......
5220 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 61 76 63 31 33 .......}..............if.(!avc13
5240 39 34 5f 63 68 65 63 6b 5f 73 75 62 75 6e 69 74 5f 74 79 70 65 28 68 61 6e 64 6c 65 2c 20 73 65 94_check_subunit_type(handle,.se
5260 61 72 63 68 6e 6f 64 65 2c 20 54 55 4e 45 52 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 archnode,.TUNER).||.............
5280 20 20 20 20 21 61 76 63 31 33 39 34 5f 63 68 65 63 6b 5f 73 75 62 75 6e 69 74 5f 74 79 70 65 28 ....!avc1394_check_subunit_type(
52a0 68 61 6e 64 6c 65 2c 20 73 65 61 72 63 68 6e 6f 64 65 2c 20 50 41 4e 45 4c 29 29 0a 20 20 20 20 handle,.searchnode,.PANEL)).....
52c0 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 70 72 69 6e 74 ........{.................fprint
52e0 66 28 73 74 64 65 72 72 2c 20 22 6e 6f 64 65 20 25 64 20 69 73 20 6e 6f 74 20 61 6e 20 53 54 42 f(stderr,."node.%d.is.not.an.STB
5300 5c 6e 22 2c 20 73 65 61 72 63 68 6e 6f 64 65 29 3b 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 \n",.searchnode);...............
5320 20 20 20 69 67 6e 6f 72 65 64 2b 2b 3b 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ...ignored++;...................
5340 73 65 61 72 63 68 6e 6f 64 65 2b 2b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f searchnode++;.................co
5360 6e 74 69 6e 75 65 3b 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 ntinue;...............}.........
5380 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6f 77 65 72 4f 6e 29 0a 20 20 .................if.(PowerOn)...
53a0 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 45 52 42 ..........{.................VERB
53c0 4f 53 45 28 22 50 6f 77 65 72 69 6e 67 20 64 65 76 69 63 65 20 6f 6e 20 70 6f 72 74 20 25 64 20 OSE("Powering.device.on.port.%d.
53e0 6e 6f 64 65 20 25 64 20 22 2c 20 70 6f 72 74 2c 20 73 65 61 72 63 68 6e 6f 64 65 29 3b 0a 20 20 node.%d.",.port,.searchnode);...
5400 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 76 63 31 33 39 34 5f 73 65 6e 64 5f 63 ..............if.(avc1394_send_c
5420 6f 6d 6d 61 6e 64 28 68 61 6e 64 6c 65 2c 20 73 65 61 72 63 68 6e 6f 64 65 2c 20 50 4f 57 45 52 ommand(handle,.searchnode,.POWER
5440 5f 4f 4e 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 45 52 42 4f 53 _ON)).....................VERBOS
5460 45 28 22 66 61 69 6c 65 64 2e 5c 6e 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 E("failed.\n");.................
5480 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 45 52 42 4f 53 45 else.....................VERBOSE
54a0 28 22 73 75 63 63 65 65 64 65 64 2e 2e 2e 20 70 61 75 73 69 6e 67 20 35 20 73 65 63 6f 6e 64 73 ("succeeded....pausing.5.seconds
54c0 2e 5c 6e 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 73 5f 73 6c 65 65 70 .\n");..................ms_sleep
54e0 28 35 30 30 30 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 20 20 20 20 20 20 20 20 20 20 (5000);.............}...........
5500 20 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 46 69 6e 64 53 54 42 73 28 68 61 6e 64 6c 65 2c 20 ...............FindSTBs(handle,.
5520 73 65 61 72 63 68 6e 6f 64 65 2c 20 53 54 42 63 6f 75 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 searchnode,.STBcount);..........
5540 20 20 20 53 54 42 63 6f 75 6e 74 2b 2b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 61 72 63 ...STBcount++;.............searc
5560 68 6e 6f 64 65 2b 2b 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 70 6f 72 74 2b hnode++;.........}.........port+
5580 2b 3b 0a 20 20 20 20 7d 0a 20 20 20 20 0a 20 20 20 20 20 20 0a 20 20 20 20 56 45 52 42 4f 53 45 +;.....}.................VERBOSE
55a0 28 22 25 64 20 53 54 42 28 73 29 20 66 6f 75 6e 64 3a 5c 6e 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ("%d.STB(s).found:\n------------
55c0 2d 5c 6e 22 2c 20 53 54 42 63 6f 75 6e 74 29 3b 0a 20 20 20 20 66 6f 72 20 28 63 20 3d 20 30 3b -\n",.STBcount);.....for.(c.=.0;
55e0 20 63 20 3c 20 53 54 42 63 6f 75 6e 74 3b 20 63 2b 2b 29 0a 20 20 20 20 20 20 20 20 56 45 52 42 .c.<.STBcount;.c++).........VERB
5600 4f 53 45 28 22 53 54 42 20 25 64 3a 20 70 6f 72 74 3d 25 64 2c 20 6e 6f 64 65 3d 25 64 2c 20 63 OSE("STB.%d:.port=%d,.node=%d,.c
5620 68 61 6e 67 65 72 3d 25 64 2c 20 47 55 49 44 3d 30 78 25 30 38 78 25 30 38 78 5c 6e 5c 6e 22 2c hanger=%d,.GUID=0x%08x%08x\n\n",
5640 20 63 2b 31 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 53 54 42 53 5b 63 5d 2e 70 6f 72 74 2c .c+1,..............STBS[c].port,
5660 20 53 54 42 53 5b 63 5d 2e 6e 6f 64 65 2c 20 53 54 42 53 5b 63 5d 2e 63 68 61 6e 67 65 72 2c 0a .STBS[c].node,.STBS[c].changer,.
5680 20 20 20 20 20 20 20 20 20 20 20 20 28 71 75 61 64 6c 65 74 5f 74 29 20 28 53 54 42 53 5b 63 5d ............(quadlet_t).(STBS[c]
56a0 2e 67 75 69 64 20 3e 3e 20 33 32 29 2c 20 28 71 75 61 64 6c 65 74 5f 74 29 20 28 53 54 42 53 5b .guid.>>.32),.(quadlet_t).(STBS[
56c0 63 5d 2e 67 75 69 64 20 26 20 30 78 66 66 66 66 66 66 66 66 29 29 3b 0a 0a 20 20 20 20 69 66 20 c].guid.&.0xffffffff));......if.
56e0 28 54 61 72 67 65 74 47 55 49 44 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 66 6f 72 20 28 (TargetGUID).....{.........for.(
5700 63 20 3d 20 30 3b 20 63 20 3c 20 53 54 42 63 6f 75 6e 74 3b 20 63 2b 2b 29 0a 20 20 20 20 20 20 c.=.0;.c.<.STBcount;.c++).......
5720 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 54 61 72 67 65 74 47 55 49 44 20 3d ..{.............if.(TargetGUID.=
5740 3d 20 53 54 42 53 5b 63 5d 2e 67 75 69 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 =.STBS[c].guid).............{...
5760 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 68 53 74 62 31 28 68 61 6e 64 6c 65 2c 20 53 54 42 ..............ChStb1(handle,.STB
5780 53 5b 63 5d 2e 6e 6f 64 65 2c 20 63 68 61 6e 6e 65 6c 2c 20 53 54 42 53 5b 63 5d 2e 63 68 61 6e S[c].node,.channel,.STBS[c].chan
57a0 67 65 72 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 61 77 31 33 39 34 5f 64 65 ger);.................raw1394_de
57c0 73 74 72 6f 79 5f 68 61 6e 64 6c 65 28 68 61 6e 64 6c 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 stroy_handle(handle);...........
57e0 20 20 20 20 20 20 72 65 74 75 72 6e 20 30 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 ......return.0;.............}...
5800 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 22 5c 6e ......}......fprintf(stderr,."\n
5820 45 52 52 4f 52 2d 20 53 54 42 20 77 69 74 68 20 47 55 49 44 3d 30 78 25 30 38 78 25 30 38 78 20 ERROR-.STB.with.GUID=0x%08x%08x.
5840 77 61 73 20 6e 6f 74 20 66 6f 75 6e 64 21 5c 6e 5c 6e 22 2c 20 20 0a 20 20 20 20 20 20 20 20 20 was.not.found!\n\n",............
5860 20 20 20 28 71 75 61 64 6c 65 74 5f 74 29 20 28 54 61 72 67 65 74 47 55 49 44 20 3e 3e 20 33 32 ...(quadlet_t).(TargetGUID.>>.32
5880 29 2c 20 28 71 75 61 64 6c 65 74 5f 74 29 20 28 54 61 72 67 65 74 47 55 49 44 20 26 20 30 78 66 ),.(quadlet_t).(TargetGUID.&.0xf
58a0 66 66 66 66 66 66 66 29 29 3b 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 72 61 77 31 33 39 34 fffffff));...............raw1394
58c0 5f 64 65 73 74 72 6f 79 5f 68 61 6e 64 6c 65 28 68 61 6e 64 6c 65 29 3b 0a 20 20 20 20 72 65 74 _destroy_handle(handle);.....ret
58e0 75 72 6e 20 31 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 43 68 53 74 62 31 28 68 61 6e 64 6c 65 2c urn.1;.....}......ChStb1(handle,
5900 20 53 54 42 53 5b 30 5d 2e 6e 6f 64 65 2c 20 63 68 61 6e 6e 65 6c 2c 20 53 54 42 53 5b 30 5d 2e .STBS[0].node,.channel,.STBS[0].
5920 63 68 61 6e 67 65 72 29 3b 0a 20 20 20 20 72 61 77 31 33 39 34 5f 64 65 73 74 72 6f 79 5f 68 61 changer);.....raw1394_destroy_ha
5940 6e 64 6c 65 28 68 61 6e 64 6c 65 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 30 3b 0a 7d 0a 0a 00 ndle(handle);.....return.0;.}...
5960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
59e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a00 6d 79 74 68 63 68 61 6e 67 65 72 2e 31 30 66 2e 62 65 74 61 2f 66 69 72 65 77 69 72 65 5f 75 74 mythchanger.10f.beta/firewire_ut
5a20 69 6c 73 2e 68 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ils.h...........................
5a40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5a60 00 00 00 00 30 30 30 30 36 34 34 00 30 30 30 31 37 35 30 00 30 30 30 31 37 35 30 00 30 30 30 30 ....0000644.0001750.0001750.0000
5a80 30 30 30 35 37 36 31 00 31 31 31 32 32 32 35 34 37 31 34 00 30 31 36 32 30 31 00 20 30 00 00 00 0005761.11122254714.016201..0...
5aa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b00 00 75 73 74 61 72 20 20 00 62 69 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .ustar...bil....................
5b20 00 00 00 00 00 00 00 00 00 62 69 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .........bil....................
5b40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5b80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5ba0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5bc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5be0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5c00 23 64 65 66 69 6e 65 20 56 45 52 42 4f 53 45 28 61 72 67 73 2e 2e 2e 29 20 20 20 20 64 6f 20 7b #define.VERBOSE(args...)....do.{
5c20 20 69 66 20 28 76 65 72 62 6f 73 65 29 20 70 72 69 6e 74 66 28 61 72 67 73 29 3b 20 7d 20 77 68 .if.(verbose).printf(args);.}.wh
5c40 69 6c 65 20 28 30 29 0d 0a 0d 0a 23 64 65 66 69 6e 65 20 69 65 63 36 31 38 38 33 5f 67 65 74 5f ile.(0)....#define.iec61883_get_
5c60 6f 50 43 52 30 28 68 2c 6e 2c 76 29 20 69 65 63 36 31 38 38 33 5f 70 6c 75 67 5f 67 65 74 28 28 oPCR0(h,n,v).iec61883_plug_get((
5c80 68 29 2c 20 28 6e 29 2c 20 43 53 52 5f 4f 5f 50 43 52 5f 30 2c 20 28 71 75 61 64 6c 65 74 5f 74 h),.(n),.CSR_O_PCR_0,.(quadlet_t
5ca0 20 2a 29 28 76 29 29 0d 0a 23 64 65 66 69 6e 65 20 69 65 63 36 31 38 38 33 5f 73 65 74 5f 6f 50 .*)(v))..#define.iec61883_set_oP
5cc0 43 52 30 28 68 2c 6e 2c 76 29 20 69 65 63 36 31 38 38 33 5f 70 6c 75 67 5f 73 65 74 28 28 68 29 CR0(h,n,v).iec61883_plug_set((h)
5ce0 2c 20 28 6e 29 2c 20 43 53 52 5f 4f 5f 50 43 52 5f 30 2c 20 2a 28 28 71 75 61 64 6c 65 74 5f 74 ,.(n),.CSR_O_PCR_0,.*((quadlet_t
5d00 20 2a 29 26 28 76 29 29 29 0d 0a 0d 0a 23 64 65 66 69 6e 65 20 41 56 43 31 33 39 34 5f 50 41 4e .*)&(v)))....#define.AVC1394_PAN
5d20 45 4c 5f 4b 45 59 54 55 4e 45 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 30 78 36 37 0d 0a 23 EL_KEYTUNE...............0x67..#
5d40 64 65 66 69 6e 65 20 41 56 43 31 33 39 34 5f 53 41 33 32 35 30 5f 4f 50 45 52 41 4e 44 5f 4b 45 define.AVC1394_SA3250_OPERAND_KE
5d60 59 5f 50 52 45 53 53 20 20 20 20 30 78 65 37 0d 0a 0d 0a 23 64 65 66 69 6e 65 20 50 4f 57 45 52 Y_PRESS....0xe7....#define.POWER
5d80 5f 4f 4e 20 20 20 20 20 20 20 20 41 56 43 31 33 39 34 5f 43 54 59 50 45 5f 43 4f 4e 54 52 4f 4c _ON........AVC1394_CTYPE_CONTROL
5da0 20 7c 20 41 56 43 31 33 39 34 5f 53 55 42 55 4e 49 54 5f 54 59 50 45 5f 55 4e 49 54 20 7c 20 41 .|.AVC1394_SUBUNIT_TYPE_UNIT.|.A
5dc0 56 43 31 33 39 34 5f 53 55 42 55 4e 49 54 5f 49 44 5f 49 47 4e 4f 52 45 20 7c 20 5c 0d 0a 20 20 VC1394_SUBUNIT_ID_IGNORE.|.\....
5de0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 41 56 43 31 33 39 34 5f 43 4f ......................AVC1394_CO
5e00 4d 4d 41 4e 44 5f 50 4f 57 45 52 20 7c 20 41 56 43 31 33 39 34 5f 43 4d 44 5f 4f 50 45 52 41 4e MMAND_POWER.|.AVC1394_CMD_OPERAN
5e20 44 5f 50 4f 57 45 52 5f 4f 4e 0d 0a 23 64 65 66 69 6e 65 20 43 4f 4d 4d 4f 4e 5f 43 4d 44 30 20 D_POWER_ON..#define.COMMON_CMD0.
5e40 20 20 20 20 41 56 43 31 33 39 34 5f 43 54 59 50 45 5f 43 4f 4e 54 52 4f 4c 20 7c 20 41 56 43 31 ....AVC1394_CTYPE_CONTROL.|.AVC1
5e60 33 39 34 5f 53 55 42 55 4e 49 54 5f 54 59 50 45 5f 50 41 4e 45 4c 20 7c 20 5c 0d 0a 20 20 20 20 394_SUBUNIT_TYPE_PANEL.|.\......
5e80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 41 56 43 31 33 39 34 5f 53 55 42 55 ....................AVC1394_SUBU
5ea0 4e 49 54 5f 49 44 5f 30 20 7c 20 41 56 43 31 33 39 34 5f 50 41 4e 45 4c 5f 43 4f 4d 4d 41 4e 44 NIT_ID_0.|.AVC1394_PANEL_COMMAND
5ec0 5f 50 41 53 53 5f 54 48 52 4f 55 47 48 20 7c 20 5c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 _PASS_THROUGH.|.\...............
5ee0 20 20 20 20 20 20 20 20 20 20 20 41 56 43 31 33 39 34 5f 50 41 4e 45 4c 5f 4f 50 45 52 41 4e 44 ...........AVC1394_PANEL_OPERAND
5f00 5f 50 52 45 53 53 20 7c 20 41 56 43 31 33 39 34 5f 50 41 4e 45 4c 5f 4b 45 59 54 55 4e 45 0d 0a _PRESS.|.AVC1394_PANEL_KEYTUNE..
5f20 0d 0a 23 64 65 66 69 6e 65 20 4d 4f 54 4f 53 49 4e 47 5f 43 4d 44 30 20 20 20 41 56 43 31 33 39 ..#define.MOTOSING_CMD0...AVC139
5f40 34 5f 43 54 59 50 45 5f 43 4f 4e 54 52 4f 4c 20 7c 20 41 56 43 31 33 39 34 5f 53 55 42 55 4e 49 4_CTYPE_CONTROL.|.AVC1394_SUBUNI
5f60 54 5f 54 59 50 45 5f 50 41 4e 45 4c 20 7c 20 5c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 T_TYPE_PANEL.|.\................
5f80 20 20 20 20 20 20 20 20 20 20 41 56 43 31 33 39 34 5f 53 55 42 55 4e 49 54 5f 49 44 5f 30 20 7c ..........AVC1394_SUBUNIT_ID_0.|
5fa0 20 41 56 43 31 33 39 34 5f 50 41 4e 45 4c 5f 43 4f 4d 4d 41 4e 44 5f 50 41 53 53 5f 54 48 52 4f .AVC1394_PANEL_COMMAND_PASS_THRO
5fc0 55 47 48 20 7c 20 5c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 UGH.|.\.........................
5fe0 20 41 56 43 31 33 39 34 5f 43 4d 44 5f 43 4f 4e 4e 45 43 54 5f 41 56 0d 0a 0d 0a 23 64 65 66 69 .AVC1394_CMD_CONNECT_AV....#defi
6000 6e 65 20 53 41 33 32 35 30 48 44 5f 43 4d 44 30 20 20 20 41 56 43 31 33 39 34 5f 43 54 59 50 45 ne.SA3250HD_CMD0...AVC1394_CTYPE
6020 5f 43 4f 4e 54 52 4f 4c 20 7c 20 41 56 43 31 33 39 34 5f 53 55 42 55 4e 49 54 5f 54 59 50 45 5f _CONTROL.|.AVC1394_SUBUNIT_TYPE_
6040 50 41 4e 45 4c 20 7c 20 5c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 PANEL.|.\.......................
6060 20 20 20 41 56 43 31 33 39 34 5f 53 55 42 55 4e 49 54 5f 49 44 5f 30 20 7c 20 41 56 43 31 33 39 ...AVC1394_SUBUNIT_ID_0.|.AVC139
6080 34 5f 50 41 4e 45 4c 5f 43 4f 4d 4d 41 4e 44 5f 50 41 53 53 5f 54 48 52 4f 55 47 48 0d 0a 0d 0a 4_PANEL_COMMAND_PASS_THROUGH....
60a0 23 64 65 66 69 6e 65 20 43 4f 4d 4d 4f 4e 5f 43 4d 44 31 20 20 20 20 20 28 20 30 78 30 34 20 3c #define.COMMON_CMD1.....(.0x04.<
60c0 3c 20 32 34 20 29 0d 0a 23 64 65 66 69 6e 65 20 43 4f 4d 4d 4f 4e 5f 43 4d 44 32 20 20 20 20 20 <.24.)..#define.COMMON_CMD2.....
60e0 28 20 30 78 66 66 20 3c 3c 20 32 34 20 29 0d 0a 0d 0a 23 64 65 66 69 6e 65 20 53 59 4e 43 5f 42 (.0xff.<<.24.)....#define.SYNC_B
6100 59 54 45 20 20 20 20 20 20 20 30 78 34 37 0d 0a 23 64 65 66 69 6e 65 20 4d 49 4e 5f 50 41 43 4b YTE.......0x47..#define.MIN_PACK
6120 45 54 53 20 20 20 20 20 32 35 0d 0a 23 64 65 66 69 6e 65 20 4d 41 58 5f 4e 4f 44 41 54 41 20 20 ETS.....25..#define.MAX_NODATA..
6140 20 20 20 20 31 30 0d 0a 23 64 65 66 69 6e 65 20 43 53 52 5f 4f 5f 50 43 52 5f 30 20 20 20 20 20 ....10..#define.CSR_O_PCR_0.....
6160 30 78 39 30 34 20 0d 0a 23 64 65 66 69 6e 65 20 54 55 4e 45 52 20 20 20 20 20 20 20 20 20 20 20 0x904...#define.TUNER...........
6180 41 56 43 31 33 39 34 5f 53 55 42 55 4e 49 54 5f 54 59 50 45 5f 54 55 4e 45 52 0d 0a 23 64 65 66 AVC1394_SUBUNIT_TYPE_TUNER..#def
61a0 69 6e 65 20 50 41 4e 45 4c 20 20 20 20 20 20 20 20 20 20 20 41 56 43 31 33 39 34 5f 53 55 42 55 ine.PANEL...........AVC1394_SUBU
61c0 4e 49 54 5f 54 59 50 45 5f 50 41 4e 45 4c 0d 0a 0d 0a 23 64 65 66 69 6e 65 20 50 4c 55 47 52 45 NIT_TYPE_PANEL....#define.PLUGRE
61e0 50 4f 52 54 5f 47 55 49 44 5f 48 49 20 30 78 30 43 0d 0a 23 64 65 66 69 6e 65 20 50 4c 55 47 52 PORT_GUID_HI.0x0C..#define.PLUGR
6200 45 50 4f 52 54 5f 47 55 49 44 5f 4c 4f 20 30 78 31 30 0d 0a 0d 0a 23 69 66 20 28 20 5f 5f 42 59 EPORT_GUID_LO.0x10....#if.(.__BY
6220 54 45 5f 4f 52 44 45 52 20 3d 3d 20 5f 5f 42 49 47 5f 45 4e 44 49 41 4e 20 29 0d 0a 73 74 72 75 TE_ORDER.==.__BIG_ENDIAN.)..stru
6240 63 74 20 69 65 63 36 31 38 38 33 5f 6f 50 43 52 0d 0a 7b 0d 0a 09 75 6e 73 69 67 6e 65 64 20 69 ct.iec61883_oPCR..{...unsigned.i
6260 6e 74 20 6f 6e 6c 69 6e 65 3a 31 3b 0d 0a 09 75 6e 73 69 67 6e 65 64 20 69 6e 74 20 62 63 61 73 nt.online:1;...unsigned.int.bcas
6280 74 5f 63 6f 6e 6e 65 63 74 69 6f 6e 3a 31 3b 0d 0a 09 75 6e 73 69 67 6e 65 64 20 69 6e 74 20 6e t_connection:1;...unsigned.int.n
62a0 5f 70 32 70 5f 63 6f 6e 6e 65 63 74 69 6f 6e 73 3a 36 3b 0d 0a 09 75 6e 73 69 67 6e 65 64 20 69 _p2p_connections:6;...unsigned.i
62c0 6e 74 20 72 65 73 65 72 76 65 64 3a 32 3b 0d 0a 09 75 6e 73 69 67 6e 65 64 20 69 6e 74 20 63 68 nt.reserved:2;...unsigned.int.ch
62e0 61 6e 6e 65 6c 3a 36 3b 0d 0a 09 75 6e 73 69 67 6e 65 64 20 69 6e 74 20 64 61 74 61 5f 72 61 74 annel:6;...unsigned.int.data_rat
6300 65 3a 32 3b 0d 0a 09 75 6e 73 69 67 6e 65 64 20 69 6e 74 20 6f 76 65 72 68 65 61 64 5f 69 64 3a e:2;...unsigned.int.overhead_id:
6320 34 3b 0d 0a 09 75 6e 73 69 67 6e 65 64 20 69 6e 74 20 70 61 79 6c 6f 61 64 3a 31 30 3b 0d 0a 7d 4;...unsigned.int.payload:10;..}
6340 3b 0d 0a 23 65 6c 73 65 0d 0a 73 74 72 75 63 74 20 69 65 63 36 31 38 38 33 5f 6f 50 43 52 0d 0a ;..#else..struct.iec61883_oPCR..
6360 7b 0d 0a 09 75 6e 73 69 67 6e 65 64 20 69 6e 74 20 70 61 79 6c 6f 61 64 3a 31 30 3b 0d 0a 09 75 {...unsigned.int.payload:10;...u
6380 6e 73 69 67 6e 65 64 20 69 6e 74 20 6f 76 65 72 68 65 61 64 5f 69 64 3a 34 3b 0d 0a 09 75 6e 73 nsigned.int.overhead_id:4;...uns
63a0 69 67 6e 65 64 20 69 6e 74 20 64 61 74 61 5f 72 61 74 65 3a 32 3b 0d 0a 09 75 6e 73 69 67 6e 65 igned.int.data_rate:2;...unsigne
63c0 64 20 69 6e 74 20 63 68 61 6e 6e 65 6c 3a 36 3b 0d 0a 09 75 6e 73 69 67 6e 65 64 20 69 6e 74 20 d.int.channel:6;...unsigned.int.
63e0 72 65 73 65 72 76 65 64 3a 32 3b 0d 0a 09 75 6e 73 69 67 6e 65 64 20 69 6e 74 20 6e 5f 70 32 70 reserved:2;...unsigned.int.n_p2p
6400 5f 63 6f 6e 6e 65 63 74 69 6f 6e 73 3a 36 3b 0d 0a 09 75 6e 73 69 67 6e 65 64 20 69 6e 74 20 62 _connections:6;...unsigned.int.b
6420 63 61 73 74 5f 63 6f 6e 6e 65 63 74 69 6f 6e 3a 31 3b 0d 0a 09 75 6e 73 69 67 6e 65 64 20 69 6e cast_connection:1;...unsigned.in
6440 74 20 6f 6e 6c 69 6e 65 3a 31 3b 0d 0a 7d 3b 0d 0a 23 65 6e 64 69 66 0d 0a 0d 0a 73 74 72 75 63 t.online:1;..};..#endif....struc
6460 74 20 53 54 42 4c 69 73 74 0d 0a 7b 0d 0a 20 20 20 20 69 6e 74 20 70 6f 72 74 3b 0d 0a 20 20 20 t.STBList..{......int.port;.....
6480 20 69 6e 74 20 6e 6f 64 65 3b 0d 0a 20 20 20 20 69 6e 74 20 70 32 70 3b 0d 0a 20 20 20 20 69 6e .int.node;......int.p2p;......in
64a0 74 20 63 68 61 6e 67 65 72 3b 0d 0a 20 20 20 20 6f 63 74 6c 65 74 5f 74 20 67 75 69 64 3b 0d 0a t.changer;......octlet_t.guid;..
64c0 7d 3b 20 20 20 20 0d 0a 0d 0a 65 6e 75 6d 20 73 74 62 5f 6c 69 73 74 20 20 0d 0a 7b 0d 0a 20 20 };........enum.stb_list....{....
64e0 20 20 53 41 33 32 35 30 48 44 20 3d 20 31 2c 20 0d 0a 20 20 20 20 53 41 34 32 30 30 48 44 20 3d ..SA3250HD.=.1,.......SA4200HD.=
6500 20 32 2c 0d 0a 20 20 20 20 53 41 34 32 35 30 48 44 43 20 3d 20 33 2c 0d 0a 20 20 20 20 53 41 34 .2,......SA4250HDC.=.3,......SA4
6520 32 35 30 48 44 43 5f 61 6c 74 20 3d 20 34 2c 20 20 20 20 0d 0a 20 20 20 20 53 41 38 33 30 30 48 250HDC_alt.=.4,..........SA8300H
6540 44 20 3d 20 35 2c 0d 0a 20 20 20 20 4d 6f 74 6f 46 61 73 74 20 3d 20 36 2c 0d 0a 20 20 20 20 4d D.=.5,......MotoFast.=.6,......M
6560 6f 74 6f 53 69 6e 67 20 3d 20 37 2c 0d 0a 7d 3b 0d 0a 0d 0a 65 78 74 65 72 6e 20 0d 0a 69 6e 74 otoSing.=.7,..};....extern...int
6580 20 69 65 63 36 31 38 38 33 5f 70 6c 75 67 5f 73 65 74 28 72 61 77 31 33 39 34 68 61 6e 64 6c 65 .iec61883_plug_set(raw1394handle
65a0 5f 74 20 68 61 6e 64 6c 65 2c 20 6e 6f 64 65 69 64 5f 74 20 6e 6f 64 65 2c 20 6e 6f 64 65 61 64 _t.handle,.nodeid_t.node,.nodead
65c0 64 72 5f 74 20 61 2c 20 71 75 61 64 6c 65 74 5f 74 20 76 61 6c 75 65 29 3b 0d 0a 0d 0a 65 78 74 dr_t.a,.quadlet_t.value);....ext
65e0 65 72 6e 20 0d 0a 69 6e 74 20 69 65 63 36 31 38 38 33 5f 70 6c 75 67 5f 67 65 74 28 72 61 77 31 ern...int.iec61883_plug_get(raw1
6600 33 39 34 68 61 6e 64 6c 65 5f 74 20 68 2c 20 6e 6f 64 65 69 64 5f 74 20 6e 2c 20 6e 6f 64 65 61 394handle_t.h,.nodeid_t.n,.nodea
6620 64 64 72 5f 74 20 61 2c 20 71 75 61 64 6c 65 74 5f 74 20 2a 76 61 6c 75 65 29 3b 0d 0a 0d 0a 72 ddr_t.a,.quadlet_t.*value);....r
6640 61 77 31 33 39 34 68 61 6e 64 6c 65 5f 74 20 68 61 6e 64 6c 65 3b 0d 0a 0d 0a 69 6e 74 20 74 61 aw1394handle_t.handle;....int.ta
6660 70 5f 70 6c 75 67 30 28 72 61 77 31 33 39 34 68 61 6e 64 6c 65 5f 74 20 68 61 6e 64 6c 65 2c 20 p_plug0(raw1394handle_t.handle,.
6680 6e 6f 64 65 69 64 5f 74 20 6e 6f 64 65 2c 20 69 6e 74 20 61 63 74 69 6f 6e 2c 20 69 6e 74 20 70 nodeid_t.node,.int.action,.int.p
66a0 6c 75 67 73 74 61 74 65 29 3b 0d 0a 76 6f 69 64 20 6d 73 5f 73 6c 65 65 70 28 75 6e 73 69 67 6e lugstate);..void.ms_sleep(unsign
66c0 65 64 20 6c 6f 6e 67 20 6d 69 6c 6c 69 73 65 63 73 29 3b 0d 0a 69 6e 74 20 70 72 69 6d 65 5f 73 ed.long.millisecs);..int.prime_s
66e0 74 62 28 69 6e 74 20 70 6f 72 74 2c 20 69 6e 74 20 2a 6e 6f 64 65 5f 69 6e 2c 20 69 6e 74 20 63 tb(int.port,.int.*node_in,.int.c
6700 6f 6e 6e 65 63 74 69 6f 6e 5f 74 79 70 65 29 3b 0d 0a 76 6f 69 64 20 69 64 5f 73 74 62 28 72 61 onnection_type);..void.id_stb(ra
6720 77 31 33 39 34 68 61 6e 64 6c 65 5f 74 20 68 61 6e 64 6c 65 2c 20 6e 6f 64 65 69 64 5f 74 20 6e w1394handle_t.handle,.nodeid_t.n
6740 6f 64 65 2c 20 69 6e 74 20 2a 70 32 70 5f 73 74 62 2c 20 69 6e 74 20 2a 63 68 61 6e 67 65 72 29 ode,.int.*p2p_stb,.int.*changer)
6760 3b 0d 0a 2f 2f 76 6f 69 64 20 43 68 53 74 62 31 28 72 61 77 31 33 39 34 68 61 6e 64 6c 65 5f 74 ;..//void.ChStb1(raw1394handle_t
6780 20 61 76 63 68 61 6e 64 6c 65 2c 20 6e 6f 64 65 69 64 5f 74 20 6e 6f 64 65 2c 20 69 6e 74 20 73 .avchandle,.nodeid_t.node,.int.s
67a0 74 62 63 68 6e 2c 20 69 6e 74 20 77 61 69 74 2c 20 69 6e 74 20 63 68 61 6e 67 65 72 29 3b 20 2d tbchn,.int.wait,.int.changer);.-
67c0 2d 20 63 6c 65 61 6e 20 74 68 69 73 20 75 70 21 0d 0a 76 6f 69 64 20 73 65 74 63 72 79 70 74 28 -.clean.this.up!..void.setcrypt(
67e0 69 6e 74 20 6e 65 77 63 72 79 70 74 29 3b 0d 0a 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 int.newcrypt);..................
6800 6d 79 74 68 63 68 61 6e 67 65 72 2e 31 30 66 2e 62 65 74 61 2f 73 74 62 73 2e 68 00 00 00 00 00 mythchanger.10f.beta/stbs.h.....
6820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6860 00 00 00 00 30 30 30 30 36 34 34 00 30 30 30 31 37 35 30 00 30 30 30 31 37 35 30 00 30 30 30 30 ....0000644.0001750.0001750.0000
6880 30 30 30 31 36 33 37 00 31 31 31 32 32 32 35 33 35 32 32 00 30 31 34 31 31 32 00 20 30 00 00 00 0001637.11122253522.014112..0...
68a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
68c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
68e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6900 00 75 73 74 61 72 20 20 00 62 69 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .ustar...bil....................
6920 00 00 00 00 00 00 00 00 00 62 69 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .........bil....................
6940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
69a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
69c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
69e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6a00 63 6f 6e 73 74 20 63 68 61 72 20 2a 73 61 5f 6e 61 6d 65 5b 5d 20 3d 0d 0a 7b 0d 0a 20 20 20 20 const.char.*sa_name[].=..{......
6a20 22 53 41 33 32 35 30 48 44 22 2c 20 22 53 41 34 32 30 30 48 44 22 2c 20 22 53 41 34 32 35 30 48 "SA3250HD",."SA4200HD",."SA4250H
6a40 44 43 22 2c 20 22 53 41 38 33 30 30 48 44 22 0d 0a 7d 3b 0d 0a 20 20 20 20 0d 0a 63 6f 6e 73 74 DC",."SA8300HD"..};........const
6a60 20 63 68 61 72 20 2a 6d 6f 74 6f 5f 6e 61 6d 65 5b 5d 20 3d 0d 0a 7b 0d 0a 20 20 20 20 22 44 43 .char.*moto_name[].=..{......"DC
6a80 48 2d 33 32 30 30 22 2c 20 22 44 43 48 2d 33 32 30 30 22 2c 20 22 44 43 54 2d 33 34 31 32 22 2c H-3200",."DCH-3200",."DCT-3412",
6aa0 20 22 44 43 54 2d 33 34 31 36 22 2c 0d 0a 20 20 20 20 22 44 43 54 2d 33 34 31 36 22 2c 20 22 44 ."DCT-3416",......"DCT-3416",."D
6ac0 43 54 2d 36 32 30 30 22 2c 20 22 44 43 54 2d 36 32 30 30 22 2c 20 22 44 43 54 2d 36 32 31 32 22 CT-6200",."DCT-6200",."DCT-6212"
6ae0 2c 0d 0a 20 20 20 20 22 44 43 54 2d 36 32 31 32 22 2c 20 22 44 43 54 2d 36 32 31 36 22 2c 20 22 ,......"DCT-6212",."DCT-6216",."
6b00 44 43 54 2d 36 32 31 36 22 2c 20 22 51 49 50 2d 36 32 30 30 22 2c 0d 0a 7d 3b 0d 0a 0d 0a 63 6f DCT-6216",."QIP-6200",..};....co
6b20 6e 73 74 20 69 6e 74 20 73 61 5f 76 65 6e 64 6f 72 5b 5d 20 3d 0d 0a 7b 0d 0a 20 20 20 20 30 78 nst.int.sa_vendor[].=..{......0x
6b40 31 31 65 36 2c 20 30 78 31 34 66 38 2c 20 30 78 31 36 39 32 2c 20 30 78 31 39 34 37 2c 0d 0a 20 11e6,.0x14f8,.0x1692,.0x1947,...
6b60 20 20 20 30 78 30 66 32 31 2c 20 30 78 31 61 63 33 2c 20 30 78 30 61 37 33 2c 20 30 78 31 63 65 ...0x0f21,.0x1ac3,.0x0a73,.0x1ce
6b80 61 2c 0a 20 20 20 20 30 78 32 32 33 61 2c 20 30 78 31 65 36 62 2c 20 30 78 32 32 63 65 0d 0a 7d a,.....0x223a,.0x1e6b,.0x22ce..}
6ba0 3b 0d 0a 20 20 20 20 0d 0a 63 6f 6e 73 74 20 69 6e 74 20 6d 6f 74 6f 5f 76 65 6e 64 6f 72 5b 5d ;........const.int.moto_vendor[]
6bc0 20 3d 0d 0a 7b 0d 0a 20 20 20 20 30 78 31 63 31 31 2c 20 30 78 31 66 63 34 2c 20 30 78 31 62 64 .=..{......0x1c11,.0x1fc4,.0x1bd
6be0 64 2c 20 30 78 31 35 39 61 2c 0d 0a 20 20 20 20 30 78 30 63 65 35 2c 20 30 78 30 65 35 63 2c 20 d,.0x159a,......0x0ce5,.0x0e5c,.
6c00 30 78 31 32 32 35 2c 20 30 78 30 66 39 66 2c 0d 0a 20 20 20 20 30 78 31 31 38 30 2c 20 30 78 31 0x1225,.0x0f9f,......0x1180,.0x1
6c20 32 63 39 2c 20 30 78 31 31 61 65 2c 20 30 78 31 35 32 66 2c 0d 0a 20 20 20 20 30 78 31 34 65 38 2c9,.0x11ae,.0x152f,......0x14e8
6c40 2c 20 30 78 31 36 62 35 2c 20 30 78 31 33 37 31 2c 20 30 78 31 39 61 36 2c 0d 0a 20 20 20 20 30 ,.0x16b5,.0x1371,.0x19a6,......0
6c60 78 31 61 61 64 2c 20 30 78 30 62 30 36 2c 20 30 78 31 39 35 65 2c 20 30 78 30 66 39 66 2c 0d 0a x1aad,.0x0b06,.0x195e,.0x0f9f,..
6c80 20 20 20 20 30 78 31 35 32 66 2c 20 30 78 31 37 65 65 2c 20 30 78 31 61 36 36 2c 20 30 78 31 65 ....0x152f,.0x17ee,.0x1a66,.0x1e
6ca0 35 61 2c 0a 20 20 20 20 30 78 31 31 30 36 2c 20 30 78 32 31 31 65 2c 0d 0a 7d 3b 0d 0a 20 20 20 5a,.....0x1106,.0x211e,..};.....
6cc0 20 20 0d 0a 63 6f 6e 73 74 20 69 6e 74 20 73 61 5f 6d 6f 64 65 6c 5b 5d 20 3d 20 0d 0a 7b 0d 0a ....const.int.sa_model[].=...{..
6ce0 20 20 20 20 30 78 30 62 65 30 2c 20 30 78 31 30 37 32 2c 20 30 78 31 30 63 63 2c 20 30 78 32 30 ....0x0be0,.0x1072,.0x10cc,.0x20
6d00 36 63 0d 0a 7d 3b 0d 0a 20 20 20 20 0d 0a 63 6f 6e 73 74 20 69 6e 74 20 6d 6f 74 6f 5f 6d 6f 64 6c..};........const.int.moto_mod
6d20 65 6c 5b 5d 20 3d 0d 0a 7b 0d 0a 20 20 20 20 30 78 64 33 33 30 2c 20 30 78 64 33 33 30 2c 20 30 el[].=..{......0xd330,.0xd330,.0
6d40 78 33 34 63 62 2c 20 30 78 33 34 36 62 2c 0d 0a 20 20 20 20 30 78 62 36 33 30 2c 20 30 78 36 32 x34cb,.0x346b,......0xb630,.0x62
6d60 30 30 2c 20 30 78 36 32 30 61 2c 20 30 78 36 34 63 61 2c 20 0d 0a 20 20 20 20 30 78 36 34 63 62 00,.0x620a,.0x64ca,.......0x64cb
6d80 2c 20 30 78 36 34 36 61 2c 20 30 78 36 34 36 62 2c 20 30 78 37 31 30 30 2c 0d 0a 7d 3b 0a 0a 00 ,.0x646a,.0x646b,.0x7100,..};...
6da0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6dc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6de0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6e00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6e20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6e40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6e60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6e80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6ea0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6ec0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6ee0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6f00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6f20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6f40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6f60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6f80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
70a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
70c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
70e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
71a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
71c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
71e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
72a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
72c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
72e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
73a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
73c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
73e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
74a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
74c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
74e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
75a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
75c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
75e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
76a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
76c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
76e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
77a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
77c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
77e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................