[mythtv-users] color adjustments to pvr-350

Jeff Simpson jeffsimpson at alum.wpi.edu
Thu Jan 5 22:14:30 UTC 2006


>
> ok, great, thanks.  looks a ibt hairy to me, but I will give it a go.
> esp with regard to the first of the registers you discuss in this
> thread: if I don't want to mess with the screen position (yet) do I just
> recet the last digit of the register?  I don't read hex and actually
> have almost no idea what you're saying in that post...
>
> thanks,
>
> matt


Here's what I get when I run ivtvctl -J. I suggest running this command and
saving the results to a file, either by copying and pasting or running
ivtvctl -J > saa7127_registers.txt

 [root at djali jeff]# ivtvctl -J
ioctl: IVTV_IOC_G_SAA7127_REG
      00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0000: 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0020: 00 00 00 00 00 00 08 00 19 1d 77 41 00 38 00 00
0030: 00 00 00 00 00 00 00 00 00 00 13 00 00 00 00 00
0040: 00 00 80 80 80 80 80 80 80 80 80 80 80 80 3f 3f
0050: 3f 80 80 80 00 00 00 00 00 00 a3 98 d3 39 2e 2e
0060: 7a b1 4d 1f 7c f0 21 77 41 88 41 12 fe 00 90 11
0070: 41 c3 00 3e b8 03 15 16 15 16 1a 01 c0 00 00 00

The left column is the first digit of the register address, and the top row
is the second digit. So in this register map, to find register 006C, you
follow the 0060 line across until it hits the 0C column, you see that "fe"
is the value it holds.

Since we know from the other post that the last 3 binary digits of register
6C is the color problem, we can try changing them. I don't know what I had
in there initially, but you should be able to run the same command and get a
register map printout.

to change the value, run this:

ivtvctl -j reg=0x6c,val=0xFE -d/dev/video0

(replace val with the value you want to set it to).

If it doesn't work, try other values. Since the very last digit is the green
problem, I would suggest taking whatever number is in that register map, and
making it even, which is to say change the rightmost digit to an E, C, A, 8,
6, 4, 2, or 0 by subtracting one from the value that is there. subtracting
in hex isn't all that hard, each digit is the same as decimal, except after
9 come A-F.

So if you have "23" in that spot, make it a 22. If you have "D7" make it
"D6", etc. Lets assume I had "FF" so I made it "FE" and it was happy.

worst case you can reset it back to what you had by using the same command
and replacing the val= line with the value that was in the register to begin
with. If you save a copy of your original register map, you can always go
back to it by comparing it to what the map says afterwards and correcting
the differences.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060105/bab43016/attachment.htm


More information about the mythtv-users mailing list