Ticket #6842: dcx3200-newmodel.diff

File dcx3200-newmodel.diff, 1.9 KB (added by jwbrown77@…, 3 years ago)

Add new firewire vendor/model information for DCX-3200 series.

  • contrib/channel_changers/6200ch/6200ch.c

    diff -Naur mythtv.orig/contrib/channel_changers/6200ch/6200ch.c mythtv/contrib/channel_changers/6200ch/6200ch.c
    old new  
    3939#define DCH3200_VENDOR_ID4 0x000023a3 
    4040#define DCH3200_MODEL_ID1  0x0000d330 
    4141#define DCX3200_MODEL_ID1  0x0000f740 
     42#define DCX3200_MODEL_ID2  0x0000fa07 
    4243 
    4344#define DCH3416_VENDOR_ID1 0x00001e46 
    4445#define DCH3416_MODEL_ID1  0x0000b630 
     
    318319            (dir.vendor_id == PACE_VENDOR_ID2)) && 
    319320           ((dir.model_id == DCH3200_MODEL_ID1) || 
    320321            (dir.model_id == DCX3200_MODEL_ID1) || 
     322            (dir.model_id == DCX3200_MODEL_ID2) || 
    321323            (dir.model_id == DCH3416_MODEL_ID1) || 
    322324            (dir.model_id == DCT3412_MODEL_ID1) || 
    323325            (dir.model_id == DCT3416_MODEL_ID1) || 
  • libs/libmythtv/firewiredevice.cpp

    diff -Naur mythtv.orig/libs/libmythtv/firewiredevice.cpp mythtv/libs/libmythtv/firewiredevice.cpp
    old new  
    418418    const uint64_t motorola_vendor_ids[] = 
    419419    { 
    420420        /* DCH-3200, DCX-3200 */ 
    421         0x1c11,    0x1cfb,    0x1fc4,    0x23a3, 
     421        0x1c11,    0x1cfb,    0x1fc4,    0x23a3,    0x23ee, 
    422422        /* DCH-3416 */ 
    423423        0x1e46, 
    424424        /* DCT-3416 */ 
     
    450450    for (uint i = 0; i < motorola_vendor_id_cnt; i++) 
    451451    { 
    452452        id_to_model[motorola_vendor_ids[i] << 32 | 0xf740] = "DCX-3200"; 
     453        id_to_model[motorola_vendor_ids[i] << 32 | 0xfa07] = "DCX-3200"; 
    453454        id_to_model[motorola_vendor_ids[i] << 32 | 0xd330] = "DCH-3200"; 
    454455        id_to_model[motorola_vendor_ids[i] << 32 | 0xb630] = "DCH-3416"; 
    455456        id_to_model[motorola_vendor_ids[i] << 32 | 0x34cb] = "DCT-3412";