Super User is a question and answer site for computer enthusiasts and power users. 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

If you have a device driver that works on one Linux distro, will it also work on another one?

share|improve this question

That depends on what kernel the other Distro is using. Try uname -a to determine the Kernel-Version. If the kernel version of Distro B is lower than that one of Distro A, then it can be that the driver is not working, because it depends on newer features. If Distro B has the newer kernel, than I'd say it will work.

share|improve this answer

Is the device driver in source code form, or compiled binary form?

If it's in source code, then it will work fine when compiled into the version of the kernel it's intended for. Compile it separately for each kernel configuration that you need it to work with.

If it's in compiled binary form, it is only going to work with whichever specific kernel it was compiled against. Even the very same version of the kernel, compiled with different configuration, will be unlikely to work with a binary module compiled for some other configuration.

The lesson:

  • Choose hardware that has drivers already maintained in the mainline kernel.

  • Motivate kernel developers to rectify the situation if you want to use hardware that isn't in that situation yet.

  • Motivate the hardware vendor to assist kernel developers in this process.

  • Run like hell away from any hardware whose vendor resists getting drivers maintained in the mainline kernel.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .