RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Missing kernel headers for driver

    Scheduled Pinned Locked Moved Help and Support
    2 Posts 2 Posters 1.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      peterson99
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators
        last edited by

        update the Raspbian packages sudo apt-get update; sudo apt-get dist-upgrade and sudo apt-get install raspberrypi-kernel-headers

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        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.