Page 1 of 2
Raspberry Pi Xbox One problem
Posted: Sun Aug 19, 2018 12:54 pm
by HiJack1
Hi everyone!
I m using gimx software on raspbian and DIY adapter with xbox one frimware. My problem is xbox one controller disconnect from gimx software or raspberry when i press guide or B button. Some times it works 15minutes but sometimes 5 sec and gone. Accessing from OneGuide to raspbian desktop but tryed other monitor for accessing desktop but problem still there. I made all things in this site from raspbian tutorial. When i use on playstation 4 there is no problem everything is ok and works flawlessly. But this error i cant figure out why its happening?
For error:
-)cable wasnt pulled or controller usb socket wasnt damaged
-)i try 4 different cable different lenght and thickness
-)when i conntect controller to raspberry its turn on automaticly but when i do start ande shift-esc its turn of and start again. But same problem.
I try some adapters for powering raspberry but still same.
Raspbian firmware version:
Linux raspberrypi 4.1.21-v7+ #873 SMP Mon Apr 11 18:22:10 BST 2016 armv7l GNU/Linux
Re: Raspberry Pi Xbox One problem
Posted: Sun Aug 19, 2018 1:14 pm
by GoDlike
Hello,
Are you using Xbox One v1 controller without jack?
Please post a log message when the disconnection happens as stated here -
viewtopic.php?f=5&t=691
Regards,
Daniel
Re: Raspberry Pi Xbox One problem
Posted: Sun Aug 19, 2018 1:27 pm
by HiJack1
yes xbox one controller without 3.5mm jack log file:
Code: Select all
global option -c with value 'XboxOneMouseKeyboard'
controller #1: option -p with value '/dev/ttyUSB0'
now reading arguments for controller #2
subpos flag is set
force_updates flag is set
auto-grab flag is set
GIMX adapter detected, controller type is:XOnepad.
found pass-through device 0x045e:0x02d1
registered joystick 0 with name "Microsoft X-Box One pad"
using default refresh period: 4.00ms
Press the guide button to active the controller.
im using keyboard and mouse when disconnect happens console say "Exiting". This problem happens every time when i press guide button on keyboard(+ key i try different keys but same).
Re: Raspberry Pi Xbox One problem
Posted: Mon Aug 20, 2018 2:53 pm
by kaiba_seto2004
As Matlo refered in the past, you can try press Xbox Guide button on your gamepad instead of keyboad.
Re: Raspberry Pi Xbox One problem
Posted: Mon Aug 20, 2018 5:25 pm
by HiJack1
kaiba_seto2004 wrote: ↑Mon Aug 20, 2018 2:53 pm
As Matlo refered in the past, you can try press Xbox Guide button on your gamepad instead of keyboad.
When i connect controller to raspberry buttons on controller not work. Problem not only guide button, B button have this problem. When this problem start console only say "exiting" and give an error in first message. When i play game B button works and makes no problem but when i in xbox home menu or settings press guide button and gives error.
Re: Raspberry Pi Xbox One problem
Posted: Mon Aug 20, 2018 5:31 pm
by GoDlike
You'll have to wait until @Matlo responds as I ran out of ideas.
Re: Raspberry Pi Xbox One problem
Posted: Mon Aug 20, 2018 6:44 pm
by HiJack1
GoDlike wrote: ↑Mon Aug 20, 2018 5:31 pm
You'll have to wait until @Matlo responds as I ran out of ideas.
I will wait thanks for your effort

