Ticket #6842: dcx3200_0.21-fixes.diff

File dcx3200_0.21-fixes.diff, 2.1 KB (added by anonymous, 3 years ago)

Same patch for 0.21-fixes (untested)

  • libs/libmythtv/firewiredevice.cpp

     
    418418 
    419419    const uint64_t motorola_vendor_ids[] = 
    420420    { 
    421         /* DCH-3200 */ 
     421        /* DCH-3200, DCX-3200 */ 
    422422        0x1c11,    0x1cfb,    0x1fc4,    0x23a3, 
    423423        /* DCH-3416 */ 
    424424        0x1e46, 
     
    448448 
    449449    for (uint i = 0; i < motorola_vendor_id_cnt; i++) 
    450450    { 
     451        id_to_model[motorola_vendor_ids[i] << 32 | 0xf740] = "DCX-3200"; 
    451452        id_to_model[motorola_vendor_ids[i] << 32 | 0xd330] = "DCH-3200"; 
    452453        id_to_model[motorola_vendor_ids[i] << 32 | 0xb630] = "DCH-3416"; 
    453454        id_to_model[motorola_vendor_ids[i] << 32 | 0x34cb] = "DCT-3412"; 
  • libs/libmythtv/videosource.cpp

     
    11201120    setLabel(QObject::tr("Cable box model")); 
    11211121    addSelection(QObject::tr("Generic"), "GENERIC"); 
    11221122    addSelection("DCH-3200"); 
     1123    addSelection("DCX-3200"); 
    11231124    addSelection("DCT-3412"); 
    11241125    addSelection("DCT-3416"); 
    11251126    addSelection("DCT-6200"); 
  • contrib/channel_changers/6200ch.c

     
    3838#define DCH3200_VENDOR_ID3 0x00001fc4 
    3939#define DCH3200_VENDOR_ID4 0x000023a3 
    4040#define DCH3200_MODEL_ID1  0x0000d330 
     41#define DCX3200_MODEL_ID1  0x0000f740 
    4142 
    4243#define DCH3416_VENDOR_ID1 0x00001e46 
    4344#define DCH3416_MODEL_ID1  0x0000b630 
     
    308309            (dir.vendor_id == PACE_VENDOR_ID1) || 
    309310            (dir.vendor_id == PACE_VENDOR_ID2)) && 
    310311           ((dir.model_id == DCH3200_MODEL_ID1) || 
     312            (dir.model_id == DCX3200_MODEL_ID1) || 
    311313            (dir.model_id == DCH3416_MODEL_ID1) || 
    312314            (dir.model_id == DCT3412_MODEL_ID1) || 
    313315            (dir.model_id == DCT3416_MODEL_ID1) ||