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
HTPC Projects
Hardware
TV-Cards
TBS DVB-S2 Quad tuner TV Card, PCIe x1 (6984)
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="raintree_county" data-source="post: 773150" data-attributes="member: 114773"><p>Hi,</p><p></p><p>For TBS5980 USB DVB-S2 CI Box, the USB devices initiation method must be used.</p><p>On OnInit() function you may find the following method that is used to get m_pKsCtrl variable .</p><p> </p><p>//Get the interface</p><p>//USB Devive init ALL use it 5980 QBOXS QBOXS2 5922 QBOX3</p><p>if((DeviceType==3)||(DeviceType==4)||like 5921 QBOXS2 and son)</p><p>{</p><p>m_pKsCtrl = NULL;</p><p>if(!ll_init && m_pTunerDevice != NULL)</p><p>{</p><p>hr = m_pTunerDevice->QueryInterface(__uuidof( m_pKsCtrl ),</p><p>reinterpret_cast< void** >( &m_pKsCtrl ) );</p><p>if (FAILED(hr)) </p><p>{</p><p>ll_init = 1;</p><p>MessageBox("m_pTunerDevice QueryInterface Failed","error",MB_OK);</p><p>m_pKsCtrl = NULL;</p><p>return FALSE; </p><p>}</p><p>}</p><p>}</p><p> </p><p>If by mistake you used the PCI/PCIe devices initiation method, you just can't get DiSEqC work with "QBOX" method.</p><p> </p><p>//PCI or PCI-E initDeviceType = 6921,8921,6920,8920,</p><p>if((DeviceType==1)||(DeviceType==2)||(DeviceType==5))</p><p>{</p><p>m_pKsCtrl = NULL;</p><p>m_pTunerPin=NULL;</p><p>m_pTunerPin = FindPinOnFilter(m_pTunerDevice, "Input0");</p><p>if(!ll_init && m_pTunerPin != NULL)</p><p>{</p><p>hr = m_pTunerPin->QueryInterface(IID_IKsPropertySet,</p><p>reinterpret_cast<void**>(&m_pKsCtrl));</p><p>if (FAILED(hr)) </p><p>{</p><p>ll_init = 1;</p><p>MessageBox("m_pTunerDevice QueryInterface Failed","error",MB_OK);</p><p>m_pKsCtrl = NULL;</p><p>return FALSE; </p><p>}</p><p>}</p><p>}</p><p></p><p>Thanks!</p></blockquote><p></p>
[QUOTE="raintree_county, post: 773150, member: 114773"] Hi, For TBS5980 USB DVB-S2 CI Box, the USB devices initiation method must be used. On OnInit() function you may find the following method that is used to get m_pKsCtrl variable . //Get the interface //USB Devive init ALL use it 5980 QBOXS QBOXS2 5922 QBOX3 if((DeviceType==3)||(DeviceType==4)||like 5921 QBOXS2 and son) { m_pKsCtrl = NULL; if(!ll_init && m_pTunerDevice != NULL) { hr = m_pTunerDevice->QueryInterface(__uuidof( m_pKsCtrl ), reinterpret_cast< void** >( &m_pKsCtrl ) ); if (FAILED(hr)) { ll_init = 1; MessageBox("m_pTunerDevice QueryInterface Failed","error",MB_OK); m_pKsCtrl = NULL; return FALSE; } } } If by mistake you used the PCI/PCIe devices initiation method, you just can't get DiSEqC work with "QBOX" method. //PCI or PCI-E initDeviceType = 6921,8921,6920,8920, if((DeviceType==1)||(DeviceType==2)||(DeviceType==5)) { m_pKsCtrl = NULL; m_pTunerPin=NULL; m_pTunerPin = FindPinOnFilter(m_pTunerDevice, "Input0"); if(!ll_init && m_pTunerPin != NULL) { hr = m_pTunerPin->QueryInterface(IID_IKsPropertySet, reinterpret_cast<void**>(&m_pKsCtrl)); if (FAILED(hr)) { ll_init = 1; MessageBox("m_pTunerDevice QueryInterface Failed","error",MB_OK); m_pKsCtrl = NULL; return FALSE; } } } Thanks! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
HTPC Projects
Hardware
TV-Cards
TBS DVB-S2 Quad tuner TV Card, PCIe x1 (6984)
Contact us
RSS
Top
Bottom