All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antti Palosaari <crope@iki.fi>
To: Matthias Schwarzott <zzam@gentoo.org>
Cc: linux-media@vger.kernel.org, Ulf <mopp@gmx.net>
Subject: Re: Hauppauge HVR-900 HD and HVR 930C-HD with si2165
Date: Wed, 16 Oct 2013 13:21:14 +0300	[thread overview]
Message-ID: <525E689A.9000006@iki.fi> (raw)
In-Reply-To: <525E1B30.9040801@gentoo.org>

On 16.10.2013 07:50, Matthias Schwarzott wrote:
> On 07.10.2013 22:16, Antti Palosaari wrote:
>> On 07.10.2013 22:30, Matthias Schwarzott wrote:
>>> my real problem currently is, that I cannot get a good usb dump:
>>> 1. In virtual machine (win xp under kvm) it finds one transponder when
>>> scanning DVB-T, but does not get a picture.
>>
>> I think demod locks (== means signal is OK and demod streams data),
>> but stream got lost somewhere on kvm. I have had similar experiences
>> many years back when I tested some virtual machines.
> Hi Antti,
>
> You were absolutely right here. Using the USB sniffs from the virtual
> machine, I got a picture. So only the stream seems to get lost.
> I did this by using these steps:
>
> * Record data: tcpdump -i usbmon1 -w win-tune.tcpdump
> * Start virtual machine and tune
>
> * Convert to usbsniff format: parse_tcpdump_log.pl win-tune.tcpdump
> * Run parse_cx231xx.pl on it (so i2c transfers can be seen)
> * Format it by my own parse-si2165.py
>
> With this I get code of 4700 i2c sends/receives.
> When adding a msleep(1) into my si2165_read function, I get a picture
> most of the tries.
> This is for DVB-T with fixed set of parameters.

Nice! Thats very good starting point =) Now start implementing things 
correctly.

* proper I2C routines / register write / read
* firmware download
* demod lock flags (that could be found easily by looking sniffs, it is 
reg(s) that is read very often and almost never written)

In a case of demod most registers has just hard coded values. Only case 
where you will likely see different register values is bandwidth 
settings. Unfortunately it is hard to find without modulator where you 
could test easily all 6/7/8 MHz, sniff and diff. Fortunately though, 8 
MHz is used almost everywhere in the world...

regards
Antti

-- 
http://palosaari.fi/

  reply	other threads:[~2013-10-16 10:21 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-17 11:30 Hauppauge HVR-900 HD and HVR 930C-HD with si2165 Ulf
2013-08-17 11:53 ` Antti Palosaari
2013-08-18 11:54   ` Hans Petter Selasky
2013-08-18 12:15     ` Antti Palosaari
2013-08-18 19:02     ` Steven Toth
2013-08-19 19:47       ` Hans Petter Selasky
2013-08-19 20:09         ` Antti Palosaari
2013-08-19 22:43         ` Konstantin Dimitrov
2013-08-20  6:46           ` Hans Petter Selasky
2013-08-20  8:26           ` nibble.max
2013-08-20  8:43             ` Hans Petter Selasky
     [not found] ` <52426BB0.60809@gentoo.org>
     [not found]   ` <52444AA3.8020205@iki.fi>
2013-10-01  5:34     ` Matthias Schwarzott
2013-10-01 14:45       ` Antti Palosaari
2013-10-07 19:30         ` Matthias Schwarzott
2013-10-07 20:16           ` Antti Palosaari
2013-10-16  4:50             ` Matthias Schwarzott
2013-10-16 10:21               ` Antti Palosaari [this message]
2013-10-07 20:21           ` pierigno
2013-10-15 18:52             ` Matthias Schwarzott
  -- strict thread matches above, loose matches on Subject: below --
2013-08-18 15:00 Ulf
2013-08-18 15:23 ` Hans Petter Selasky
2013-08-18 15:26 ` Antti Palosaari
2013-08-18 18:58 ` Steven Toth

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=525E689A.9000006@iki.fi \
    --to=crope@iki.fi \
    --cc=linux-media@vger.kernel.org \
    --cc=mopp@gmx.net \
    --cc=zzam@gentoo.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.