Mailing List Archive

Unknown video codec / Inappropriate ioctl for device?
Hey everyone. I started up the backend and all was good. However, trying to watch
TV resulted in a blank screen. I ran the backend in the foreground and did this again
to see what had happened and found the following:

Unknown video codec: VIDIOCGCAP :: Inappropriate ioctl for device

This is weird because it was working just fine for a while and just all of a sudden
decided to dump this error on me. It's really weird. Below is the complete output
of the backend. This is MythTV 0.13 if that makes a difference, running on
Fedora Core 1. Any insight on this would be greatly appreciated. The card is a
Hauppauge PVR-250 using the ivtv drivers.

James

2004-01-02 16:22:37 Enabled verbose msgs : important general
2004-01-02 16:22:39 Found changes in the todo list.
2004-01-02 16:22:52 MainServer::HandleAnnounce Playback
2004-01-02 16:22:52 adding: localhost.localdomain as a player 0
2004-01-02 16:22:52 MainServer::HandleAnnounce Playback
2004-01-02 16:22:52 adding: localhost.localdomain as a player 1
2004-01-02 16:22:52 MainServer::HandleAnnounce Playback
2004-01-02 16:22:52 adding: localhost.localdomain as a player 0
2004-01-02 16:22:52 MainServer::HandleAnnounce Playback
2004-01-02 16:22:52 adding: localhost.localdomain as a player 0
2004-01-02 16:22:52 adding: localhost.localdomain as a remote ringbuffer
2004-01-02 16:22:52 Changing from None to WatchingLiveTV
Unknown video codec: VIDIOCGCAP :: Inappropriate ioctl for device
Re: Unknown video codec / Inappropriate ioctl for device? [ In reply to ]
James Colannino wrote:

> Hey everyone. I started up the backend and all was good. However,
> trying to watch
> TV resulted in a blank screen. I ran the backend in the foreground
> and did this again
> to see what had happened and found the following:
>
> Unknown video codec: VIDIOCGCAP :: Inappropriate ioctl for device
>
> This is weird because it was working just fine for a while and just
> all of a sudden
> decided to dump this error on me. It's really weird. Below is the
> complete output
> of the backend. This is MythTV 0.13 if that makes a difference,
> running on
> Fedora Core 1. Any insight on this would be greatly appreciated. The
> card is a
> Hauppauge PVR-250 using the ivtv drivers.
>
> James
>
> 2004-01-02 16:22:37 Enabled verbose msgs : important general
> 2004-01-02 16:22:39 Found changes in the todo list.
> 2004-01-02 16:22:52 MainServer::HandleAnnounce Playback
> 2004-01-02 16:22:52 adding: localhost.localdomain as a player 0
> 2004-01-02 16:22:52 MainServer::HandleAnnounce Playback
> 2004-01-02 16:22:52 adding: localhost.localdomain as a player 1
> 2004-01-02 16:22:52 MainServer::HandleAnnounce Playback
> 2004-01-02 16:22:52 adding: localhost.localdomain as a player 0
> 2004-01-02 16:22:52 MainServer::HandleAnnounce Playback
> 2004-01-02 16:22:52 adding: localhost.localdomain as a player 0
> 2004-01-02 16:22:52 adding: localhost.localdomain as a remote ringbuffer
> 2004-01-02 16:22:52 Changing from None to WatchingLiveTV
> Unknown video codec: VIDIOCGCAP :: Inappropriate ioctl for device


Some more information in case it helps. I dmesged to see what was going
on at the kernel level, and this is what happens when I run the backend:

saa7115[0]: decoder set norm NTSC
saa7115[0]: set audio 0x02

Then, when I try to watch live tv, mythfrontend locks up on a black
screen. I switch to the console and check the backend, and predictably,
it gives me:

Unknown video codec: VIDIOCGCAP :: Inappropriate ioctl for device

dmesg then shows:

