All of lore.kernel.org
 help / color / mirror / Atom feed
From: mkrufky@linuxtv.org
To: jarro.2783@gmail.com
Cc: crope@iki.fi, linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] NXP 18211HDC1 tuner
Date: Wed, 12 Mar 2008 17:14:20 -0400	[thread overview]
Message-ID: <47D847AC.9070803@linuxtv.org> (raw)
In-Reply-To: <abf3e5070803121412i322041fbyede6c5a727827c7f@mail.gmail.com>

Jarryd Beck wrote:
> On Thu, Mar 13, 2008 at 8:09 AM,  <mkrufky@linuxtv.org> wrote:
>   
>> Jarryd Beck wrote:
>>  > On Thu, Mar 13, 2008 at 7:54 AM, Michael Krufky <mkrufky@linuxtv.org>
>>  wrote:
>>  >
>>  >> On Wed, Mar 12, 2008 at 4:36 PM, Jarryd Beck <jarro.2783@gmail.com>
>>  wrote:
>>  >>  >
>>  >>  > >  >>
>>  >>  >  >  >> Jarryd,
>>  >>  >  >  >>
>>  >>  >  >  >> I've analyzed the snoop that you've taken of the windows
>>  driver, and I
>>  >>  >  >  >> conclude that the driver is basically doing exactly the
same
>>  that the
>>  >>  >  >  >> linux driver would do.  The only thing that I cannot verify
is
>>  whether
>>  >>  >  >  >> or not the tda18211 uses the same table values as the
>>  tda18271c1.
>>  >>  >  >  >> Based on the traffic in your snoop, it looks like the exact
>>  same
>>  >>  >  >  >> algorithm is used, but based on a new set of tables -- I
will
>>  not be
>>  >>  >  >  >> able to confirm that without a tda18211 datasheet.  The
only
>>  thing
>>  >>  >  >  >> that you can do is try the tda18271 driver and hopefully it
>>  will work.
>>  >>  >  >  >>
>>  >>  >  >  >> Have you tried to tune yet?  There is a space in your
>>  channels.conf,
>>  >>  >  >  >> "7 Digital" -- you may want to change that to something
like,
>>  >>  >  >  >> "7Digital" so that command line applications will work.
>>  >>  >  >  >>
>>  >>  >  >
>>  >>  >  >
>>  >>  >  >
>>  >>  >  > Antti Palosaari wrote:
>>  >>  >  >  > hello
>>  >>  >  >  > I looked sniffs and find correct demodulator initialization
>>  values for
>>  >>  >  >  > this NXP tuner. Copy & paste correct table from attached
file
>>  and try.
>>  >>  >  >  > Hopefully it works. I compared your sniff to mt2060 and
qt1010
>>  based
>>  >>  >  >  > devices and there was still some minor differences to check.
>>  >>  >  >  >
>>  >>  >  >  > regards,
>>  >>  >  >  > Antti
>>  >>  >  >  >
>>  >>  >  >
>>  >>  >  >  Antti,
>>  >>  >  >
>>  >>  >  >  Please remember not to top-post.
>>  >>  >  >
>>  >>  >  >  Jarryd,
>>  >>  >  >
>>  >>  >  >  I have done further analysis on the snoop logs.  Not only is
the
>>  driver
>>  >>  >  >  using the same protocol as the tda18271 linux driver, it also
>>  seems to
>>  >>  >  >  use the same table values as used with the tda18271c1 -- The
linux
>>  >>  >  >  driver should work on your tuner without any modification at
all.
>>  >>  >  >
>>  >>  >  >  Regards,
>>  >>  >  >
>>  >>  >  >  Mike
>>  >>  >  >
>>  >>  >
>>  >>  >  I've got another tuner which works, so I know I'm tuning
correctly,
>>  it just
>>  >>  >  doesn't actually tune. I tried with mplayer, it just sat there
saying
>>  >>  >  dvb_tune Freq: 219500000 and did nothing. It also made my whole
>>  >>  >  computer go really slow, I don't know what it was actually doing.
>>  >>  >
>>  >>  >  Antti, as I said I've never done anything like this before so I
have
>>  no
>>  >>  >  idea what I'm doing, so I have no idea where to paste which
table.
>>  >>
>>  >>  Please try using tzap.  This will show you FE status once every
>>  >>  second.  Let it run for a whole minute -- maybe there is some noise
>>  >>  that may cause it to take a longer time to lock (if that's the case,
>>  >>  then there are some tweaks that we can do.)  Show us the femon
output
>>  >>  produced by running tzap.
>>  >>
>>  >>  -Mike
>>  >>
>>  >>
>>  >
>>  > $ tzap -a 2 "TEN Digital"
>>  > using '/dev/dvb/adapter2/frontend0' and '/dev/dvb/adapter2/demux0'
>>  > tuning to 219500000 Hz
>>  > video pid 0x0200, audio pid 0x028a
>>  > status 01 | signal 0000 | snr 0000 | ber 00000000 | unc 00000000 |
>>  >
>>  > $ femon -a 2
>>  > using '/dev/dvb/adapter2/frontend0'
>>  > FE: Afatech AF9013 DVB-T (TERRESTRIAL)
>>  > status 00 | signal 0000 | snr 0000 | ber 00000000 | unc 00000000 |
>>  > status 00 | signal 0000 | snr 0000 | ber 00000000 | unc 00000000 |
>>  > status 00 | signal 0000 | snr 0000 | ber 00000000 | unc 00000000 |
>>  > status 00 | signal 0000 | snr 0000 | ber 00000000 | unc 00000000 |
>>  > status 00 | signal 0000 | snr 0000 | ber 00000000 | unc 00000000 |
>>  > status 00 | signal 0000 | snr 0000 | ber 00000000 | unc 00000000 |
>>  > status 00 | signal 0000 | snr 0000 | ber 00000000 | unc 00000000 |
>>  > status 00 | signal 0000 | snr 0000 | ber 00000000 | unc 00000000 |
>>  > status 00 | signal 0000 | snr 0000 | ber 00000000 | unc 00000000 |
>>  > status 00 | signal 0000 | snr 0000 | ber 00000000 | unc 00000000 |
>>  > status 00 | signal 0000 | snr 0000 | ber 00000000 | unc 00000000 |
>>  > status 00 | signal 0000 | snr 0000 | ber 00000000 | unc 00000000 |
>>  > status 00 | signal 0000 | snr 0000 | ber 00000000 | unc 00000000 |
>>  > status 00 | signal 0000 | snr 0000 | ber 00000000 | unc 00000000 |
>>  > status 01 | signal 0000 | snr 0000 | ber 00000000 | unc 00000000 |
>>  >
>>  > The status 00 lines were from before I started tzap, after I started
tzap
>>  > it did nothing for half a minute, then printed the status 01 line,
then
>>  > sat there for another half a minute, and I killed it at that point.
>>  > My computer was also taking quite a few seconds to respond to
>>  > me pressing the keyboard for the whole time I was tuning it.
>>  >
>>  > Jarryd.
>>  >
>>  What shows in dmesg during the above?
>>
>>  -Mike
>>
>>     
>
> nothing new
>
> Jarryd.
>   

