Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #10519: cx8800 and V4L driver issue

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


noreply at mythtv

Mar 27, 2012, 5:32 PM

Post #1 of 15 (419 views)
Permalink
Ticket #10519: cx8800 and V4L driver issue

#10519: cx8800 and V4L driver issue
--------------------------------------+-------------------------
Reporter: bernhart2002@… | Owner: danielk
Type: Bug Report - General | Status: new
Priority: critical | Milestone: 0.25
Component: MythTV - Recording | Version: Master Head
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+-------------------------
The cx8800 driver does not accept ioctl command VIDIOC_STREAMOFF and this
causes the card to fail with eno: Invalid argument (22) .
I guess the same problem exist with the bttv driver

in file mythtv/mythtv/libs/libmythtv/v4lchannel.cpp

line 102
if (driver_name == "bttv")
should be
if (driver_name == "bttv" || driver_name == "cx8800")

sorry I do not know how to make a patch

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10519>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 27, 2012, 5:40 PM

Post #2 of 15 (399 views)
Permalink
Re: Ticket #10519: cx8800 and V4L driver issue [In reply to]

#10519: cx8800 and V4L driver issue
----------------------------------+-----------------------------
Reporter: bernhart2002@… | Owner: danielk
Type: Bug Report - General | Status: new
Priority: critical | Milestone: 0.25
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by bernhart2002@…):

sorry the wiki formating changed the or
{{{
if (driver_name == "bttv" || driver_name == "cx8800")
}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10519#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 28, 2012, 8:37 AM

Post #3 of 15 (394 views)
Permalink
Re: Ticket #10519: cx8800 and V4L driver issue [In reply to]

#10519: cx8800 and V4L driver issue
----------------------------------+-----------------------------
Reporter: bernhart2002@… | Owner: danielk
Type: Bug Report - General | Status: closed
Priority: critical | Milestone: 0.25
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution: Fixed
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------
Changes (by danielk):

* status: new => closed
* resolution: => Fixed


Comment:

Fixes #10519. Adds workaround for cx8800 driver.

This card reports V4L2_CAP_STREAMING but doesn't support streaming.
The bug has been reported on the #linuxtv IRC channel.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10519#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 28, 2012, 8:38 AM

Post #4 of 15 (387 views)
Permalink
Re: Ticket #10519: cx8800 and V4L driver issue [In reply to]

#10519: cx8800 and V4L driver issue
----------------------------------+-----------------------------
Reporter: bernhart2002@… | Owner: danielk
Type: Bug Report - General | Status: closed
Priority: critical | Milestone: 0.25
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution: Fixed
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by danielk):

Was fixed by [8bf3888ab0ac5d45af3065d5c9a04c0fbf7aab3e].

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10519#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 28, 2012, 11:45 AM

Post #5 of 15 (394 views)
Permalink
Re: Ticket #10519: cx8800 and V4L driver issue [In reply to]

#10519: cx8800 and V4L driver issue
----------------------------------+-----------------------------
Reporter: bernhart2002@… | Owner: danielk
Type: Bug Report - General | Status: new
Priority: critical | Milestone: 0.25
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------
Changes (by danielk):

* status: closed => new
* resolution: Fixed =>


Comment:

Any chance you can test 10519-v1.patch ?

in the mythtv directory just do a
{{{
cat 10519-v1.patch | patch -p2
make && sudo make install
}}}

I got some clarification from mchehab in #linuxtv. Streaming is supported
with the cx8800 driver, but it only works if you close the data streaming
file descriptor first. This patch attempts to do that but I don't have any
way to test it.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10519#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 29, 2012, 5:52 AM

Post #6 of 15 (388 views)
Permalink
Re: Ticket #10519: cx8800 and V4L driver issue [In reply to]

#10519: cx8800 and V4L driver issue
----------------------------------+-----------------------------
Reporter: bernhart2002@… | Owner: danielk
Type: Bug Report - General | Status: new
Priority: critical | Milestone: 0.25
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by danielk):

Thanks Bernhart, can you rerun the mpeg2 card test with "-v
record,channel"

The patch doesn't address the same problem with NuppelVideoRecorder, it
only does the close/reopen in the MPEGRecorder so there is no need to test
that right now.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10519#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 29, 2012, 7:58 AM

Post #7 of 15 (388 views)
Permalink
Re: Ticket #10519: cx8800 and V4L driver issue [In reply to]

#10519: cx8800 and V4L driver issue
----------------------------------+-----------------------------
Reporter: bernhart2002@… | Owner: danielk
Type: Bug Report - General | Status: new
Priority: critical | Milestone: 0.25
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by Simon Kenyon <simon@…>):

10519-v2.patch fixes #9830 for me!

Happy days are here again

The skies above are clear again

So let's sing a song of cheer again

Happy days are here again

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10519#comment:6>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 29, 2012, 2:49 PM

Post #8 of 15 (383 views)
Permalink
Re: Ticket #10519: cx8800 and V4L driver issue [In reply to]

#10519: cx8800 and V4L driver issue
----------------------------------+-----------------------------
Reporter: bernhart2002@… | Owner: danielk
Type: Bug Report - General | Status: new
Priority: critical | Milestone: 0.25
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by bernhart2002@…):

