Ticket #1945: diseqc-raise-timeout.patch

File diseqc-raise-timeout.patch, 546 bytes (added by yeasah@…, 18 years ago)

raise ioctl retry delay and max retry count for some truly horrible DVB cards

  • libs/libmythtv/diseqc.cpp

     
    2828#define DISEQC_LONG_WAIT      (100 * 1000)
    2929
    3030// Number of times to retry ioctls after receiving ETIMEDOUT before giving up
    31 #define TIMEOUT_RETRIES       3
    32 #define TIMEOUT_WAIT          (100 * 1000)
     31#define TIMEOUT_RETRIES       10
     32#define TIMEOUT_WAIT          (250 * 1000)
    3333
    3434// Framing byte
    3535#define DISEQC_FRM            0xe0