giorgio130
giorgio130

Reputation: 41

How to modify a Linux Kernel driver which is NOT compiled as a module?

I'm trying to modify the touchscreen driver of an embedded device in order to have multitouch support. The thing is that this driver is originally NOT compiled as a module, and so I don't know any way to change it beside a complete kernel rebuild. This is not really what I'd like to do. I've tried to modify the existing driver and compile it as a module; after having changed the name, it loads without complaining, but no event gets reported beside the ones output by the original driver. Is there any better way to do what I want? Any particular reason this could not be working?

Upvotes: 4

Views: 1885

Answers (1)

msh
msh

Reputation: 2770

You can try to manually unbind the original driver before loading your module. See this LWN post

Upvotes: 4

Related Questions