public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: mkrufky@linuxtv.org
To: crope@iki.fi
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] PEAK DVB-T Digital Dual Tuner PCI - anyone got t	his
Date: Thu, 5 Jun 2008 12:30:18 -0400	[thread overview]
Message-ID: <4848149A.10900@linuxtv.org> (raw)
In-Reply-To: <48480E9D.9000004@iki.fi>

Antti Palosaari wrote:
> Serge Nikitin wrote:
>> Andrew,
>>
>> PEAK DVB-T Dual tuner PCI (221544AGPK) is either renamed or rebadged 
>> KWorld DVB-T PC160 card.
>>
>> I'm using first tuner on this card with help of the driver from 
>> following source tree (snapshot was taken around 20/05/2008):
>> http://linuxtv.org/hg/~anttip/af9015-mxl500x-copy-fw/
>> and latest firmware from
>>
http://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_fil
es/ 
>>
>>
>> Small modification for sources (file af9015.c) was needed (just add 
>> one more USB Device ID (1b80:c160)) and the card is "just work" as a 
>> single-tuner card.
>
> Thank you for this information, I will add this USB-ID to the driver.
>
>> I have not test second tuner due to following issue:
>>  
>> Second tuner identified itself correctly only after really "cold 
>> restart" (power down, wait some time, power up):
>> May 20 23:39:09 dvbbird kernel: DVB: registering new adapter (KWorld  
>> PC160 (PEAK 221544AGPK) DVB-T PCI dual tuner)
>> May 20 23:39:10 dvbbird kernel: af9013: firmware version:4.95.0
>> May 20 23:39:10 dvbbird kernel: tda18271 3-00c0: creating new instance
>> May 20 23:39:10 dvbbird kernel: TDA18271HD/C1 detected @ 3-00c0
>> May 20 23:39:10 dvbbird kernel: dvb-usb: will pass the complete MPEG2 
>> transportstream to the software demuxer.
>> May 20 23:39:10 dvbbird kernel: DVB: registering new adapter (KWorld  
>> PC160 (PEAK 221544AGPK) DVB-T PCI dual tuner)
>> May 20 23:39:11 dvbbird kernel: af9013: firmware version:4.95.0
>> May 20 23:39:11 dvbbird kernel: tda18271 4-00c0: creating new instance
>> May 20 23:39:11 dvbbird kernel: TDA18271HD/C1 detected @ 4-00c0
>>
>> For any sort of "not-really-cold" restarts second tuner fails to 
>> respond correctly:
>> May 21 00:10:10 dvbbird kernel: DVB: registering new adapter (KWorld  
>> PC160 (PEAK 221544AGPK) DVB-T PCI dual tuner)
>> May 21 00:10:11 dvbbird kernel: af9013: firmware version:4.95.0
>> May 21 00:10:11 dvbbird kernel: tda18271 3-00c0: creating new instance
>> May 21 00:10:11 dvbbird kernel: TDA18271HD/C1 detected @ 3-00c0
>> May 21 00:10:11 dvbbird kernel: dvb-usb: will pass the complete MPEG2 
>> transportstream to the software demuxer.
>> May 21 00:10:11 dvbbird kernel: DVB: registering new adapter (KWorld  
>> PC160 (PEAK 221544AGPK) DVB-T PCI dual tuner)
>> May 21 00:10:12 dvbbird kernel: af9013: firmware version:4.95.0
>> May 21 00:10:12 dvbbird kernel: tda18271 4-00c0: creating new instance
>> May 21 00:10:12 dvbbird kernel: Unknown device detected @ 4-00c0, 
>> device not supported.
>
> Hmm, Mike have you any idea why it does not detect this tuner 
> correctly  when "warm  restart" done ? 


Maybe the tuner is behind an i2c gate that is closed at the time of 
attach / detection?

tda18271 driver will refuse to attach to the driver if the ID register 
does not contain a valid value.  The ID register is a single byte.

if ID_REGISTER & 0x7F == 3 then
    TDA18271c1
else if ID_REGISTER & 0x7F == 4 then
    TDA18271c2
else
    INVALID

I suggest disabling the ability to close the i2c gate -- force it to 
stay always open.  That should help you to determine whether or not the 
i2c gate is the cause of this problem.

-Mike



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

  reply	other threads:[~2008-06-05 16:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-05 13:26 [linux-dvb] PEAK DVB-T Digital Dual Tuner PCI - anyone got this Serge Nikitin
2008-06-05 16:04 ` Antti Palosaari
2008-06-05 16:30   ` mkrufky [this message]
2008-06-05 21:06   ` Serge Nikitin

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=4848149A.10900@linuxtv.org \
    --to=mkrufky@linuxtv.org \
    --cc=crope@iki.fi \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox