FS#24354 - [mythtv] 1:0.24.1-1 breaks IVTV tuners

Attached to Project: Community Packages
Opened by Matt Daubenspeck (mellofone) - Thursday, 19 May 2011, 19:45 GMT
Last edited by Jonathan Conder (PirateJonno) - Wednesday, 01 June 2011, 19:47 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jonathan Conder (PirateJonno)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description: Upgrading Mythtv on x86_64 from arch package mythtv 1:0.24-2 to 1:0.24.1-1 seems to break IVTV tuner support. After upgrading and a backend restart, none of my IVTV (PVR500 and PVR150) are displayed as a tuner. Trying to re-add them, the option of selecting a tuner type of IVTV is no longer an option. The cards themselves are shown as a generic MPEG file tuner, but do not show up in the tuner list. My network HDHomeRun tuners are unaffected and work perfectly.

Reverting to 1:0.24-2 brings the cards back and everything functions normally.

I checked the upstream MythTV 0.24.1 release notes and can't find anything that would remove this option. The main mythbackend log shows nothing, even with all of the debug options turned on.
This task depends upon

Closed by  Jonathan Conder (PirateJonno)
Wednesday, 01 June 2011, 19:47 GMT
Reason for closing:  Fixed
Comment by Matt Daubenspeck (mellofone) - Thursday, 19 May 2011, 20:46 GMT
As per the MythTV mail list, it looks like they didn't get support for kernel 2.6.38 into the 0.24-fixes, which is what the new arch package is based on. It is in the master, but wasn't backported. Mailing list thread starts here:

http://www.mythtv.org/pipermail/mythtv-users/2011-May/315477.html
Comment by Robert de Jager (blob) - Saturday, 21 May 2011, 19:37 GMT
After some googeling i found a patch that seems to completely solve the issue. I appears that, although mythtv uses v4l2, the build process still depends on the v4l1 headers, which have been removed from linux 2.6.38 and up.

I have included all the modified build stuff. All you need to do is recompile and you should be good to go.
Comment by Scott Meacham (ScottM) - Tuesday, 24 May 2011, 01:29 GMT
Definitely a v4l issue. When you go into mythtv-setup and assign lineup you see "ERROR, Compile with V4L support to query inputs". If you delete the cards and try to add the ivtv supported card that card type is not available.

I can confirm that the package build that Robert attached does fix the problem.
Comment by Johan R (cleanrock) - Friday, 27 May 2011, 09:30 GMT
Please assign this to mythtv maintainer.
Comment by Jonathan Conder (PirateJonno) - Sunday, 29 May 2011, 09:00 GMT
Thanks for pretty much doing my job for me :). I'm building a new package right now
Comment by Johan R (cleanrock) - Wednesday, 01 June 2011, 19:44 GMT
The new package seem to be ok, i was able to record with my ivtv card.

Loading...