SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-22-2016, 06:42 AM
echoes echoes is offline
Sage User
 
Join Date: Aug 2008
Location: Guildford, UK
Posts: 27
Frequency out of range when tuning DVB-S

Hi all,

I'm in the middle of upgrading to v9 and moving over from XP to Linux (Mint 17.3, 64-bit). I'm in the UK and use 2 x DVB-T and 1 x DVB-S/S2 cards

I have struggled to get a stable server working with the latest 64-bit binaries and 64-bit JVM, but I have a stable server working with the 32-bit JVM by dropping in the 9.0.4-232 Sage.jar and tweaking the startup scripts.

My Hauppauge NOVA-T-500 scans and tunes fine. (I suspect there is an issue with using both tuners on this card simultaneously, but i need to confirm).

My Hauppauge NOVA-HD-S2 card which does not find any channels when I do a scan from Sage. I can do a scan using the dvb-apps utilities and all channels are found - so the card, firmware and drivers seem to be fine.

I see errors in dmesg reporting 'frequency out of range' that appear to be due to the tuning frequency being double what it should be when doing a Sage channel scan.

I suspect that the problem may be due to line 1814 in native/so/DVBCapture2.0/sage_DVBCaptureDevice.c (tuneDVBSFrequency ) where the frequency is initially assigned to an unsigned long.
(This does not happen in the tuneDVBTFrequency function.)

So I would like to modify and rebuild the 32-bit DVBCapture2.0 library. How do I produce a 32-bit version on a 64-bit linux box using the build scripts in the github repo? Is it just a matter of setting CFLAGS in the Makefile as per this post: http://stackoverflow.com/questions/1...bit-using-make

My c days are mostly behind me, so any help is much appreciated.
Reply With Quote
  #2  
Old 03-29-2016, 10:17 AM
echoes echoes is offline
Sage User
 
Join Date: Aug 2008
Location: Guildford, UK
Posts: 27
Update for anyone who's interested:

No problem with using both DVB-T tuners at the same time - I had bad lineup configs.

Fixed stability issue on 64-bit by changing int types to void* types in thread_util.c/h - there is a pull request for this.

Frequency out of range problem fixed by setting lnb.high_val,low_val and switch_val properly for the IF frequency calculations. All that unsigned long stuff was a complete red-herring, and I now have sorted out a development environment.

Next steps are to use the non-legacy v4l APIs to enable DVB-S2 tuning.

Also seems to be a problem in reading the PredefinedDVBS.frq file which is resulting on a very quick and unproductive channel scan on the DBV-S card.
Reply With Quote
  #3  
Old 09-05-2017, 08:47 AM
starfire starfire is offline
Sage Expert
 
Join Date: Mar 2008
Location: England, UK
Posts: 505
Quote:
Originally Posted by echoes View Post
Update for anyone who's interested:
Frequency out of range problem fixed by setting lnb.high_val,low_val and switch_val properly for the IF frequency calculations. All that unsigned long stuff was a complete red-herring, and I now have sorted out a development environment.
Could you tell me how you set these values? Think I am getting the same issue here
__________________
2 X HD300, 2 X HD100 & KVM unRAID Host with SageTV Docker using TBS 6285 Quad DVB-T2 & TBS 6984 Quad DVB-S2 Tuners
Reply With Quote
Reply

Tags
dvb-s, tune issue


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Frequency out of range messages in log jonno SageTV Linux 3 09-01-2008 01:16 PM
DVB: Load tuning frequency data failed hornsounder SageTV Linux 2 01-06-2007 03:53 PM
Frequency fine tuning tomchan79 SageTV Software 28 03-14-2005 08:30 AM
Fine tuning frequency table mdasilva SageTV Software 2 03-04-2005 04:04 PM
USB-UIRT Range? edbmdave SageTV Software 2 05-15-2004 11:20 PM


All times are GMT -6. The time now is 08:43 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.