All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Clayton <chris2553@googlemail.com>
To: Devin Heitmueller <dheitmueller@kernellabs.com>
Cc: linux-media@vger.kernel.org
Subject: Re: WinTV-HVR-1400: scandvb (and kaffeine) fails to find any channels
Date: Fri, 01 Feb 2013 21:03:30 +0000	[thread overview]
Message-ID: <510C2DA2.7020000@googlemail.com> (raw)
In-Reply-To: <CAGoCfix8XDzcgtCiL39Qna_QBx_=ZEKyMknzbsS3iTXS04_a8A@mail.gmail.com>

Hi Devin,

On 02/01/13 14:19, Devin Heitmueller wrote:
> On Fri, Feb 1, 2013 at 9:16 AM, Chris Clayton <chris2553@googlemail.com> wrote:
>> I've got some more diagnostics. I tuned on the 12c debugging in the cx23885
>> driver and ran the scan again. Surprisingly, the scan found 22 channels on a
>> single frequency (that carries the BBC channels). I've attached two files -
>> the output from dvbscan and the kernel log covering the loading of the
>> drivers and running the scan.
>>
>> I'm no kernel guru, but is it possible that the root cause of the scan
>> failures is a timing problem which is being partially offset by the time
>> taken to produce all the debug output?
>
> w_scan does have some arguments that let you increase the timeout for
> tuning.  You may wish to see if that has any effect.  Maybe the w_scan
> timeout is just too short for that device.
>

Yes, I noticed that but even with the tuning timeout set at medium or 
longest, I doesn't find any channels. However, I've been following the 
debug messages through the code and ended up at 
drivers/media/pci/cx23885/cx23885-i2c.c.

I've found that by amending I2C_WAIT_DELAY from 32 to 64, I get improved 
results from scanning. With that delay doubled, scandvb now finds 49 
channels over 3 frequencies. That's with all debugging turned off, so no 
extra delays provided by the production of debug messages.

I'll play around more tomorrow and update then.

Chris

> Devin
>

  reply	other threads:[~2013-02-01 21:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-31 16:21 WinTV-HVR-1400: scandvb (and kaffeine) fails to find any channels Chris Clayton
2013-01-31 16:31 ` Devin Heitmueller
2013-01-31 20:59   ` Chris Clayton
2013-01-31 23:02     ` Chris Clayton
2013-02-01 11:53       ` Chris Clayton
     [not found]         ` <510BCE2F.1070100@googlemail.com>
2013-02-01 14:19           ` Devin Heitmueller
2013-02-01 21:03             ` Chris Clayton [this message]
2013-02-01 21:07               ` Devin Heitmueller
2013-02-03  0:03                 ` Chris Clayton
2013-02-05 14:48                   ` Chris Clayton
2013-02-06 11:56                     ` Chris Clayton

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=510C2DA2.7020000@googlemail.com \
    --to=chris2553@googlemail.com \
    --cc=dheitmueller@kernellabs.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.