<?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"><channel><title><![CDATA[PSX GPIO controller giving random outputs]]></title><description><![CDATA[<p dir="auto">Hi, i'm having the following problem: I wired 2 PSX controllers to the GPIO just like is said in <a href="https://github.com/recalbox/recalbox-os/wiki/Gamecon-controllers-(EN)" rel="nofollow ugc">https://github.com/recalbox/recalbox-os/wiki/Gamecon-controllers-(EN)</a>, everything is correctly wired, the controller 'works' but sends random button pushes, then searching for some fix I found this:</p>
<p dir="auto"><a href="https://retropie.org.uk/forum/topic/6980/random-input-psx-controller-gpio" rel="nofollow ugc">https://retropie.org.uk/forum/topic/6980/random-input-psx-controller-gpio</a></p>
<p dir="auto">There is a simple way to solve the problem, but I'm using recalbox 4.1, and aparently this version doesn't have the .c module, found a '.ko' gamecon module in 'libs', but is compiled, so I need to figure out how to make the changes described in that link and recompile, 'amecon_gpio_rpi.c' for editing, any help?</p>
]]></description><link>https://forum.recalbox.com/topic/9277/psx-gpio-controller-giving-random-outputs</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 23:21:09 GMT</lastBuildDate><atom:link href="https://forum.recalbox.com/topic/9277.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 11 Oct 2017 06:17:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PSX GPIO controller giving random outputs on Wed, 11 Oct 2017 07:38:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.recalbox.com/uid/13155">@djoni_w</a> what you can do (as it should work) :</p>
<ol>
<li>get Linux (but it should work in WSL if you have an up-to-date windows with the 16.04 Ubuntu)</li>
<li>follow <a href="https://github.com/recalbox/recalbox-os/wiki/Compilation-%26-Modifications-%28EN%29" rel="nofollow ugc">https://github.com/recalbox/recalbox-os/wiki/Compilation-%26-Modifications-(EN)</a> and stop once you've typed <code>make recalbox-${arch}_defconfig</code></li>
<li>now type <code>make gamecon-gpio-rpi-patch</code></li>
<li>now <code>cd output/build/gamecon-gpio-rpi</code> (there might be some more following the folder name, check by yourself)</li>
<li>edit the source code to change the delay to 5</li>
<li>climb back in the folder where you issued the make commands (<code>cd -</code>should do it if you haven't changed directory since the last <code>cd</code>)</li>
<li>now <code>make gamecon-gpio-rpi</code></li>
<li>watch the output, the .ko file should appear. If you can't find it, it should be at least in the folder where you edited the source code</li>
</ol>
<p dir="auto">If you're having trouble with all that, i'll compile one for you.</p>
<p dir="auto">For the explanation : a ko is a kernel object. In this case it's a driver that runs in the kernel space (as opposed to user space)</p>
]]></description><link>https://forum.recalbox.com/post/68667</link><guid isPermaLink="true">https://forum.recalbox.com/post/68667</guid><dc:creator><![CDATA[Substring]]></dc:creator><pubDate>Wed, 11 Oct 2017 07:38:24 GMT</pubDate></item><item><title><![CDATA[Reply to PSX GPIO controller giving random outputs on Wed, 11 Oct 2017 06:27:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.recalbox.com/uid/1056">@Substring</a> I was already lookin about how to compile .c to .ko (I really don't understand so much about linux compiling but it can't be impossible too), there is some tutorial about this? Then I can try here and post the result as fast as i'm done.. Thanks for the fast response and sorry for the broken english.</p>
]]></description><link>https://forum.recalbox.com/post/68665</link><guid isPermaLink="true">https://forum.recalbox.com/post/68665</guid><dc:creator><![CDATA[Djoni_w]]></dc:creator><pubDate>Wed, 11 Oct 2017 06:27:43 GMT</pubDate></item><item><title><![CDATA[Reply to PSX GPIO controller giving random outputs on Wed, 11 Oct 2017 06:21:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.recalbox.com/uid/13155">@djoni_w</a> you will be able to recompile the module once 4.1 is made public. You'll need to cross compile it from your computer. Or maybe wait for a new release that will have an increased delay. I can add it if you're not in a big hurry</p>
]]></description><link>https://forum.recalbox.com/post/68664</link><guid isPermaLink="true">https://forum.recalbox.com/post/68664</guid><dc:creator><![CDATA[Substring]]></dc:creator><pubDate>Wed, 11 Oct 2017 06:21:14 GMT</pubDate></item></channel></rss>