public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Krufky <mkrufky@linuxtv.org>
To: Jarod Wilson <jarod@wilsonet.com>
Cc: linux-media@vger.kernel.org,
	Robert Cicconetti <grythumn@gmail.com>,
	Douglas Schilling Landgraf <dougsland@gmail.com>
Subject: Re: KWorld UB435-Q Support
Date: Tue, 17 Nov 2009 00:55:21 -0500	[thread overview]
Message-ID: <4B023AC9.8080403@linuxtv.org> (raw)
In-Reply-To: <409C0215-68B1-4F90-A8E0-EBAF4F02AC1A@wilsonet.com>

Jarod Wilson wrote:
> On Nov 15, 2009, at 11:55 PM, Jarod Wilson wrote:
> 
>> On 11/15/2009 11:46 PM, Jarod Wilson wrote:
>>> On 10/09/2009 09:27 PM, Robert Cicconetti wrote:
>>>> On Wed, Oct 7, 2009 at 10:08 PM, Jarod Wilson<jarod@wilsonet.com> wrote:
>>>>> On Oct 7, 2009, at 9:39 PM, Robert Cicconetti wrote:
>>>>>> Okay... I built the tip of the archive linked above. It works with my
>>>>>> UB435-Q fairly well, built against 2.6.28-15-generic #52-Ubuntu SMP
>>>>>> x86_64. I've been able to stream QAM256 content for several hours
>>>>>> reliably. Mythfrontend works somewhat... it'll tune the initial
>>>>>> channel, but fails afterward. I suspect it is timing out while waiting
>>>>>> for the RF tracking filter calibration... it adds about 6 seconds to
>>>>>> every tuning operation.
>>>>>>
>>>>>> [ 812.465930] tda18271: performing RF tracking filter calibration
>>>>>> [ 818.572446] tda18271: RF tracking filter calibration complete
>>>>>> [ 818.953946] tda18271: performing RF tracking filter calibration
>>>>>> [ 825.093211] tda18271: RF tracking filter calibration complete
>>>>>>
>>>>>> Any suggestions? Further data needed?
>>>>> Nothing off the top of my head, no. But I've got a UB435-Q of my own
>>>>> now,
>>>>> sitting on my desk waiting for me to poke at it... Not sure when I'll
>>>>> have
>>>>> time to actually poke at it though. :\
>>>> A little further poking yields that RF_CAL_OK in EP1 is 0, which is
>>>> why it keeps recalibrating.
>>>>
>>>> I've commented out the part of the code that recalibrates if RF_CAL_OK
>>>> is 0; EP1 always seems to be c6... and now mythfrontend is happy. :)
>>>>
>>>> This is not a long term solution, but as ugly hacks go it was pretty
>>>> straight forward. :)
>>> Finally got around to poking at this again. Forward-ported the patches
>>> to the current v4l-dvb tip
>> Meant to include this:
>>
>> http://wilsonet.com/jarod/junk/kworld-a340-20091115/
>>
>>> , and gave 'em a spin with my own UB435-Q, as
>>> well as a 340U that Doug gave me when he was in town a bit ago. Both are
>>> working just fine with my QAM feed here at the house, albeit with the
>>> same lengthy delay when changing channels you (Robert) mentioned. At a
>>> glance, I was hoping simply setting rf_cal_on_startup for the
>>> card-specific tda18271_config would remove the delay, but neither a 0 or
>>> a 1 seems to particularly help with tuning delays. Hoping maybe Mike has
>>> an idea on this part...
>>>
>>> In related news, I actually managed to get my original 340U with the C1
>>> tuner to work briefly as well, and with the same code, no tuning delays.
>>> Seems either the PCB is cracked or the usb connector is just that bad,
>>> and it only works when positioned just so...
>> I'll give all three sticks I've got here a quick spin with an OTA signal tomorrow too. But I think I'm not seeing any significant reason to not move forward with trying to get this code finally merged.
> 
> All three check out with an OTA signal as well. I'll try to poke at the tuning delay thing a bit more tonight, but I'm inclined to send off formal patches Real Soon Now.
> 


Jarod,

I havent had time to review this entire email thread yet... but:

 >>>>> [ 812.465930] tda18271: performing RF tracking filter calibration
 >>>>> [ 818.572446] tda18271: RF tracking filter calibration complete
 >>>>> [ 818.953946] tda18271: performing RF tracking filter calibration
 >>>>> [ 825.093211] tda18271: RF tracking filter calibration complete


If you see this happen more than once consecutively, and there is only 1 
silicon tuner present, then it means something very bad is happening, 
and there is a chance of burning out a part.  I still wouldnt not 
recommend any mainline merge until you can prevent this behavior -- I 
suspect that a GPIO reset is being toggled where it shouldnt be, which 
should be harmless ... but until we fix it, we cant be sure what damage 
might get done...

The RF tracking filter calibration is a procedure that should only 
happen once while the tuner is powered on -- it should *only* be 
repeated if the tuner indicated that calibration is necessary, and that 
would only happen after a hardware reset.

This still looks fishy to me...

-Mike

  reply	other threads:[~2009-11-17  5:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-08  1:39 KWorld UB435-Q Support Robert Cicconetti
2009-10-08  2:08 ` Jarod Wilson
2009-10-10  1:27   ` Robert Cicconetti
2009-11-16  4:46     ` Jarod Wilson
2009-11-16  4:55       ` Jarod Wilson
2009-11-16 22:10         ` Jarod Wilson
2009-11-17  5:55           ` Michael Krufky [this message]
2009-11-17  6:03             ` Robert Cicconetti
2009-11-17 14:15               ` Jarod Wilson
2009-11-17 14:37                 ` Devin Heitmueller
2009-11-18  4:59                   ` Jarod Wilson
2010-03-06  3:09                     ` Jarod Wilson
2010-03-09 17:25                       ` Amy Overmyer
2009-11-17 14:44                 ` Robert Cicconetti

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=4B023AC9.8080403@linuxtv.org \
    --to=mkrufky@linuxtv.org \
    --cc=dougsland@gmail.com \
    --cc=grythumn@gmail.com \
    --cc=jarod@wilsonet.com \
    --cc=linux-media@vger.kernel.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