| |||||||
| Development You want to code something for the TV-Server? Share it in here! |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: Jun 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
| Hi, I posted this at wrong forum, since this is for TV-Server, it belong here. I wrote this so I could use my Terratec Cinergy DVB-S 1200 with 4-port DisEqC switch in the latest TV-Server SVN(Rev. 15142) I's based on the IBDA_FrequencyFilter.put_range function. I'ts based on the C++ code from a post in DVBN forum "http://dvbn.happysat.org/viewtopic.php?t=39553", the orginal author is "biloute2121". What I did, was to port it from c++ and implement it in TVServer. PS!, use it at your own risk!! Hopefully some one from the hardcore team can take a look at it and mabye add it to the svn. The code is attatched to this post. Please post your test teults. Have fun! /Digi If you use this code, remember to change the type from int to ulong in the functions: BDAFaces.cs public interface IBDA_FrequencyFilter .................................................. ......... [PreserveSig] int put_Range([In] ulong ulRange);//int ulRange); //Changed by digi [PreserveSig] int get_Range([Out] out ulong pulRange);//int pulRange); //Changed by digi ---------------------------------------------- And add the following code in: ConditionalAccess.cs #Region Variables ............................ //Add this line GenericBDAS _genericbdas = null; ......................... public ConditionalAccess(IBaseFilter tunerFilter, IBaseFilter analyzerFilter) .......................... //Add the foolowing code after the hauppauge callings: Log.Log.WriteFile("Check for Generic BDA card"); _genericbdas = new GenericBDAS(tunerFilter, analyzerFilter); if (_genericbdas.IsGenericBDAS) { Log.Log.WriteFile("Generic BDA card detected"); return; } _genericbdas = null; ............................. And do the same in : public void SendDiseqcCommand(ScanParameters parameters, DVBSChannel channel) ............................ if (_genericbdas != null) { _genericbdas.SendDiseqCommand(parameters, channel); System.Threading.Thread.Sleep(100); } ---------------------- |
| | |
![]() |
| Bookmarks |
| Tags |
| bda, cards, diseqc, dvbs, fix, pinnacle, terratec |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DisEqc fix for some BDA cards (Terratec,Pinnacle,etc) | digidigi | General Development (no feature request here!) | 0 | 2007-07-14 22:08 |
| Monoblock LNB - BDA DVB-S DiSEqC problems | tijera | The old Bugreport Forum | 25 | 2007-06-15 08:34 |
| SkyStar2 + BDA Drivers +DISEQC ? | Rhys.Goodwin | Get Support | 1 | 2007-03-23 06:25 |
| Pinnacle DVB-T cards | tjf | support | 3 | 2007-01-28 12:36 |
| Technotrend BDA DiseqC Support, Chrashes | janbrau | General Support | 3 | 2006-05-14 21:32 |