xpadneo icon indicating copy to clipboard operation
xpadneo copied to clipboard

rtl8761b (tp link ub500) compatibility report

Open andrew-ld opened this issue 1 year ago • 6 comments

Version of xpadneo

archlinux aur dkms 0.9.6-1

Controller Model

  • [ ] Xbox One S controller
  • [ ] Xbox Elite 2 controller
  • [x] Xbox Series X|S controller
  • [ ] Other:

Connection mode

  • [x] Bluetooth connection
  • [ ] USB cable (not yet supported)
  • [ ] Xbox Dongle connection (not yet supported)

Context

hi, i am opening this issue just to report the current status of compatibility between the xbox controller and the rtl8761b bluetooth receiver.

currently with the mainline kernel (6.10.6) and latest linux-firmware commit (2024-08-30) it disconnect and reconnect randomly.

this problem is not of bluez, nor of xpadneo, nor of the hardware itself.

the problem is a regression with the latest firmware, you go back to a previous version it works perfectly. i put on this repo (https://github.com/andrew-ld/rtl8761b-firmware) the latest working version of the firmware.

i also uploaded a package on aur https://aur.archlinux.org/packages/rtl8761b-firmware

andrew-ld avatar Aug 31 '24 17:08 andrew-ld

Can confirm the same problems with the dongle. And ASUS BT500 one as well, since they use the same chip. Looking at Realtek's Open Source repository on GitHub, the last time the driver was updated was 5 years ago so I'm not sure if they'll ever go back and fix it?

Are there even any Bluetooth 5.0 dongles that work with Linux and don't use this chip?

CosmicHeron avatar Sep 04 '24 09:09 CosmicHeron

I can confirm that reverting [1] fixes the issue

Looking at Realtek's Open Source repository on GitHub, the last time the driver was updated was 5 years ago so I'm not sure if they'll ever go back and fix it?

Realtek rtl8761bu implements HCI and works with a standard btusb driver. The only realtek-specific thing in the driver is an implementation of protocol for firmware uploading.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=1de22a39246513ce431de0971a6376093a94c5c1

puleglot avatar Sep 04 '24 10:09 puleglot

I've submitted firmware taken from the latest Windows driver package. Works fine for me. Not sure it will be accepted though. https://lore.kernel.org/linux-firmware/[email protected]/T/#u

puleglot avatar Sep 04 '24 14:09 puleglot

I've submitted firmware taken from the latest Windows driver package.

It probably doesn't work this way because firmware as part of driver packages is distributed under restrictive licenses. There's a similar problem with the xone driver which needs a firmware blob only available in the Xbox controller Windows driver.

Also, kernel devs cannot take it if it is not signed by official distributors.

But I pretty much like the approach of trying things out and confirming that some release fixes some bugs. This is a good confirmation of a known bug we can document.

kakra avatar Sep 04 '24 17:09 kakra

at least kernel developers could revert to the latest working version, it seems to fix even other devices https://github.com/andrew-ld/rtl8761b-firmware/issues/1

andrew-ld avatar Sep 04 '24 18:09 andrew-ld

Also, kernel devs cannot take it if it is not signed by official distributors.

I've CC'ed an author of previous commits, so I hope to get some feedback at least.

puleglot avatar Sep 04 '24 19:09 puleglot

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

github-actions[bot] avatar Dec 21 '24 04:12 github-actions[bot]