I have installed the VISA15.5 for linux. Still could not control the serial. So I need to updateNIDrivers.
The output of "uname -r" is 4.2.3-300.fc23.x86_64.
I wondered that the file In /usr/src/kernels is 4.5.7-202.fc23.x86_64 and file in /lib/modules is 4.2.3-300.fc23.x86_64, they are different.
When I type updateNIDrivers 4.2.3-300.fc23.x86_64, the output is:
<11>Jul 13 10:50:11 nikal: ERROR: Error locating kernel sources for the requested kernel version (4.2.3-300.fc23.x86_64).
usage: /usr/local/bin/updateNIDrivers [--no-prompt] [kernelVersion]
When I typed updateNIDrivers 4.5.7-202.fc23.x86_64 , the output is:
<11>Jul 13 10:51:02 nikal: ERROR: /lib/modules/4.5.7-202.fc23.x86_64 directory not found.
<11>Jul 13 10:51:02 nikal: ERROR: Error locating kernel sources for the requested kernel version (4.5.7-202.fc23.x86_64).
usage: /usr/local/bin/updateNIDrivers [--no-prompt] [kernelVersion]
I am not good at linux, could someone tell me how to solve the problem.
Any suggestion would be good.
Thank you.
Li