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

Sony WF-1000XM5 #120

Open
Sandrdr opened this issue Jan 1, 2025 · 2 comments
Open

Sony WF-1000XM5 #120

Sandrdr opened this issue Jan 1, 2025 · 2 comments

Comments

@Sandrdr
Copy link

Sandrdr commented Jan 1, 2025

Screenshot From 2025-01-01 13-28-34

-- could not connect to bluetooth socket --

Fedora 41, Gnome 47.2, Wayland

@dioxias
Copy link

dioxias commented Jan 2, 2025

check out this fork for the modern Bluetooth standard headphones https://github.com/mos9527/SonyHeadphonesClient

@Alpakash
Copy link

Alpakash commented Jan 6, 2025

Holy shit, thanks @dioxias, actually did fork this repo 10 months ago and I was about to go and develop it with OpenHands (old OpenDevin). However it seems it got already fixed, nice one. No heavy lifting needed anymore for this, it seems (still need to try your referenced link out).

It did state this after analyzing your shared fork with the current repo. After analyzing both codebases, I can see that the key differences for XM5 support are:

  1. Different Service UUID: The XM5 uses a different Bluetooth service UUID (956C7B26-D49A-4BA8-B03F-B17D393CB6E2)

  2. Update the COMMAND_TYPE enum to include all the new commands supported by XM5:

  • Battery level commands
  • Power off command
  • Connected devices commands
  • Voice guidance commands
  • Equalizer commands
  • Playback control commands
  • Speak to chat commands
  1. Update the NC/ASM control mechanism to match XM5's implementation:
  • NC can be enabled by setting ASM level to 0
  • Add support for Speak to Chat feature
  • Add support for Voice Guidance volume control

Edit:
Just verified your linked fork, it works like a charm ;-)
23161

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants