Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 3 years ago

Closed 3 years ago

Last modified 2 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@… 3 years ago.
mythtv-0.24-fixes-V4L_support.patch (16.0 KB) - added by mdean 3 years ago.
Patch to allow building 0.24-fixes on a system without V4L1 support.

Download all attachments as: .zip

Change History (8)

Changed 3 years ago by lvr@…

comment:1 Changed 3 years ago by robertm

  • Resolution set to Fixed
  • Status changed from new to closed

Apparently fixed.

comment:2 Changed 3 years ago by robertm

  • Resolution Fixed deleted
  • Status changed from closed to new

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

Changed 3 years ago by mdean

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

comment:3 Changed 3 years ago by mdean

  • Milestone changed from unknown to 0.24.2
  • Resolution set to Fixed
  • Status changed from new to 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 Changed 3 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 3 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 2 years ago by stuartm

  • Milestone 0.24.2 deleted

Milestone 0.24.2 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.