Then, please turn ON debug, repeat your tests, and post again with 
dmesg.  I am not familiar with the af9015 driver, but for tda18271, set 
debug=1.  (you must unload all modules first -- do 'make unload' in the 
v4l-dvb dir, then replug your device)

-Mike


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  reply	other threads:[~2008-03-12 21:14 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-10  1:36 [linux-dvb] NXP 18211HDC1 tuner Jarryd Beck
2008-03-10  1:46 ` Michael Krufky
     [not found]   ` <abf3e5070803092042q6f4e90d9h890efb0ea441419e@mail.gmail.com>
2008-03-10  4:28     ` Michael Krufky
2008-03-10  7:39       ` Jarryd Beck
2008-03-10  9:56         ` Antti Palosaari
2008-03-10 11:12           ` Jarryd Beck
2008-03-10 13:38         ` Michael Krufky
2008-03-10 21:15           ` Jarryd Beck
2008-03-10 21:59             ` Antti Palosaari
2008-03-11 21:05               ` Jarryd Beck
2008-03-11 23:25                 ` Michael Krufky
2008-03-12  0:08                   ` Jarryd Beck
2008-03-12  1:46                     ` Michael Krufky
2008-03-12  2:02                       ` Steven Toth
2008-03-12  3:06                       ` Jarryd Beck
2008-03-12 12:49                         ` Michael Krufky
2008-03-12 14:02                           ` Antti Palosaari
2008-03-12 15:06                             ` mkrufky
2008-03-12 20:36                               ` Jarryd Beck
2008-03-12 20:54                                 ` Michael Krufky
2008-03-12 21:07                                   ` Jarryd Beck
2008-03-12 21:09                                     ` mkrufky
2008-03-12 21:12                                       ` Jarryd Beck
2008-03-12 21:14                                         ` mkrufky [this message]
2008-03-12 21:25                                           ` Jarryd Beck
2008-03-12 21:28                                             ` mkrufky
2008-03-12 23:11                                             ` Antti Palosaari
2008-03-13  2:20                                               ` Jarryd Beck
2008-03-13 23:07                                                 ` Jarryd Beck
2008-03-14  0:13                                                   ` Antti Palosaari
2008-03-14  2:53                                                     ` Jarryd Beck
2008-03-14  3:19                                                       ` Michael Krufky
2008-03-14  3:22                                                         ` Jarryd Beck
2008-03-14  3:33                                                           ` Jarryd Beck
2008-03-14  4:28                                                             ` Michael Krufky
2008-03-14  4:40                                                             ` Antti Palosaari
2008-03-14  5:37                                                           ` Antti Palosaari
2008-03-14 12:31                                                             ` Michael Krufky
2008-03-14 18:30                                                               ` Antti Palosaari
2008-03-14 18:32                                                                 ` Antti Palosaari
2008-03-15 13:06                                                                   ` Jarryd Beck
2008-03-15 13:21                                                                     ` Jarryd Beck
2008-03-15 14:22                                                                       ` Antti Palosaari
2008-03-15 23:42                                                                         ` Jarryd Beck
2008-03-16  0:08                                                                           ` Antti Palosaari
2008-03-16  0:27                                                                             ` Jarryd Beck
2008-03-16  0:37                                                                               ` Antti Palosaari
2008-03-16  0:40                                                                                 ` Jarryd Beck
2008-03-16  0:42                                                                                   ` Michael Krufky
2008-03-16  0:47                                                                             ` Michael Krufky
2008-03-16  1:27                                                                               ` Jarryd Beck
2008-03-16  1:39                                                                                 ` Antti Palosaari
2008-03-16  2:01                                                                                   ` Jarryd Beck
2008-03-16  2:04                                                                                     ` Antti Palosaari
2008-03-16  4:29                                                                                       ` Michael Krufky
2008-03-16  2:04                                                                                 ` Michael Krufky
2008-03-16  3:25                                                                                   ` Jarryd Beck
2008-03-16  3:28                                                                                     ` Michael Krufky
2008-03-18  2:14                                                                                       ` Antti Palosaari
2008-03-20  2:01                                                                                         ` Jarryd Beck
2008-03-20  2:29                                                                                           ` Antti Palosaari
2008-03-20  2:39                                                                                             ` Jarryd Beck
2008-03-24  5:32                                                                                             ` Jarryd Beck
2008-03-24  5:35                                                                                               ` Jarryd Beck
2008-03-24 11:58                                                                                                 ` Antti Palosaari
2008-03-24 11:59                                                                                                   ` Jarryd Beck
2008-03-24 11:56                                                                                               ` Antti Palosaari
2008-03-14  4:33                                                         ` Antti Palosaari
2008-03-14  4:26                                                       ` Antti Palosaari
     [not found] <mailman.135.1205356481.830.linux-dvb@linuxtv.org>
2008-03-13  0:02 ` ras243-dvb

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=47D847AC.9070803@linuxtv.org \
    --to=mkrufky@linuxtv.org \
    --cc=crope@iki.fi \
    --cc=jarro.2783@gmail.com \
    --cc=linux-dvb@linuxtv.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.