From: "tomlohave@gmail.com" <tomlohave@gmail.com>
To: hermann pitton <hermann-pitton@arcor.de>
Cc: linux-media@vger.kernel.org, jpnews13@free.fr
Subject: Re: saa7134 (not very) new board 5168:0307
Date: Thu, 24 Dec 2009 08:38:14 +0100 [thread overview]
Message-ID: <4B331A66.4020303@gmail.com> (raw)
In-Reply-To: <1261608844.7606.9.camel@pc07.localdom.local>
hermann pitton a écrit :
> Hi Tom,
>
> Am Mittwoch, den 23.12.2009, 13:17 +0100 schrieb tomlohave@gmail.com:
>
>> Some news,
>>
>>> Hi hermann,
>>>
>>> we are this results :
>>>
>>> with
>>>
>>> &tda827x_cfg_0, &tda827x_cfg_1 or &tda827x_cfg_2
>>>
>>>
>>> we have a perfect image without sound on the analogic part (test with
>>> mplayer),
>>> a partial result with dvb-t : we need to initialize first with
>>> analogic (with cold boot, the card doesn't work on dvb)
>>> but only for few seconds(sound and image are ok) then re-initialize
>>> with analogic, work for few seconds on dvb and then nothing
>>>
>>> maybe i am wrong but, the sound part for analogic is a problem of
>>> redirection, isn't it ?
>>>
>> fixed
>>
>>> here are our configuration for this card :
>>>
>>> in saa7134-dvb.c
>>>
>>> static struct tda1004x_config tda827x_flydvbtduo_medion_config = {
>>> .demod_address = 0x08,
>>> .invert = 1,
>>> .invert_oclk = 0,
>>> .xtal_freq = TDA10046_XTAL_16M,
>>> .agc_config = TDA10046_AGC_TDA827X,
>>> .gpio_config = TDA10046_GP01_I,
>>> .if_freq = TDA10046_FREQ_045,
>>> .i2c_gate = 0x4b,
>>> .tuner_address = 0x61,
>>> .antenna_switch = 2,
>>> .request_firmware = philips_tda1004x_request_firmware
>>> };
>>>
>>> case SAA7134_BOARD_FLYDVBTDUO_MEDION:
>>> if (configure_tda827x_fe(dev, &tda827x_flydvbtduo_medion_config,
>>> &tda827x_cfg_2) < 0)
>>> goto dettach_frontend;
>>> break;
>>> default:
>>> wprintk("Huh? unknown DVB card?\n");
>>> break;
>>>
>>>
>>> in saa7134-cards.c
>>>
>>> [SAA7134_BOARD_FLYDVBTDUO_MEDION] = {
>>> .name = "LifeView FlyDVB-T DUO Medion",
>>>
>>> .audio_clock = 0x00187de7,
>>>
>> change with 0x00200000 and there is a perfect sound :)
>>
>
> fine. In README.saa7134 since Gerd wrote it the first time ;)
>
>
>>> .tuner_type = TUNER_PHILIPS_TDA8290,
>>> .radio_type = UNSET,
>>> .tuner_addr = ADDR_UNSET,
>>> .radio_addr = ADDR_UNSET,
>>> .gpiomask = 0x00200000,
>>> .mpeg = SAA7134_MPEG_DVB,
>>> .inputs = {{
>>> .name = name_tv,
>>> .vmux = 1,
>>> .amux = TV,
>>> .gpio = 0x200000, /* GPIO21=High for TV input */
>>> .tv = 1,
>>> },{
>>> .name = name_comp1, /* Composite signal on S-Video input */
>>> .vmux = 3,
>>> .amux = LINE1,
>>> },{
>>> .name = name_svideo, /* S-Video signal on S-Video input */
>>> .vmux = 8,
>>> .amux = LINE1,
>>> }},
>>> .radio = {
>>> .name = name_radio,
>>> .amux = TV,
>>> .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
>>> },
>>>
>>>
>>> .vendor = PCI_VENDOR_ID_PHILIPS,
>>> .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
>>> .subvendor = 0x5168, .subdevice = 0x0307,
>>> /* LR307-N */ .driver_data =
>>> SAA7134_BOARD_FLYDVBTDUO_MEDION,
>>>
>>> case SAA7134_BOARD_FLYDVBTDUO_MEDION:
>>> {
>>> /* this is a hybrid board, initialize to analog mode
>>> * and configure firmware eeprom address
>>> */
>>> u8 data[] = { 0x3c, 0x33, 0x60};
>>> struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len =
>>> sizeof(data)};
>>> i2c_transfer(&dev->i2c_adap, &msg, 1);
>>> break;
>>>
>>>
>>>
>>>
>>> What can we do to have dvb fully supported ?
>>>
>> Can someone point me in the right direction ?
>>
>
>
hi hermann
> Hmmm, is there not anything with i2c_debug=1 before it fails after a few
> seconds?
>
will post this
> Gpio pins can trigger cascades of switches, so to know the gpio status
> of the card for working DVB-T on m$ might still be a desire. Maybe chips
> power off.
>
will post the results of dscaler
> Also, for 99.99% only a shot at the dark side of the moon before ever
> seen, but I would also try to force TS_SERIAL to have it visited.
>
> Cheers,
> Hermann
>
>
>
>
Thanks for you answer
Cheers
Thomas
prev parent reply other threads:[~2009-12-24 7:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-18 13:06 saa7134 (not very) new board 5168:0307 tomlohave
2009-11-18 23:08 ` hermann pitton
2009-11-28 10:55 ` tomlohave
2009-11-30 1:09 ` hermann pitton
2009-11-30 5:31 ` tomlohave
2009-12-04 6:37 ` tomlohave
2009-12-23 12:17 ` tomlohave
2009-12-23 22:54 ` hermann pitton
2009-12-24 7:38 ` tomlohave [this message]
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=4B331A66.4020303@gmail.com \
--to=tomlohave@gmail.com \
--cc=hermann-pitton@arcor.de \
--cc=jpnews13@free.fr \
--cc=linux-media@vger.kernel.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.