Kodi Community Forum
Help configure GameSir gamepad - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Help configure GameSir gamepad (/showthread.php?tid=317660)



Help configure GameSir gamepad - egrueda - 2017-07-03

Hi all.

I'm using Kodi 17 in a raspberry pi 3. I own a xbox-clone wireless gamepad.
Model name is "GameSir G3s" (https://gamesir.hk/?p=1&a=view&r=3) and I'm using a dongle to wireless connect it.
Now I want to use it as a standard remote controller for Kodi (http://kodi.wiki/view/Xbox_360_Wireless_Controller)
I've followed some tutorials like http://kodi.wiki/view/HOW-TO:Configure_controllers
But it doesn't respond to my key press :-(

Code:
13:34:17.317 T:1815630832   ERROR: AddOnLog: Joystick Support: ScanEvents: failed to read joystick "xiaoji Gamesir-G3v 1.00" on /dev/input/js0 - 19 (No such device)
13:52:14.059 T:1918890992   ERROR: Previous line repeats 65997 times.
13:52:14.059 T:1918890992  NOTICE: CAESinkPi:AddPackets Underrun (delay:0.00 frames:2205)
13:52:14.061 T:1815630832   ERROR: AddOnLog: Joystick Support: ScanEvents: failed to read joystick "xiaoji Gamesir-G3v 1.00" on /dev/input/js0 - 19 (No such device)

I can find it using "jstest /dev/input/js0"
Code:
$ jstest /dev/input/js0
Driver version is 2.1.0.
Joystick (Microsoft X-Box 360 pad) has 8 axes (X, Y, Z, Rx, Ry, Rz, Hat0X, Hat0Y)
and 11 buttons (BtnX, BtnY, BtnTL, BtnTR, BtnTR2, BtnSelect, BtnThumbL, BtnThumbR, ?, ?, ?).
And testing is fine

And inside /proc/bus/input/devices I get:
Code:
I: Bus=0003 Vendor=045e Product=028e Version=0110
N: Name="Microsoft X-Box 360 pad"
P: Phys=usb-3f980000.usb-1.4/input0
S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/input/input5
U: Uniq=
H: Handlers=event0 js0
B: PROP=0
B: EV=20000b
B: KEY=7cdb0000 0 0 0 0 0 0 0 0 0
B: ABS=3003f
B: FF=1 7030000 0 0

It also shows up inside kodi as an input device:

Image

So any idea which step I am missing?


RE: Help configure GameSir gamepad - jschuster - 2020-04-04

Just in case anyone else stumbles across this thread like I did while trying to solve the same problem, I found the solution in a different forum: https://forum.odroid.com/viewtopic.php?t=31546#p231521 . Long story short, use the "Android mode" for the gamepad rather than the X-input mode by pressing A + Home to start the controller. The X-input mode doesn't work with this particular version of the kernel for some reason.