Rpi3+ + XBOX One Controller (2020)
-
Hello fellow tinkerers,
I have a Raspberry Pi 3B+ lying around and wanted to do sth. with it, so I wanted to set it up with RetroPie, but I cannot connect the XBOX One Controller to it, in any way.
I followed the Install instructions from here, using etcher on my opensuse Tumbleweed and enabled SSH (I prefer sitting infront of my computer over sitting on the sofa and typing on the lower table :-D )I tried the following things:
-
disable bt plugin - security bug (2021)
-
disable ERTM
-
xow
the current status is:
plugin disabled and xow installed.
Other than that I downloaded the image today and ran update.via usb-cable, I can connect the controller but after the config is done and I hit okay there is just a freeze.
with bluetoothctl:
pi@retropie:~ $ bluetoothctl Agent registered [bluetooth]# scan on Discovery started [CHG] Controller B8:27:EB:F8:B1:72 Discovering: yes [CHG] Device FC:8F:90:88:8B:BE RSSI: -42 [CHG] Device 7F:D7:71:32:5C:E8 RSSI: -97 [CHG] Device 7F:D7:71:32:5C:E8 TxPower: 8 [CHG] Device 00:1A:22:0C:06:09 RSSI: -91 [CHG] Device FC:8F:90:88:8B:BE TxPower: 0 [CHG] Device E4:42:A6:76:4E:08 RSSI: -89 [CHG] Device E4:42:A6:76:4E:08 TxPower: 9 [CHG] Device 6A:0E:92:AC:37:E4 RSSI: -95 [CHG] Device A8:8C:3E:46:3C:62 RSSI: -64 [CHG] Device A8:8C:3E:46:3C:62 TxPower: 20 [CHG] Device A8:8C:3E:46:3C:62 ManufacturerData Key: 0x0006 [CHG] Device A8:8C:3E:46:3C:62 ManufacturerData Value: 00 . [CHG] Device A8:8C:3E:46:3C:62 Connected: yes [CHG] Device A8:8C:3E:46:3C:62 ServicesResolved: yes [Xbox Wireless Controller]#
note: A8:8C:3E:46:3C:62 is the Wireless Controller, which as you can see connects.
However, the indicator (xbox button) keeps blinkin as if it is not connected.
running retropie_setup.sh > configuration > bluetooth > pair (with or without removing it first) does lead to "Searching ...:" and after a while I can select security mode (Try the first one, then second if that fails) and I get no feedback, other than the setup-tool returning to the previous window after a while. (or not, like just now. that might be related to me changing the service, though (first link)
When I can go to select the second option, the same happens, i.e. nothing.What are the tricks to get the controller to work?
I did a firmware-update sometime last year, with my windows machine (which at the moment does all the updates windows does after not being powered on for a while :-D )I am at a loss and hoping for your help,
all the best,
Karanda -
-
If it's an Bluetooth controller, then installing the
xpadneo
driver is enough.
If it's not Bluetooth, then you can try withxow
(orxone
?), but in this case there shouldn't be any need to add the controller via Bluetooth, it should work as a wired controller (assuming thexow
driver works). -
@mitu
I could install xow but not get it to work. However, my controller model is listed as untested, I think. I can only find the year, not the model type ...
First time now that I hear of xone, will give it a try.The controller can do both. On my Dualboot (kubuntu/windows) it works via bt and dongle (on both OSes)
Is xpadneo in the retropie_setup.sh as xpad?
Will try that as well and report back!
Thank you ๐ -
@karanda said in Rpi3+ + XBOX One Controller (2020):
The controller can do both. On my Dualboot (kubuntu/windows) it works via bt and dongle (on both OSes)
I doubt it. It's either Bluetooth, and connects to a Bluetooth dongle, or it doesn't and the dongle is a wireless communication module.
Is xpadneo in the retropie_setup.sh as xpad?
No, it's
xpadneo
. -
@mitu
the controller works without dongle on kubuntu and windows (I don't know why :-D ) - some featuers only work with the dongle (battery indicator etc.)
the dongle has a push-button on the front. (looks like this one: https://www.amazon.de/Microsoft-Wireless-Adapter-Windows-Interface/dp/B074QMN4YW came with the controller)xone isn't included in retropi, right?
-
@karanda said in Rpi3+ + XBOX One Controller (2020):
the controller works without dongle on kubuntu and windows (I don't know why :-D ) - some featuers only work with the dongle (battery indicator etc.)
OK, so it's a Bluetooth controller. I assume the 'extra' feature are not working since you don't have a driver that knows about them.
xone isn't included in retropi, right?
No, but you don't need it. If it's Bluetooth, then
xpadneo
is enough. -
I tried xpadneo just now ... not working :-D
what's kinda weird:
I installed xone and upon runningsudo xone-get-firmware.sh
which I copied from the repo
I getsudo: xone-get-firmware.sh: command not found
-
@karanda said in Rpi3+ + XBOX One Controller (2020):
I tried xpadneo just now ... not working :-D
Make sure you remove any Bluetooth devices registered (in the RetroPie Bluetooth dialog), then re-pair again your controller via Bluetooth. After installing
xpadneo
, reboot your system for good measure.I installed xone and upon running...
I'm not familiar with
xone
's installation procedures, but you don't need it. As said in their Github page, it's for Wired or devices using the Wireless dongle - which it doesn't seem to apply to your controller. -
I removed all the devices, at the moment restarting.
the configure bluetooth-devices dialog is open at the moment (via ssh)
I enter the remove bluetooth device and remove it (again?)
"Show paired and connected devices" --> no devices
pair device: Searching --> not found, so I restart the search. It's found now
I select the controller and DisplayYesNo the system "freezes" (or takes a while at least)
Then I either get nothing (last time) or an error, which I hope to replicate now, to take a screenshot.
No matter what hoppens, though, the controller's xbox-button keeps blinking and the device isn't recognised.I waited for a while now and the controller turned off automatically.
edit: it is in the list of devices that I can remove now?
-
@karanda said in Rpi3+ + XBOX One Controller (2020):
edit: it is in the list of devices that I can remove now?
I'm not sure what the above means.
If pairing doesn't work via the RetroPie dialog, try to set-it up viabluetoothctl
. Check withdmesg
thatxpadneo
driver gets loaded and you don't have another driver likexow
that takes over. Are you using the dongle or just put the controller in pairing mode without it ? -
@mitu said in Rpi3+ + XBOX One Controller (2020):
@karanda said in Rpi3+ + XBOX One Controller (2020):
edit: it is in the list of devices that I can remove now?
I'm not sure what the above means.
in the list under "S- Show paired and connected devices"
If pairing doesn't work via the RetroPie dialog, try to set-it up via
bluetoothctl
. Check withdmesg
thatxpadneo
driver gets loaded and you don't have another driver likexow
that takes over. Are you using the dongle or just put the controller in pairing mode without it ?I removed xow (and xone) now rebooting. Without the dongle.
will try bluetoothctl and update the postedit:
[NEW] Device A8:8C:3E:46:3C:62 Xbox Wireless Controller [bluetooth]# pair A8:8C:3E:46:3C:62 Attempting to pair with A8:8C:3E:46:3C:62 [CHG] Device A8:8C:3E:46:3C:62 Connected: yes Failed to pair: org.bluez.Error.ConnectionAttemptFailed [CHG] Device A8:8C:3E:46:3C:62 Connected: no [CHG] Device A8:8C:3E:46:3C:62 ManufacturerData Key: 0x0006 [CHG] Device A8:8C:3E:46:3C:62 ManufacturerData Value: 03 00 80 ... [bluetooth]# trust A8:8C:3E:46:3C:62 [CHG] Device A8:8C:3E:46:3C:62 Trusted: yes Changing A8:8C:3E:46:3C:62 trust succeeded [bluetooth]# pair A8:8C:3E:46:3C:62 Attempting to pair with A8:8C:3E:46:3C:62 [CHG] Device A8:8C:3E:46:3C:62 Connected: yes [NEW] Primary Service /org/bluez/hci0/dev_A8_8C_3E_46_3C_62/service0008 00001801-0000-1000-8000-00805f9b34fb Generic Attribute Profile [NEW] Primary Service /org/bluez/hci0/dev_A8_8C_3E_46_3C_62/service0009 0000180a-0000-1000-8000-00805f9b34fb Device Information [NEW] Characteristic /org/bluez/hci0/dev_A8_8C_3E_46_3C_62/service0009/char000a 00002a29-0000-1000-8000-00805f9b34fb Manufacturer Name String [NEW] Characteristic /org/bluez/hci0/dev_A8_8C_3E_46_3C_62/service0009/char000c 00002a50-0000-1000-8000-00805f9b34fb PnP ID [NEW] Characteristic /org/bluez/hci0/dev_A8_8C_3E_46_3C_62/service0009/char000e 00002a26-0000-1000-8000-00805f9b34fb Firmware Revision String [NEW] Characteristic /org/bluez/hci0/dev_A8_8C_3E_46_3C_62/service0009/char0010 00002a25-0000-1000-8000-00805f9b34fb Serial Number String [NEW] Primary Service /org/bluez/hci0/dev_A8_8C_3E_46_3C_62/service0024 00000001-5f60-4c4f-9c83-a7953298d40d Vendor specific [NEW] Characteristic /org/bluez/hci0/dev_A8_8C_3E_46_3C_62/service0024/char0025 00000002-5f60-4c4f-9c83-a7953298d40d Vendor specific [NEW] Characteristic /org/bluez/hci0/dev_A8_8C_3E_46_3C_62/service0024/char0027 00000003-5f60-4c4f-9c83-a7953298d40d Vendor specific [NEW] Characteristic /org/bluez/hci0/dev_A8_8C_3E_46_3C_62/service0024/char0029 00000004-5f60-4c4f-9c83-a7953298d40d Vendor specific [CHG] Device A8:8C:3E:46:3C:62 UUIDs: 00000001-5f60-4c4f-9c83-a7953298d40d [CHG] Device A8:8C:3E:46:3C:62 UUIDs: 00001800-0000-1000-8000-00805f9b34fb [CHG] Device A8:8C:3E:46:3C:62 UUIDs: 00001801-0000-1000-8000-00805f9b34fb [CHG] Device A8:8C:3E:46:3C:62 UUIDs: 0000180a-0000-1000-8000-00805f9b34fb [CHG] Device A8:8C:3E:46:3C:62 UUIDs: 0000180f-0000-1000-8000-00805f9b34fb [CHG] Device A8:8C:3E:46:3C:62 UUIDs: 00001812-0000-1000-8000-00805f9b34fb [CHG] Device A8:8C:3E:46:3C:62 ServicesResolved: yes [CHG] Device A8:8C:3E:46:3C:62 Modalias: usb:v045Ep0B13d0509 [Xbox Wireless Controller]#
controller still blinking
pi@retropie:~ $ dmesg | grep -i bluetooth [ 10.360287] Bluetooth: Core ver 2.22 [ 10.360569] Bluetooth: HCI device and connection manager initialized [ 10.370518] Bluetooth: HCI socket layer initialized [ 10.370558] Bluetooth: L2CAP socket layer initialized [ 10.370639] Bluetooth: SCO socket layer initialized [ 10.399310] Bluetooth: HCI UART driver ver 2.3 [ 10.399340] Bluetooth: HCI UART protocol H4 registered [ 10.399473] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 10.399790] Bluetooth: HCI UART protocol Broadcom registered [ 13.072164] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 13.072181] Bluetooth: BNEP filters: protocol multicast [ 13.072206] Bluetooth: BNEP socket layer initialized [ 184.140013] Bluetooth: hci0: security requested but not available [ 184.792220] Bluetooth: hci0: security requested but not available [ 244.778802] Bluetooth: hci0: security requested but not available [ 245.851431] Bluetooth: hci0: security requested but not available
that doesn't look helpful?
-
in the list under "S- Show paired and connected devices"
Yes, I know the menu, I didn't undestand your question:
edit: it is in the list of devices that I can remove now?
since you said you already removed the devices present.
@karanda said in Rpi3+ + XBOX One Controller (2020):
that doesn't look helpful?
It doesn't show
xpadneo
being loaded. Are you sure you have installed it ? If you runlsmod | grep xpadneo
what's the output ?
-
@mitu said in Rpi3+ + XBOX One Controller (2020):
in the list under "S- Show paired and connected devices"
Yes, I know the menu, I didn't undestand your question:
edit: it is in the list of devices that I can remove now?
since you said you already removed the devices present.
a sorry, the question mark was there bcs it appeared again and that was confusing to me
@karanda said in Rpi3+ + XBOX One Controller (2020):
that doesn't look helpful?
It doesn't show
xpadneo
being loaded. Are you sure you have installed it ? If you runlsmod | grep xpadneo
what's the output ?
no output, but the driver manager shows installed from source
-
@karanda said in Rpi3+ + XBOX One Controller (2020):
no output, but the driver manager shows installed from source
OK, so it's installed but not loaded. You can load it with
sudo modprobe hid-xpadneo
.Can you run
sudo dmesg -c
then pair the controller (through whatever method). Run
dmesg
again and post the output. -
@mitu said in Rpi3+ + XBOX One Controller (2020):
@karanda said in Rpi3+ + XBOX One Controller (2020):
no output, but the driver manager shows installed from source
OK, so it's installed but not loaded. You can load it with
sudo modprobe hid-xpadneo
.did that
Can you run
sudo dmesg -c
did that as well
then pair the controller (through whatever method). Run
dmesg
again and post the output.I assume dmesg -c ?
pi@retropie:~/RetroPie-Setup $ sudo dmesg -c [ 2902.117964] Bluetooth: hci0: security requested but not available [ 2903.190508] Bluetooth: hci0: security requested but not available [ 2922.078896] Bluetooth: hci0: security requested but not available [ 2944.406203] Bluetooth: hci0: security requested but not available [ 2945.478330] Bluetooth: hci0: security requested but not available [ 2961.045668] Bluetooth: hci0: security requested but not available
I didn't reboot in between
edit:
pi@retropie:~/RetroPie-Setup $ lsmod | grep xpadneo hid_xpadneo 24576 0 ff_memless 16384 1 hid_xpadneo
-
You didn't mention which RetroPie version/image you are using. At the beginning you mentioned some configuration for BT which may actually be detrimental to your setup right now.
xpadneo
takes care of any issues with Bluetooth, so there shouldn't be any configuration needed. -
@mitu said in Rpi3+ + XBOX One Controller (2020):
You didn't mention which RetroPie version/image you are using. At the beginning you mentioned some configuration for BT which may actually be detrimental to your setup right now.
xpadneo
takes care of any issues with Bluetooth, so there shouldn't be any configuration needed.yeah, I fear that I might have "overconfigured now" ... and obviously I didn'T backup ... :-D
the official image from https://retropie.org.uk/download/ for raspberry pi 3, sorry could've been more specific
Maybe I should just reflash and start from scratch with xpadneo ... :-D
as to forum-etiquette: should I, if problems arise after a fresh start rather start a new thread or continue here? depends on forum-culture and I am not a part of that, yet :-D -
@karanda Just update the current topic.
-
@mitu And I am back:
fresh install, same RPi 3-Image
only thing I changed is locale and installed xpadneo (and the standard-password )after connecting via retropie-setup.sh
(DisplayYesNo), the controller vibrated quickly as if connected butis still blinking until it turns off automatically - at the moment a reboot is on it's way which now ended with no different results.edit: after the reboot: lsmod ยป| grep xpadneo has no output, again.
edit2: this is happening in bluetotohctl:
-
No idea then - if
xpadneo
cannot work with it, then try maybe the dongle and see if it appears as a regular (i.e. wired) controller.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.