Tyler Trafford wrote:
> On Mon, Mar 13, 2006 at 04:15:18PM -0500, Hans Verkuil wrote:
>   
>> On Monday 13 March 2006 22:06, John Clabaugh wrote:
>>     
>>> On 3/13/06, Hans Verkuil <[EMAIL PROTECTED]> wrote:
>>>       
>>>> On Monday 13 March 2006 21:04, Robert Suijker wrote:
>>>>         
>>>>>> Several people reported problems with the saturation of the
>>>>>> PVR150/500
>>>>>>             
>>>>> cards. Please try the following command:
>>>>>           
>>>>>> ivtvctl -g reg=0x401,val=0xe0
>>>>>>
>>>>>> You have to be root to run this command and you may have to pass
>>>>>> the -d
>>>>>>             
>>>>> /dev/videoX option if your card is not >/dev/video0. You also
>>>>> have to run that command twice for the PVR500, once for each
>>>>> unit.
>>>>>
>>>>>           
>>>>>> Chroma was handled badly for the tuner and composite inputs,
>>>>>> this should
>>>>>>             
>>>>> fix it. The bits that are set by this command
>>>>>
>>>>>           
>>>>>> used to be present in old ivtv releases but they were dropped
>>>>>> for no
>>>>>>             
>>>>> apparent reason during a rewrite of the cx25840
>>>>>
>>>>>           
>>>>>> module somewhere around 0.3.2.
>>>>>>
>>>>>> Please test and report whether this fixes the saturation issues.
>>>>>>
>>>>>>     Hans
>>>>>>             
>>>>> I've tried the following command:
>>>>>       ivtvctl -d /dev/video0 -g reg=0x401,val=0xe0
>>>>>
>>>>> But I get:
>>>>>       ioctl IVTV_IOC_S_DECODER_REG failed: Invalid argument
>>>>>
>>>>> I'm running 0.4.3.
>>>>>           
>>>> I'm guessing that your ivtvctl is from an older version. If you run
>>>> ivtvctl --version, then the reported version should be 0.4.3.
>>>>
>>>>        Hans
>>>>
>>>>
>>>>         
>>> Mine returns the same error.  I'm using 0.4.3 from ATrpms.
>>>
>>> # ivtvctl --version
>>> ivtvctl version 0.4.3 (tagged release)
>>>       
>> Oh, there is one other possibility: are you using kernel 2.6.15 with the 
>> kernel-supplied cx25840 module? In that case you much replace it with 
>> the cx24850 from ivtv. The kernel option to enable the register setting 
>> support never made it into 2.6.15 (it's in 2.6.16 though) so you cannot 
>> use the -g option with the kernel's cx25840.
>>
>> I hope that's it, otherwise I'm running out of ideas :-)
>>     
>
> The other thing would be to use cx25840ctl to do that.  It would
> require knowing the register name though.
>   
Pffff.  Doesn't everyone know that? That would be simply:
sudo cx25840ctl -s 0 << EOF
WCEN=1
CAGEN=1
CKILLEN=1
AUTO_SC_LOCK=0
MAN_SC_FAST_LOCK=0
INPUT_MODE=0
AFD_ACQUIRE=0
EOF


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

Reply via email to