Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#9789 closed Patch - Bug Fix (Fixed)

[PATCH] fixes/0.24.1 video4linux v2 build on linux >= 2.6.38

Reported by: lvr@… Owned by:
Priority: minor Milestone:
Component: MythTV - General Version: 0.24-fixes
Severity: medium Keywords: video4linux
Cc: Ticket locked: yes

Description

Linux >= 2.6.38 doesn't support video4linux version 1 and distributions using this kernel (e.g Ubuntu 11.04) don't ship the version 1 <linux/videodev.h> header. This means that MythTV 0.24.1 can't be configured or built with v4l support enabled on these distributions.

This patch enables MythTV to be configured and built using only the video4linux v2 headers. The patch automatically detects the presence of the version 1 header and builds the additional code on systems that support it.

See also bug #9595

Attachments (2)

0036-Fix-building-video4linux-without-using-v1-headers.patch (12.4 KB) - added by lvr@… 13 years ago.
mythtv-0.24-fixes-V4L_support.patch (16.0 KB) - added by sphery 13 years ago.
Patch to allow building 0.24-fixes on a system without V4L1 support.

Download all attachments as: .zip

Change History (8)

Changed 13 years ago by lvr@…

comment:1 Changed 13 years ago by robertm

Resolution: Fixed
Status: newclosed

Apparently fixed.

comment:2 Changed 13 years ago by robertm

Resolution: Fixed
Status: closednew

Well, my mistake-- it's fixed in master but this ticket pertains to .24... oh well.

Changed 13 years ago by sphery

Patch to allow building 0.24-fixes on a system without V4L1 support.

comment:3 Changed 13 years ago by sphery

Milestone: unknown0.24.2
Resolution: Fixed
Status: newclosed

In a163dc82268d418939a7bd5fe782b82d7b55b7c7:

Enable building 0.24-fixes without system V4L1 support.

This patch retrieves videodev_myth.h from revision 6ff252dfe3da25c39378 (the revision before it was removed in bf7225c7dbaa28ac21a3 ), and modifies the MythTV code to use it, instead of the system linux/videodev.h header, so that MythTV will compile and work properly, even on systems based on the Linux 2.6.38+ kernel headers.

comment:4 Changed 13 years ago by shohami@…

This patch compiles fine for me (2.6.38 / Ubuntu 11.04) but I still get no video from a Hauppauge 1600... :-( Perhaps it takes more than .h wrangling to get this to work?

comment:5 Changed 13 years ago by robertm

Ticket locked: set

This issue is fixed, you have a configuration or driver issue, the 1600 works fine with current .24-fixes, please don't post to closed tickets. Start on the users mailing list.

comment:6 Changed 12 years ago by stuartm

Milestone: 0.24.2

Milestone 0.24.2 deleted

Note: See TracTickets for help on using tickets.