I've gone over the saa7115gv.c changes compared to the standard
saa7115.c. I am trying to determine what the essential changes are so
that I can add those to the kernel saa7115.c.
How did you get the values in saa7115gv.c? From an I2C dump? I see that
all audio configs are modified: are these changes also from an I2C dump
or are they calculated? Are these changes NTSC-M-JP specific?
Can you try the following steps:
1) first use the unmodified kernel saa7115.c instead of saa7115gv. What
works? Audio? Video? Neither?
2) Apply this section from the diff to saa7115.c and try the same test.
- 0x15, 0x03, /* VGATE pulse start */
- 0x16, 0x11, /* VGATE pulse stop */
- 0x17, 0x9c, /* VGATE MSB and other values */
+ 0x15, 0x01, /* VGATE pulse start */
+ 0x16, 0x12, /* VGATE pulse stop */
+ 0x17, 0xd8, /* VGATE MSB and other values */
3) Apply this section and try again:
@@ -361,7 +361,7 @@
static const unsigned char saa7115_init_misc[] = {
0x38, 0x03, /* audio stuff */
0x39, 0x10,
- 0x3a, 0x08,
+ 0x3a, 0x80,
0x81, 0x01, /* reg 0x15,0x16 define blanking window
*/
0x82, 0x00,
4) Apply this section and try again:
@@ -468,8 +468,8 @@
0x5d, 0xbd,
0x5e, 0x35,
- 0x02, 0x84, /* input tuner -> input 4, amplifier
active */
+ 0x02, 0xC6, /* input tuner -> input 4, amplifier
active */
0x09, 0x53, /* 0x53, was 0x56 for 60hz. luminance
control */
0x80, 0x20, /* enable task B */
0x88, 0xd0,
Also try value 0xC0 for register 0x02. I'd like to know if that makes a
difference.
5) Apply all the audio config changes from the diff
(saa7115_cfg_48_audio[] etc.) and try again.
I think none of the other changes are needed. Try to find out how to
minimize the amount of change.
Most changes seem to be in the area of brightness, contrast, etc and
gain control. I suspect that the saa7115.c default will also work.
Does saa7115 VBI support work for you, BTW? I'm not sure what effect the
changes to 0x15-0x17 have for VBI. You may have to experiment with the
original 0x15-0x17 values.
If you have any questions, don't hesitate to ask.
Thanks,
Hans
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel