Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using hardware that requires a driver to be built which is not present in the kernel source tree, i.e. not "part of" linux. Currently I'm finding it necessary to rebuild and install the driver manually every time I start using a new kernel version. Is there a way to streamline this process?

share|improve this question

For automatically recompiling kernel modules after a kernel update, i know of two options:

  1. write your own script

    For inspiration i refer to this very old post or this one where some one solved it for SUSE by a script

  2. Use Dynamic Kernel Module Suppor (DKMS)

    I refer to short description wiki page and ubuntu community page HOWTO for DKMS

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.