Hey I ran the test with the options you requested and have attached the
log file (mpg2-vrc.txt). Please let me know if you would like to try
something else

Thanks for all the help

Eric

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10519#comment:7>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 30, 2012, 10:36 AM

Post #9 of 15 (372 views)
Permalink
Re: Ticket #10519: cx8800 and V4L driver issue [In reply to]

#10519: cx8800 and V4L driver issue
----------------------------------+-----------------------------
Reporter: bernhart2002@… | Owner: danielk
Type: Bug Report - General | Status: new
Priority: blocker | Milestone: 0.25
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------
Changes (by beirdo):

* priority: critical => blocker


--
Ticket URL: <http://code.mythtv.org/trac/ticket/10519#comment:8>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Apr 2, 2012, 3:55 PM

Post #10 of 15 (359 views)
Permalink
Re: Ticket #10519: cx8800 and V4L driver issue [In reply to]

#10519: cx8800 and V4L driver issue
----------------------------------+--------------------------------
Reporter: bernhart2002@… | Owner: danielk
Type: Bug Report - General | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+--------------------------------
Changes (by danielk):

* priority: blocker => minor
* status: new => infoneeded_new
* milestone: 0.25 => unknown


Comment:

Eric, from the log it looks like cx8800 doesn't advertise that it supports
V4L2_CAP_STREAMING so the original patch would be unnecessary.

From what I can tell this card may not actually support MPEG-2 encoding in
hardware. If you can attach the output of "grep cx88 /var/log/syslog" I
can confirm this, basically when cx88-blackbird is loaded it should print
a message saying that mpeg is supported.

Note: I've lowered the priority and cleared the milestone because this
looks like it could simply be an unsupported device or miss-configuration
based on the latest info. This doesn't mean I won't try to help if I can.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10519#comment:9>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Apr 2, 2012, 4:43 PM

Post #11 of 15 (357 views)
Permalink
Re: Ticket #10519: cx8800 and V4L driver issue [In reply to]

#10519: cx8800 and V4L driver issue
----------------------------------+--------------------------------
Reporter: bernhart2002@… | Owner: danielk
Type: Bug Report - General | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+--------------------------------

Comment (by bernhart2002@…):

Hey, I've uploaded the output of grep cx88 /var/log/syslog

Also I'm good if you want to close this bug since you applied the changes
to the v4l analog code that I requested which makes the card work with
mythtv and the WAF is good again. However if you want to keep trying
different things I don't mind helping out.

regards
Eric

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10519#comment:10>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Apr 2, 2012, 4:58 PM

Post #12 of 15 (360 views)
Permalink
Re: Ticket #10519: cx8800 and V4L driver issue [In reply to]

#10519: cx8800 and V4L driver issue
----------------------------------+--------------------------------
Reporter: bernhart2002@… | Owner: danielk
Type: Bug Report - General | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+--------------------------------

Comment (by bernhart2002@…):

hey, also included the dmesg log as well.

regards,

eric

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10519#comment:11>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

May 1, 2012, 11:00 AM

Post #13 of 15 (319 views)
Permalink
Re: Ticket #10519: cx8800 and V4L driver issue [In reply to]

#10519: cx8800 and V4L driver issue
----------------------------------+--------------------------------
Reporter: bernhart2002@… | Owner: danielk
Type: Bug Report - General | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+--------------------------------

Comment (by Jonathan <henbit28441@…>):

I am getting the same error as the original reporter with the cx23885
driver which ''does'' support V4L2_CAP_STREAMING.

Mythbackend log:[http://pastebin.com/K2hLu36k]

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10519#comment:12>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

May 1, 2012, 12:49 PM

Post #14 of 15 (318 views)
Permalink
Re: Ticket #10519: cx8800 and V4L driver issue [In reply to]

#10519: cx8800 and V4L driver issue
----------------------------------+--------------------------------
Reporter: bernhart2002@… | Owner: danielk
Type: Bug Report - General | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+--------------------------------

Comment (by Jonathan <henbit28441@…>):

I just found out the cx23885 driver falsely reports V4L2_CAP_STREAMING
capability. However, the workaround at the top of this ticket does not
resolve the issue.

Replying to [comment:12 Jonathan <henbit28441@…>]:
> I am getting the same error as the original reporter with the cx23885
driver which ''does'' support V4L2_CAP_STREAMING.
>
> Mythbackend log:[http://pastebin.com/K2hLu36k]

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10519#comment:13>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Jun 27, 2012, 6:25 PM

Post #15 of 15 (273 views)
Permalink
Re: Ticket #10519: cx8800 and V4L driver issue [In reply to]

#10519: cx8800 and V4L driver issue
----------------------------------+-----------------------------
Reporter: bernhart2002@… | Owner: danielk
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: 0.25
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution: Fixed
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------
Changes (by danielk):

* status: infoneeded_new => closed
* resolution: => Fixed
* milestone: unknown => 0.25


Comment:

It looks like the original issue was resolved by the V4L usage changes so
I'm closing this as fixed.

Eric, the IRQ loop reported in the first syslog would seem to indicate a
driver issue.

Jonathan, there is little we can do if the driver falsely reports
capabilities. Please report that to the V4L devs so they can address the
problem.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10519#comment:14>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.