User Tools

Site Tools


hardwarerelated:sony_wm-1000-xm2_headset

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

hardwarerelated:sony_wm-1000-xm2_headset [2019/02/22 07:05]
chris created
hardwarerelated:sony_wm-1000-xm2_headset [2019/02/22 07:14] (current)
chris
Line 21: Line 21:
  
 <​code>​ <​code>​
-pacmd +# get the card index 
->>> ​set-card-profile ​a2dp_sink +CARDINDEX=$(pacmd list-cards | grep index|tail -1|awk '​{print $2}'​) 
->>> ​set-card-profile ​headset_head_unit +echo $CARDINDEX 
- +pacmd set-card-profile ​$CARDINDEX ​a2dp_sink 
-[root@Гага́рин ~]# hcidump avdtp +#     set-card-profile ​$CARDINDEX ​headset_head_unit 
-HCI sniffer ​Bluetooth packet analyzer ver 5.43 +pacmd list-cards|grep active|tail ​-1
-device: hci0 snap_len: 1500 filter: 0x400 +
-< AVDTP(s): Discover cmd: transaction 11 nsp 0x00 +
-> AVDTP(s): Discover rsp: transaction 11 nsp 0x00 +
-    ACP SEID 3 Audio Sink +
-    ACP SEID - Audio Sink +
-< AVDTP(s): All Capabilities cmd: transaction 12 nsp 0x00 +
-    ACP SEID 3 +
-> AVDTP(s): All Capabilities rsp: transaction 12 nsp 0x00 +
-    Media Transport +
-    Media Codec - MPEG-2,4 AAC +
-      MPEG-2 AAC LC MPEG-4 AAC LC  +
-      8kHz 11.025kHz 12kHz 16kHz 22.05kHz 24kHz 32kHz 44.1kHz 48kHz  +
-      1 2 Channels +
-      320000bps VBR +
-    Content Protection +
-      02 00  +
-    Delay Reporting +
-< AVDTP(s): All Capabilities cmd: transaction 13 nsp 0x00 +
-    ACP SEID 1 +
-> AVDTP(s): All Capabilities rsp: transaction 13 nsp 0x00 +
-    Media Transport +
-    Media Codec - SBC +
-      16kHz 32kHz 44.1kHz 48kHz  +
-      Mono DualChannel Stereo JointStereo  +
-      4 8 12 16 Blocks +
-      4 8 Subbands +
-      SNR Loudness  +
-      Bitpool Range 2-53 +
-    Content Protection +
-      02 00  +
-    Delay Reporting +
-< AVDTP(s): Set config cmd: transaction 14 nsp 0x00 +
-    ACP SEID 1 - INT SEID 1 +
-    Media Transport +
-    Media Codec - SBC +
-      44.1kHz  +
-      JointStereo  +
-      16 Blocks +
-      8 Subbands +
-      Loudness  +
-      Bitpool Range 2-53 +
-> AVDTP(s): Set config rsp: transaction 14 nsp 0x00 +
-< AVDTP(s): Open cmd: transaction 15 nsp 0x00 +
-    ACP SEID 1 +
-> AVDTP(s): Open rsp: transaction 15 nsp 0x00+
 </​code>​ </​code>​
-http://​askubuntu.com/​questions/​425333/​how-to-make-aptx-capable-bluetooth-equipment-work-with-ubuntu 
  
-====== Fedora ​24 ======+====== Fedora ======
 <​code>​ <​code>​
 [root@спутник ~]# dnf install pulseaudio-module-bluetooth.x86_64 [root@спутник ~]# dnf install pulseaudio-module-bluetooth.x86_64
