Hello,
Setting module parameters is quite easy. However, you typically do not do it by debugfs, but by sysfs.
How to do it in short:
Quote:
static int myparam = 1;
module_param(myparam, int, S_IRUGO|S_IWUSR);
|
You should be able to set it both when loading the module and by writing in /sys/modules/