From: Antti Palosaari <crope@iki.fi>
To: Olli Salonen <olli.salonen@iki.fi>
Cc: Stephen Allan <stephena@intellectit.com.au>,
"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: Hauppauge WinTV-HVR2205 driver feedback
Date: Wed, 03 Jun 2015 22:46:07 +0300 [thread overview]
Message-ID: <556F597F.1070406@iki.fi> (raw)
In-Reply-To: <CAAZRmGx9z_-_zs54+3OdEVj=H4ddwU0hh5+FaktzYYo=EabVzQ@mail.gmail.com>
On 06/03/2015 10:08 PM, Olli Salonen wrote:
> I cold booted my number cruncher after a hiatus of a couple of weeks,
> applied a couple of extra dev_dbg printouts in the si2168_cmd_execute
> and installed the newly built module. The results:
>
> [ 663.147757] si2168 2-0066: Silicon Labs Si2168 successfully attached
> [ 663.151735] si2157 1-0060: Silicon Labs Si2147/2148/2157/2158
> successfully attached
> [ 663.152436] DVB: registering new adapter (saa7164)
> [ 663.152441] saa7164 0000:07:00.0: DVB: registering adapter 1
> frontend 0 (Silicon Labs Si2168)...
> [ 678.690104] si2168:si2168_init: si2168 2-0064:
> [ 678.690111] si2168:si2168_cmd_execute: si2168 2-0064: wlen: 13, rlen: 0
> [ 678.690115] si2168:si2168_cmd_execute: si2168 2-0064: i2c write: c0
> 12 00 0c 00 0d 16 00 00 00 00 00 00
> [ 678.693331] si2168:si2168_cmd_execute: si2168 2-0064: wlen: 8, rlen: 1
> [ 678.693337] si2168:si2168_cmd_execute: si2168 2-0064: i2c write: c0
> 06 01 0f 00 20 20 01
> [ 678.701914] si2168:si2168_cmd_execute: si2168 2-0064: i2c read: 80
> [ 678.701920] si2168:si2168_cmd_execute: si2168 2-0064: cmd execution took 6 ms
> [ 678.701923] si2168:si2168_cmd_execute: si2168 2-0064: wlen: 1, rlen: 13
> [ 678.701926] si2168:si2168_cmd_execute: si2168 2-0064: i2c write: 02
> [ 678.708631] si2168:si2168_cmd_execute: si2168 2-0064: i2c read: 80
> 00 44 34 30 02 00 00 00 00 00 00 00
> [ 678.708636] si2168:si2168_cmd_execute: si2168 2-0064: cmd execution took 2 ms
> [ 678.708639] si2168 2-0064: unknown chip version Si2168-
> [ 678.714777] si2168:si2168_init: si2168 2-0064: failed=-22
> [ 678.727424] si2157 0-0060: found a 'Silicon Labs Si2157-A30'
> [ 678.783587] si2157 0-0060: firmware version: 3.0.5
>
> The answer to the 02 command seems really odd. You can see it is a
> Si2168, version 40, but I'd expect the second octet to say 42 instead
> of 00.
Yeah, very odd. That byte should be letter A (0x41) or B (0x42) or
likely C (0x43) in future when current C revision chips are seen.
Are you really sure it has returned (and worked) 0x42 earlier? Have you
used Windows driver - I speculate if it could make permanent upgrade to
chip to change it.
Timing issues are also possible. Maybe you could test with some extra
sleeps, like adding 100ms delay between command request and reply.
Unfortunately value of those 3 bytes are really important as driver
selects firmware to download according them.
regards
Antti
--
http://palosaari.fi/
next prev parent reply other threads:[~2015-06-03 19:46 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-03 3:55 Hauppauge WinTV-HVR2205 driver feedback Stephen Allan
2015-06-03 7:55 ` Antti Palosaari
2015-06-03 8:02 ` Antti Palosaari
2015-06-03 9:29 ` Olli Salonen
2015-06-03 14:30 ` Steven Toth
2015-06-04 12:46 ` Steven Toth
2015-06-03 15:34 ` Antti Palosaari
2015-06-03 19:08 ` Olli Salonen
2015-06-03 19:46 ` Antti Palosaari [this message]
2015-06-04 8:07 ` Olli Salonen
2015-06-04 0:38 ` Stephen Allan
2015-06-04 1:22 ` faulkner-ball
2015-06-03 14:31 ` Steven Toth
2015-06-03 21:50 ` Peter Faulkner-Ball
2015-06-03 22:16 ` Steven Toth
-- strict thread matches above, loose matches on Subject: below --
2015-10-04 4:55 Richard Tresidder
2015-10-04 14:03 ` Steven Toth
2015-10-05 1:59 ` Richard Tresidder
2015-10-05 14:22 ` Steven Toth
2015-10-05 14:35 ` Richard Tresidder
2015-10-05 14:39 ` Richard Tresidder
2015-10-05 14:43 ` Steven Toth
2015-10-05 15:26 ` Richard Tresidder
2015-10-05 15:32 ` Steven Toth
2015-10-05 12:45 ` Tycho Lürsen
2015-10-05 14:22 ` Richard Tresidder
2015-10-05 16:03 ` Richard Tresidder
2015-10-11 6:18 ` Richard Tresidder
2015-10-11 7:33 ` Tycho Lürsen
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=556F597F.1070406@iki.fi \
--to=crope@iki.fi \
--cc=linux-media@vger.kernel.org \
--cc=olli.salonen@iki.fi \
--cc=stephena@intellectit.com.au \
/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;
as well as URLs for NNTP newsgroup(s).