I’m trying to debug a sensor driver. By now, I already modified the device tree, and after flashing the kernel dtb, I just include the module via .ko file with insmod. The probe function is successfully executed, as I can see there is no error printed in the kernel messages. As I want to go further and test other functions (as open, board_setup, …), I’d like to know how can I call those functions from terminal after including the module. Would it be possible to do something like this in the terminal?
sudo insmod test123.ko //probe() successfully executed //call test123_open() function (e.g. open test123) sudo rmmod test123.ko //remove() successfully executed