Skip to content
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

rtl8761b (tp link ub500) compatibility report #492

Open
2 of 7 tasks
andrew-ld opened this issue Aug 31, 2024 · 6 comments
Open
2 of 7 tasks

rtl8761b (tp link ub500) compatibility report #492

andrew-ld opened this issue Aug 31, 2024 · 6 comments
Labels
0 | type: hardware support Support third-party hardware and clones 0 | type: third party bug

Comments

@andrew-ld
Copy link

Version of xpadneo

archlinux aur dkms 0.9.6-1

Controller Model

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

Connection mode

  • 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

@kakra kakra added the 0 | type: hardware support Support third-party hardware and clones label Sep 1, 2024
@CosmicHeron
Copy link

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?

@puleglot
Copy link
Contributor

puleglot commented Sep 4, 2024

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
Copy link
Contributor

puleglot commented Sep 4, 2024

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

@kakra
Copy link
Collaborator

kakra commented Sep 4, 2024

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.

@andrew-ld
Copy link
Author

at least kernel developers could revert to the latest working version, it seems to fix even other devices andrew-ld/rtl8761b-firmware#1

@puleglot
Copy link
Contributor

puleglot commented Sep 4, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 | type: hardware support Support third-party hardware and clones 0 | type: third party bug
Projects
Status: Known
Development

No branches or pull requests

4 participants