Hi Unrealism,
First of all the setup in the second guide on the stmlabs forum is completely different.
Within rc.local where you have –wid it needs changing to –id as you are using a wired controller.
Also have you configured the controller for the retroarch.cfg file?
and which emulators are you using as some have their own config file for pads/controllers.