[mythtv-users] Black screen whenusing"pvr-350decoder/tv-out"option
John Harvey
john.p.harvey at btinternet.com
Fri Jul 8 02:49:09 EDT 2005
Ok. I would go to the latest driver version
Don’t worry about 7127 parameters. You probably don't need any options to
ivtv though I do use ivtv_std=2 to force PAL but I believe that should work
now.
Start from that and see what happens.
I may well look at the 7127 options because I have had a few people try and
fail to get a test image working.
John
> -----Original Message-----
> From: mythtv-users-bounces at mythtv.org [mailto:mythtv-users-
> bounces at mythtv.org] On Behalf Of Oscar Curero
> Sent: 07 July 2005 01:36
> To: mythtv-users at mythtv.org
> Subject: Re: [mythtv-users] Black screen whenusing"pvr-350decoder/tv-
> out"option
>
> El Miércoles, 6 de Julio de 2005 19:06, escribió:
> > For some reason this bounced sending it to myth mailing list so I'm
> sending
> > it direct.
> > John
> >
> > Ok I'm confused. IVTV doesn't appear to return EINVAL from that write
> call.
> > Anyway 0.3.2c is fairly old I would suggest that we start by upgrading
> to
> > the latest version. Then lets try to get things working slowly.
>
> Ahh.. ¿EINVAL? Let me start from the begining:
>
> The ivtv drivers have a kernel module called "saa7127". This module has
> parameters, like "test_image", "output_enable", "output_select"... I was
> following TVout howto. But I couldn't get any parameter to work. I always
> had
> the same error:
>
> saa7127: unsupported module, tainting kernel.
> saa7127: Unknown parameter `test-image'
> saa7127: Ignoring new-style parameters in presence of obsolete ones
> load_module: err 0xfffffffe (dont worry)
>
> So, I edited the source code of the saa7127.c and did the modfications by
> hand. For example:
>
> static int debug = 1;
> static int test_image =0;
>
> A changed to:
>
> static int debug = 1;
> static int test_image = 1;
>
> I did the same for the standar type (ntsc or pal):
>
> static int saa7127_set_norm(struct i2c_client *client)
> {
> struct saa7127 *encoder = (struct saa7127
> *)i2c_get_clientdata(client);
> const struct i2c_reg_value *inittab;
>
> switch (encoder->norm) {
> case SAA7127_VIDEO_NORM_NTSC:
> dprintk(1, "Selecting NTSC video Standard\n");
> inittab = saa7127_init_config_ntsc;
> encoder->reg_61 = SAA7127_NTSC_DAC_CONTROL;
> break;
> case SAA7127_VIDEO_NORM_PAL:
> dprintk(1, "Selecting PAL video Standard\n");
> inittab = saa7127_init_config_pal;
> encoder->reg_61 = SAA7127_PAL_DAC_CONTROL;
> break;
> default:
> return -EINVAL;
> }
>
> /* Write Table */
> saa7127_write_inittab(client, inittab);
> return 0;
> }
>
> A changed to:
>
> static int saa7127_set_norm(struct i2c_client *client)
> {
> struct saa7127 *encoder = (struct saa7127
> *)i2c_get_clientdata(client);
> const struct i2c_reg_value *inittab;
>
> switch (encoder->norm) {
> case SAA7127_VIDEO_NORM_NTSC:
> dprintk(1, "Selecting PAL video Standard\n");
> inittab = saa7127_init_config_pal;
> encoder->reg_61 = SAA7127_PAL_DAC_CONTROL;
> break;
> case SAA7127_VIDEO_NORM_PAL:
> dprintk(1, "Selecting PAL video Standard\n");
> inittab = saa7127_init_config_pal;
> encoder->reg_61 = SAA7127_PAL_DAC_CONTROL;
> break;
> default:
> return -EINVAL; <----------------------------OOPS
> }
>
> /* Write Table */
> saa7127_write_inittab(client, inittab);
> return 0;
> }
>
> So it always use PAL (whatever the standard is). Mythtv does something
> that
> return EINVAL when calling this function.
>
> I will email the ivtv list to see if they can fix the parmeters on the
> saa7127
> module.
>
> Thanks,
> --
> Oscar Curero - Linux user: 306877
> -- GPG keyID: 0xE0EA0B24 --
More information about the mythtv-users
mailing list