[mythtv] PATCH: add motorola 3412 to 6200ch.c
ccouples at att.net
ccouples at att.net
Wed Dec 14 20:16:34 EST 2005
All,
Please pardon if this is a breach of submission protocol. This patch adds id strings to 6200ch.c in order to identify Motorola 3412 HD DVR, so that mythtv can change channels on this box. I only have the 3412; if some one has the other models in the 34xx series, please test against this code.
Thanks for all your work on mythtv!
PATCH
------------snip----------------
--- 6200myth.c 2005-12-14 18:26:06.000000000 -0500
+++ 6200ch.c 2005-04-01 05:38:12.000000000 -0500
@@ -40,10 +40,6 @@
#define DCT6200_MODEL_ID2 0x00006200
#define DCT6412_VENDOR_ID1 0x00000f9f
#define DCT6412_MODEL_ID1 0x000064ca
-#define DCT3412_VENDOR_ID1 0x0000152f
-#define DCT3412_SPEC_ID 0x00005068
-#define DCT3412_MODEL_ID1 0x000034cb
-#define DCT3412_SW_VERSION 0x00010101
#define AVC1394_SUBUNIT_TYPE_6200 (9 << 19) /* uses a reserved subunit type */
@@ -122,11 +118,9 @@
(dir.vendor_id == DCT6200_VENDOR_ID4) ||
(dir.vendor_id == DCT6200_VENDOR_ID5) ||
(dir.vendor_id == DCT6200_VENDOR_ID6) ||
- (dir.vendor_id == DCT6412_VENDOR_ID1) ||
- (dir.vendor_id == DCT3412_VENDOR_ID1)) &&
+ (dir.vendor_id == DCT6412_VENDOR_ID1)) &&
((dir.model_id == DCT6200_MODEL_ID1) ||
(dir.model_id == DCT6200_MODEL_ID2) ||
- (dir.model_id == DCT3412_MODEL_ID1) ||
(dir.model_id == DCT6412_MODEL_ID1)) ) {
if (dir.unit_spec_id != DCT6200_SPEC_ID)
fprintf(stderr, "Warning: Unit Spec ID different.\n");
----------------/snip-----------------------------------
--
Christopher Couples
ccouples at att.net
More information about the mythtv-dev
mailing list