Hans Verkuil wrote:
> On Sunday 26 August 2007 04:14:45 Marty wrote:
>> Hans Verkuil wrote:
>> > OK, then it is either the cx25840 settings or the tuner settings.
>> > Are you able to test with the composite or S-Video input? That way
>> > we can eliminate the tuner.
>> >
>> > If you can, then please do that first. If it works fine if the
>> > tuner is bypassed, then let me know and you can ignore the rest of
>> > this mail.
>> >
>> > If it is still wrong, then continue below:
>> >
>> > What is the last working configuration? You will have to go back to
>> > that and I'll give you some instructions that give me a cx25840
>> > register dump which I can then compare with the current ones.
>> >
>> > It might be best if you get a register dump of the faulty version
>> > first: you have to run v4l2-dbg as root (this is for ivtv versions
>> > >= 1.0.0) with the following arguments:
>> >
>> > v4l2-dbg -d /dev/video1 -R type=i2cdrv,chip=cx25840
>> >
>> > Do this *while a capture is in progress*! To get consistent results
>> > it's best to first rmmod ivtv and cx25840, then modprobe ivtv,
>> > select a channel and run 'cat /dev/video1 >/dev/null'.
>> >
>> > This should give a register dump. If not, then make sure that the
>> > kernel config option 'Enable advanced debug functionality' is on.
>> > It's found in the section on Video capture adapters. If you compile
>> > from the kernel, then select it there ('make menuconfig'), if you
>> > compile from the v4l-dvb repostory, then run 'make menuconfig' in
>> > the v4l-dvb directory. It's a bit of a hassle, but it's necessary
>> > so that I can compare the two results.
>>
>> The register dump on the working configutaration failed.  I don't
>> have an S-Video cable handy, so I cannot easily test S-Video.  If I
>> don't get a register dump on the working configuration, I can get a
>> cable tomorrow.
>>
>> Working configuration, linux 2.6.17.14, ivtv 0.7.4:
> 
> For 0.7.4 you need to run this command:
> 
> ivtvctl -d /dev/videoX --list-dec-registers

# ivtvctl -d /dev/video0 --list-dec-registers
       cx25840 registers

       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0000: 00 00

       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0100: 34 84 02 76 80 dd 04 07 0f 04 0a 10 fe e2 2b 00
0110: e5 d6 98 00 00 8c 07 00 02 00 00 00 00 00 00 00
0120: 00 00 01 10 87 b6 b0 50 f8 93 11 a0 ff 5f 20 11
0130: 00 00 00 00 02 18 0a 00 00 00 00 00 00 00 37 00
0140: 04 b0 00 00 10 32 54 76 00 00 00 00 00 00 00 00
0150: 00 00 00 00 00 00 00 00 00 e1 86 10 00 e1 86 06

       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0200: 00 00 00 00 ff ff 00 00 ff ff 00 00 00 00 00 00
0210: 20 00 00 00 33 00 00 00 00 00 00 00 00 00 00 00
0220: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0400: 01 e0 04 00 2e 25 10 00 00 80 00 00 00 81 7f 00
0410: bf 05 ff ff 00 80 00 00 00 00 00 00 00 00 08 00
0420: 80 80 00 20 00 00 00 00 00 00 00 00 00 00 00 00
0430: 00 00 00 00 00 00 00 00 00 00 00 00 06 00 f0 ff
0440: ba 0c 00 00 00 00 00 00 00 00 00 00 70 99 10 2c
0450: 01 00 00 03 0d c4 08 26 77 88 00 54 00 00 00 00
0460: 02 14 0a 34 6e ca 36 06 e7 00 00 08 20 f6 84 02
0470: 7a 00 2d 5b 1a 70 1e 1e 1f 02 50 66 1f 7c 08 00
0480: 1e 03 00 00 00 00 63 42 17 0d 27 f8 dc 40 10 00
0490: 8a 02 3f cd 00 03 1f 16 40 20 50 00 14 00 50 14
04a0: 0f 02 1c 00 00 00 00 00 00 00 00 00 00 00 00 00
04b0: 00 00 00 00 04 00 00 00 0a 14 14 00 00 00 00 00

       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0800: b8 37 82 13 fe fe ff 14 1f 04 11 00 00 00 00 a0
0810: 00 02 ff 80 05 09 14 20 c0 31 00 00 d1 05 80 47
0820: 00 28 00 80 44 e0 84 e0 a8 54 7e 00 f2 07 01 24
0830: 20 a0 86 01 00 00 00 00 00 08 01 24 20 a0 86 01
0840: 00 00 00 00 00 1c 80 00 20 00 00 00 00 00 00 00
0850: 72 4f a1 00 30 00 00 00 00 00 00 00 00 78 00 00
0860: 55 1b 04 18 00 04 00 00 00 00 33 46 69 87 05 00
0870: 33 1c 04 00 1a 13 00 00 fa 01 fa 01 ec 45 87 07
0880: 71 0a 80 0c 46 bf 71 41 01 71 01 71 00 00 00 00
0890: 24 f4 03 40 01 71 01 71 72 00 04 00 00 00 d2 00
08a0: 78 06 d6 12 87 51 00 00 de 53 03 00 b1 01 00 00
08b0: d0 f3 00 00 00 00 00 00 c8 00 ff 0f 1f 00 0f 00
08c0: 00 00 00 00 00 00 00 00 1f 82 0d 00 20 00 08 0f
08d0: 70 38 06 01 2c 00 ff 7f 00 18 18 18 a3 33 ff 7f
08e0: 70 38 06 01 24 00 ff 7f 00 18 18 18 a3 33 ff 7f
08f0: fc 0a 00 88 88 88 33 33 7c 86 01 08 7c 86 01 08
0900: aa 4f 01 08 aa 4f 01 08 53 04 01 08 aa 4f 01 08
0910: c9 00 b0 12 a0 00 00 00 a0 01 00 00 00 00 00 00
0920: 00 48 3d f5 05 05 00 00 00 00 00 00 00 00 00 00
0930: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0940: 00 00 00 00 00 00 00 00 00 2e 3f 4a 00 33 64 f5
0950: 00 00 00 c9 00 10 40 07 00 08 02 ff 00 00 00 00
0960: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0970: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0980: 00 00 00 00 00 00 00 00 00 3f 00 3f 00 3f 00 3f
0990: 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 00
09a0: 00 00 00 00 00 00 00 00 10 00 00 00 00 00 00 00

