What's new

controller configuration over rpi2

sigfunaris

New member
I'm having problem trying to configure my usb controller.
The controller i bought is this one:
amazon.com/gp/product/B00FFL7WRS/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

this is lsusb output: (it comes out only with ID but no description)
Code:
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 1915:0144 Nordic Semiconductor ASA
Bus 001 Device 005: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 001 Device 006: ID 081f:e401
Bus 001 Device 007: ID 081f:e401

while this is the cat /proc/bus/input/devices output:
Code:
I: Bus=0003 Vendor=081f Product=e401 Version=0110
N: Name="USB gamepad           "
P: Phys=usb-bcm2708_usb-1.5/input0
S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:081F:E401.0                                                                                        007/input/input6
U: Uniq=
H: Handlers=event6 js2
B: PROP=0
B: EV=1b
B: KEY=3ff 0 0 0 0 0 0 0 0 0
B: ABS=3
B: MSC=10

now, i have a name here and as you can see there are 11 spaces after gamepad.
i tried to put this on my InputAutocfg.ini but it still doesn't work (while it does on emulationstation and snes)
Code:
[USB gamepad           ]
plugged = True
plugin = 2
mouse = False
AnalogDeadzone = 4096,4096
AnalogPeak = 32768,32768
DPad R = hat(0 Right)
DPad L = hat(0 Left)
DPad D = hat(0 Down)
DPad U = hat(0 Up)
Start = button(9)
Z Trig = button(5)
B Button = button(4)
A Button = button(6)
C Button R = button(1)
C Button L = button(3)
C Button D = button(2)
C Button U = button(0)
R Trig = button(7)
L Trig = button(8)
Mempak switch = button(11)
Rumblepak switch = 
X Axis = axis(0-,0+)
Y Axis = axis(1-,1+)

if i run mupen64plus from terminal i have this output:
Code:
UI-Console: attached to core library 'Mupen64Plus Core' version 2.0.0
UI-Console:             Includes support for Dynamic Recompiler.
Core Error: Unable to open rom database file '(null)'.
Core: Goodname: MARIOKART64 (unknown rom)
Core: Name: MARIOKART64
Core: MD5: 3A67D9986F54EB282924FCA4CD5F6DFF
Core: CRC: 3E5055B6 2E92DA52
Core: Imagetype: .v64 (byteswapped)
Core: Rom size: 12582912 bytes (or 12 Mb or 96 Megabits)
Core: Version: 1446
Core: Manufacturer: Nintendo
Core: Country: USA
UI-Console Status: Cheat codes disabled.
Video: DEBUG Video-Rice InitConfiguration() 658
Video: DEBUG Video-Rice set default configuration
UI-Console: using Video plugin: 'Mupen64Plus OpenGL Video Plugin by Rice' v2.0.0
UI-Console Error: dlopen('/opt/retropie/emulators/mupen64plus/lib/mupen64plus/mupen64plus-audio-sdl.so') failed: libspeexdsp.so.1: cannot open shared object file: No such file or directory
UI-Console Error: dlopen('/opt/retropie/emulators/mupen64plus/lib/mupen64plus/mupen64plus-audio-sdl.so') failed: libspeexdsp.so.1: cannot open shared object file: No such file or directory
UI-Console: using Audio plugin: 'Mupen64Plus OMX Audio Plugin' v2.0.0
Input Error: Couldn't find config file 'InputAutoCfg.ini'
Input Error: Couldn't find config file 'InputAutoCfg.ini'
Input Error: Couldn't find config file 'InputAutoCfg.ini'
Input Warning: missing 'plugged' parameter from config section AutoConfig0. Setting to 1 (true).
Input Warning: missing 'plugin' parameter from config section AutoConfig0. Setting to 1 (none).
Input Warning: missing config key 'DPad R' for controller 1 button 0
Input Warning: missing config key 'DPad L' for controller 1 button 1
Input Warning: missing config key 'DPad D' for controller 1 button 2
Input Warning: missing config key 'DPad U' for controller 1 button 3
Input Warning: missing config key 'Start' for controller 1 button 4
Input Warning: missing config key 'Z Trig' for controller 1 button 5
Input Warning: missing config key 'B Button' for controller 1 button 6
Input Warning: missing config key 'A Button' for controller 1 button 7
Input Warning: missing config key 'C Button R' for controller 1 button 8
Input Warning: missing config key 'C Button L' for controller 1 button 9
Input Warning: missing config key 'C Button D' for controller 1 button 10
Input Warning: missing config key 'C Button U' for controller 1 button 11
Input Warning: missing config key 'R Trig' for controller 1 button 12
Input Warning: missing config key 'L Trig' for controller 1 button 13
Input Warning: missing config key 'Mempak switch' for controller 1 button 14
Input Warning: missing config key 'Rumblepak switch' for controller 1 button 15
Input Warning: missing config key 'X Axis' for controller 1 axis 0
Input Warning: missing config key 'Y Axis' for controller 1 axis 1
UI-Console: using Input plugin: 'Mupen64Plus SDL Input Plugin' v2.0.0
UI-Console: using RSP plugin: 'Hacktarux/Azimer High-Level Emulation RSP Plugin' v2.0.0
Video: DEBUG Video-Rice InitConfiguration() 835
Video: DEBUG Video-Rice set default configuration
Input: 2 SDL joysticks were found.
Input Error: Couldn't find config file 'InputAutoCfg.ini'
Input Error: No auto-config found for joystick named 'USB gamepad           ' in InputAutoConfig.ini
Input Error: Couldn't find config file 'InputAutoCfg.ini'
Input Error: No auto-config found for joystick named 'USB gamepad           ' in InputAutoConfig.ini
Input: N64 Controller #1: Forcing default keyboard configuration
Input Error: Couldn't find config file 'InputAutoCfg.ini'
Input Warning: missing 'plugged' parameter from config section AutoConfig0. Setting to 1 (true).
Input Warning: missing 'plugin' parameter from config section AutoConfig0. Setting to 1 (none).
Input Warning: missing config key 'DPad R' for controller 1 button 0
Input Warning: missing config key 'DPad L' for controller 1 button 1
Input Warning: missing config key 'DPad D' for controller 1 button 2
Input Warning: missing config key 'DPad U' for controller 1 button 3
Input Warning: missing config key 'Start' for controller 1 button 4
Input Warning: missing config key 'Z Trig' for controller 1 button 5
Input Warning: missing config key 'B Button' for controller 1 button 6
Input Warning: missing config key 'A Button' for controller 1 button 7
Input Warning: missing config key 'C Button R' for controller 1 button 8
Input Warning: missing config key 'C Button L' for controller 1 button 9
Input Warning: missing config key 'C Button D' for controller 1 button 10
Input Warning: missing config key 'C Button U' for controller 1 button 11
Input Warning: missing config key 'R Trig' for controller 1 button 12
Input Warning: missing config key 'L Trig' for controller 1 button 13
Input Warning: missing config key 'Mempak switch' for controller 1 button 14
Input Warning: missing config key 'Rumblepak switch' for controller 1 button 15
Input Warning: missing config key 'X Axis' for controller 1 axis 0
Input Warning: missing config key 'Y Axis' for controller 1 axis 1
Input: 1 controller(s) found, 1 plugged in and usable in the emulator
Input Warning: Couldn't open rumble support for joystick #1
Input Warning: Couldn't open rumble support for joystick #2
Input Warning: Couldn't open rumble support for joystick #3
Input Warning: Couldn't open rumble support for joystick #4
Input: Mupen64Plus SDL Input Plugin version 2.0.0 initialized.
Video Error: Unable to read ini file from disk
Video: ROM (CRC b655503e52da922e-45) not found in INI file
Video: Enabled hacks for game: 'MARIOKART64'
Video Error: CreateBuilder: unknown OGL device type

