Opened 15 years ago
Closed 15 years ago
Last modified 14 years ago
#9789 closed Patch - Bug Fix (Fixed)
[PATCH] fixes/0.24.1 video4linux v2 build on linux >= 2.6.38
| Reported by: | 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)
Change History (8)
by , 15 years ago
| Attachment: | 0036-Fix-building-video4linux-without-using-v1-headers.patch added |
|---|
comment:1 by , 15 years ago
| Resolution: | → Fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 15 years ago
| Resolution: | Fixed |
|---|---|
| Status: | closed → new |
Well, my mistake-- it's fixed in master but this ticket pertains to .24... oh well.
by , 15 years ago
| Attachment: | mythtv-0.24-fixes-V4L_support.patch added |
|---|
Patch to allow building 0.24-fixes on a system without V4L1 support.
comment:3 by , 15 years ago
| Milestone: | unknown → 0.24.2 |
|---|---|
| Resolution: | → Fixed |
| Status: | new → closed |
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 by , 14 years ago
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 by , 14 years ago
| 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.

Apparently fixed.