In the first linux 2.6.23-rc3 dump I forgot to restart the modules. Use this 
one 
instead:

ioctl: VIDIOC_DBG_G_REGISTER

           00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000: 00 00 00

           00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000100: 33 84 02 76 80 dd 04 07 0f 04 0a 10 fe e2 2b 00
00000110: e5 d6 98 00 00 8c 07 00 02 00 00 00 00 00 00 00
00000120: 00 00 01 10 87 b6 30 50 f8 93 11 a0 ff 5f 20 11
00000130: 00 00 00 00 02 18 0a 00 00 00 00 00 00 00 37 00
00000140: 04 b0 00 00 10 32 54 76 00 00 00 00 00 00 00 00
00000150: 00 00 00 00 00 00 00 00 00 e1 86 10 00 e1 86 06

           00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000200: 00 00 00 00 ff ff 00 00 ff ff 00 00 00 00 00 00
00000210: 20 00 00 00 33 00 00 00 00 00 00 00 00 00 00 00
00000220: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

           00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000400: 01 e0 04 00 2e 25 10 00 00 80 00 00 00 91 7d 00
00000410: bf 07 ff 7f 00 80 00 00 00 00 00 00 00 00 08 00
00000420: 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000430: 00 00 00 00 00 00 00 00 00 00 00 00 06 00 f0 ff
00000440: a9 0b 00 00 00 00 00 00 00 00 00 00 70 99 10 2c
00000450: 01 00 00 03 0d c4 08 26 77 88 00 54 00 00 00 00
00000460: 02 14 0a 34 6e ca 36 06 e7 00 00 08 20 f6 84 02
00000470: 7a 00 2d 5b 1a 70 1e 1a 1f 02 50 66 1f 7c 08 00
00000480: e9 00 00 00 00 00 60 42 1e 0e 06 f8 dc 40 10 00
00000490: 8a 02 3f cd 00 03 1f 16 22 00 00 00 14 00 50 14
000004a0: 0f 02 1c 00 00 00 00 00 00 00 00 00 00 00 00 00
000004b0: 00 00 00 00 03 00 00 00 01 00 00 00 00 00 00 00

           00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000800: b8 37 12 13 fe fe ff 14 1f 04 11 00 00 00 1c e0
00000810: 00 01 ff 80 05 09 14 20 c0 31 00 00 d1 05 80 47
00000820: 00 28 00 80 44 e0 84 e0 a8 5c 72 00 f2 07 01 24
00000830: 20 a0 86 01 00 00 00 40 00 08 01 24 20 a0 86 01
00000840: 00 00 00 40 00 1c 80 00 20 00 00 00 00 00 00 00
00000850: 72 4f a1 00 30 00 00 00 00 00 00 00 00 78 00 00
00000860: 55 1b 04 00 00 04 00 00 00 00 33 46 69 87 05 00
00000870: 33 1c 04 00 1a 13 00 00 fa 01 fa 01 ec 45 87 07
00000880: 71 0a 80 0c 46 bf 03 40 01 71 01 71 00 00 00 00
00000890: 24 f4 03 40 01 71 01 71 71 01 07 00 00 00 d7 00
000008a0: 78 06 d6 12 87 51 00 00 de 53 03 00 b1 01 00 00
000008b0: d0 f3 00 00 00 00 00 00 c8 00 ff 0f 1f 00 0f 00
000008c0: 00 00 00 00 00 00 00 00 00 00 01 00 20 00 08 0f
000008d0: 70 38 06 01 2c 00 ff 7f 00 18 18 18 a3 33 ff 7f
000008e0: 70 38 06 01 24 00 ff 7f 00 18 18 18 a3 33 ff 7f
000008f0: fc 0a 52 bb 88 88 33 33 7c 86 01 08 7c 86 01 08
00000900: aa 4f 01 08 aa 4f 01 08 53 04 01 08 aa 4f 01 08
00000910: c9 00 b0 12 a0 00 00 00 a0 01 00 00 00 00 00 00
00000920: 00 48 3d f5 05 05 00 00 00 00 00 00 00 00 00 00
00000930: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000940: 00 00 00 00 00 00 00 00 00 2e 3f 4a 00 33 64 ff
00000950: 10 00 00 ff 03 10 40 07 00 08 02 ff 00 00 00 00
00000960: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000970: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000980: 00 00 00 00 00 00 00 00 00 3f 00 3f 00 3f 00 3f
00000990: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000009a0: 00 00 00 00 00 00 00 00 10 00 00 00 00 00 00 00


_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to