Hi,
i have a problem with my 8bitdo SF30 Pro Bluetooth Controller.
I paired it with the system using the LibreElec Addon in Kodi and it works great in Retroarch, Pegasus and EmulationStation. But it wont work in Kodi itself for some reason.
Log shows the following trying to rempad the kodi controller input (which times out):
Code
2019-08-13 08:44:32.234 T:4084208208 DEBUG: ------ Window Init (DialogGameControllers.xml) ------
2019-08-13 08:44:32.234 T:4084208208 INFO: Loading skin file: DialogGameControllers.xml, load type: KEEP_IN_MEMORY
2019-08-13 08:44:32.291 T:4084208208 INFO: Loading controller layout: /usr/share/kodi/addons/game.controller.snes/resources/layout.xml
2019-08-13 08:44:32.297 T:4084208208 DEBUG: CAddonDatabase: SELECT repo.id FROM repo .. took 0 ms
2019-08-13 08:44:32.361 T:4084208208 DEBUG: CAddonDatabase: query SELECT * FROM addons JOIN addonlinkrepo ON addons.id=addonlinkrepo.idAddon WHERE addonlinkrepo.idRepo IN (4,5) OR$
2019-08-13 08:44:32.388 T:3867145072 DEBUG: PushCecKeypress - received key b duration 160
2019-08-13 08:44:32.560 T:4084208208 DEBUG: CAddonDatabase::GetAddons took 263 ms
2019-08-13 08:44:34.452 T:3867145072 DEBUG: PushCecKeypress - received key b duration 0
2019-08-13 08:44:34.474 T:4084208208 DEBUG: HandleKey: 11 (0x0b, obc244) pressed, action is Select
2019-08-13 08:44:34.475 T:3512120176 DEBUG: Thread GUIConfigurationWizard start, auto delete: false
2019-08-13 08:44:34.475 T:3512120176 DEBUG: Starting configuration wizard
2019-08-13 08:44:34.529 T:3512120176 DEBUG: Failed to load button map for "8Bitdo SF30 Pro"
2019-08-13 08:44:34.567 T:3512120176 DEBUG: AddOnLog: Joystick Support: Loaded device "Keyboard" with 1 controller profiles and 139 total features
2019-08-13 08:44:34.580 T:3512120176 DEBUG: Failed to load button map for "Keyboard"
2019-08-13 08:44:34.590 T:3512120176 DEBUG: AddOnLog: Joystick Support: Loaded device "Mouse" with 1 controller profiles and 10 total features
2019-08-13 08:44:34.590 T:3512120176 DEBUG: AddOnLog: Joystick Support: game.controller.mouse: Removing pointer from button map
2019-08-13 08:44:34.600 T:3512120176 DEBUG: game.controller.default: Waiting for input for feature "a"
2019-08-13 08:44:34.613 T:3867145072 DEBUG: PushCecKeypress - received key b duration 161
2019-08-13 08:44:36.201 T:4073714544 DEBUG: libinput: event5 - debounce state: DEBOUNCE_STATE_IS_UP ▒^f^r DEBOUNCE_EVENT_OTHERBUTTON ▒^f^r DEBOUNCE_STATE_IS_UP
2019-08-13 08:44:36.201 T:4073714544 DEBUG: libinput: event5 - debounce state: DEBOUNCE_STATE_IS_UP ▒^f^r DEBOUNCE_EVENT_PRESS ▒^f^r DEBOUNCE_STATE_DOWN_WAITING
2019-08-13 08:44:36.226 T:4073714544 DEBUG: libinput: event5 - debounce state: DEBOUNCE_STATE_DOWN_WAITING ▒^f^r DEBOUNCE_EVENT_TIMEOUT ▒^f^r DEBOUNCE_STATE_IS_DOWN
2019-08-13 08:44:36.364 T:4073714544 DEBUG: libinput: event5 - debounce state: DEBOUNCE_STATE_IS_DOWN ▒^f^r DEBOUNCE_EVENT_RELEASE ▒^f^r DEBOUNCE_STATE_RELEASE_WAITING
2019-08-13 08:44:36.377 T:4073714544 DEBUG: libinput: event5 - debounce state: DEBOUNCE_STATE_RELEASE_WAITING ▒^f^r DEBOUNCE_EVENT_TIMEOUT_SHORT ▒^f^r DEBOUNCE_STATE_RELEASED
2019-08-13 08:44:36.389 T:4073714544 DEBUG: libinput: event5 - debounce state: DEBOUNCE_STATE_RELEASED ▒^f^r DEBOUNCE_EVENT_TIMEOUT ▒^f^r DEBOUNCE_STATE_IS_UP
2019-08-13 08:44:37.799 T:4073714544 DEBUG: libinput: event5 - debounce state: DEBOUNCE_STATE_IS_UP ▒^f^r DEBOUNCE_EVENT_OTHERBUTTON ▒^f^r DEBOUNCE_STATE_IS_UP
2019-08-13 08:44:37.800 T:4073714544 DEBUG: libinput: event5 - debounce state: DEBOUNCE_STATE_IS_UP ▒^f^r DEBOUNCE_EVENT_PRESS ▒^f^r DEBOUNCE_STATE_DOWN_WAITING
2019-08-13 08:44:37.824 T:4073714544 DEBUG: libinput: event5 - debounce state: DEBOUNCE_STATE_DOWN_WAITING ▒^f^r DEBOUNCE_EVENT_TIMEOUT ▒^f^r DEBOUNCE_STATE_IS_DOWN
2019-08-13 08:44:37.982 T:4073714544 DEBUG: libinput: event5 - debounce state: DEBOUNCE_STATE_IS_DOWN ▒^f^r DEBOUNCE_EVENT_RELEASE ▒^f^r DEBOUNCE_STATE_RELEASE_WAITING
2019-08-13 08:44:37.994 T:4073714544 DEBUG: libinput: event5 - debounce state: DEBOUNCE_STATE_RELEASE_WAITING ▒^f^r DEBOUNCE_EVENT_TIMEOUT_SHORT ▒^f^r DEBOUNCE_STATE_RELEASED
2019-08-13 08:44:38.007 T:4073714544 DEBUG: libinput: event5 - debounce state: DEBOUNCE_STATE_RELEASED ▒^f^r DEBOUNCE_EVENT_TIMEOUT ▒^f^r DEBOUNCE_STATE_IS_UP
2019-08-13 08:44:40.013 T:3681547120 DEBUG: CWebServer[8080]: request received for /jsonrpc
2019-08-13 08:44:40.628 T:3512120176 DEBUG: Previous line repeats 1 times.
2019-08-13 08:44:40.628 T:3512120176 DEBUG: Failed to load button map for "8Bitdo SF30 Pro"
2019-08-13 08:44:40.721 T:3512120176 DEBUG: Previous line repeats 3 times.
2019-08-13 08:44:40.721 T:3512120176 DEBUG: AddOnLog: Joystick Support: Loaded device "Keyboard" with 1 controller profiles and 139 total features
2019-08-13 08:44:40.733 T:3512120176 DEBUG: Failed to load button map for "Keyboard"
2019-08-13 08:44:40.744 T:3512120176 DEBUG: AddOnLog: Joystick Support: Loaded device "Mouse" with 1 controller profiles and 10 total features
2019-08-13 08:44:40.744 T:3512120176 DEBUG: AddOnLog: Joystick Support: game.controller.mouse: Removing pointer from button map
2019-08-13 08:44:40.754 T:3512120176 DEBUG: Configuration wizard ended
Display More
I tried creating a udev rule as i read about it in another thred (99-gamepad.rules) with no success:
Code
SUBSYSTEM=="input", ATTRS{name}=="8Bitdo SF30 Pro", KERNEL=="event*", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"
Change the input driver in kodi from linux to udev doesnt help as well.
Any idea how to get this working?
Im using the latest build for the Khadas VIM.