No subject


Mon Oct 30 22:48:16 UTC 2006


According to the cx25840 datasheet there
are some register settings to tune control of the AGC but unfortunately
ivtvctl doesn't seem to be able to read anything from the chip (example read
below).

I'm running Unbuntu Fiesty 7.04 with stock packages.

How do I get access to the registers?

Cheers

Steve


ivtvctl -R chip=cx2584x,min=0x480,max=0x483

ioctl: VIDIOC_INT_G_REGISTER failed for 0x00000480
ioctl: VIDIOC_INT_G_REGISTER failed for 0x00000481

ioctl: VIDIOC_INT_G_REGISTER failed for 0x00000482
ioctl: VIDIOC_INT_G_REGISTER failed for 0x00000483
ioctl: VIDIOC_INT_G_REGISTER

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


dmesg output:

[   32.896693] ivtv:  ==================== START INIT IVTV ====================
[   32.896707] ivtv:  version 0.10.1 (tagged release) loading
[   32.896712] ivtv:  Linux version: 2.6.20-16-generic
 SMP mod_unload 586
[   32.896717] ivtv:  In case of problems please include the debug info between
[   32.896722] ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
[   32.896727] ivtv:  any module options, when mailing the ivtv-users
mailinglist.

[   32.896969] ivtv0: Autodetected Hauppauge card (cx23416 based)
[   32.897763] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
[   33.733563] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)

[   33.949007] ivtv0: Encoder revision: 0x02050032
[   33.949017] ivtv0: Recommended firmware version is 0x02060039.
[   34.025366] ivtv0: Autodetected Hauppauge WinTV PVR-150
[   34.025371] ivtv0: reopen i2c bus for IR-blaster support

[   34.071594] tuner 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
[   34.097169] tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
[   34.239763] cx25840 0-0044: cx25842-23 found @ 0x88 (ivtv i2c driver #0)

[   36.825337] wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
[   36.859986] ivtv0: Registered device video0 for encoder MPEG (4 MB)
[   36.860481] ivtv0: Registered device video32 for encoder YUV (2 MB)

[   36.860908] ivtv0: Registered device vbi0 for encoder VBI (1 MB)
[   36.861076] ivtv0: Registered device video24 for encoder PCM audio (1 MB)
[   37.164759] ivtv0: Initialized Hauppauge WinTV PVR-150, card #0

[   37.165199] ivtv:  ====================  END INIT IVTV  ====================

------=_Part_11443_6560369.1181736026128
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br><br><div>Guys,<br><br>I&#39;m having trouble with fluctuating brightness on my
PVR-150 recording from composite video. The brightness &quot;pulses&quot; on dark
scenes with about 5 seconds between<br>pulses. It looks almost like Macrovision protection only not so bright just a small but very annoying variation.
<br>In addition a soft dark vertical band traverses across the picture taking about 10 sec to cross.<br><br>There are no problems recording from antenna/aerial.<br><br>Is this a known problem? Is there any easy fix?<br><br>
<br>From my own techy background I&#39;d say it&#39;s the AGC getting confused somehow. According to the cx25840 datasheet there
<br>are some register settings to tune control of the AGC but
unfortunately ivtvctl doesn&#39;t seem to be able to read anything from the
chip (example read below).<br><br>I&#39;m running Unbuntu Fiesty 7.04 with stock packages.
<br><br>How do I get access to the registers?<br><br>Cheers<br><br>Steve<br><br><br>ivtvctl -R chip=cx2584x,min=0x480,max<div id="mb_0">=0x483<br><pre>ioctl: VIDIOC_INT_G_REGISTER failed for 0x00000480<br>ioctl: VIDIOC_INT_G_REGISTER failed for 0x00000481
<br><br>ioctl: VIDIOC_INT_G_REGISTER failed for 0x00000482<br>ioctl: VIDIOC_INT_G_REGISTER failed for 0x00000483<br>ioctl: VIDIOC_INT_G_REGISTER<br><br>          00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F<br>00000480: 
</pre>
<br>dmesg output:<br><br><pre>[   32.896693] ivtv:  ==================== START INIT IVTV ====================<br>[   32.896707] ivtv:  version 0.10.1 (tagged release) loading<br>[   32.896712] ivtv:  Linux version: 2.6.20-16-generic
<br> SMP mod_unload 586 <br>[   32.896717] ivtv:  In case of problems please include the debug info between<br>[   32.896722] ivtv:  the START INIT IVTV and END INIT IVTV lines, along with<br>[   32.896727] ivtv:  any module options, when mailing the ivtv-users mailinglist.
<br><br>[   32.896969] ivtv0: Autodetected Hauppauge card (cx23416 based)<br>[   32.897763] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)<br>[   33.733563] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
<br><br>[   33.949007] ivtv0: Encoder revision: 0x02050032<br>[   33.949017] ivtv0: Recommended firmware version is 0x02060039.<br>[   34.025366] ivtv0: Autodetected Hauppauge WinTV PVR-150<br>[   34.025371] ivtv0: reopen i2c bus for IR-blaster support
<br><br>[   34.071594] tuner 0-0043: chip found @ 0x86 (ivtv i2c driver #0)<br>[   34.097169] tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)<br>[   34.239763] cx25840 0-0044: cx25842-23 found @ 0x88 (ivtv i2c driver #0)
<br><br>[   36.825337] wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)<br>[   36.859986] ivtv0: Registered device video0 for encoder MPEG (4 MB)<br>[   36.860481] ivtv0: Registered device video32 for encoder YUV (2 MB)
<br><br>[   36.860908] ivtv0: Registered device vbi0 for encoder VBI (1 MB)<br>[   36.861076] ivtv0: Registered device video24 for encoder PCM audio (1 MB)<br>[   37.164759] ivtv0: Initialized Hauppauge WinTV PVR-150, card #0
<br><br>[   37.165199] ivtv:  ====================  END INIT IVTV  ====================</pre></div></div><br>

------=_Part_11443_6560369.1181736026128--


More information about the mythtv-users mailing list