[linux-dvb] Tevion DVBT-220RF

Peter Hartshorn p3r at users.sourceforge.net
Tue Jan 17 00:42:19 CET 2006


Prepare yourself for the victory dance :)

with the changes to the driver I get the following:

dmesg

saa7130/34: v4l2 driver version 0.2.14 loaded
ACPI: PCI Interrupt 0000:01:08.0[A] -> Link [LNKC] -> GSI 6 (level, low) -> IRQ 6
saa7133[0]: found at 0000:01:08.0, rev: 208, irq: 6, latency: 64, mmio: 0xe4000000
saa7133[0]: subsystem: 17de:7201, board: Philips Tiger reference design [card=81,insmod option]
saa7133[0]: board init: gpio is 20100
tuner 0-004b: chip found @ 0x96 (saa7133[0])
tuner 0-004b: setting tuner address to 61
tuner 0-004b: tuner: type set to tda8290+75a
saa7133[0]: i2c eeprom 00: de 17 01 72 ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: registered device video0 [v4l2]
saa7133[0]: registered device vbi0
DVB: registering new adapter (saa7133[0]).
DVB: registering frontend 0 (Philips TDA10046H DVB-T)...
tda1004x: setting up plls for 48MHz sampling clock
tda1004x: found firmware revision 23 -- ok

./scan -v dvb-t/au-sydney_north_shore

scanning dvb-t/au-sydney_north_shore
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 226500000 1 3 0 3 1 1 0
initial transponder 177500000 1 2 0 3 1 2 0
initial transponder 191625000 1 3 0 3 1 1 0
initial transponder 219500000 1 3 0 3 1 1 0
initial transponder 571500000 1 2 0 3 1 2 0
 >>> tune to: 
226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE
 >>> tuning status == 0x00
 >>> tuning status == 0x01
 >>> tuning status == 0x05
 >>> tuning status == 0x05
 >>> tuning status == 0x1f
WARNING: filter timeout pid 0x0011
WARNING: filter timeout pid 0x0000
WARNING: filter timeout pid 0x0010
 >>> tune to: 
177500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE
 >>> tuning status == 0x00
 >>> tuning status == 0x01
 >>> tuning status == 0x05
...


./tzap -c channels.conf-dvbt-australia "7 Digital"
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
tuning to 177500000 Hz
video pid 0x0301, audio pid 0x0302
status 00 | signal 7a7a | snr ffff | ber 0001fffe | unc 00000000 |
status 00 | signal 8282 | snr 9898 | ber 0001fffe | unc 00000000 |
status 00 | signal 8383 | snr 8888 | ber 0001fffe | unc 00000000 |
status 1f | signal 8383 | snr fafa | ber 0000813c | unc ffffffff | FE_HAS_LOCK
status 1f | signal 8282 | snr fbfb | ber 000082e2 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 8383 | snr fbfb | ber 00007f7c | unc 00000000 | FE_HAS_LOCK
status 1f | signal 8282 | snr fbfb | ber 00008964 | unc 00000000 | FE_HAS_LOCK


mplayer dvb://7\ Digital

this displays both the SD and HD channels. Sometimes mplayer displays the following:

Getting frontend status
Not able to lock to the signal on the given frequency
dvb_tune, TUNING FAILED
ERROR, COULDN'T SET CHANNEL  0: DVBIN_CLOSE, close(2), fd=7, COUNT=2
DVBIN_CLOSE, close(1), fd=6, COUNT=1
DVBIN_CLOSE, close(0), fd=5, COUNT=0
Failed to open dvb://7 Digital

I think it is a timeout in mplayer being too short.

