How to install ttyUSB from option.c

Hello!
I want to connect a cellular modem to an USB port of a physical server with Rocky 8.8.
I can download the Linux driver files from MTCM2-L4G1-B03-KIT.
But I do not have the source from Rocky 8.8 to do all this stuff, described in the PDF which is in the Linux-drivers-ZIP-file.
The directory /usr/src/kernels/ is empty.
And /usr/lib/modules/4.18.0-477.13.1.el8_8.x86_64/build is just a link to the non-existing
/usr/src/kernels/4.18.0-477.13.1.el8_8.x86_64.
How to install drivers without the source?
Thanks.

You generally need the kernel sources to build a driver. You need to install the kernel-devel package to get the kernel sources.

Hello,
sorry, the solution was much easier!
I had to stop ModemManager!
Now smsd can communicate with the Modem over AT-commands.
Thanks.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.