Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] [PATCH] Skystar2(<2.6B) diseqc tone burst support



I don't know how to make a patchfile, anyway...

In function flexcop_diseqc_ioctl (about line 2285 of skystar2.c) there
is a big switch. Just add the follwing case and Diseqc tone burst will
be working.



            case FE_DISEQC_SEND_BURST:
            {
                //Code from Vincenzo Di Massa <hawk.it@tiscalinet.it>

		dprintk("%s: FE_SEND_BURST ", __FUNCTION__);
                fe_sec_mini_cmd_t b = (fe_sec_mini_cmd_t) arg;
                switch ( b )
                {
                    case SEC_MINI_A:
                    {
                        dprintk("SEC_MINI_A\n");
                        set_tuner_tone(adapter, 0);
                        break;
                    }
                    case SEC_MINI_B:
                    {
                        dprintk("SEC_MINI_B\n");
                        set_tuner_tone(adapter, 0);
                        udelay(1000*15);
                        for (count=0;count<9; count++)
                        {
                                set_tuner_tone(adapter, 1);
                                udelay(500);
                                set_tuner_tone(adapter, 0);
                                udelay(1000);
                        }
                        udelay(1000*15);
                        break;
                    }
                    default:
                        break;
                };
                return 0;
            }
-- 
Vincenzo Di Massa <hawk78_it@yahoo.it>



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index