* [linux-dvb] Twinhan VisionPlus DVB-T Card not working
@ 2008-11-20 13:39 Terry Barnaby
2008-11-21 10:19 ` Terry Barnaby
2008-11-21 10:47 ` [linux-dvb] [PATCH] " Terry Barnaby
0 siblings, 2 replies; 6+ messages in thread
From: Terry Barnaby @ 2008-11-20 13:39 UTC (permalink / raw)
To: linux-dvb
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 ?
/var/log/messages does have:
bttv0: tuner absent
>From the dvb apps scan utility I get:
[root@king scan]# ./scan -a 2 dvb-t/uk-Mendip
scanning dvb-t/uk-Mendip
using '/dev/dvb/adapter2/frontend0' and '/dev/dvb/adapter2/demux0'
initial transponder 754167000 0 2 9 1 0 0 0
>>> tune to:
754167000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_16:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to:
754167000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_16:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE
(tuning failed)
WARNING: >>> tuning failed!!!
ERROR: initial tuning failed
dumping lists (0 services)
The lspci dump for the card is:
02:00.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture
(rev 11)
Subsystem: Twinhan Technology Co. Ltd VisionPlus DVB card
Flags: bus master, medium devsel, latency 64, IRQ 16
Memory at cfeff000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
Kernel driver in use: bttv
Kernel modules: bttv
In numeric:
02:00.0 0400: 109e:036e (rev 11)
Subsystem: 1822:0001
Flags: bus master, medium devsel, latency 64, IRQ 16
Memory at cfeff000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
Kernel driver in use: bttv
Kernel modules: bttv
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [linux-dvb] Twinhan VisionPlus DVB-T Card not working
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 ` [linux-dvb] [PATCH] " Terry Barnaby
1 sibling, 0 replies; 6+ messages in thread
From: Terry Barnaby @ 2008-11-21 10:19 UTC (permalink / raw)
To: Terry Barnaby; +Cc: linux-dvb
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 been playing around with the bt8xx source code.
If I set "dst_algo = 1" in "bt8xx/dst.c" then my Twinhan VisionPlus
DVB-T appears to work.
This parameter appears to enable hardware rather than software tuning.
I assume there is some bug in the software tuning algorithm ...
What are the benefits of software tuning over hardware based tuning ?
Cheers
Terry
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 6+ messages in thread
* [linux-dvb] [PATCH] Re: Twinhan VisionPlus DVB-T Card not working
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
2008-11-21 10:52 ` [linux-dvb] [PATCH] Take 2: " Terry Barnaby
1 sibling, 1 reply; 6+ messages in thread
From: Terry Barnaby @ 2008-11-21 10:47 UTC (permalink / raw)
To: Terry Barnaby; +Cc: linux-dvb
[-- 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [linux-dvb] [PATCH] Take 2: Re: Twinhan VisionPlus DVB-T Card not working
2008-11-21 10:47 ` [linux-dvb] [PATCH] " Terry Barnaby
@ 2008-11-21 10:52 ` Terry Barnaby
2008-11-21 20:32 ` Manu Abraham
2008-11-22 7:19 ` [linux-dvb] [PATCH] Take 3: " Terry Barnaby
0 siblings, 2 replies; 6+ messages in thread
From: Terry Barnaby @ 2008-11-21 10:52 UTC (permalink / raw)
To: Terry Barnaby; +Cc: linux-dvb
[-- Attachment #1: Type: text/plain, Size: 1336 bytes --]
Terry Barnaby wrote:
> 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
>
This is a better patch as it describes the integer values
that can be used as options.
Cheers
Terry
[-- Attachment #2: v4l-dvb.beam.patch --]
[-- Type: text/x-patch, Size: 707 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:50:00 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 2=DVBFE_ALGO_SW (options: 1=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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-dvb] [PATCH] Take 2: Re: Twinhan VisionPlus DVB-T Card not working
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
1 sibling, 0 replies; 6+ messages in thread
From: Manu Abraham @ 2008-11-21 20:32 UTC (permalink / raw)
To: Terry Barnaby; +Cc: linux-dvb
Terry Barnaby wrote:
> Terry Barnaby wrote:
>> 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
>>
> This is a better patch as it describes the integer values
> that can be used as options.
>
> Cheers
>
>
> Terry
>
>
> ------------------------------------------------------------------------
>
> 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:50:00 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 2=DVBFE_ALGO_SW (options: 1=DVBFE_ALGO_HW)");
>
> #define HAS_LOCK 1
> #define ATTEMPT_TUNE 2
Can you please add in your Developer Certificate of Origin
Signed-off-by: User.Name <user.name@domain.name>
Regards,
Manu
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-dvb] [PATCH] Take 3: Re: Twinhan VisionPlus DVB-T Card not working
2008-11-21 10:52 ` [linux-dvb] [PATCH] Take 2: " Terry Barnaby
2008-11-21 20:32 ` Manu Abraham
@ 2008-11-22 7:19 ` Terry Barnaby
1 sibling, 0 replies; 6+ messages in thread
From: Terry Barnaby @ 2008-11-22 7:19 UTC (permalink / raw)
To: Terry Barnaby; +Cc: linux-dvb, Manu Abraham
[-- Attachment #1: Type: text/plain, Size: 1475 bytes --]
Terry Barnaby wrote:
> Terry Barnaby wrote:
>> 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
>>
> This is a better patch as it describes the integer values
> that can be used as options.
>
> Cheers
>
>
> Terry
>
Signed-off-by: Terry.Barnaby <terry.barnaby@beam.ltd.uk>
Cheers
Terry
[-- Attachment #2: v4l-dvb.beam.patch --]
[-- Type: text/x-patch, Size: 707 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:50:00 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 2=DVBFE_ALGO_SW (options: 1=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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-11-22 7:20 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [linux-dvb] [PATCH] " Terry Barnaby
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox