[PS4][Rp3]Xbox one S Controller via bluetooth

Discuss everything to do with GIMX here
Post Reply
User avatar
kaiba_seto2004
Posts: 134
Joined: Sat Jul 15, 2017 9:15 am

[PS4][Rp3]Xbox one S Controller via bluetooth

Post by kaiba_seto2004 » Tue Apr 17, 2018 11:25 am

Does anybody success in using xbox one s controller via bluetooth on ps4 ( paired with Rp3)? Rp3 runs Raspbian Stretch version, Gimx 7.2
About me, only 2 buttons work: view and home, nothing more. When I try jstest-gtk to test, all buttons work like a charm.
I have no idea and totally lost :D

Any advice and suggestions will be greatly appreciated :)
P/s: I also tried with armbian on orange pi zero, same result (use this image -gimxos viewtopic.php?f=11&t=2309)
PS4 enthusiast.

User avatar
Matlo
Posts: 4818
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: [PS4][Rp3]Xbox one S Controller via bluetooth

Post by Matlo » Tue Apr 17, 2018 2:28 pm

Hard to tell without any log!
GIMX creator Donate Shop

User avatar
kaiba_seto2004
Posts: 134
Joined: Sat Jul 15, 2017 9:15 am

Re: [PS4][Rp3]Xbox one S Controller via bluetooth

Post by kaiba_seto2004 » Tue Apr 17, 2018 7:41 pm

So sorry about that.
Here is log

Code: Select all

global option -l with value `log.txt'
global option -c with value `config.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
GIMX 7.2 ARMv6
Debian GNU/Linux 9.2 (stretch)
Linux 4.13.13-sunxi #1 SMP Fri Nov 17 20:46:52 CET 2017 unknown
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 005: ID 054c:09cc Sony Corp. 
Bus 003 Device 004: ID 214b:7000  
Bus 003 Device 006: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 003 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 003 Device 002: ID 214b:7000  
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/:  Bus 08.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
/:  Bus 07.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
        |__ Port 1: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
        |__ Port 2: Dev 6, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M
        |__ Port 3: Dev 4, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 2: Dev 5, If 2, Class=Audio, Driver=snd-usb-audio, 12M
            |__ Port 2: Dev 5, If 0, Class=Audio, Driver=snd-usb-audio, 12M
            |__ Port 2: Dev 5, If 3, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 2: Dev 5, If 1, Class=Audio, Driver=snd-usb-audio, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
GIMX adapter detected, controller type is: DS4.
found pass-through device 0x054c:0x09cc
registered joystick 0 with name "Sony Computer Entertainment Wireless Controller"
using default refresh period: 10.00ms
keyboard 0 has name 'Xbox Wireless Controller' and virtual id 0
joystick 0 has name 'Sony Computer Entertainment Wireless Controller' and virtual id 0
joystick 1 has name 'Xbox Wireless Controller' and virtual id 0
Dump of /root/.gimx/config/config.xml:
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <controller id="1" dpi="0" type="DS4">
    <configuration id="1">
      <trigger type="" id="" name="" button_id="" switch_back="no" delay="0"/>
      <mouse_options_list/>
      <intensity_list/>
      <button_map>
        <button id="abs_axis_0" label="">
          <device type="keyboard" id="0" name="Xbox Wireless Controller"/>
          <event type="button" id="BACK"/>
        </button>
        <button id="abs_axis_2" label="">
          <device type="keyboard" id="0" name="Xbox Wireless Controller"/>
          <event type="button" id="HOMEPAGE"/>
        </button>
      </button_map>
      <axis_map/>
      <joystick_corrections_list/>
    </configuration>
  </controller>
</root>
Press the PS button to activate the controller.
Exiting
It really works with 2 buttons like that, I can still log in :D
PS4 enthusiast.

User avatar
Matlo
Posts: 4818
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: [PS4][Rp3]Xbox one S Controller via bluetooth

Post by Matlo » Tue Apr 24, 2018 8:44 pm

I think this is a driver issue. Try this: https://ubuntuforums.org/showthread.php ... st13578643
GIMX creator Donate Shop

User avatar
kaiba_seto2004
Posts: 134
Joined: Sat Jul 15, 2017 9:15 am

Re: [PS4][Rp3]Xbox one S Controller via bluetooth

Post by kaiba_seto2004 » Wed Apr 25, 2018 4:15 pm

Matlo wrote:
Tue Apr 24, 2018 8:44 pm
I think this is a driver issue. Try this: https://ubuntuforums.org/showthread.php ... st13578643
Thanks for your advice
But I used to tried that first, my xbox one s controller has already paired to Rp3 but when using detection only 2 buttons were regconized and device was keyboard !?!?
So I hope someone can try to use xbox one s controller on Rp3 to confirm.
Any references to SDL ?
PS4 enthusiast.

Post Reply