public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Terry Barnaby <terry1@beam.ltd.uk>
To: Terry Barnaby <terry1@beam.ltd.uk>
Cc: linux-dvb@linuxtv.org
Subject: [linux-dvb] [PATCH] Re: Twinhan VisionPlus DVB-T Card not working
Date: Fri, 21 Nov 2008 10:47:21 +0000	[thread overview]
Message-ID: <492691B9.1080809@beam.ltd.uk> (raw)
In-Reply-To: <492568A2.4030100@beam.ltd.uk>

[-- Attachment #1: Type: text/plain, Size: 1162 bytes --]

Terry Barnaby wrote:
> Hi,
> 
> I am having a problem with the latest DVB drivers.
> I have a Twinhan VisionPlus DVB-T card (and other DVB cards) in my
> MythTv server running Fedora 8. This is running fine
> with the Fedora stock kernel: 2.6.26.6-49.fc8.
> 
> However, I have now added a Hauppauge DVB-S2 and so have been
> trying the latest DVB Mercurial DVB tree.
> This compiles and installs fine and the two DVB-T cards and the
> new DVB-S card are recognised and has /dev/dvb entries.
> The first DVB-T card, a Twinhan based on the SAA7133/SAA7135
> works fine but the Twinhan VisionPlus, which is Bt878 will not
> tune in.
> 
> Any ideas ?
> Has there been any recent changes to the Bt878 driver that could
> have caused this ?
> 

I have tracked this down to a bug in the bt8xx/dst frontend.
It appears that the front end tuning algorithm number as used in
dvb_frontend.c has changed format but the default setting in
bt8xx/dst has not been updated to match.

This patch sets the default algorithm to be software tuning as,
I believe, was the original setting. However, I wonder if
it should be set to use hardware tuning by default ...


Cheers


Terry

[-- Attachment #2: v4l-dvb.beam.patch --]
[-- Type: text/x-patch, Size: 703 bytes --]

diff -r 5dc4a6b381f6 linux/drivers/media/dvb/bt8xx/dst.c
--- a/linux/drivers/media/dvb/bt8xx/dst.c	Wed Nov 19 13:01:33 2008 -0200
+++ b/linux/drivers/media/dvb/bt8xx/dst.c	Fri Nov 21 10:44:43 2008 +0000
@@ -38,9 +38,9 @@ module_param(dst_addons, int, 0644);
 module_param(dst_addons, int, 0644);
 MODULE_PARM_DESC(dst_addons, "CA daughterboard, default is 0 (No addons)");
 
-static unsigned int dst_algo;
+static unsigned int dst_algo = DVBFE_ALGO_SW;
 module_param(dst_algo, int, 0644);
-MODULE_PARM_DESC(dst_algo, "tuning algo: default is 0=(SW), 1=(HW)");
+MODULE_PARM_DESC(dst_algo, "tuning algo: default is DVBFE_ALGO_SW (options: DVBFE_ALGO_HW)");
 
 #define HAS_LOCK		1
 #define ATTEMPT_TUNE		2

[-- Attachment #3: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  parent reply	other threads:[~2008-11-21 10:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-20 13:39 [linux-dvb] Twinhan VisionPlus DVB-T Card not working Terry Barnaby
2008-11-21 10:19 ` Terry Barnaby
2008-11-21 10:47 ` Terry Barnaby [this message]
2008-11-21 10:52   ` [linux-dvb] [PATCH] Take 2: " Terry Barnaby
2008-11-21 20:32     ` Manu Abraham
2008-11-22  7:19     ` [linux-dvb] [PATCH] Take 3: " Terry Barnaby

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=492691B9.1080809@beam.ltd.uk \
    --to=terry1@beam.ltd.uk \
    --cc=linux-dvb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox