[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

DKMS: Rebuilding an in-kernel driver with patches



Is there a known working recipe for rebuilding a patched in-kernel
driver (in my case, those related to the Hauppauge Nova-S-Plus DVB-S
card) using DKMS, to trigger automatic rebuilds whenever the kernel is
updated. I'm running Jessie.

All DKMS-related posts that I have seen (and similarly most blog
posts) refer to building an out-of-mainline driver (typically the
nvidia binary blob or another third-party driver) but none refer to
rebuilding an in-kernel driver with patches. I'm happy with the
former.

In my specific case, I need to patch the isl6421 module on each kernel
upgrade to allow use of an alternative source for providing the tone
signal to the LNB from the Nova-S, as the card's normal source has
seemingly failed.

Fortunately the Nova-S has another chip that can provide this signal
and just requires patching the driver [1]. Currently I check out the
latest linux-media source and patch that, but it would be a lot
cleaner to patch the current kernel source instead (the Nova-S-Plus is
very mature now after many years, and it doesn't seem the patch in the
bugzilla report is going to be added as an option to the
isl6421module).

  [1] https://bugzilla.kernel.org/show_bug.cgi?id=9476

Thanks for any suggestions,
Nick


Reply to: