Just to add to this oldish thread...

I am running:
 2.6.16.19
 ivtv 0.6.2
 MythTV 0.19
and it's all working fine.

I did need to run the following SQL to bump the card ID
  UPDATE capturecard SET defaultinput = 'S-Video 1' where defaultinput =
'S-Video 0';
  UPDATE cardinput SET inputname = 'S-Video 1' where inputname =
'S-Video 0';

David


Andrew Lucas wrote:
> I ended up never figuring it out. I downgraded back to a 2.4 kernel, and back 
> to
> ivtv 4.3, and it works fine again. Thanks for your help, though.
> -Andrew
>
>
> Quoting Hans Verkuil <[EMAIL PROTECTED]>:
>
>   
>> Andrew,
>>
>> I see nothing strange here. I'm afraid someone will have to go into the 
>> MythTV code and track down the offending call. Or (perhaps faster) add 
>> some debugging statements to ivtv to see which ioctl returns an error. 
>> It's likely to be the S_CTRL call or either the S_CODEC call.
>>
>> Until proven otherwise I am assuming a MythTV configuration problem at 
>> your end. But I have to admit I don't know for sure. I've no time 
>> however to investigate myself.
>>
>> Regards,
>>
>>      Hans
>>
>> On Sunday 26 March 2006 10:40, Andrew Lucas wrote:
>>     
>>> I did what you asked, and got the following output:
>>>
>>> [17224575.456000] ivtv0 ioctl: v4l2 ioctl 0x80685600
>>> [17224575.456000] ivtv0 ioctl: VIDIOC_QUERYCAP
>>> [17224575.456000] ivtv0 ioctl: v4l2 ioctl 0x80685600
>>> [17224575.456000] ivtv0 ioctl: VIDIOC_QUERYCAP
>>> [17224575.456000] ivtv0 ioctl: v4l2 ioctl 0xc04c561a
>>> [17224575.456000] ivtv0 ioctl: VIDIOC_ENUMINPUT
>>> [17224575.456000] ivtv0 ioctl: v4l2 ioctl 0xc04c561a
>>> [17224575.456000] ivtv0 ioctl: VIDIOC_ENUMINPUT
>>> [17224575.456000] ivtv0 ioctl: v4l2 ioctl 0xc04c561a
>>> [17224575.456000] ivtv0 ioctl: VIDIOC_ENUMINPUT
>>> [17224575.456000] ivtv0 ioctl: v4l2 ioctl 0xc0045627
>>> [17224575.456000] ivtv0 ioctl: VIDIOC_S_INPUT
>>> [17224575.456000] ivtv0 ioctl: v4l2 ioctl 0x40085618
>>> [17224575.456000] ivtv0 ioctl: VIDIOC_S_STD
>>> [17224575.460000] ivtv0 ioctl: v4l2 ioctl 0xc0045627
>>> [17224575.460000] ivtv0 ioctl: VIDIOC_S_INPUT
>>> [17224575.460000] ivtv0 ioctl: v4l2 ioctl 0x40085618
>>> [17224575.460000] ivtv0 ioctl: VIDIOC_S_STD
>>> [17224575.468000] ivtv0 ioctl: v4l2 ioctl 0xc0445624
>>> [17224575.468000] ivtv0 ioctl: VIDIOC_QUERYCTRL(9963777)
>>> [17224575.468000] ivtv0 ioctl: v4l2 ioctl 0xc008561c
>>> [17224575.468000] ivtv0 ioctl: VIDIOC_S_CTRL(9963777, 3f)
>>> [17224575.472000] ivtv0 ioctl: v4l2 ioctl 0xc0445624
>>> [17224575.472000] ivtv0 ioctl: VIDIOC_QUERYCTRL(9963778)
>>> [17224575.472000] ivtv0 ioctl: v4l2 ioctl 0xc008561c
>>> [17224575.472000] ivtv0 ioctl: VIDIOC_S_CTRL(9963778, 3f)
>>> [17224575.476000] ivtv0 ioctl: v4l2 ioctl 0xc0445624
>>> [17224575.476000] ivtv0 ioctl: VIDIOC_QUERYCTRL(9963776)
>>> [17224575.476000] ivtv0 ioctl: v4l2 ioctl 0xc008561c
>>> [17224575.476000] ivtv0 ioctl: VIDIOC_S_CTRL(9963776, 7f)
>>> [17224575.476000] ivtv0 ioctl: v4l2 ioctl 0xc0445624
>>> [17224575.476000] ivtv0 ioctl: VIDIOC_QUERYCTRL(9963779)
>>> [17224575.476000] ivtv0 ioctl: v4l2 ioctl 0xc008561c
>>> [17224575.476000] ivtv0 ioctl: VIDIOC_S_CTRL(9963779, 0)
>>> [17224575.476000] ivtv0 ioctl: v4l2 ioctl 0xc0445636
>>> [17224575.476000] ivtv0 ioctl: v4l2 ioctl 0x402c5639
>>> [17224575.476000] ivtv0 ioctl: VIDIOC_S_FREQUENCY
>>> [17224575.476000] ivtv0 ioctl: VIDIOC_S_CTRL(9963785, 1)
>>> [17224575.592000] ivtv0 ioctl: VIDIOC_S_CTRL(9963785, 0)
>>> [17224575.592000] ivtv0 ioctl: v4l2 ioctl 0xc02c5638
>>> [17224575.592000] ivtv0 ioctl: VIDIOC_G_FREQUENCY
>>> [17224581.584000] ivtv0 ioctl: v4l2 ioctl 0x80685600
>>> [17224581.584000] ivtv0 ioctl: VIDIOC_QUERYCAP
>>> [17224581.584000] ivtv0 ioctl: v4l2 ioctl 0x80685600
>>> [17224581.584000] ivtv0 ioctl: VIDIOC_QUERYCAP
>>> [17224581.584000] ivtv0 ioctl: v4l2 ioctl 0xc04c561a
>>> [17224581.584000] ivtv0 ioctl: VIDIOC_ENUMINPUT
>>> [17224581.584000] ivtv0 ioctl: v4l2 ioctl 0xc04c561a
>>> [17224581.584000] ivtv0 ioctl: VIDIOC_ENUMINPUT
>>> [17224581.584000] ivtv0 ioctl: v4l2 ioctl 0xc04c561a
>>> [17224581.584000] ivtv0 ioctl: VIDIOC_ENUMINPUT
>>> [17224581.584000] ivtv0 ioctl: v4l2 ioctl 0xc0045627
>>> [17224581.584000] ivtv0 ioctl: VIDIOC_S_INPUT
>>> [17224581.584000] ivtv0 ioctl: v4l2 ioctl 0x40085618
>>> [17224581.584000] ivtv0 ioctl: VIDIOC_S_STD
>>> [17224581.592000] ivtv0 ioctl: v4l2 ioctl 0xc0445624
>>> [17224581.592000] ivtv0 ioctl: VIDIOC_QUERYCTRL(9963777)
>>> [17224581.592000] ivtv0 ioctl: v4l2 ioctl 0xc008561c
>>> [17224581.592000] ivtv0 ioctl: VIDIOC_S_CTRL(9963777, 3f)
>>> [17224581.592000] ivtv0 ioctl: v4l2 ioctl 0xc0445624
>>> [17224581.592000] ivtv0 ioctl: VIDIOC_QUERYCTRL(9963778)
>>> [17224581.592000] ivtv0 ioctl: v4l2 ioctl 0xc008561c
>>> [17224581.592000] ivtv0 ioctl: VIDIOC_S_CTRL(9963778, 3f)
>>> [17224581.592000] ivtv0 ioctl: v4l2 ioctl 0xc0445624
>>> [17224581.592000] ivtv0 ioctl: VIDIOC_QUERYCTRL(9963776)
>>> [17224581.592000] ivtv0 ioctl: v4l2 ioctl 0xc008561c
>>> [17224581.592000] ivtv0 ioctl: VIDIOC_S_CTRL(9963776, 7f)
>>> [17224581.596000] ivtv0 ioctl: v4l2 ioctl 0xc0445624
>>> [17224581.596000] ivtv0 ioctl: VIDIOC_QUERYCTRL(9963779)
>>> [17224581.596000] ivtv0 ioctl: v4l2 ioctl 0xc008561c
>>> [17224581.596000] ivtv0 ioctl: VIDIOC_S_CTRL(9963779, 0)
>>> [17224581.596000] ivtv0 ioctl: v4l2 ioctl 0xc0445636
>>> [17224581.596000] ivtv0 ioctl: v4l2 ioctl 0x402c5639
>>> [17224581.596000] ivtv0 ioctl: VIDIOC_S_FREQUENCY
>>> [17224581.596000] ivtv0 ioctl: VIDIOC_S_CTRL(9963785, 1)
>>> [17224581.712000] ivtv0 ioctl: VIDIOC_S_CTRL(9963785, 0)
>>> [17224581.712000] ivtv0 ioctl: v4l2 ioctl 0xc02c5638
>>> [17224581.712000] ivtv0 ioctl: VIDIOC_G_FREQUENCY
>>> [17224582.068000] ivtv0 ioctl: v4l2 ioctl 0xc0445624
>>> [17224582.068000] ivtv0 ioctl: VIDIOC_QUERYCTRL(9963776)
>>> [17224582.068000] ivtv0 ioctl: v4l2 ioctl 0xc008561c
>>> [17224582.068000] ivtv0 ioctl: VIDIOC_S_CTRL(9963776, 7f)
>>> [17224582.072000] ivtv0 ioctl: v4l2 ioctl 0xc0445624
>>> [17224582.072000] ivtv0 ioctl: VIDIOC_QUERYCTRL(9963777)
>>> [17224582.072000] ivtv0 ioctl: v4l2 ioctl 0xc008561c
>>> [17224582.072000] ivtv0 ioctl: VIDIOC_S_CTRL(9963777, 3f)
>>> [17224582.072000] ivtv0 ioctl: v4l2 ioctl 0xc0445624
>>> [17224582.072000] ivtv0 ioctl: VIDIOC_QUERYCTRL(9963778)
>>> [17224582.072000] ivtv0 ioctl: v4l2 ioctl 0xc008561c
>>> [17224582.072000] ivtv0 ioctl: VIDIOC_S_CTRL(9963778, 3f)
>>> [17224582.076000] ivtv0 ioctl: v4l2 ioctl 0xc0445624
>>> [17224582.076000] ivtv0 ioctl: VIDIOC_QUERYCTRL(9963779)
>>> [17224582.076000] ivtv0 ioctl: v4l2 ioctl 0xc008561c
>>> [17224582.076000] ivtv0 ioctl: VIDIOC_S_CTRL(9963779, 0)
>>> [17224582.076000] ivtv0 ioctl: v4l2 ioctl 0xc0cc5604
>>> [17224582.076000] ivtv0 ioctl: VIDIOC_G_FMT
>>> [17224582.076000] ivtv0 ioctl: v4l2 ioctl 0xc0cc5605
>>> [17224582.076000] ivtv0 ioctl: VIDIOC_S_FMT
>>> [17224582.092000] ivtv0 ioctl: v4l2 ioctl 0x803c4030
>>> [17224582.092000] ivtv0 ioctl: IVTV_IOC_G_CODEC
>>> [17224582.092000] ivtv0 ioctl: v4l2 ioctl 0x403c4031
>>> [17224582.092000] ivtv0 ioctl: IVTV_IOC_S_CODEC
>>> [17224582.108000] ivtv0 ioctl: v4l2 ioctl 0xc008561c
>>> [17224582.108000] ivtv0 ioctl: VIDIOC_S_CTRL(9963781, e646)
>>>
>>> Quoting Hans Verkuil <[EMAIL PROTECTED]>:
>>>       
>>>> I'm not aware of breaking compatibility (except for the changed
>>>> input names). Please try this: ivtvctl -D17. Now run MythTV until
>>>> you get the error, then mail me the dmesg output. It should have
>>>> logged the controls MythTV tried to set.
>>>>
>>>> If I made a goof somewhere I'll fix it.
>>>>
>>>>    Hans
>>>>
>>>> On Sunday 26 March 2006 08:51, Andrew Lucas wrote:
>>>>         
>>>>> Thanks for your reply. I already tried doing that, but it made no
>>>>> difference. -Andrew
>>>>>
>>>>> Quoting [EMAIL PROTECTED]:
>>>>>           
>>>>>> If I recall correctly, the input numbers have changed in 0.6.1.
>>>>>> So where you  previously had to select input 0 for the tuner,
>>>>>> you now need to select input 1. See one of the 0.6 announce
>>>>>> emails on the list for more details.
>>>>>>
>>>>>> Not quite sure what the easiest way is to change this in Myth,
>>>>>> shouldn't be too difficult.
>>>>>>
>>>>>> Stanley.
>>>>>>
>>>>>>             
>>>>>>> I just upgraded from kernel-2.4.31 to kernel-2.6.16, and from
>>>>>>> ivtv-0.4.3 to
>>>>>>> ivtv-0.6.1. Before the upgrade, everything worked fine.
>>>>>>>
>>>>>>> I am running Slackware 10.2, and MythTV 0.19, with an Adaptec
>>>>>>> VideOH!: 00:0c.0 Multimedia video controller: Internext
>>>>>>> Compression Inc iTVC16 (CX23416)
>>>>>>> MPEG-2 Encoder (rev 01)
>>>>>>>
>>>>>>> When attemping to watch live tv, the backend gives me this
>>>>>>> error:
>>>>>>>
>>>>>>> 2006-03-25 14:26:17.998 TVRec(1): Changing from None to
>>>>>>> WatchingLiveTV Error setting codec params
>>>>>>> VIDIOC_S_CTRL:: Invalid argument
>>>>>>>
>>>>>>> And then a bunch of ring buffers, which count down to zero,
>>>>>>> then a bunch of
>>>>>>> autoexpire errors, but ultimatly, nothing happens.
>>>>>>>
>>>>>>> I reconfigured my input card in mythtv-setup, like some other
>>>>>>> posts said to. No
>>>>>>> matter what settings I use in mythtvsetup, both "Composite 1"
>>>>>>> and "SVideo 1"
>>>>>>> give me the same error. One difference I noticed, is that in
>>>>>>> previously, I had
>>>>>>> about 10 or so inputs on my card. Now I only have 2.
>>>>>>>
>>>>>>> But when I open the video device (/dev/v4l/video0) directly
>>>>>>> with MPlayer, it
>>>>>>> plays fine. So I think that mythtv is trying to do something
>>>>>>> weird with ivtvctl, that this new version doesnt understand.
>>>>>>> Is this a myth bug, or an
>>>>>>> ivtv bug?  Anyone have any ideas?
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Andrew
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ----------------
>>>>>>> The University of Akron
>>>>>>> Akron, Ohio USA
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> ivtv-devel mailing list
>>>>>>> [email protected]
>>>>>>> http://ivtvdriver.org/mailman/listinfo/ivtv-devel
>>>>>>>               
>>>>>> _______________________________________________
>>>>>> ivtv-devel mailing list
>>>>>> [email protected]
>>>>>> http://ivtvdriver.org/mailman/listinfo/ivtv-devel
>>>>>>             
>>>>> _______________________________________________
>>>>> ivtv-devel mailing list
>>>>> [email protected]
>>>>> http://ivtvdriver.org/mailman/listinfo/ivtv-devel
>>>>>           
>>>> _______________________________________________
>>>> ivtv-devel mailing list
>>>> [email protected]
>>>> http://ivtvdriver.org/mailman/listinfo/ivtv-devel
>>>>         
>>> _______________________________________________
>>> ivtv-devel mailing list
>>> [email protected]
>>> http://ivtvdriver.org/mailman/listinfo/ivtv-devel
>>>       
>> _______________________________________________
>> ivtv-devel mailing list
>> [email protected]
>> http://ivtvdriver.org/mailman/listinfo/ivtv-devel
>>
>>     
>
>
>
>
> _______________________________________________
> ivtv-devel mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-devel
>
>   


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

Reply via email to