looks like it can't find the InputAutocfg.ini, so i copied it in the same folder where the binary is located but still no luck.
Any suggestion?


EDIT: if i remove the 11 spaces on the name i get this output:

Code:
UI-Console: attached to core library 'Mupen64Plus Core' version 2.0.0
UI-Console:             Includes support for Dynamic Recompiler.
Core Error: Unable to open rom database file '(null)'.
Core: Goodname: MARIOKART64 (unknown rom)
Core: Name: MARIOKART64
Core: MD5: 3A67D9986F54EB282924FCA4CD5F6DFF
Core: CRC: 3E5055B6 2E92DA52
Core: Imagetype: .v64 (byteswapped)
Core: Rom size: 12582912 bytes (or 12 Mb or 96 Megabits)
Core: Version: 1446
Core: Manufacturer: Nintendo
Core: Country: USA
UI-Console Status: Cheat codes disabled.
Video: DEBUG Video-Rice InitConfiguration() 658
Video: DEBUG Video-Rice set default configuration
UI-Console: using Video plugin: 'Mupen64Plus OpenGL Video Plugin by Rice' v2.0.0
UI-Console Error: dlopen('/opt/retropie/emulators/mupen64plus/lib/mupen64plus/mu                              pen64plus-audio-sdl.so') failed: libspeexdsp.so.1: cannot open shared object fil                              e: No such file or directory
UI-Console Error: dlopen('/opt/retropie/emulators/mupen64plus/lib/mupen64plus/mu                              pen64plus-audio-sdl.so') failed: libspeexdsp.so.1: cannot open shared object fil                              e: No such file or directory
UI-Console: using Audio plugin: 'Mupen64Plus OMX Audio Plugin' v2.0.0
UI-Console: using Input plugin: 'Mupen64Plus SDL Input Plugin' v2.0.0
UI-Console: using RSP plugin: 'Hacktarux/Azimer High-Level Emulation RSP Plugin'                               v2.0.0
Video: DEBUG Video-Rice InitConfiguration() 835
Video: DEBUG Video-Rice set default configuration
Input: 2 SDL joysticks were found.
Input: N64 Controller #1: Using auto-config with SDL joystick 0 ('USB gamepad                                         ')
Input: N64 Controller #2: Using auto-config with SDL joystick 1 ('USB gamepad                                         ')
Input: 2 controller(s) found, 2 plugged in and usable in the emulator
Input Warning: Couldn't open rumble support for joystick #1
Input Warning: Couldn't open rumble support for joystick #2
Input Warning: Couldn't open rumble support for joystick #3
Input Warning: Couldn't open rumble support for joystick #4
Input: Mupen64Plus SDL Input Plugin version 2.0.0 initialized.
Video Error: Unable to read ini file from disk
Video: ROM (CRC b655503e52da922e-45) not found in INI file
Video: Enabled hacks for game: 'MARIOKART64'
Video Error: CreateBuilder: unknown OGL device type

which is weird since it says that both controllers are recognized and usable but still, when i try to play the game
the controller does not work.
 
Last edited:

Top