Ticket #1991: 6200-c.diff

File 6200-c.diff, 1.1 KB (added by zwhite-mythtv@…, 14 years ago)

New vendor id for the motorola DCT-6200

  • 6200ch.c

     
    2828#include <unistd.h> // for usleep
    2929
    3030// Motorola DCT-6200 IDs
    31 // Note: there are at least three different vendor IDs for the 6200
     31// Note: there are at least ten different vendor IDs for the 6200
    3232#define DCT6200_VENDOR_ID1 0x00000ce5
    3333#define DCT6200_VENDOR_ID2 0x00000e5c
    3434#define DCT6200_VENDOR_ID3 0x00001225
     
    3838#define DCT6200_VENDOR_ID7 0x000011ae
    3939#define DCT6200_VENDOR_ID8 0x0000152f
    4040#define DCT6200_VENDOR_ID9 0x000014e8
     41#define DCT6200_VENDOR_ID10 0x000016b5
    4142#define DCT6200_SPEC_ID    0x00005068
    4243#define DCT6200_SW_VERSION 0x00010101
    4344#define DCT6200_MODEL_ID1  0x0000620a
     
    169170            (dir.vendor_id == DCT6200_VENDOR_ID7) ||
    170171            (dir.vendor_id == DCT6200_VENDOR_ID8) ||
    171172            (dir.vendor_id == DCT6200_VENDOR_ID9) ||
     173            (dir.vendor_id == DCT6200_VENDOR_ID10) ||
    172174            (dir.vendor_id == DCT6412_VENDOR_ID1)) &&
    173175           ((dir.model_id == DCT6200_MODEL_ID1) ||
    174176            (dir.model_id == DCT6200_MODEL_ID2) ||