Missing kernel headers for driver
-
hey,
So i'm trying to get my original nes controller working using an adapter. In order to do this I need to install the following driver.
https://github.com/retuxx/hid-retrobit
I've tested the driver on my ubuntu machine and confrim that it works as expected. However, when I attempted to install the driver on my raspberry pi running retropie I ran into the following error .
Error! echo
Your kernel headers for kernel 4.1.18-v7+ cannot be found at
/lib/modules/4.1.18-v7+/build or /lib/modules/4.1.18-v7+/source.
modprobe: FATAL: Module hid-retrobit not found.I've searched the web but have been unable to find a solution on how to install these header files in order for the driver to install.
Can anybody help me out here and send me on the right direction of how to solve this issue?
'
Thanks! -
update the Raspbian packages
sudo apt-get update; sudo apt-get dist-upgrade
andsudo apt-get install raspberrypi-kernel-headers
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.