4

I have a kernel with built-in module that I want to replace. I have built a .ko and tried to insmod it, but it failed since the kernel was already built with it.

Is it possible to do this?

3
  • I'm not entirely sure so I'm not giving this as an answer - but can't you do it with rmmod <module name>?
    – dantis
    May 27, 2014 at 11:33
  • This works with .ko only modules, and not builtin modules. builtin modules don't show up in lsmod.
    – noti
    May 27, 2014 at 11:35
  • 1
    AFAIK what's built-in cannot be "rmod'ed". But that's not an Android specific question (rather a Linux/Unix generic one), so you might wish to check with those "stacks" (they might even have that question already answered).
    – Izzy
    May 27, 2014 at 12:06

1 Answer 1

4

No. Built-in drivers aren't modules, they are built-in (hence the name). If it's not showing in lsmod, you can't get rid of it short of building a new kernel.

You must log in to answer this question.

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