我正在尝试为Raspberry Pi II的USB屏幕安装driver。
uname -r
4.14.42-v7+
当我安装头文件sudo apt install dkms raspberrypi-kernel-headers
时,它会添加用于不同内核版本的头文件,但不会添加正在使用的头文件。
/lib/modules/4.14.42
+或/lib/modules/4.14.42-v7+
中没有构建符号链接,而/usr/src
仅包含linux-headers-4.9.35+
和linux-headers-4.9.35-v7+
当我尝试sudo dpkg -i rp-usbdisplay-dkms_1.0_all.deb
时,它会得到
It is likely that 4.14.42-v7+ belongs to a chroot's host
Building for architecture armhf
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
如何获取raspberrypi-kernel-header的4.14.42版本? 安装此驱动程序的最佳方法是什么?
提前谢谢