Its worth checking the retroarch.cfg files – so blank out the snes one completely, and comment out all the joypad lines in the /all/ version.
Just make sure these lines are uncommented in it
input_autodetect_enable = true
joypad_autoconfig_dir = /opt/retropie/emulators/RetroArch/configs/