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 <[EMAIL PROTECTED]>

                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 <[EMAIL PROTECTED]>



-- 
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as 
subject.

Reply via email to