Linux Media Controller development
 help / color / mirror / Atom feed
From: Antti Palosaari <crope@iki.fi>
To: Jurgen Kramer <gtmkramer@xs4all.nl>, linux-media@vger.kernel.org
Subject: Re: DVBSky T980C: Si2168 fw load failed
Date: Sat, 06 Dec 2014 20:29:33 +0200	[thread overview]
Message-ID: <54834B0D.6070502@iki.fi> (raw)
In-Reply-To: <2eea6b3b11e395b7fb238f350a804dc9.squirrel@webmail.xs4all.nl>

On 12/06/2014 06:48 PM, Jurgen Kramer wrote:
> On my new DVBSky T980C the tuner firmware failes to load:
> [   51.326525] si2168 2-0064: found a 'Silicon Labs Si2168' in cold state
> [   51.356233] si2168 2-0064: downloading firmware from file
> 'dvb-demod-si2168-a30-01.fw'
> [   51.408166] si2168 2-0064: firmware download failed=-110
> [   51.415457] si2157 4-0060: found a 'Silicon Labs Si2146/2147/2148/2157/2158'
> in cold state
> [   51.521714] si2157 4-0060: downloading firmware from file
> 'dvb-tuner-si2158-a20-01.fw'
> [   52.330605] si2168 2-0064: found a 'Silicon Labs Si2168' in cold state
> [   52.330784] si2168 2-0064: downloading firmware from file
> 'dvb-demod-si2168-a30-01.fw'
> [   52.382145] si2168 2-0064: firmware download failed=-110
>
> 110 seems to mean connection timeout. Any pointers how to debug this further?
>
> This is with the latest media_build from linuxtv.org on 3.17.4.

Looks like si2168 firmware failed to download, but si2157 succeeded. 
Could you add some more time for driver timeout? Current timeout is 
selected by trial and error, lets say it takes always max 43ms for my 
device I coded it 50ms.


drivers/media/dvb-frontends/si2168.c
/* wait cmd execution terminate */
#define TIMEOUT 50

change it to
#define TIMEOUT 500

Also, if it does not work, could you enable debugs to see what happens?
rmmod si2168
modprobe si2168
echo -n 'module si2168 =pft' > /sys/kernel/debug/dynamic_debug/control

regards
Antti

-- 
http://palosaari.fi/

  reply	other threads:[~2014-12-06 18:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-06 16:48 DVBSky T980C: Si2168 fw load failed Jurgen Kramer
2014-12-06 18:29 ` Antti Palosaari [this message]
2014-12-07  8:15   ` Jurgen Kramer
2014-12-07 14:50     ` Antti Palosaari
2014-12-08  7:39       ` Jurgen Kramer
2014-12-08  7:50         ` Antti Palosaari
2014-12-08  8:12           ` Jurgen Kramer
2014-12-08  8:20             ` Antti Palosaari

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=54834B0D.6070502@iki.fi \
    --to=crope@iki.fi \
    --cc=gtmkramer@xs4all.nl \
    --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