Hartmut Hackmann wrote:
> Hi, Peter
> 
> Peter Hartshorn wrote:
> 
>> Hartmut Hackmann wrote:
>>
>>> Hi, Peter
>>>
>>> Peter Hartshorn wrote:
>>>
>>>> Hartmut Hackmann wrote:
>>>>
>>>>> HI, Peter
>>>>>
>>>>> Peter Hartshorn wrote:
>>>>>
>>>>>> A couple of days ago I purchased the above mentioned card. What I 
>>>>>> have since found is that this card is not supported under linux. 
>>>>>> My goal is to get it going in Linux. I have uploaded photos of the 
>>>>>> front and the back to image shack. the urls are below.
>>>>>>
>>>>>> http://img297.imageshack.us/img297/3604/front2cn.jpg
>>>>>> http://img82.imageshack.us/img82/1152/back9ah.jpg
>>>>>>
>>>>>> I have included output from the following :
>>>>>>
>>>>>> lspci -v
>>>>>>
>>>>>> 0000:01:08.0 Multimedia controller: Philips Semiconductors SAA7133 
>>>>>> Audio+video broadcast decoder (rev d0)
>>>>>>         Subsystem: Unknown device 17de:7201
>>>>>>         Flags: bus master, medium devsel, latency 64, IRQ 6
>>>>>>         Memory at e4000000 (32-bit, non-prefetchable) [size=2K]
>>>>>>         Capabilities: [40] Power Management version 2
>>>>>>
>>>>>> If any more information is required, feel free to email.
>>>>>>
>>>>> I can't identify all chip types on the card. I assume
>>>>> 2*TDA8275A
>>>>> TDA10046
>>>>> SAA7131
>>>>> Is that right? Especially the exact types of the chips close to the
>>>>> antenna sockets are important. I also need the kernel log messages
>>>>> (dmesg) when the saa7134 module loads.
>>>>> Analog TV and radio might work when you force the card type 81.
>>>>>
>>>>> Best regards
>>>>>    Hartmut
>>>>>
>>>>>
>>>>>
>>>>
>>>> The two small chips are Philips 8275AC1
>>>> The single large one to the right of the small ones is the TDA10046A
>>>> The large one toward the pci connection is the SAA7131E.
>>>>
>>>> With card=81 analog tv works.
>>>>
>>>> dmesg output:
>>>>
>>>> saa7130/34: v4l2 driver version 0.2.14 loaded
>>>> ACPI: PCI Interrupt 0000:01:08.0[A] -> Link [LNKC] -> GSI 6 (level, 
>>>> low) -> IRQ 6
>>>> saa7133[0]: found at 0000:01:08.0, rev: 208, irq: 6, latency: 64, 
>>>> mmio: 0xe4000000
>>>> saa7133[0]: subsystem: 17de:7201, board: Philips Tiger reference 
>>>> design [card=81,insmod option]
>>>> saa7133[0]: board init: gpio is 20100
>>>> saa7133[0]: i2c eeprom 00: de 17 01 72 ff ff ff ff ff ff ff ff ff ff 
>>>> ff ff
>>>> saa7133[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
>>>> ff ff
>>>> saa7133[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
>>>> ff ff
>>>> saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
>>>> ff ff
>>>> saa7133[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
>>>> ff ff
>>>> saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
>>>> ff ff
>>>> saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
>>>> ff ff
>>>> saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
>>>> ff ff
>>>> tuner 0-004b: chip found @ 0x96 (saa7133[0])
>>>> tuner 0-004b: setting tuner address to 61
>>>> tuner 0-004b: tuner: type set to tda8290+75a
>>>> saa7133[0]: registered device video0 [v4l2]
>>>> saa7133[0]: registered device vbi0
>>>>
>>> Ok, if analog works, it should not be too difficult tu get dvb-t 
>>> working as
>>> well. You need to load the saa7134-dvb module. If you do and try a dvb
>>> application, do you get a "pll set failed" message in the kernel log?
>>> If i give you some instructions, are you able to help yourself?
>>>
>>> Best regards
>>>    Hartmut
>>>
>>>
>>>
>> Analog works.
>> I can load the saa7134_dvb module and I get the following:
>>
>> DVB: registering new adapter (saa7133[0]).
>> DVB: registering frontend 0 (Philips TDA10046H DVB-T)...
>>
>> using ./scan -v dvb-t/au-sydney_north_shore I get
>>
>> scanning dvb-t/au-sydney_north_shore
>> using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
>> initial transponder 226500000 1 3 0 3 1 1 0
>> initial transponder 177500000 1 2 0 3 1 2 0
>> initial transponder 191625000 1 3 0 3 1 1 0
>> initial transponder 219500000 1 3 0 3 1 1 0
>> initial transponder 571500000 1 2 0 3 1 2 0
>>  >>> tune to: 
>> 226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE 
>>
>>  >>> tuning status == 0x00
>>  >>> tuning status == 0x00
>>  >>> tuning status == 0x00
>>  >>> tuning status == 0x00
>>  >>> tuning status == 0x00
>>  >>> tuning status == 0x00
>>  >>> tuning status == 0x00
>>  >>> tuning status == 0x00
>>  >>> tuning status == 0x00
>>  >>> tuning status == 0x00
>> WARNING: >>> tuning failed!!!
>>
>> This is the same for each channel.
>>
>> dmesg contains this:
>> tda1004x: setting up plls for 48MHz sampling clock
>> tda1004x: found firmware revision 23 -- ok
>>
>> There are no "pll set failed" warnings
>>
> Sorry, i forgot: Ther driver for this card explicitely opens the
> I2C bridge in the 8290 before it tunes. I assume that the tuning
> command goes to the wrong tuner. I assume the tuner dor digital
> has the address 0xc0 (0x60 in the drivers notation).
> Please try the following:
> Replace the function: philips_tiger_pll_set
> 
> by the following:
> 
> static int philips_tiger_pll_set(struct dvb_frontend *fe, struct 
> dvb_frontend_parameters *params)
> {
>     int ret;
> 
>     ret = philips_tda827xa_pll_set(0x60, fe, params);
>     if (ret != 0)
>         return ret;
> };
> 
> And see what happens.
> 
> Best regards
>    Hartmut
> 
> 
> 




More information about the linux-dvb mailing list