2

I have two different drivers for the same i2c device. Both drivers have the same string in their i2c module device table. One of the drivers is built into the kernel and the other was built as an out of tree module. If I load the module first, is there a way to force the device to be bound to the driver provided by the module rather than the driver built into the kernel?

1
  • Is there a reason why you don't want to blacklist the built-in one? Commented Nov 8, 2017 at 18:19

1 Answer 1

1

According to this answer:

How to block drivers built-into Kernel, i.e. drivers who are not a module

built-in kernel modules can be blacklisted using kernel boot parameters. To do this, you would need to either edit the 'linux' entry on the GRUB command line or modify the boot parameters in the /boot/grub.cfg file.

Other than that, I believe you would have to re-configure/compile the kernel.

0

You must log in to answer this question.

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