-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Controller connected... but is it? #194
Comments
As long as the controller's light pulsates, it is not connected. Fast pulsate means "pairing mode", slow pulsate means "trying to connect". These steps should work:
If the controller changes from fast to slow pulsate, the pairing mode timed out before you finished the above steps. If it changes to slow pulsate in step 5-6 instead of stopping pulsate, the connection was not successful. This may be due to a missing link key. Try purging the device from your Bluetooth database first before pairing it again, this usually solves the issue. You can verify if the link key exists by going to
If you ever connected different BT dongles, you may see the key multiple times. A key should exist for the dongle+controller MAC pair you are actually using currently. You may want to delete the MAC directory of your controller and restart Bluetooth to start over from scratch. I needed to do that once to get the connection working again, somehow Bluetooth refused to add a link key. Without a link key you'd need to manually confirm the connection each time the controller is trying to connect. I wonder why the modalias line is missing for you... My output:
As you can see, the controller connects, then immediately disconnects and reconnects during initialization. That could actually explain the problem you're observing: When missing the link key and the controller immediately disconnects and reconnects after pairing, the new connection cannot be automatically established. You would need to manually issue another connect command. |
Thank you for your reply. I looked into the
At any rate, I removed the controller directory, restarted the system, and repeated the connection procedure:
Once again, the terminal told me the procedure was successful, but the controller's light did not stop pulsating (fast, then slow), until it turned off altogether. If I try to reconnect the controller, I have to manually repeat the connect procedure (and I have the same results).
And this is my new output (this time the modalias is there):
So, I am back to square one :/ |
So to have a clear statement: If you issue the connect command twice, the connection is successful? |
Every time I issue the connect command, the terminal reports
but the controller's light keeps pulsating until it turns off completely. So, the connection is really not successful. |
Moreover, after the controller turns off, if I turn it on again and issue the connect command, the terminal reports
In order to have the terminal reporting that the connection is successful, I have to put the controller into pairing mode again and then issue the connect command. But after a while, as I said, it turns off. |
Is your |
How can I check? (Apologies, I'm kind of new to linux.) At any rate, I've made a fresh install of Ubuntu a few days ago and I've been using my connection regularly with a bluetooth speaker; never had a problem with it. So, I suppose my computer's bluetooth is working properly. Thanks again for your interest! |
Thinking about this again, it may just say that Also, please try running |
I run Edit: is it possible that the problem is with the controller, and not with my computer? Is there a way I can reset it? |
While there is a general problem with the controller not fully compatible with many Bluetooth dongles, this is most likely an issue that can be fixed by just using a different dongle. To completely reset the controller, connect it to a different Bluetooth adapter (i.e. your mobile, or another computer), then pair again with the previous system. I also recommend to upgrade the firmware from a Windows computer. This also seems to reset the Bluetooth state and you'd need to pair the controller again. If all this does not work, then try a different dongle. I'm having good results with this: But that may totally depend on kernel version and probably also USB chipset. I'm running kernel 5.4 LTS. |
same issue as op here, i recently updated the kernel, may that be it? |
Did it work before? |
I successfully connected the controller to my phone, and then tried again with my pc, but it didn't work. I don't have access to a windows machine now - as soon as I do I'll update the firmware and see if it works... BTW I'm running 5.4 LTS, too. |
yes, it did. |
Then it is probably related to a change in the kernel. Since I cannot reproduce it, someone else may want to try a bisect between the working kernel and the non-working kernel (point 0 releases, or otherwise the bisect may be unpredictable). Anyone here who can narrow the range down to two point-0 releases of the kernel between which the feature broke? |
Please refer to #198. |
I'm having this issue too. |
Hello, I'm coming back to this issue a year later just to let you know that in this time frame I changed a few distros with different kernel versions and the controller didn't connect properly on any of them--just as described above. Today, finally, I had the chance to upgrade the controller's firmware on a Windows machine via usb and now the controller works perfectly fine on Linux (tested with Kubuntu 21.04). So I guess it was not a problem simply related to kernel versions? I don't know if this information is still relevant to you, but I thought I should share it in case it might be. In any case, thanks again for the help and attention! |
Microsoft should really provide a way to upgrade the controller software through Linux, maybe by using fwupd. That would save us a lot of headache. @ALL, please upgrade your firmware first before reporting problems. Thanks. ;-) |
Following the instructions I pair, trust, and connect my xbox one controller via bluetooth. The terminal tells me that the connection is successful, but the controller's light never stops pulsating (at first it keeps pulsating fast, then it slows). After a while, it turns off altogether - interrupting the connection. Also, when the connection is established, the controller does not rumble. If I open the controller settings in Steam, the controller seems to be recognized - but I am not sure it really works - as I said, it turns off shortly after.
[Xbox Wireless Controller 7EED803C5A1D]# info C8:3F:26:3B:23:76
Device C8:3F:26:3B:23:76 (public)
Name: Xbox Wireless Controller 7EED803C5A1D
Alias: Xbox Wireless Controller 7EED803C5A1D
Class: 0x00000508
Icon: input-gaming
Paired: yes
Trusted: yes
Blocked: no
Connected: yes
LegacyPairing: no
UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)
UUID: Human Interface Device... (00001124-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
I am using Ubuntu 20.04 (5.4.0-33-generic)
Wireless card: Intell Killer AX1650 (bluetooth 5.0)
The text was updated successfully, but these errors were encountered: