View previous topic :: View next topic |
Author |
Message |
Duco Ergo Sum Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 06 Dec 2005 Posts: 154 Location: Winsford
|
Posted: Thu Jan 21, 2016 8:06 pm Post subject: Bluetooth headset mic not visible |
|
|
Hi,
I have a Bluetooth headset which can connect to my computer and playback sounds. However, the mic does not show up. While playing back music I have tried:
This has only returned internal devices which at the moment do not have any inputs attached.
Installing Blueman exposes three profiles:
Headset
Handsfree
Audio Sink
Both Headset and Audio Sink output sound while Handsfree does not. None seem to offer any recording option. I've enabled every applicable input option in the kernel that I can find. The Bluetooth mic just fails to appear.
My current theory is that this isn't a audio sub-system problem due there being no evidence of the input device appearing. Please help.
Thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Logicien Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/42705619553e95f9decf93.jpg)
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Thu Jan 21, 2016 9:25 pm Post subject: |
|
|
Hi,
you cannot manage Bluetooth audio with Alsa since Bluetooth version 5. The Bluetooth stack move to Pulseaudio for audio Bluetooth support in this version. So, if you use Bluetooth 5, you can see input and output devices in Pulseaudio and use your mic.
For awhile, Pulseaudio did'nt support Headset Head Unit (HSP/HFP) so, I could not use my Bluetooth mic at all. Now this choice appear in Pavucontrol. I haven't use my Bluetooth mic yet so, I cannot say if it work or not. I use Bluetooth audio mainly for playback.
If you use Bluetooth 4, than it support Alsa. You need to configure your /etc/asound.conf and/or your ~/.asoundrc for Bluetooth. With the Bluetooth MAC address Alsa understand to direct audio data to your Bluetooth headset. For Bluetooth mic, I haven't set alsa at all. It is documented on the web.
http://www.alsa-project.org/ _________________ Paul |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Duco Ergo Sum Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 06 Dec 2005 Posts: 154 Location: Winsford
|
Posted: Thu Jan 21, 2016 11:07 pm Post subject: |
|
|
Hi,
Thanks for your quick reply.
I am using Bluetooth version 5 and Pulseaudio. I have tried selecting Headset Head Unit (HSP/HFP) in the Pavucontrol. Sadly this hasn't helped. What I have noted is that sounds played back are picked up. I have recorded a few seconds of from the beginning of the Skype test call but not my own voice.
I have added these use flags to Pulseaudio (although unhelpful so far, are probably necessary).
+ - native-headset : Build with native HSP backend for bluez 5.
+ - ofono-headset : Build with oFono HFP backend for bluez 5, requires net-misc/ofono. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Logicien Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/42705619553e95f9decf93.jpg)
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Fri Jan 22, 2016 11:22 am Post subject: |
|
|
Is your Alsa configuration redirect audio data to Pulseaudio? You must have an /etc/asound.conf and/or an ~/.asoundrc like this:
Code: | pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
} |
HSP/HFP may be just not usable. Ofono is an alternative. _________________ Paul |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Duco Ergo Sum Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 06 Dec 2005 Posts: 154 Location: Winsford
|
Posted: Sat Jan 23, 2016 12:37 am Post subject: |
|
|
Hi,
I can't find either file /etc/asound.conf nor ~/.asoundrc. None of my installed ebuilds claim ownership. I have tried creating a /etc/asound.conf file as described below, this had no impact.
I have attempted to affect gstreamer properties but there doesn't seem to be any ebuilds that interact with gstreamer. I am using the KDE desktop profile which might explain that in a small way at least.
Also I tried unmasking the latest version of bluez to see that would have an impact. Since then I've reverted to the stable Bluez ebuild.
When I select the Headset Head Unit (HSP/HFP) in the Pavucontrol all sound output ceases, I am unable to record anything. When I have High Fidelity Playback {A2DP Sink} selected then there is sound output,and when I try to record whatever is on the output channel is recorded but now mic input.
Thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zx2c4 Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/8936635134345e6d11d93c.gif)
Joined: 09 Jun 2005 Posts: 177
|
Posted: Wed Aug 17, 2016 2:06 pm Post subject: |
|
|
Quote: | When I select the Headset Head Unit (HSP/HFP) in the Pavucontrol all sound output ceases, I am unable to record anything. When I have High Fidelity Playback {A2DP Sink} selected then there is sound output,and when I try to record whatever is on the output channel is recorded but no mic input.
|
Did you ever fix this? I'm facing the same issue. A2DP mode enables only a sink, not a source. HSP/HFP just hangs for recording or playback. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Duco Ergo Sum Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 06 Dec 2005 Posts: 154 Location: Winsford
|
Posted: Thu Aug 18, 2016 9:31 am Post subject: Not fixed |
|
|
Hi,
Unfortunately, I have not managed to fix this. It has fallen on to the back burner. I'll take another look at this over the weekend.
Thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Logicien Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/42705619553e95f9decf93.jpg)
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Thu Aug 18, 2016 6:23 pm Post subject: |
|
|
Since Bluez 5, Bluetooth audio is only available through Pulseaudio. At the beginning, only output sink was available with A2DP. There was a regression compare to Bluez 4 where source and output sinks where available.
Than came back HSP/HFP for source sink in Pulseaudio but it was not working properly last time I try it. You have to turn yourself to Ofono who is suppose to support Bluetooth input microphone recording. I haven't test it yet. _________________ Paul |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
keet Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 09 Sep 2008 Posts: 574
|
Posted: Fri Aug 19, 2016 4:25 pm Post subject: |
|
|
I hope that this is relevant; to see my microphone, Ineeded to enable CONFIG_INPUT_UINPUT in my kernel configuration, and build pulseaudio with USE="native-headset ofono-headset". |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Duco Ergo Sum Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 06 Dec 2005 Posts: 154 Location: Winsford
|
Posted: Mon Aug 22, 2016 8:28 pm Post subject: |
|
|
I have tested over the weekend following the logic keet and Logicien have suggested but without success.
At the moment I can not think of anything else to try, not other ways to test. I am sorry for not having anything more positive to contribute. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zx2c4 Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/8936635134345e6d11d93c.gif)
Joined: 09 Jun 2005 Posts: 177
|
Posted: Wed Aug 24, 2016 2:23 am Post subject: |
|
|
I fixed it.
Before in dmesg I had lines like:
Code: | Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0a5c-21e6.hcd failed with error -2
Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-0a5c-21e6.hcd not found |
So, I set about acquiring /lib/firmware/brcm/BCM20702A1-0a5c-21e6.hcd:
Code: | wget http://dlcdnet.asus.com/pub/ASUS/misc/BT/Bluetooth_V1201650_WHQL_Win10.zip
unzip Bluetooth_V1201650_WHQL_Win10.zip
hex2hcd Bluetooth/BCM_DriverOnly/64/BCM20702A1_001.002.014.1483.1669.hex -o /lib/firmware/brcm/BCM20702A1-0a5c-21e6.hcd |
Then I reloaded the bluetooth modules, and found in my dmesg:
Code: | Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
Bluetooth: hci0: BCM20702A1 (001.002.014) build 1669
Bluetooth: hci0: Broadcom Bluetooth Device |
And then after that everything magically worked.
It's likely you have a different bluetooth device than me. But you still might be facing firmware loading issues. Check your dmesg, and Google for the file it complains about not having. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Duco Ergo Sum Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 06 Dec 2005 Posts: 154 Location: Winsford
|
Posted: Wed Aug 24, 2016 9:56 pm Post subject: |
|
|
Hi,
Sadly for one reason or another, this hasn't helped me. At least not much.
I do have a different bluetooth device which did post the file not found message as you have already posted.
Following your example and utilising the information provided by dmesg, I converted the appropriate file, and installed it. This cleared the file not found message but did not resolve the microphone issue.
Code: | Bluetooth: hci0: BCM20702A1 (001.002.014) build 1669
Bluetooth: hci0: BCM20702A1 (001.002.014) build 1468
|
I have targeted both of these builds to convert to the file needed but neither has worked, at least in the sense of recording sound. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zx2c4 Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/8936635134345e6d11d93c.gif)
Joined: 09 Jun 2005 Posts: 177
|
Posted: Wed Aug 24, 2016 10:03 pm Post subject: |
|
|
Try compiling pulseaudio without USE=ofono-headset but with USE=native-headset.
USE="-ofono-headset native-headset" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Duco Ergo Sum Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 06 Dec 2005 Posts: 154 Location: Winsford
|
Posted: Sat Aug 27, 2016 9:14 pm Post subject: |
|
|
Hi,
I have tried both:
USE="-ofono-headset native-headset"
USE="ofono-headset -native-headset"
And
USE="ofono-headset native-headset" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
TequilaTR n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Feb 2005 Posts: 68
|
Posted: Sat Sep 05, 2020 10:50 am Post subject: |
|
|
zx2c4 wrote: | I fixed it.
Before in dmesg I had lines like:
Code: | Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0a5c-21e6.hcd failed with error -2
Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-0a5c-21e6.hcd not found |
So, I set about acquiring /lib/firmware/brcm/BCM20702A1-0a5c-21e6.hcd:
Code: | wget http://dlcdnet.asus.com/pub/ASUS/misc/BT/Bluetooth_V1201650_WHQL_Win10.zip
unzip Bluetooth_V1201650_WHQL_Win10.zip
hex2hcd Bluetooth/BCM_DriverOnly/64/BCM20702A1_001.002.014.1483.1669.hex -o /lib/firmware/brcm/BCM20702A1-0a5c-21e6.hcd |
Then I reloaded the bluetooth modules, and found in my dmesg:
Code: | Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
Bluetooth: hci0: BCM20702A1 (001.002.014) build 1669
Bluetooth: hci0: Broadcom Bluetooth Device |
And then after that everything magically worked.
It's likely you have a different bluetooth device than me. But you still might be facing firmware loading issues. Check your dmesg, and Google for the file it complains about not having. |
Thanks for this hint - the proper solution is probably not so hack anyome, there is now:
Code: | sys-firmware/broadcom-bt-firmware |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|