[mythtv-users] Need Help configuring Capture Card/Video Device

Joe Votour joevph at yahoo.com
Sun Jun 18 01:40:40 UTC 2006



--- Kent Rigby <kent.rigby at comcast.net> wrote:

> There is an RPM, I installed it, when I boot the
> machine I get  a message that 
> the module could not loaded because the build
> failed.  But when do an lsmod I 
> see the module in the output.
> 
> I think I found the PVR card under /dev/dri/card0. 
> MythTV seems to be happy 
> with that device, but I still can't watch tv.  The
> log says:
> Channel(/dev/dri/card0) Error: SetInputAndFormat(0,
> NTSC) 
> 			while setting format (v4l v1)
> 			eno: Permission denied (13)
> 2006-06-17 21:08:53.683 Channel(/dev/dri/card0)
> Error: SetInputAndFormat(0, 
> NTSC) 
> 			while setting format (v4l v1)
> 			eno: Permission denied (13)
> 2006-06-17 21:08:53.685 Channel(/dev/dri/card0)
> Error: SetInputAndFormat(0, 
> ATSC) 
> 			while setting format (v4l v1)
> 			eno: Permission denied (13)
> 2006-06-17 21:08:53.686 Channel(/dev/dri/card0):
> SetInputAndFormat() failed
> 2006-06-17 21:08:53.688 TVRec(1) Error: Failed to
> set channel to 15.
> 2006-06-17 21:08:53.696 New DB connection, total: 3
> 2006-06-17 21:08:53.699 Connected to database
> 'mythconverg' at host: localhost
> 2006-06-17 21:08:53.729 TVRec(1) Error: Channel: ''
> was not found in the 
> database.
> 			Most likely, your DefaultTVChannel setting is
> wrong.
> 			Could not start livetv.
> 2006-06-17 21:08:53.731 TVRec(1) Error:
> CreateLiveTVRingBuffer() failed
> 2006-06-17 21:08:53.732 TVRec(1) Error: Failed to
> create RingBuffer 2
> 2006-06-17 21:08:53.735 TVRec(1): Changing from
> WatchingLiveTV to None
> 
> I set the default channel to 15, which is valid.
> 
> I appreciate the help.  Any suggestions you can give
> would be greatly 
> appreciated.
> 
> Kent
> 
</snip>

The device /dev/dri/card0 is *not* your PVR-350 - that
is a device for X11 for the "Direct Rendering
Infrastructure".  In short, you're trying to capture
data from your video card, which isn't correct. 
(Therefore, I am guessing that you are not running an
nVidia card, at least not with their proprietary
drivers, since in that case, you shouldn't even have
DRI loaded.)

You need to have the ivtv driver loaded to use your
PVR-350, and it should show up as /dev/video0 (or
maybe /dev/v4l/video0, although I haven't used a
distribution that used that naming convention).

Look through the output of the "dmesg" command - you
should see a bunch of lines starting with "ivtv:" - in
my case, I have one (among many others) that says,
"ivtv0: Initialized WinTV PVR 500 (unit #1), card #0".
 You should see a similar one, except it should say,
"PVR-350".

If you don't see that, then the ivtv driver is not
loading, and simply put, you can't do any recording or
watching TV in MythTV until you get it properly
installed.

-- Joe

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the mythtv-users mailing list