Patch for TwinHan VT DST and compatible DVB-T cards

2010-07-27 Thread Arnuschky
Hi,

here a small patch to get a TwinHan VT DST DVB-T card working with
kernels >= 2.6.32. Analogously to
http://linuxtv.org/hg/v4l-dvb/rev/0e735b509163 I had to:

"Fill in the .caps field in struct dst_dvbt_ops (around line 1763) with
all the supported QAM modulation methods to match the capabilities of
the card as implemented in function dst_set_modulation (around line
502). Note that beginning with linux kernel version 2.6.32 the
modulation method is checked (by function dvb_frontend_check_parameters
in file drivers/media/dvb/dvb-core/dvb_frontend.c) and thus tuning fails
if you use a modulation method that is not present in the .caps field."

Patch:

diff -r 9652f85e688a linux/drivers/media/dvb/bt8xx/dst.c
--- a/linux/drivers/media/dvb/bt8xx/dst.c   Thu May 27 02:02:09 2010 -0300
+++ b/linux/drivers/media/dvb/bt8xx/dst.c   Tue Jul 27 09:34:38 2010 +0200
@@ -1763,7 +1763,15 @@
.frequency_min = 13700,
.frequency_max = 85800,
.frequency_stepsize = 17,
-   .caps = FE_CAN_FEC_AUTO | FE_CAN_QAM_AUTO | 
FE_CAN_TRANSMISSION_MODE_AUTO | FE_CAN_GUARD_INTERVAL_AUTO
+   .caps = FE_CAN_FEC_AUTO |
+   FE_CAN_QAM_AUTO |
+   FE_CAN_QAM_16   |
+   FE_CAN_QAM_32   |
+   FE_CAN_QAM_64   |
+   FE_CAN_QAM_128  |
+   FE_CAN_QAM_256  |
+   FE_CAN_TRANSMISSION_MODE_AUTO   |
+   FE_CAN_GUARD_INTERVAL_AUTO
},
 
.release = dst_release,
-8<--

Tested on 2.6.32-24, works fine. Thanks to Klaas de Waal for creating
the original patch for the DVB-C cards.

Hope this helps someone,
Arne

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Development list only?

2010-07-27 Thread Arnuschky
Hello,

I have been redirected here after subscribing to the "linux-dvb" list.
Thus, I asked my usage-related question on this mailing list, but I did
not get any reply up to now (subject "Very poor quality on buget card
TwinHan VP DST"). 

I suspect that this is because this mailing list is not a user mailing
list, but developers-only. If this is the case, could someone please
point me in the right direction for discussing user issues like mine?

Thank you very much,
Arne Brutschy

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Very poor (signal?) quality on buget card TwinHan VP DST

2010-07-25 Thread Arnuschky

Hi,

I am using a TwinHan VP DST card under Ubuntu Lucid Lynx (2.6.32-23  
with s2-liplianin-dkms updated dvb drivers).


The card is detected fine, but does not seem to have analogue tuner. I  
can scan channels, and I can watch TV using digital-only capable  
applications (eg, Me-TV, Kaffeine). Nevertheless, the general picture  
quality is VERY bad. Basically, there's not a single frame without  
decoding error and freezes. Sound suffers the same problem. It all  
behaves like a bad signal/bad antenna installation.


The problem is: a parallel windows installation gives a crystal-clear  
and stable picture, without touching the antenna in between.


I assume it's a problem with channel fine-tuning or software decoder  
quality. Can anyone help me with solving these problems?


Thanks
Arne


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html