I am trying build/install a driver via dkms. I have successfully started the driver with its default parameters but not sure how to add optional params?
For example to install the driver using insmod I can specify an arg such as:
insmod ./rp2.ko polling_mode=0
with dkms I create a dkms.conf
PACKAGE_NAME="rp2"
PACKAGE_VERSION="2.18"
AUTOINSTALL="yes"
MAKE[0]="make"
BUILT_MODULE_NAME[0]="rp2"
DEST_MODULE_LOCATION[0]="/kernel/drivers/tty"
then steps
- dkms add rp2/2.18
- dkms build rp2/2.18
- dkms install rp2/2.18
Adding the arg to the dkms install command is unrecognized