[mythtv-users] Unknown video codec / Inappropriate ioctl for device?

James Colannino email2jamez at dslextreme.com
Sat Jan 3 18:37:12 EST 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 


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



More information about the mythtv-users mailing list