Line 85: Line 39:
 [NEW] Controller 3C:​77:​E6:​ED:​1A:​7F sputnik [default] [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 F4:​F9:​51:​C1:​BC:​90 F4-F9-51-C1-BC-90
-[NEW] Device ​04:52:C7:33:D3:8F chorn Bose QuietComfort 35 +[NEW] Device ​70:26:05:9D:31:85 WH-1000XM2 
-[bluetooth]#​ show +[bluetooth]#​ trust 70:26:05:9D:31:85 
-Controller 3C:​77:​E6:​ED:​1A:​7F +Changing ​70:26:05:9D:31:85 trust succeeded 
-        Name: sputnik +[bluetooth]#​ connect ​70:26:05:9D:31:85 
-        Alias: sputnik +Attempting to connect to 70:26:05:9D:31:85 
-        Class: 0x0c010c +[CHG] Device ​70:26:05:9D:31:85 Connected: yes
-        Powered: yes +
-        Discoverable:​ no +
-        Pairable: yes +
-        UUID: Headset AG                (00001112-0000-1000-8000-00805f9b34fb) +
-        UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb) +
-        UUID: A/V Remote Control ​       (0000110e-0000-1000-8000-00805f9b34fb) +
-        UUID: Generic Access Profile ​   (00001800-0000-1000-8000-00805f9b34fb) +
-        UUID: PnP Information ​          ​(00001200-0000-1000-8000-00805f9b34fb) +
-        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb) +
-        UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb) +
-        UUID: Audio Source ​             (0000110a-0000-1000-8000-00805f9b34fb) +
-        Modalias: usb:​v1D6Bp0246d052B +
-        Discovering:​ no +
-[bluetooth]#​ trust 04:52:C7:33:D3:8F +
-Changing ​04:52:C7:33:D3:8F trust succeeded +
-[bluetooth]#​ connect ​04:52:C7:33:D3:8F +
-Attempting to connect to 04:52:C7:33:D3:8F +
-[CHG] Device ​04:52:C7:33:D3:8F Connected: yes +
-Failed to connect: org.bluez.Error.Failed +
-[CHG] Device 04:​52:​C7:​33:​D3:​8F Connected: no +
- +
-# At this point I started the bose app on the android phone, +
-# and did set the headphone into '​bluetooth pairing mode'​ +
-# in moving the switch right +
- +
-[bluetooth]#​ discoverable yes +
-Changing discoverable on succeeded +
-[CHG] Controller 3C:​77:​E6:​ED:​1A:​7F Discoverable:​ yes +
-[bluetooth]#​ scan on +
-Discovery started +
-[CHG] Controller 3C:​77:​E6:​ED:​1A:​7F Discovering:​ yes +
- +
-# removing all devices, adding them new +
- +
-[bluetooth]#​ devices +
-Device F4:​F9:​51:​C1:​BC:​90 F4-F9-51-C1-BC-90 +
-Device 04:​52:​C7:​33:​D3:​8F chorn Bose QuietComfort 35 +
-[bluetooth]#​ remove F4:​F9:​51:​C1:​BC:​90 +
-[DEL] Device F4:​F9:​51:​C1:​BC:​90 F4-F9-51-C1-BC-90 +
-Device has been removed +
-[NEW] Device F4:​F9:​51:​C1:​BC:​90 F4-F9-51-C1-BC-90 +
-[bluetooth]#​ remove 04:​52:​C7:​33:​D3:​8F +
-[DEL] Device 04:​52:​C7:​33:​D3:​8F chorn Bose QuietComfort 35 +
-Device has been removed +
-[NEW] Device 04:​52:​C7:​33:​D3:​8F chorn Bose QuietComfort 35 +
-[bluetooth]#​ trust 04:​52:​C7:​33:​D3:​8F +
-[CHG] Device 04:​52:​C7:​33:​D3:​8F Trusted: yes +
-Changing 04:​52:​C7:​33:​D3:​8F trust succeeded +
-[bluetooth]#​ connect 04:​52:​C7:​33:​D3:​8F +
-Attempting to connect to 04:​52:​C7:​33:​D3:​8F +
-[CHG] Device 04:​52:​C7:​33:​D3:​8F Connected: yes +
-[CHG] Device 04:​52:​C7:​33:​D3:​8F UUIDs: 00000000-deca-fade-deca-deafdecacaff +
-[CHG] Device 04:​52:​C7:​33:​D3:​8F UUIDs: 00001101-0000-1000-8000-00805f9b34fb +
-[CHG] Device 04:​52:​C7:​33:​D3:​8F UUIDs: 00001108-0000-1000-8000-00805f9b34fb +
-[CHG] Device 04:​52:​C7:​33:​D3:​8F UUIDs: 0000110b-0000-1000-8000-00805f9b34fb +
-[CHG] Device 04:​52:​C7:​33:​D3:​8F UUIDs: 0000110c-0000-1000-8000-00805f9b34fb +
-[CHG] Device 04:​52:​C7:​33:​D3:​8F UUIDs: 0000110e-0000-1000-8000-00805f9b34fb +
-[CHG] Device 04:​52:​C7:​33:​D3:​8F UUIDs: 0000111e-0000-1000-8000-00805f9b34fb +
-[CHG] Device 04:​52:​C7:​33:​D3:​8F UUIDs: 00001200-0000-1000-8000-00805f9b34fb +
-[CHG] Device 04:​52:​C7:​33:​D3:​8F ServicesResolved:​ yes +
-[CHG] Device 04:​52:​C7:​33:​D3:​8F Paired: yes +
-Connection successful +
-[chorn Bose QuietComfort 35]#  +
- +
-# At this point, a sound source can be started, and +
-# in '​pavucontrol'​ the headphone can be selected as +
-# output sink+
 </​code>​ </​code>​
- 
-===== fixing HSF/HSP bluetooth profile ===== 
-When connecting the Quietcomfort 35 to my Thinkpad x230, I was able to listen music with the A2DP profile. Yet, selecting the HSF/HSP, I did not hear anything/​was not able to use the microphone. This message appeared in the logs: 
-<​code>​ 
-bluetooth hci0: Direct firmware load for brcm/​BCM20702A1-0a5c-21e6.hcd failed with error -2 
-</​code>​ 
-The firmware is not provided by Fedora and has to be extracted from the driver, following these instructions:​ http://​www.thinkwiki.org/​wiki/​Installing_OpenSUSE_Leap_42.1_on_a_ThinkPad_T430s 
- 
-<​code>​ 
-[root@спутник ~]# dnf install innoextract 
-[root@спутник ~]# lsusb|grep -i bluet 
-Bus 001 Device 003: ID 0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad] 
- 
-[chris@спутник bt]$ innoextract g4wh01ww.exe ​ 
-[chris@спутник bt]$ find .|grep inf 
-./​app/​Win32/​bcbtums-win8x86-brcm.inf 
-./​app/​Win64/​bcbtums-win8x64-brcm.inf 
- 
-[chris@спутник bt]$ grep -i 21E6 ./​app/​Win64/​bcbtums-win8x64-brcm.inf 
-[..] 
-[chris@спутник bt]$ vi ./​app/​Win64/​bcbtums-win8x64-brcm.inf 
-[ find the reference of 21E6 to file ./​app/​Win64/​BCM20702A1_001.002.014.1483.1669.hex 
-[chris@спутник bt]$ hex2hcd ./​app/​Win64/​BCM20702A1_001.002.014.1483.1669.hex 
-Converting ./​app/​Win64/​BCM20702A1_001.002.014.1483.1669.hex to ./​app/​Win64/​BCM20702A1_001.002.014.1483.1669.hcd 
-[chris@спутник bt]$  
-[chris@спутник bt]$ ll ./​app/​Win64/​BCM20702A1_001.002.014.1483.1669.hcd 
--rw-r--r--. 1 chris chris 35042 11月 19 13:39 ./​app/​Win64/​BCM20702A1_001.002.014.1483.1669.hcd 
-[chris@спутник bt]$ sudo cp ./​app/​Win64/​BCM20702A1_001.002.014.1483.1669.hcd ​ /​lib/​firmware/​brcm/​BCM20702A1-0a5c-21e6.hcd 
-[root@спутник ~]# modprobe -r btusb 
-[root@спутник ~]# modprobe btusb 
-</​code>​ 
- 
- 
  
 ===== links ===== ===== links =====
   * [[https://​www.youtube.com/​watch?​v=G5X9oUNSYyE|youtube:​ the Luigi headphone test]]   * [[https://​www.youtube.com/​watch?​v=G5X9oUNSYyE|youtube:​ the Luigi headphone test]]
   * [[https://​www.youtube.com/​watch?​v=VnzIIhLNHqg|Queen - Bohemian Rhapsody - AUDIO 3DD]]   * [[https://​www.youtube.com/​watch?​v=VnzIIhLNHqg|Queen - Bohemian Rhapsody - AUDIO 3DD]]
hardwarerelated/sony_wm-1000-xm2_headset.txt · Last modified: 2019/02/22 07:14 by chris