User Tools

Site Tools


Sidebar

hardwarerelated:sony_wm-1000-xm2_headset

Table of Contents

What?

Just some notes around the Sony WH-1000M2

  • pro: wireless: bluetooth profiles for headset and High Fidelity playback (A2DP)
  • pro: quite good noise cancelling
  • pro: build in rechargable battery
  • con: when the cable is used, only headphone functionality is available. No microphone signal goes over the analog cable.
  • con: after 60min of wearing, I need to take the headset off

bluetooth profiles

bluetooth profiles supported by the headset:

  • Advanced Audio Distribution Profile (A2DP)
  • Hands Free (HFP)
  • Headphones (HSP)
  • Audio/Video Remote Control Profile (AVRCP)
  • BTLE (Bluetooth Low Energy)

One can choose between pure Audio output (A2DP profile) in good quality, or hearing/listening (HFP/HSP profile) with lower quality. HFP in version 1.6 seems to also support better audio transport. The bluez5 implementation on Linux seems to support HFP v1.6 and HSP v1.2 (reference). Not sure how to see which version is used for communication with the headset.

“Hands-Free Profile (HFP) Version 1.6 adds optional support for wide band speech with the mSBC codec, a 16 kHz monaural configuration of the SBC codec mandated by the A2DP profile.”

# get the card index
CARDINDEX=$(pacmd list-cards | grep index|tail -1|awk '{print $2}')
echo $CARDINDEX
pacmd set-card-profile $CARDINDEX a2dp_sink
#     set-card-profile $CARDINDEX headset_head_unit
pacmd list-cards|grep active|tail -1

Fedora

# Let's install the required packages.  Pulls in pulseaudio.
# Before these codecs became available, package 
# pulseaudio-module-bluetooth got installed instead.
[root@спутник ~]# dnf install pulseaudio-module-bluetooth-freeworld
  
# Now restart pulseaudio.  Typically, one daemon is running
# on your system.  Execute the following as user, not root.
[chris@спутник ~]$ killall pulseaudio
[chris@спутник ~]$ pulseaudio --start

[root@спутник ~]# systemctl status bluetooth.service

[root@спутник ~]# bluetoothctl
[NEW] Controller 3C:77:E6:ED:1A:7F sputnik [default]
[NEW] Device F4:F9:51:C1:BC:90 F4-F9-51-C1-BC-90
[NEW] Device 70:26:05:9D:31:85 WH-1000XM2
[bluetooth]# trust 70:26:05:9D:31:85
Changing 70:26:05:9D:31:85 trust succeeded
[bluetooth]# connect 70:26:05:9D:31:85
Attempting to connect to 70:26:05:9D:31:85
[CHG] Device 70:26:05:9D:31:85 Connected: yes

$ sudo bluetoothctl
[bluetooth]# power on
[bluetooth]# agent on
[bluetooth]# default-agent
[bluetooth]# scan on
[NEW] Device XX:XX:XX:XX:XX:XX WH-1000XM2
[bluetooth]# scan off
[bluetooth]# trust XX:XX:XX:XX:XX:XX
[bluetooth]# pair XX:XX:XX:XX:XX:XX
Attempting to pair with XX:XX:XX:XX:XX:XX
[CHG] Device XX:XX:XX:XX:XX:XX Connected: yes
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: ... 
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: ... 
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: ... 
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: ... 
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: ... 
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: ... 
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: ... 
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: ... 
[CHG] Device XX:XX:XX:XX:XX:XX Paired: yes
Pairing successful
[CHG] Device XX:XX:XX:XX:XX:XX Connected: no
[bluetooth]# connect XX:XX:XX:XX:XX:XX
Attempting to connect to XX:XX:XX:XX:XX:XX
[CHG] Device XX:XX:XX:XX:XX:XX Connected: yes
Connection successful
[bluetooth]# quit
hardwarerelated/sony_wm-1000-xm2_headset.txt · Last modified: 2019/10/31 09:25 by chris