Contribute
Register

load custom kext on runtime

Joined
May 15, 2019
Messages
3
Hello everyone,
I'm not sure if this is the right place to post this, if not please advise me :)

I'm currently running macOS Mojave on a Thinkpad Extreme x1 wich is doing just great except Wifi/Bluetooth(as always).

The Trackpad and Nub are working alright but scrolling with two fingers behaves a bit weird, which is why I looked into RehabMan's VoodooPS2Controller. And it seems, some little changes in the VoodooPS2SynapticsTouchPad.cpp would actually fix this issue.

Now the question:
could anyone give me a quick hint, how to load and debug my modified ps2 kernel extension on runtime?

I would like to see my changes and also to my printf()'s without to reboot every time I change anything.
(do i have to search the whole kernel log for my output?)

I figured out in oder to kextload (after changing the ownership of the build) I need unload the original one before. But since VoodooPS2Controller has several parent extensions running, it seems impossible to unload everyone of them and then load my own build.

I would be very happy about any answer.

Thanks in Advance! :)
 

Top