简体   繁体   English

modprobe: FATAL: Module industrialio-sw-device not found in directory /lib/modules/5.15.56-v8+ 尝试在 RPI 上修改模块时出错

[英]modprobe: FATAL: Module industrialio-sw-device not found in directory /lib/modules/5.15.56-v8+ error while trying to modprobe a module on RPI

I am trying the dummy-iiostream.c script from this repo .我正在尝试来自这个repodummy-iiostream.c脚本。 Few commands were mentioned at beginning of the script to execute.在脚本的开头提到了几个要执行的命令。 I mentioned them below:我在下面提到了它们:

  1. sudo modprobe industrialio sudo modprobe 工业
  2. sudo modprobe industrialio-configfs sudo modprobe Industrialio-configfs
  3. sudo modprobe industrialio-sw-device sudo modprobe Industrialio-sw-设备
  4. sudo modprobe industrialio-sw-trigger sudo modprobe Industrialio-sw-触发器
  5. sudo modprobe iio-trig-hrtimer sudo modprobe iio-trig-hrtimer
  6. sudo modprobe iio_dummy sudo modprobe iio_dummy

I am facing problem executing the 3rd command, here is my console output我在执行第三个命令时遇到问题,这是我的控制台 output

rohith@raspberrypi:~ $ sudo modprobe industrialio
rohith@raspberrypi:~ $ sudo modprobe industrialio-configfs
rohith@raspberrypi:~ $ sudo modprobe industrialio-sw-device
modprobe: FATAL: Module industrialio-sw-device not found in directory /lib/modules/5.15.56-v8+
rohith@raspberrypi:~ $

How do I resolve this error?如何解决此错误? I am new to Linux any help would be greatly appreciated.我是 Linux 的新手,任何帮助将不胜感激。 My aim is to successfully execute all the 6 commands and run the script.我的目标是成功执行所有 6 个命令并运行脚本。

Did you successfully run the other steps in the source file?您是否成功运行了源文件中的其他步骤?

Are you positive, that the first modules are loaded properly?您确定第一个模块已正确加载吗? (lsmod | grep -i industrialio) (lsmod | grep -i Industrialio)

Also, loadable modules have to be in the right folder.此外,可加载模块必须位于正确的文件夹中。 Looks like thats "/lib/modules/5.15.56-v8+" for you.看起来对你来说就是“/lib/modules/5.15.56-v8+”。 Check if all needed files are present here.检查此处是否存在所有需要的文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM