* [linux-dvb] PEAK DVB-T Digital Dual Tuner PCI - anyone got this
@ 2008-06-05 13:26 Serge Nikitin
2008-06-05 16:04 ` Antti Palosaari
0 siblings, 1 reply; 4+ messages in thread
From: Serge Nikitin @ 2008-06-05 13:26 UTC (permalink / raw)
To: linux-dvb
[-- Attachment #1.1: Type: text/plain, Size: 2400 bytes --]
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_files/
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.
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.
May 21 00:10:12 dvbbird kernel: tda18271 4-00c0: destroying instance
Hope this help.
Sergej.
[-- Attachment #1.2: Type: text/html, Size: 2750 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-dvb] PEAK DVB-T Digital Dual Tuner PCI - anyone got this
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 ` [linux-dvb] PEAK DVB-T Digital Dual Tuner PCI - anyone got t his mkrufky
2008-06-05 21:06 ` [linux-dvb] PEAK DVB-T Digital Dual Tuner PCI - anyone got this Serge Nikitin
0 siblings, 2 replies; 4+ messages in thread
From: Antti Palosaari @ 2008-06-05 16:04 UTC (permalink / raw)
To: Serge Nikitin, Michael Krufky; +Cc: linux-dvb
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_files/
>
> 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 ?
> May 21 00:10:12 dvbbird kernel: tda18271 4-00c0: destroying instance
>
> Hope this help.
Thanks.
Could you give all debug / message logs printed in startup? It should
print eeprom content and some more information as well.
> Sergej.
regards
Antti
--
http://palosaari.fi/
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-dvb] PEAK DVB-T Digital Dual Tuner PCI - anyone got t his
2008-06-05 16:04 ` Antti Palosaari
@ 2008-06-05 16:30 ` mkrufky
2008-06-05 21:06 ` [linux-dvb] PEAK DVB-T Digital Dual Tuner PCI - anyone got this Serge Nikitin
1 sibling, 0 replies; 4+ messages in thread
From: mkrufky @ 2008-06-05 16:30 UTC (permalink / raw)
To: crope; +Cc: linux-dvb
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-dvb] PEAK DVB-T Digital Dual Tuner PCI - anyone got this
2008-06-05 16:04 ` Antti Palosaari
2008-06-05 16:30 ` [linux-dvb] PEAK DVB-T Digital Dual Tuner PCI - anyone got t his mkrufky
@ 2008-06-05 21:06 ` Serge Nikitin
1 sibling, 0 replies; 4+ messages in thread
From: Serge Nikitin @ 2008-06-05 21:06 UTC (permalink / raw)
To: Antti Palosaari; +Cc: linux-dvb
[-- Attachment #1.1: Type: text/plain, Size: 7386 bytes --]
On Thu, Jun 5, 2008 at 5:04 PM, Antti Palosaari <crope@iki.fi> wrote:
>
> Could you give all debug / message logs printed in startup? It should print
> eeprom content and some more information as well.
>
Antti,
I already compare both "dmesg" outputs and can't see much difference, but I
hope that those logs will make more sense for you (fyi - there is second DVB
card on the same box - Hauppauge NOVA DVB-S, some messaging may interfere):
############## OK ####################
########## Cold restart - both tuners added, did not check how does it
work...
(from dmesg):
af9015_usb_probe: interface:0
af9015_read_config: TS mode:1
af9015_read_config: [0] xtal:2 set adc_clock:28000
af9015_read_config: [0] IF1:36125
af9015_read_config: [0] MT2060 IF1:0
af9015_read_config: [0] tuner id:156
af9015_read_config: [1] xtal:2 set adc_clock:28000
af9015_read_config: [1] IF1:36125
af9015_read_config: [1] MT2060 IF1:0
af9015_read_config: [1] tuner id:156
af9015_identify_state: reply:01
dvb-usb: found a 'KWorld PC160 (PEAK 221544AGPK) DVB-T PCI dual tuner' in
cold state, will try to load a firmware
dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
af9015_download_firmware:
usb 2-1: USB disconnect, address 2
af9015_usb_device_exit:
dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.
usb 2-1: new high speed USB device using ehci_hcd and address 3
usb 2-1: configuration #1 chosen from 1 choice
af9015_usb_probe: interface:0
af9015_read_config: TS mode:1
af9015_read_config: [0] xtal:2 set adc_clock:28000
af9015_read_config: [0] IF1:36125
af9015_read_config: [0] MT2060 IF1:0
af9015_read_config: [0] tuner id:156
af9015_read_config: [1] xtal:2 set adc_clock:28000
af9015_read_config: [1] IF1:36125
af9015_read_config: [1] MT2060 IF1:0
af9015_read_config: [1] tuner id:156
af9015_identify_state: reply:02
dvb-usb: found a 'KWorld PC160 (PEAK 221544AGPK) DVB-T PCI dual tuner' in
warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software
demuxer.
DVB: registering new adapter (KWorld PC160 (PEAK 221544AGPK) DVB-T PCI dual
tuner)
af9015_af9013_frontend_attach: init I2C
af9015_i2c_init:
af9015_eeprom_dump:
00: 2b 85 9b 0b 00 00 00 00 80 1b 60 c1 00 02 01 02
10: 03 80 00 fa fa 10 40 ef 04 30 31 30 31 30 37 32
20: 34 30 37 30 30 30 30 31 ff ff ff ff ff ff ff ff
30: 00 01 3a 01 00 08 02 00 1d 8d 00 00 9c ff ff ff
40: ff ff ff ff ff 08 02 00 1d 8d 00 00 9c ff ff ff
50: ff ff ff ff ff 26 00 00 04 03 09 04 10 03 41 00
60: 66 00 61 00 74 00 65 00 63 00 68 00 10 03 44 00
70: 56 00 42 00 2d 00 54 00 20 00 32 00 20 03 30 00
80: 31 00 30 00 31 00 30 00 31 00 30 00 31 00 30 00
90: 36 00 30 00 30 00 30 00 30 00 31 00 00 ff ff ff
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
i2c_core: exports duplicate symbol i2c_smbus_write_i2c_block_data (owned by
kernel)
af9013: firmware version:4.95.0
DVB: registering frontend 1 (Afatech AF9013 DVB-T)...
af9015_tuner_attach:
i2c_core: exports duplicate symbol i2c_smbus_write_i2c_block_data (owned by
kernel)
tda18271 3-00c0: creating new instance
TDA18271HD/C1 detected @ 3-00c0
dvb-usb: will pass the complete MPEG2 transport stream to the software
demuxer.
DVB: registering new adapter (KWorld PC160 (PEAK 221544AGPK) DVB-T PCI dual
tuner)
af9015_copy_firmware:
af9015_copy_firmware: firmware copy done
af9015_copy_firmware: firmware boot cmd status:0
af9015_copy_firmware: firmware status cmd status:0 fw status:0c
af9013: firmware version:4.95.0
DVB: registering frontend 2 (Afatech AF9013 DVB-T)...
af9015_tuner_attach:
tda18271 4-00c0: creating new instance
TDA18271HD/C1 detected @ 4-00c0
input: IR-receiver inside an USB DVB receiver as /class/input/input1
dvb-usb: schedule remote query interval to 150 msecs.
dvb-usb: KWorld PC160 (PEAK 221544AGPK) DVB-T PCI dual tuner successfully
initialized and connected.
af9015_init:
af9015_init_endpoint: USB speed:3
af9015_download_ir_table:
usbcore: registered new interface driver dvb_usb_af9015
########## NOT OK ########
#### "shutdown -r" ( same for "shutdown -h" without real power off/on )
af9015_usb_probe: interface:0
af9015_read_config: TS mode:1
af9015_read_config: [0] xtal:2 set adc_clock:28000
af9015_read_config: [0] IF1:36125
af9015_read_config: [0] MT2060 IF1:0
af9015_read_config: [0] tuner id:156
af9015_read_config: [1] xtal:2 set adc_clock:28000
af9015_read_config: [1] IF1:36125
af9015_read_config: [1] MT2060 IF1:0
af9015_read_config: [1] tuner id:156
af9015_identify_state: reply:02
dvb-usb: found a 'KWorld PC160 (PEAK 221544AGPK) DVB-T PCI dual tuner' in
warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software
demuxer.
DVB: registering new adapter (KWorld PC160 (PEAK 221544AGPK) DVB-T PCI dual
tuner)
af9015_af9013_frontend_attach: init I2C
af9015_i2c_init:
af9015_eeprom_dump:
00: 2b 85 9b 0b 00 00 00 00 80 1b 60 c1 00 02 01 02
DVB: registering frontend 0 (ST STV0299 DVB-S)...
10: 03 80 00 fa fa 10 40 ef 04 30 31 30 31 30 37 32
20: 34 30 37 30 30 30 30 31 ff ff ff ff ff ff ff ff
30: 00 01 3a 01 00 08 02 00 1d 8d 00 00 9c ff ff ff
40: ff ff ff ff ff 08 02 00 1d 8d 00 00 9c ff ff ff
50: ff ff ff ff ff 26 00 00 04 03 09 04 10 03 41 00
60: 66 00 61 00 74 00 65 00 63 00 68 00 10 03 44 00
70: 56 00 42 00 2d 00 54 00 20 00 32 00 20 03 30 00
80: 31 00 30 00 31 00 30 00 31 00 30 00 31 00 30 00
90: 36 00 30 00 30 00 30 00 30 00 31 00 00 ff ff ff
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
i2c_core: exports duplicate symbol i2c_smbus_write_i2c_block_data (owned by
kernel)
af9013: firmware version:4.95.0
DVB: registering frontend 1 (Afatech AF9013 DVB-T)...
af9015_tuner_attach:
i2c_core: exports duplicate symbol i2c_smbus_write_i2c_block_data (owned by
kernel)
tda18271 3-00c0: creating new instance
TDA18271HD/C1 detected @ 3-00c0
dvb-usb: will pass the complete MPEG2 transport stream to the software
demuxer.
DVB: registering new adapter (KWorld PC160 (PEAK 221544AGPK) DVB-T PCI dual
tuner)
af9015_copy_firmware:
af9015_copy_firmware: firmware copy done
af9015_copy_firmware: firmware boot cmd status:0
af9015_copy_firmware: firmware status cmd status:0 fw status:0c
af9013: firmware version:4.95.0
DVB: registering frontend 2 (Afatech AF9013 DVB-T)...
af9015_tuner_attach:
tda18271 4-00c0: creating new instance
af9015: af9015_rw_udev: command failed: 2
tda18271_read_regs: ERROR: i2c_transfer returned: -1
Unknown device detected @ 4-00c0, device not supported.
tda18271 4-00c0: destroying instance
input: IR-receiver inside an USB DVB receiver as /class/input/input1
dvb-usb: schedule remote query interval to 150 msecs.
dvb-usb: KWorld PC160 (PEAK 221544AGPK) DVB-T PCI dual tuner successfully
initialized and connected.
af9015_init:
af9015_init_endpoint: USB speed:3
af9015_download_ir_table:
usbcore: registered new interface driver dvb_usb_af9015
####################################################
Thank you.
Serge.
[-- Attachment #1.2: Type: text/html, Size: 8209 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-06-05 21:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [linux-dvb] PEAK DVB-T Digital Dual Tuner PCI - anyone got t his mkrufky
2008-06-05 21:06 ` [linux-dvb] PEAK DVB-T Digital Dual Tuner PCI - anyone got this Serge Nikitin
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.