[mythtv-users] New install. Live TV not working - Fixed

jeff star star_jeff at hotmail.com
Sat Jan 20 10:15:54 UTC 2007


I found the problem was in MpegRecorder::SetV4L2DeviceOptions (in 
libs/libmythtv/mpegrecorder.cpp). The code sets a number (7) of controls in 
a single call which was failing with EINVAL. Going through the controls one 
by one, I found that 2 if them were returning out of range errors, and if 
any of the controls fail, the whole lot fails.

I got it running by manually overriding the two bad controls, but it was a 
hack at best.

I just upgraded to the svn branch for release-0-20-fixes and it all worked 
out of the box.

Thanks to all who responded

Jeff

>From: "Stefan van der Eijk" <stefan at eijk.nu>
>Reply-To: Discussion about mythtv <mythtv-users at mythtv.org>
>To: "Discussion about mythtv" <mythtv-users at mythtv.org>
>Subject: Re: [mythtv-users] New install. Live TV not working
>Date: Wed, 17 Jan 2007 22:51:02 +0100
>
>I've got the same issue, and the same version of mythtv.
>
>In my case, I just upgraded the kernel from 2.6.17 to 2.6.19.2, also
>upgraded ivtv from 0.7.3 to 0.9.1.
>
>Any ideas?
>
>On 1/11/07, jeff star <star_jeff at hotmail.com> wrote:
> > Hi Nick,
> >
> > 2007-01-11 02:54:29.868 mythbackend version: 0.20.20060828-3 
>www.mythtv.org
> >
> > jeff at mythboss:~> rpm -qa | grep ivtv
> > ivtv-0.8.0-9
> > ivtv-kmp-xen-0.8.0_2.6.18.2_34-9
> > ivtv-kmp-default-0.8.0_2.6.18.2_34-9
> >
> > Thanks
> >
> > Jeff
> >
> > >From: "Nick Morrott" <knowledgejunkie at gmail.com>
> > >Reply-To: Discussion about mythtv <mythtv-users at mythtv.org>
> > >To: "Discussion about mythtv" <mythtv-users at mythtv.org>
> > >Subject: Re: [mythtv-users] New install. Live TV not working
> > >Date: Wed, 10 Jan 2007 20:10:16 +0000
> > >
> > >On 10/01/07, jeff star <star_jeff at hotmail.com> wrote:
> > > > Hi,
> > > >
> > > > I've installed MythTV 0.2 on a new system under OpenSUSE 10.2, but I
> > >can't
> > > > get anything on Live TV. If I click on it, the screen goes blank for 
>30
> > > > seconds and returns to the menu. From the mythbackend:
> > > >
> > > > 2007-01-11 02:54:56.670 MainServer::HandleAnnounce Monitor
> > > > 2007-01-11 02:54:56.670 adding: mythboss as a client (events: 0)
> > > > 2007-01-11 02:54:56.670 MainServer::HandleAnnounce Monitor
> > > > 2007-01-11 02:54:56.670 adding: mythboss as a client (events: 1)
> > > > 2007-01-11 02:54:56.675 MainServer::HandleAnnounce Playback
> > > > 2007-01-11 02:54:56.675 adding: mythboss as a client (events: 0)
> > > > 2007-01-11 02:54:56.677 TVRec(1): Changing from None to 
>WatchingLiveTV
> > > > 2007-01-11 02:54:56.677 TVRec(1): HW Tuner: 1->1
> > > > 2007-01-11 02:54:57.704 ret_pid(5164) child(5164) status(0x0)
> > > > 2007-01-11 02:54:57.705 External Tuning program exited with no error
> > > > 2007-01-11 02:54:57.772 MPEGRec(/dev/video0) Error: Error getting 
>codec
> > > > params using old IVTV ioctl
> > > >                         eno: Bad address (14)
> > > > 2007-01-11 02:54:57.772 MPEGRec(/dev/video0) Error: Could not set 
>MPEG
> > > > controls 1 through 1.
> > > >                         eno: Invalid argument (22)
> > > > 2007-01-11 02:55:44.290 TVRec(1): Changing from WatchingLiveTV to 
>None
> > > >
> > > > Capture card is PVR-150, and it works fine under VLC. I can also cat
> > > > /dev/video0 o a file and play that OK. I'm using PAL, and I have set 
>the
> > > > recdord profiles in mythfrontend to 720x576
> > > >
> > > > I'm a bit stumped. Can anyone help out?
> > >
> > >Could be due to the fact that the old ivtvctl functionality has been
> > >rolled into v4l2ctl. Which versions of MythTV 0.20 (mythbackend
> > >--version) and ivtv are you using?
> > >
> > >Nick
> > >
> > >--
> > >MythTV Official wiki:
> > >http://mythtv.org/wiki/
> > >MythTV users list archive:
> > >http://www.gossamer-threads.com/lists/mythtv/users
> > >
> > >"An investment in knowledge always pays the best interest." - Benjamin
> > >Franklin
> > >_______________________________________________
> > >mythtv-users mailing list
> > >mythtv-users at mythtv.org
> > >http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> > _________________________________________________________________
> > Get FREE Web site and company branded e-mail from Microsoft Office Live
> > http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

_________________________________________________________________
Get Hilary Duff’s homepage with her photos, music, and more. 
http://celebrities.live.com



More information about the mythtv-users mailing list