PLIN Module problem
Posted: Tue 2. Aug 2022, 12:08
Hello,
We are using Ubuntu 20.04 with kernel 5.13.0-52-generic and PLIN driver 1.0.0-rc9.
When running make we have a problem in plin_usc.c
In the new kernels (5.12 and above for sure) the MODULE_SUPPORTED_DEVICE macro is removed. We tried to comment out those three lines and then we were able to build and install the module but when We want to load it the modprobe return exec format error.
Thank You in advance for all help.
We are using Ubuntu 20.04 with kernel 5.13.0-52-generic and PLIN driver 1.0.0-rc9.
When running make we have a problem in plin_usc.c
Code: Select all
/home/kuba/plin_linux/peak-lin-driver-1.0.0-rc9/driver/plin_usb.c:54:25: error: expected declaration specifiers or ‘...’ before string constant
54 | MODULE_SUPPORTED_DEVICE("PEAK PCAN-USB Pro");
| ^~~~~~~~~~~~~~~~~~~
/home/kuba/plin_linux/peak-lin-driver-1.0.0-rc9/driver/plin_usb.c:85:25: error: expected declaration specifiers or ‘...’ before string constant
85 | MODULE_SUPPORTED_DEVICE("PEAK PCAN-USB Pro FD");
| ^~~~~~~~~~~~~~~~~~~~~~
/home/kuba/plin_linux/peak-lin-driver-1.0.0-rc9/driver/plin_usb.c:88:25: error: expected declaration specifiers or ‘...’ before string constant
88 | MODULE_SUPPORTED_DEVICE("PEAK PLIN-USB");
|
Thank You in advance for all help.