我需要安装此驱动程序才能使我的 DVB-T USB 加密狗正常工作。我用过这个教程https://rk.edu.pl/pl/obsluga-tunerow-dvb-t-pod-linuksem/
这是我所做的:
git clone git://linuxtv.org/media_build.git
cd media_build
然后我运行命令./build
。当我这样做时,我收到几个错误:
libkmod: ERROR ../libkmod/libkmod-module.c:1668 kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory
Error: could not get list of modules: No such file or directory
Preparing to compile for kernel version 5.4.163
File not found: /lib/modules/5.4.163-17364-gfe3d4f499cf1/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.make[1]: *** [Makefile:367: allyesconfig] Error 2
make[1]: Leaving directory '/home/tabsik12/media_build/v4l'
make: *** [Makefile:26: allyesconfig] Error 2
can't select all drivers at ./build line 531
我怎样才能解决这个问题?我对 Chrome OS 上的 Linux 知之甚少。
答案1
问题是因为为 ChromeOS 提供的 Linux 内核是在没有可加载模块支持的情况下构建的。请参阅我的 ChromeOS linux shell 的以下输出。
arul@penguin$ zcat /proc/config.gz |egrep -w "CONFIG_MODULES"
# CONFIG_MODULES is not set
arul@penguin$
arul@penguin$ lsmod
libkmod: ERROR ../libkmod/libkmod-module.c:1668 kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory
Error: could not get list of modules: No such file or directory
arul@penguin$
arul@penguin$ ls /lib/modules
ls: cannot access '/lib/modules': No such file or directory