ivtv: ivtv-api.c: unknown ioctl 0x803c7601

It looks like mythtv is trying to set the card to a mode that doesn't
exist. This is weird. If anyone has anything to add that could help,
or a solution, I would be very grateful if you could help me out. I
hope I get this fixed soon. This really sucks :(

James

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Unknown video codec / Inappropriate ioctl for device? [ In reply to ]
James Colannino wrote:

> James Colannino wrote:
>
>> Hey everyone. I started up the backend and all was good. However,
>> trying to watch
>> TV resulted in a blank screen. I ran the backend in the foreground
>> and did this again
>> to see what had happened and found the following:
>>
>> Unknown video codec: VIDIOCGCAP :: Inappropriate ioctl for device
>>
>> This is weird because it was working just fine for a while and just
>> all of a sudden
>> decided to dump this error on me. It's really weird. Below is the
>> complete output
>> of the backend. This is MythTV 0.13 if that makes a difference,
>> running on
>> Fedora Core 1. Any insight on this would be greatly appreciated.
>> The card is a
>> Hauppauge PVR-250 using the ivtv drivers.
>>
>> James
>>
>> 2004-01-02 16:22:37 Enabled verbose msgs : important general
>> 2004-01-02 16:22:39 Found changes in the todo list.
>> 2004-01-02 16:22:52 MainServer::HandleAnnounce Playback
>> 2004-01-02 16:22:52 adding: localhost.localdomain as a player 0
>> 2004-01-02 16:22:52 MainServer::HandleAnnounce Playback
>> 2004-01-02 16:22:52 adding: localhost.localdomain as a player 1
>> 2004-01-02 16:22:52 MainServer::HandleAnnounce Playback
>> 2004-01-02 16:22:52 adding: localhost.localdomain as a player 0
>> 2004-01-02 16:22:52 MainServer::HandleAnnounce Playback
>> 2004-01-02 16:22:52 adding: localhost.localdomain as a player 0
>> 2004-01-02 16:22:52 adding: localhost.localdomain as a remote ringbuffer
>> 2004-01-02 16:22:52 Changing from None to WatchingLiveTV
>> Unknown video codec: VIDIOCGCAP :: Inappropriate ioctl for device
>
>
>
> Some more information in case it helps. I dmesged to see what was
> going on at the kernel level, and this is what happens when I run the
> backend:
>
> saa7115[0]: decoder set norm NTSC
> saa7115[0]: set audio 0x02
>
> Then, when I try to watch live tv, mythfrontend locks up on a black
> screen. I switch to the console and check the backend, and
> predictably, it gives me:
>
> Unknown video codec: VIDIOCGCAP :: Inappropriate ioctl for device
>
> dmesg then shows:
>
> ivtv: ivtv-api.c: unknown ioctl 0x803c7601
>
> It looks like mythtv is trying to set the card to a mode that doesn't
> exist. This is weird. If anyone has anything to add that could help,
> or a solution, I would be very grateful if you could help me out. I
> hope I get this fixed soon. This really sucks :(
>
> James


Something else to note: I tried a clean install on another HD. Same
problem. :/

James


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Unknown video codec / Inappropriate ioctl for device? [ In reply to ]
It looks like the card type is not set right for the PVR-250 (ie. it
thinks it is a normal v4l bttv style card).

I suggest checking in the "setup" program to make sure your card is set as
the appropriate type (hardware MPEG or whatever it's called).

But I'm not sure since I'm new to this MythTV stuff.

--
// Chris


On Fri, 2 Jan 2004, James Colannino wrote:

> Hey everyone. I started up the backend and all was good. However, trying to watch
> TV resulted in a blank screen. I ran the backend in the foreground and did this again
> to see what had happened and found the following:
>
> Unknown video codec: VIDIOCGCAP :: Inappropriate ioctl for device
>
> This is weird because it was working just fine for a while and just all of a sudden
> decided to dump this error on me. It's really weird. Below is the complete output
> of the backend. This is MythTV 0.13 if that makes a difference, running on
> Fedora Core 1. Any insight on this would be greatly appreciated. The card is a
> Hauppauge PVR-250 using the ivtv drivers.
>
> James
>
> 2004-01-02 16:22:37 Enabled verbose msgs : important general
> 2004-01-02 16:22:39 Found changes in the todo list.
> 2004-01-02 16:22:52 MainServer::HandleAnnounce Playback
> 2004-01-02 16:22:52 adding: localhost.localdomain as a player 0
> 2004-01-02 16:22:52 MainServer::HandleAnnounce Playback
> 2004-01-02 16:22:52 adding: localhost.localdomain as a player 1
> 2004-01-02 16:22:52 MainServer::HandleAnnounce Playback
> 2004-01-02 16:22:52 adding: localhost.localdomain as a player 0
> 2004-01-02 16:22:52 MainServer::HandleAnnounce Playback
> 2004-01-02 16:22:52 adding: localhost.localdomain as a player 0
> 2004-01-02 16:22:52 adding: localhost.localdomain as a remote ringbuffer
> 2004-01-02 16:22:52 Changing from None to WatchingLiveTV
> Unknown video codec: VIDIOCGCAP :: Inappropriate ioctl for device
>
>
>
Re: Unknown video codec / Inappropriate ioctl for device? [ In reply to ]
Wow, well I sure feel stupid =P I tried that and it worked like a
charm. I can't believe that had eluded me the entire time. I spent a
week on the command line trying to get things working and all I had to
do was change one stupid little menu entry. *sigh* And I did set that
in the beginning too and that's why it was working before. Something
must have screwed up my settings and I didn't know what to chance back.
Thanks for the help :)

James

Chris Osgood wrote:

>It looks like the card type is not set right for the PVR-250 (ie. it
>thinks it is a normal v4l bttv style card).
>
>I suggest checking in the "setup" program to make sure your card is set as
>the appropriate type (hardware MPEG or whatever it's called).
>
>But I'm not sure since I'm new to this MythTV stuff.
>
>--
>// Chris
>
>
>On Fri, 2 Jan 2004, James Colannino wrote:
>
>
>
>>Hey everyone. I started up the backend and all was good. However, trying to watch
>>TV resulted in a blank screen. I ran the backend in the foreground and did this again
>>to see what had happened and found the following:
>>
>>Unknown video codec: VIDIOCGCAP :: Inappropriate ioctl for device
>>
>>This is weird because it was working just fine for a while and just all of a sudden
>>decided to dump this error on me. It's really weird. Below is the complete output
>>of the backend. This is MythTV 0.13 if that makes a difference, running on
>>Fedora Core 1. Any insight on this would be greatly appreciated. The card is a
>>Hauppauge PVR-250 using the ivtv drivers.
>>
>>James
>>
>>2004-01-02 16:22:37 Enabled verbose msgs : important general
>>2004-01-02 16:22:39 Found changes in the todo list.
>>2004-01-02 16:22:52 MainServer::HandleAnnounce Playback
>>2004-01-02 16:22:52 adding: localhost.localdomain as a player 0
>>2004-01-02 16:22:52 MainServer::HandleAnnounce Playback
>>2004-01-02 16:22:52 adding: localhost.localdomain as a player 1
>>2004-01-02 16:22:52 MainServer::HandleAnnounce Playback
>>2004-01-02 16:22:52 adding: localhost.localdomain as a player 0
>>2004-01-02 16:22:52 MainServer::HandleAnnounce Playback
>>2004-01-02 16:22:52 adding: localhost.localdomain as a player 0
>>2004-01-02 16:22:52 adding: localhost.localdomain as a remote ringbuffer
>>2004-01-02 16:22:52 Changing from None to WatchingLiveTV
>>Unknown video codec: VIDIOCGCAP :: Inappropriate ioctl for device
>>
>>


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users