Нет звука bluetooth linux

No sound from bluetooth headset, but it’s detected

I have a Bluetooth headset connected to my computer. The buttons play/pause/volume are working fine, but I have no sound in the headset. It only works in the speaker of the computer. In fact, I played with the sound settings of my headset in the sound settings of Ubuntu, and after choosing «switch off», the headset did «disappear» from the settings. My question is: how can I make it appear there again, to be able to hear the sound via the headset? Thank you all for your help!

Did you check sound settings and confirm the correct ‘output’ is selected? For some more setttings I would advice to install pavucontrol . It saved me some troubles diagnosing sound issues.

Yes, that’s it, it works, THANK YOU VERY MUCH. I found the headset in pavucontrol and was able to turn it on again — it was not visible in the «sound settings» after i did choose the «switch off» profile — that is to correct by ubuntu i guess. Thank You again.

10 Answers 10

For some more settings I would advice to install pavucontrol. It saved me some troubles diagnosing sound issues. It also will list any possible output where Ubuntu sound sometimes forgets to show outputs that should be available (though it keeps getting better: HDMI used to not show up; 1 update after 12.10 release it started showing up.

You too will be able to find your headset and control it from here.

If I recall correctly after I used pavucontrol to activate my hdmi ubuntu control picked it up too (but that might have been caused by an update too). Otherwise do not use Ubuntu sound settings but switch to this program since it also has far more options.

enter image description here

sudo apt-get install pavucontrol 

I’m trying to get this to work, and although the BT headset shows up on the configuration screen in PAVU, any change from the ‘off’ setting isn’t saved by PAVU.

This works while the default audio control on Kubuntu fails to let me switch playback device. It still doesn’t show my HDMI outputs though (while the default sound control settings in Unity worked).

Worked for me. My issue was there was another sound adapter and sound was directed to that. PulseAudio can list down all adapters and show the flow.

curl "https://gist.githubusercontent.com/pylover/d68be364adac5f946887b85e6ed6e7ae/raw/install.sh" | sh 

The installation script will copy a2dp.py into PATH and make it executable. So, you may issue this command to use the a2dp.py script:

$ a2dp.py Connection MADE Selecting device: 1. 00:22:37:3D:DB:1A JBL E40BT 2. 00:22:37:3D:DA:50 JBL E40BT Select device[1]: 2 Device MAC: 00:22:37:3D:DA:50 Device ID: bluez_card.00_22_37_3D_DA_50 Sink: bluez_sink.00_22_37_3D_DA_50 Turning off audio profile. Disconnecting the device. Connecting againt. Setting A2DP profile Device ID: bluez_card.00_22_37_3D_DA_50 Updating default sink Exiting bluetoothctl 

Wow, it worked!! I got an error «Cannot find bluez_card.F8_DF_15_B4_0B_47 using pactl list cards short » 15 times in a row and figured this was another dead end, but the script ended up pairing my bluethooth speaker and it works perfectly. Thank you thank you thank you!! I’ve been struggling with this for so long.

Читайте также:  Автор linux операционная система

Terminating the PulseAudio daemon with pulseaudio -k did the trick. Headset started appearing.

-k | —kill

Kill an already running PulseAudio daemon of the calling user (Equivalent to sending a SIGTERM).

I don’t full understand, how this worked. But it is working! (I did purge pulseAudio and start over) Thank you! Ubuntu is awesome, but this bluetooth issue needs to be resolved, it’s 2017!

I think pulse audio has some issues with detecting the bluetooth headphones as an output (especially when there’s more than 1 audio profile)

This also fix similar issue with USB connected «Jabra Evolve 30» jabra.com/business/office-headsets/jabra-evolve/…

With the latest Ubuntu version (15.10) the Bluetooth headphones are recognized but not available in pavucontrol. After some testing I found this simple solution to enable it!

Install the bluetooth package then restart the bluetooth service and now the headphones are visible.

sudo apt-get install bluetooth 
sudo systemctl restart bluetooth 

Note: you may need to turn your headphones off and on again after these commands.

I did this. It asked Enter Private Key Password: , I did not look but assumed it was asking for sudo so I entered my password (two times). Now, the bluetooth does not work any more at all on my Dell Latitude.

This ended up getting it fixed on my laptop as well as my gf’s laptop both running Ubuntu 20.04. On mine I had issues with A2DP but not on hers. I had been troubleshooting on hers first but then she needed the laptop so maybe pavucontrol was the missing piece.

This helped me resolve a problem on Ubuntu 20.04 with my new EarFun wireless earbuds where I could connect them to bluetooth but they would not show up in the Output Device dropdown under Sound settings. Thanks!

(This issue has bothered me for a long time, and I just found the solution, it worked on my laptop.)

I am using Mint mate 18 , which is based on Ubuntu 16.04 . To make headset & ubuntu/mint work together, need both blueman and pulseaudio .

Connect & choose output device

  • sudo apt-get install blueman
    Install blueman.
  • blueman-manager &
    Start blueman, and enable bluetooth as tip, if not yet.
  • Start your headset device, make sure it’s not connected to other device yet.
  • In blueman:
    • Search device.
    • Right click headset -> trust, if not yet.
    • Right click headset -> pair, if not yet.
    • Right click headset -> audio sink.
    • And wait a bit for it to connect.
    • In playback tab.
    • Find a outputer, e.g chromium .
    • Choose the headset device as it’s output.
    • In pavucontrol , for each outputer (e.g chromium ), could choose which device to use.
      By default, it’s usually the computer’s built-in audio, not your bluetooth headset.
    • Each time bluetooth connected, need to choose which device to use in pavucontrol again.

    Command shortcut

    ## bluetooth headset related, alias btmanager="blueman-manager &" alias btctrl="pavucontrol &" 

    It’s really convenient

    Next time, I want to get some drinks or snacks, I could just walk away, without needing to unplug the wired headset, and without interrupting the music or video I am listening to, really convenient.

    I am relatively new to the Linux world, but have had no major issues converting from Windows. Please be patient with my explanation because I wrote it with a brand new person to Linux in mind. I have fallen in love with Linux and wish for other «newbies» to do the same 🙂

    For someone converting from windows. powerful «sudo» commands that are entered without understanding of their meaning. may quickly lead to a fresh re-install of one’s favorite flavor of Linux. I speak from experience. If you are new to Linux, especially switching from Windows, it is important to know that not all hardware is compatible and to make it even more interesting, Linux “distros” are also not equal. I am currently using Linux Mint 17.1 KDE, which is more or less a derivative of Canonical’s Ubuntu. For example, if you didn’t know, most HP printers are recognized immediately and effortlessly within Linux because of the the wonderful HPLIP opensource project. Just connect and turn on your HP printer, then go to printer settings within Ubuntu or Linux mint 17.1 and simply add your HP printer (which should be already listed).

    A little research first will definitely save a huge headache later. 🙂

    I tried using my Insignia Bluetooth Receiver in the past, but had no luck on Mint or Ubuntu, while my newly bought Kensington Bluetooth 4.0 dongle #K33956AM was recognized and paired seamlessly with my other devices. It was able to list the exact device name along with the MAC address. Unfortunately, I had NO SOUND. 🙁 I double checked it was not my system. My computer played the music file normally though my built-in analog stereo hardware. 🙁

    I read what the awesome and helpful people stated above, but went though the graphical interface instead of using the terminal (I’ve used windows for the past 20 years, what can I say. LOL) I went to System Settings/Multimedia/Audio and Video Settings and discovered my Analog stereo hardware received priority over my Bluetooth hardware. I first attempted to change the priority of the devices within the «Audio Playback Device Preference for ‘Music’ Category» but this did not fix my sound.

    THEN I DISCOVERED THE SOLUTION TO MY PROBLEM. I changed the priority of devices in the «Audio Playback Device Preference for ‘Video’ Category» and BINGO. 🙂 🙂 🙂 This worked perfectly. For some reason the video setting also controls the music. I changed all pertinent settings to make my Bluetooth have priority and have not had any further issues since that point. Hope this helps. 🙂

    Pulse Audio Volume Control is Pre-installed on Linux Mint 17.1 (. This is a great tool. Just search in the menu bar for the program or use the PPA from the repository a.k.a. Software Manager. Although I should mention, this program would not work for me until after I changed the settings in the Multimedia.

    Источник

    Подключение Bluetooth-наушников и гарнитуры для прослушивания музыки в Ubuntu

    Мечта, наверное, каждого пользователя компьютера — это свобода от проводов. Постепенно мы освобождаемся от них: покупаем ноутбук, покупаем беспроводные мышь и клавиатуру, покупаем bluetooth-наушники или стерео bluetooth-гарнитуру. В погоне за этой свободой мы готовы жертвовать производительностью компьютеров, зависимостью от подзарядки аккумуляторов и прочих появившихся новых проблем.

    Чтобы подключить Bluetooth-наушники или стерео Bluetooth-гарнитуру в операционной системе Linux требуется установить ПО, которое позволит подключить Bluetooth-устройства к компьютеру. В Gnome реализована работа Bluetooth «из коробки», но нет поддержки A2DP, поэтому Bluetooth-наушники не будут работать по своему назначению. Добавить поддержку A2DP можно установив замечательную программу – Blueman. Эта программа отлично работает со всеми Bluetooth-устройствами, позволяя работать с A2DP-профилями.

    Для корректной работы автоматического перенаправления звукового потока на подключенные Bluetooth-наушники нам понадобится дополнительный звуковой сервер. В качестве такого звукового сервера может выступать Pulseaudio. С помощью Pulseaudio можно добиться автоматического переключения вывода звука на Bluetooth-наушники, при подключении последних. Так же в нем можно настроить уровень громкости для разных приложений в отдельности.

    В ОС Ubuntu Pulseaudio установлен в качестве звукового сервера по умолчанию. Если Pulseaudio был удален, как это описывалось в статье «Удаление звукового сервера PulseAudio в Ubuntu«, то его следует установить заново, так как без него перенаправление звука, при подключении стерео-гарнитуры, не будет происходить автоматически. Для работы Pulseaudio с Bluetooth-наушниками нам потребуется установить также дополнительный модуль – pulseaudio-module-bluetooth.

    Чтобы подключить стерео Bluetooth-гарнитуру для прослушивания музыки в Ubuntu нужно:

    1. Установить звуковой сервер Pulseaudio с дополнительным модулем pulseaudio-module-bluetooth:

    echo «deb http://ppa.launchpad.net/blueman/ubuntu `lsb_release -cs` main» | sudo tee /etc/apt/sources.list.d/blueman.list

    Подключение стерео Bluetooth-гарнитуры в Ubuntu для прослушивания музыки

  • Настройка Blueman.
    1. подключаем Bluetooth-устройство к компьютеру;
    2. создаем сопряжение с устройством (чаще всего bluetooth-гарнитуры и наушники используют код доступа 0000);
    3. устанавливаем устройству атрибут Доверяемое;
    4. подключаем службу Audio Sink для аудиоустройства.
    5. настраиваем регулятор громкости операционной системы на требуемый вам уровень громкости.
  • В результате всех этих действий на подключенное Bluetooth-устройство будет выводиться звук. При каждом последующем подключении bluetooth-наушников или гарнитуры Pulseaudio автоматически переведет звуковой поток на это устройство, что позволит обеспечить комфортное прослушивание музыки через беспроводные наушники.

    Парашютист со стажем. Много читаю и слушаю подкасты. Люблю посиделки у костра, песни под гитару и приближающиеся дедлайны. Люблю путешествовать.

    Источник

Оцените статью
Adblock
detector