Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Failed to load latest commit information.
Latest commit message
Commit time

Ubuntu + media tree custom kernel builder

The kernel that ships with Ubuntu is typically locked to a specific version, such as 4.4. When this happens support for new media devices and fixes to drivers are not usually backported by distro maintainers.

This system remedies that problem by taking the Ubuntu kernel and slip streams in the latest media tree. The media tree contains all the latest drivers, so this delivers the most up to date mainline media drivers seamlessly to Ubuntu users.

The script is designed to patch and build installable Ubuntu kernel packages. This script is used to develop and maintain the following Launchpad PPA:

The above ppa provides installable and upgradeable debs, so end users do not have to recompile the kernel and/or modules themselves.

To install and keep up to date with the PPA

Two virtual package are provided in the PPA

  • linux-mediatree
  • linux-hwe-mediatree

First add the PPA and update

sudo add-apt-repository ppa:b-rad/kernel+mediatree+hauppauge

sudo apt-get update

Then install the virtual packages (enables updates)

All Ubuntu:

sudo apt-get install linux-mediatree

Ubuntu LTS w/HWE:

sudo apt-get install linux-hwe-mediatree

The PPA will be updated quarterly, or immediately upon new Ubuntu kernel release.

Hauppauge Computer Works is proud sponsor of this effort.

This script produces installable kernel packages from

  • Ubuntu kernel git for a specific release
  • Latest upstream LinuxTV media tree drivers
  • Minimal patches to get the above to build
  • Additional patches to enable HW and/or optimizations not yet upstreamed

This script also:

  • A full patch series for reproduction
  • Generate latest LinuxTV driver patch set on demand

Development use



  • Brad Love


This program utilizes the GNU Publicc License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.



Slip stream the latest media drivers into an installable Ubuntu kernel package






No packages published