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

Custom script for driver change



  • Hi everyone,

    I wrote myself a script for changing the gamepad driver. So far i tested the isolated code pieces and they are working. Now I tried to put it all together but it does nothing. I loaded it into cron for reboot. I would apreciate if you could help me out.

    here is my code

    basicly I want to unload all possible loaded current drivers on a GPIO signal and then load the right one on the specific GPIO signal.

    Thanks for the help



  • so no one any idea? :(



  • I could narrow the problem down a little bit. When the db9_GPIO_RPI driver is not loaded and i try to unload it, I get:

    "modprobe: FATAL: Module db9_gpio_rpi is not in kernel"

    that makes sense but I tried to avoid that with try/except. Seems it does not work. Any idea why?



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.