Re: Raspberry Pi Xbox One problem
Posted: Tue Aug 21, 2018 8:59 am
by Matlo
Please post a full log file (what you posted is console output). Create the ~/.gimx/log directory. Add "--log log.txt" as a first argument to the gimx command line. The generated log file is located in the ~/.gimx/log directory.
Re: Raspberry Pi Xbox One problem
Posted: Tue Aug 21, 2018 6:45 pm
by HiJack1
Matlo wrote: ↑Tue Aug 21, 2018 8:59 am
Please post a full log file (what you posted is console output). Create the ~/.gimx/log directory. Add "--log log.txt" as a first argument to the gimx command line. The generated log file is located in the ~/.gimx/log directory.
Code: Select all
global option -l with value `log.txt'
global option -c with value `XboxOneleyboarmouse.xml'
controller #1: option -p with value `/dev/ttyUSB0'
now reading arguments for controller #2
status flag is set
subpos flag is set
force_updates flag is set
auto-grab flag is set
GIMX 7.8 ARMv6
Raspbian GNU/Linux 9.4 (stretch)
Linux 4.1.21-v7+ #873 SMP Mon Apr 11 18:22:10 BST 2016 unknown
Bus 001 Device 007: ID 046d:c07d Logitech, Inc.
Bus 001 Device 006: ID 1a2c:2124 China Resource Semico Co., Ltd
Bus 001 Device 005: ID 045e:02d1 Microsoft Corp. XBOX One Controller for Windows
Bus 001 Device 004: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
|__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
|__ Port 2: Dev 4, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M
|__ Port 3: Dev 5, If 0, Class=Vendor Specific Class, Driver=xpad, 12M
|__ Port 3: Dev 5, If 1, Class=Vendor Specific Class, Driver=, 12M
|__ Port 3: Dev 5, If 2, Class=Vendor Specific Class, Driver=, 12M
|__ Port 4: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 4: Dev 6, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 5: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 5: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 12M
GIMX adapter detected, controller type is: XOnePad.
found pass-through device 0x045e:0x02d1
registered joystick 0 with name "Microsoft X-Box One pad"
using default refresh period: 4.00ms
mouse 0 has name 'SEM USB Keyboard' and virtual id 0
mouse 1 has name 'Logitech Gaming Mouse G502' and virtual id 0
mouse 2 has name 'Logitech Gaming Mouse G502' and virtual id 1
keyboard 0 has name 'SEM USB Keyboard' and virtual id 0
keyboard 1 has name 'SEM USB Keyboard' and virtual id 1
keyboard 2 has name 'Logitech Gaming Mouse G502' and virtual id 0
joystick 0 has name 'Microsoft X-Box One pad' and virtual id 0
Dump of /home/pi/.gimx/config/XboxOneleyboarmouse.xml:
<?xml version="1.0" encoding="UTF-8"?>
<root>
<controller id="1" dpi="12000" type="XOnePad">
<configuration id="1">
<trigger type="keyboard" id="0" name="" button_id="F1" switch_back="no" delay="0"/>
<mouse_options_list>
<mouse name="" id="0" mode="Aiming" buffer_size="1" filter="0.500"/>
</mouse_options_list>
<intensity_list/>
<button_map>
<button id="abs_axis_16" label="">
<device type="mouse" id="0" name=""/>
<event type="button" id="BUTTON_MIDDLE"/>
</button>
<button id="abs_axis_15" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="LSHIFT"/>
</button>
<button id="abs_axis_14" label="">
<device type="mouse" id="0" name=""/>
<event type="button" id="BUTTON_LEFT"/>
</button>
<button id="abs_axis_13" label="">
<device type="mouse" id="0" name=""/>
<event type="button" id="BUTTON_RIGHT"/>
</button>
<button id="abs_axis_12" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="q"/>
</button>
<button id="abs_axis_11" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="f"/>
</button>
<button id="abs_axis_10" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="r"/>
</button>
<button id="abs_axis_9" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="SPACE"/>
</button>
<button id="abs_axis_6" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="LEFT"/>
</button>
<button id="abs_axis_5" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="DOWN"/>
</button>
<button id="abs_axis_4" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="RIGHT"/>
</button>
<button id="abs_axis_3" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="UP"/>
</button>
<button id="abs_axis_1" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="ESCAPE"/>
</button>
<button id="abs_axis_7" label="">
<device type="mouse" id="0" name=""/>
<event type="button" id="BUTTON_WHEELUP"/>
</button>
<button id="abs_axis_7" label="">
<device type="mouse" id="0" name=""/>
<event type="button" id="BUTTON_WHEELDOWN"/>
</button>
<button id="abs_axis_8" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="LCTRL"/>
</button>
<button id="abs_axis_1" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="RETURN"/>
</button>
<button id="abs_axis_14" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="v"/>
</button>
<button id="abs_axis_6" label="">
<device type="mouse" id="0" name=""/>
<event type="button" id="BUTTON_X1"/>
</button>
<button id="abs_axis_4" label="">
<device type="mouse" id="0" name=""/>
<event type="button" id="BUTTON_X2"/>
</button>
<button id="abs_axis_0" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="TAB"/>
</button>
<button id="abs_axis_1" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="HOME"/>
</button>
<button id="abs_axis_2" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="p"/>
</button>
</button_map>
<axis_map>
<axis id="rel_axis_3" label="Aiming - y axis">
<device type="mouse" id="0" name=""/>
<event type="axis" id="y" dead_zone="0" multiplier="3.49" exponent="0.49" shape="Rectangle"/>
</axis>
<axis id="rel_axis_2" label="Aiming - x axis">
<device type="mouse" id="0" name=""/>
<event type="axis" id="x" dead_zone="0" multiplier="2.79" exponent="0.49" shape="Rectangle"/>
</axis>
<axis id="rel_axis_0-" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="a"/>
</axis>
<axis id="rel_axis_1+" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="s"/>
</axis>
<axis id="rel_axis_0+" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="d"/>
</axis>
<axis id="rel_axis_1-" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="w"/>
</axis>
</axis_map>
<joystick_corrections_list/>
</configuration>
<configuration id="2">
<trigger type="mouse" id="0" name="" button_id="BUTTON_RIGHT" switch_back="yes" delay="0"/>
<mouse_options_list>
<mouse name="" id="0" mode="Aiming" buffer_size="1" filter="0.00"/>
</mouse_options_list>
<intensity_list/>
<button_map>
<button id="abs_axis_13" label="">
<device type="mouse" id="0" name=""/>
<event type="button" id="BUTTON_RIGHT"/>
</button>
<button id="abs_axis_12" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="q"/>
</button>
<button id="abs_axis_2" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="INSERT"/>
</button>
<button id="abs_axis_8" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="c"/>
</button>
<button id="abs_axis_0" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="TAB"/>
</button>
<button id="abs_axis_16" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="v"/>
</button>
<button id="abs_axis_1" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="RETURN"/>
</button>
<button id="abs_axis_8" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="LCTRL"/>
</button>
<button id="abs_axis_7" label="">
<device type="mouse" id="0" name=""/>
<event type="button" id="BUTTON_WHEELDOWN"/>
</button>
<button id="abs_axis_7" label="">
<device type="mouse" id="0" name=""/>
<event type="button" id="BUTTON_WHEELUP"/>
</button>
<button id="abs_axis_0" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="BACKSPACE"/>
</button>
<button id="abs_axis_1" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="ESCAPE"/>
</button>
<button id="abs_axis_2" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="BACKQUOTE"/>
</button>
<button id="abs_axis_3" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="UP"/>
</button>
<button id="abs_axis_5" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="DOWN"/>
</button>
<button id="abs_axis_6" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="LEFT"/>
</button>
<button id="abs_axis_4" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="RIGHT"/>
</button>
<button id="abs_axis_7" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="y"/>
</button>
<button id="abs_axis_9" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="SPACE"/>
</button>
<button id="abs_axis_10" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="r"/>
</button>
<button id="abs_axis_11" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="f"/>
</button>
<button id="abs_axis_13" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="q"/>
</button>
<button id="abs_axis_14" label="">
<device type="mouse" id="0" name=""/>
<event type="button" id="BUTTON_LEFT"/>
</button>
<button id="abs_axis_15" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="LSHIFT"/>
</button>
<button id="abs_axis_16" label="">
<device type="mouse" id="0" name=""/>
<event type="button" id="BUTTON_MIDDLE"/>
</button>
</button_map>
<axis_map>
<axis id="rel_axis_3" label="Aiming - y axis">
<device type="mouse" id="0" name=""/>
<event type="axis" id="y" dead_zone="0" multiplier="10.00" exponent="0.46" shape="Circle"/>
</axis>
<axis id="rel_axis_2" label="Aiming - x axis">
<device type="mouse" id="0" name=""/>
<event type="axis" id="x" dead_zone="0" multiplier="10" exponent="0.46" shape="Circle"/>
</axis>
<axis id="rel_axis_0-" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="a"/>
</axis>
<axis id="rel_axis_1+" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="s"/>
</axis>
<axis id="rel_axis_0+" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="d"/>
</axis>
<axis id="rel_axis_1-" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="w"/>
</axis>
</axis_map>
<joystick_corrections_list/>
</configuration>
</controller>
</root>
[01;33mWarning: [0mA device name is empty. Multiple mice and keyboards are not managed.
Press the guide button to activate the controller.
0 1534796782.087358, B (255)
0 1534796782.255309
0 1534796787.743329, guide (255)
0 1534796787.847308
0 1534796788.775311, lstick y (32768)
0 1534796788.823306
Exiting
Correct log?
Re: Raspberry Pi Xbox One problem
Posted: Wed Aug 22, 2018 6:03 am
by Matlo
Yes it is. Did you try pressing the guide button during 2 seconds? (as stated in the
documentation for your use case)
(please use the "Post Reply" button instead of the quote button)