<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Fernando Lunardelli on Medium]]></title>
        <description><![CDATA[Stories by Fernando Lunardelli on Medium]]></description>
        <link>https://medium.com/@flunardelli?source=rss-d2b4b818e7be------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*qmOFdOuNTTCXuchUaXNGPw.png</url>
            <title>Stories by Fernando Lunardelli on Medium</title>
            <link>https://medium.com/@flunardelli?source=rss-d2b4b818e7be------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 13:10:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@flunardelli/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Raspberry Pi — Exec format error — solved]]></title>
            <link>https://medium.com/@flunardelli/raspberry-pi-exec-format-error-solved-30385033a86d?source=rss-d2b4b818e7be------2</link>
            <guid isPermaLink="false">https://medium.com/p/30385033a86d</guid>
            <category><![CDATA[retrogames]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Fernando Lunardelli]]></dc:creator>
            <pubDate>Thu, 15 Oct 2015 23:28:00 GMT</pubDate>
            <atom:updated>2020-01-03T16:10:07.286Z</atom:updated>
            <content:encoded><![CDATA[<p>I found an old SNES gamepad and trying to use it with my Raspberry Pi and RetroPi. I ended up in trouble but after some pleasant hours googling, everything worked out.<br> <br> If when you run: modprobe gamecon_gpio_rpi map=1 a bad message appears in stderr: ERROR: could not insert ‘gamecon_gpio_rpi’: Exec format error and in dmesg: gamecon_gpio_rpi: disagrees about version of symbol module_layout.<br> Try to check if your running kernel and your linux-headers have the same version. If they are equal, your Module.symvers file could be wrong.<br> <br> PS: If you don’t know that I’m talking about please visit: <a href="https://github.com/petrockblog/RetroPie-Setup/wiki/gamecon_gpio_rpi">https://github.com/petrockblog/RetroPie-Setup/wiki/gamecon_gpio_rpi</a><br> <br> Linux-headers and gamecon-gpio-rpi module could be found here:<br> <a href="http://www.niksula.hut.fi/~mhiienka/Rpi/">http://www.niksula.hut.fi/~mhiienka/Rpi/</a><br> <br> Well, to fix it install the latest linux-headers for your kernel:<br> <br> # dpkg -i linux-headers-3.18.7+_3.18.7+-2_armhf.deb <br> <br> run these commands:<br> # REV=`zcat /usr/share/doc/raspberrypi-bootloader/changelog.Debian.gz | grep ‘* firmware as of’ | head -n 1 | sed -e ‘s/\ \*\ firmware as of \(.*\)$/\1/’`<br> <br> # wget <a href="https://raw.github.com/raspberrypi/firmware/$REV/extra/Module.symvers">https://raw.github.com/raspberrypi/firmware/$REV/extra/Module.symvers</a> -O Module.symvers<br> <br> # OSVERSION=`uname -r`<br> <br> # cp Module.symvers /usr/src/linux-source-$OSVERSION/<br> <br> and install module package:<br> <br> # dpkg -i gamecon-gpio-rpi-dkms_1.0_all.deb<br> <br> # modprobe gamecon_gpio_rpi map=1<br> <br> That’s it.</p><p><em>Originally published at </em><a href="http://flunardelli.blogspot.com.br/2015/04/error-could-not-insert-gamecongpiorpi.html"><em>flunardelli.blogspot.com.br</em></a><em> on October 15, 2015.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30385033a86d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>