home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
DisEqc fix for some BDA DVB-S cards (Terratec,Pinnacle,etc)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="digidigi" data-source="post: 164059" data-attributes="member: 52897"><p>Hi,</p><p>I posted this at wrong forum, since this is for TV-Server, it belong here.</p><p></p><p>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)</p><p>I's based on the IBDA_FrequencyFilter.put_range function.</p><p>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".</p><p>What I did, was to port it from c++ and implement it in TVServer.</p><p></p><p>PS!, use it at your own risk!!</p><p>Hopefully some one from the hardcore team can take a look at it and mabye add it to the svn.</p><p>The code is attatched to this post.</p><p>Please post your test teults.</p><p></p><p>Have fun!</p><p>/Digi</p><p></p><p>If you use this code, remember to change the type from int to ulong in the functions:</p><p></p><p>BDAFaces.cs</p><p>public interface IBDA_FrequencyFilter</p><p>.................................................. .........</p><p>[PreserveSig]</p><p>int put_Range([In] ulong ulRange);//int ulRange); //Changed by digi</p><p></p><p>[PreserveSig]</p><p>int get_Range([Out] out ulong pulRange);//int pulRange); //Changed by digi</p><p>----------------------------------------------</p><p></p><p>And add the following code in:</p><p>ConditionalAccess.cs</p><p></p><p>#Region Variables</p><p>............................</p><p>//Add this line</p><p>GenericBDAS _genericbdas = null;</p><p>.........................</p><p></p><p>public ConditionalAccess(IBaseFilter tunerFilter, IBaseFilter analyzerFilter)</p><p>..........................</p><p></p><p>//Add the foolowing code after the hauppauge callings:</p><p>Log.Log.WriteFile("Check for Generic BDA card");</p><p>_genericbdas = new GenericBDAS(tunerFilter, analyzerFilter);</p><p>if (_genericbdas.IsGenericBDAS)</p><p>{</p><p>Log.Log.WriteFile("Generic BDA card detected");</p><p>return;</p><p>}</p><p>_genericbdas = null;</p><p>.............................</p><p>And do the same in :</p><p>public void SendDiseqcCommand(ScanParameters parameters, DVBSChannel channel)</p><p>............................</p><p>if (_genericbdas != null)</p><p>{</p><p>_genericbdas.SendDiseqCommand(parameters, channel);</p><p>System.Threading.Thread.Sleep(100);</p><p>}</p><p>----------------------</p></blockquote><p></p>
[QUOTE="digidigi, post: 164059, member: 52897"] 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); } ---------------------- [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
DisEqc fix for some BDA DVB-S cards (Terratec,Pinnacle,etc)
Contact us
RSS
Top
Bottom