[mythtv-users] VIDIOCMCAPTURE0: Device or resource busy
Chris Picton
chrisp at tangent.co.za
Sun Aug 24 15:55:32 UTC 2008
On Sun, 2008-08-24 at 15:08 +0200, Xaero wrote:
> which mythtv file I have to patch?
Sorry - attached is a unified diff:
File to patch is libs/libmythtv/NuppelVideoRecorder.cpp
>
>
> Final follow-up
>
> Problem solved.
>
> First, this does appear to be a kernel issue with bttv
> and v4l1:
> http://kerneltrap.org/mailarchive/linux-kernel/2008/8/4/2806884
>
> Using kernel version 2.6.24 works fine.
>
> In addition, patching mythtv to use v4l2 for bttv
> cards allows it to
> work with kernels >= 2.6.25. This also reduced my CPU
> time while
> recording from 40% to 25% (Sempron 2400+)
>
>
> 932c932
> < if (driver == "cx8800" || driver == "go7007"
> || driver ==
> "em28xx")
> ---
> > if (driver == "cx8800" || driver == "go7007"
> || driver ==
> "em28xx" || driver == "bttv")
>
> I have not yet experienced any channel changing errors
> as documented
> here:
> http://www.mythtv.org/pipermail/mythtv-dev/2005-February/031229.html
>
>
> On Sat, 2008-08-23 at 20:18 +0200, Chris Picton wrote:
> > On Sat, 2008-08-23 at 09:30 +0200, Chris Picton
> wrote:
> > > On Sat, 2008-08-23 at 00:20 +0200, Xaero wrote:
> > > > same problem
> > > > see
> > > >
> http://mythtv.org/pipermail/mythtv-users/2008-August/231432.html
> > > >
> > > > which card are you using?
> > >
> > > I have a Leadtek TV2000XP RM
> > >
> > > I will try with an older kernel (currently I am
> using 2.6.26, but my
> > > previous installation was 2.6.22)
> > Results of the above test:
> >
> > I tried mythtv 0.20.2, but same issue
> >
> > I then tried kernel 2.6.19.7, and LiveTV works fine.
> >
> > So I assume this is a kernel incompatibility.
>
>
>
> >
> > Xaero - what kernel version are you using?
> >
> >
> > > >
> > > > 2008/8/22 Chris Picton <chrisp at tangent.co.za>
> > > > I am getting
> > > > the
> > > > following error when trying to watch
> live tv:
> > > >
> > > > 2008-08-22 20:52:26.096 TVRec(1):
> Changing from None to
> > > > WatchingLiveTV
> > > > 2008-08-22 20:52:26.102 TVRec(1): HW
> Tuner: 1->1
> > > > 2008-08-22 20:52:27.251 AutoExpire:
> CalcParams(): Max required
> > > > Free
> > > > Space: 2.0 GB w/freq: 15 min
> > > > VIDIOCMCAPTUREi0: Device or resource
> busy
> > > > VIDIOCMCAPTUREi1: Device or resource
> busy
> > > > VIDIOCMCAPTURE0: Device or resource busy
> > > > VIDIOCMCAPTURE1: Device or resource busy
> > > > (last two lines continually repeated)
> > > >
> > > > I am reading from a bttv card, using the
> 'Television' input.
> > > >
> >
> >
> ---------------------+-----------------------------------
> > Chris Picton | Key ID: 9D28A988
> (wwwkeys.pgp.net)
> > Technical Director | PGP Key Fingerprint:
> > Tangent Systems | 2B46 29EA D530 79EC D9EA
> > 011 447 8096 | 3ED0 229D 6DD6 9D28 A988
> > chrisp at tangent.co.za |
> www.tangent.co.za/keys/chrisp.asc
> >
> ---------------------+-----------------------------------
>
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> >
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
> ---------------------+-----------------------------------
> Chris Picton | Key ID: 9D28A988
> (wwwkeys.pgp.net)
> Technical Director | PGP Key Fingerprint:
> Tangent Systems | 2B46 29EA D530 79EC D9EA
> 011 447 8096 | 3ED0 229D 6DD6 9D28 A988
> chrisp at tangent.co.za |
> www.tangent.co.za/keys/chrisp.asc
> ---------------------+-----------------------------------
>
>
> _______________________________________________
> 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
---------------------+-----------------------------------
Chris Picton | Key ID: 9D28A988 (wwwkeys.pgp.net)
Technical Director | PGP Key Fingerprint:
Tangent Systems | 2B46 29EA D530 79EC D9EA
011 447 8096 | 3ED0 229D 6DD6 9D28 A988
chrisp at tangent.co.za | www.tangent.co.za/keys/chrisp.asc
---------------------+-----------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythtv-bttv-v4l2.patch
Type: text/x-patch
Size: 554 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20080824/461ba10c/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20080824/461ba10c/attachment.pgp
More information about the mythtv-users
mailing list