Линукс нет звука блютуз

Ubuntu 16.04 won’t output sound to Bluetooth headphones

I’m trying to use mt SONY MDR-XB950BT headphones on Ubuntu 16.04 but not having any luck. I’ve managed to get them connected but it doesn’t seem like I can actually listen to music/videos out of them. I tried setting the audio output to the headphones, but sound keeps coming out of the speakers instead. I also installed Pulse Audio Volume Control, but that doesn’t seem to make a difference. I briefly managed to get it so that the test sound would play through the headphones, but when I tried to watch an online video, the video wouldn’t even play until I changed the sound output device. Does anyone have any advice/experience with this kind of thing? Any help would be greatly appreciated.

did you check if the bluetooth connection is properly set in the «system settings» menu? there is a bluetooth menu there, if the device is properly connected you should see it bold. The next thing I would check is the sound output setting, in the same «system settings» menu. There you should be able to select your headphones as main audio output.

I have the same issue (same headphones too). The bluetooth icon shows connected and in sound settings I have made sure it is the selected device. Other bluetooth headphones work (but sporadically).

9 Answers 9

I solved this problem by installing blueman.

To install blueman, open a terminal and type sudo apt-get install blueman . Once it’s installed, you can run it by typing blueman or you can search for «bluetooth manager» in the Applications menu. Once blueman is running, you can lock it to the launcher.

Now, inside the blueman application, Right-Click on the headphones icon and select ‘audio profile’ -> ‘High Fidelity Playback’.

There are other profiles available as well, but this is the one that works for me.

Blueman worked for me too, but I had to right click on the headset (an LG HBS900) and Connect to ‘Audio Sink’ first, then fumble around with the Sound settings. yuck. Far from a seamless experience. And I still hear interruptions in playback, even though I’m less than 1 meter from my laptop.

Alternatively, you can do a similar thing using pavucontrol if blueman doesn’t work for you (it didn’t for me). Also note I had to select headset, not high fidelity for mine to work.

Just a quick note to say that I believe the issue here seems to be related to @DanDascalescu ‘s comment — I was able to connect without blueman, but the sound seemed to be «off». With blueman I was able to change the audio profile to A2DP Sink

Читайте также:  Alt linux active directory

I recently upgraded to ubuntu 16.04 and got the same bug trying to connect my UE Boom 2. Some extensive googling shows that this is an ongoing issue with 16.04 since it was released in April 2016.

Nevertheless, I came across this discussion and managed to solve the issue with suggestions from Emmentaler and Brian Peacock.

Firstly with my UE Boom 2 connected, I went into «Sound Settings» and made sure the output «mode» was set to «Headset Head Unit (HSP/HFP)», NOT «High Fidelity Playback (A2DP Sink)». Making sure it was in the low quality output is the only way I can ensure a successful connection. Then I installed blueman sudo apt-get install blueman and then rebooted.

From here, I clicked on the original bluetooth icon in the menubar, went to «UE Boom 2» and made sure the «connection» was set to OFF.

After that, I clicked on the new bluetooth icon in the menubar provided by blueman and selected «devices». The «UE Boom 2» appears in the window when it’s discoverable. Now click «Setup. » at the top of the window. Given the choice of connection, under «Connect to:», I selected «Audio Sink». This took a couple of tries, but it worked eventually.

Once successfully connected, close the setup window and go back to the sound settings. You should now be able to switch the output mode to «High Fidelity Playback (A2DP Sink)» without losing audio. This is now the process I use to start up my UE Boom 2 each time I need to use it.

Your mileage may vary, but I hope this works for anyone who needs it. This bug has been driving me crazy all day.

TLDR: Connect using regular bluetooth, set connection to «On», set the output to «HSP/HSF» in sound settings (make sure that works), set connection to «Off». Then set up the device using blueman, connect it as an «Audio Sink». Now back into sound settings and change the output to «A2DP».

Источник

Ubuntu 20.04 нет звука из наушников Bluetooth

Это на машине, которую я обновил с 18.04 до 20.04 несколько дней назад. Никаких проблем с воспроизведением звука через наушники 18.04.

Наушники сопряжены с Bluetooth. Я разобрал и отремонтировал их на всякий случай. На панели настроек звука они есть как вариант вывода, и я могу выбрать его без проблем. Однако звук из наушников никогда не выходит. Я даже отрегулировал громкость как в панели настроек, так и в alsamixer и в pavucontrol. Ничего не меняется.

Читайте также:  Linux ubuntu обновление пакетов

В журнале службы bluetooth ошибок не вижу.

7 ответов

Это ошибка (pulseaudio #832, панель запуска #1866194) с новой версией pulseaudio в Ubuntu 20.04, где старые значения конфигурации не были удалены, и он не направляется на правильное устройство. Решение — удалить старую конфигурацию и перезапустить pulseaudio:

Откройте терминал ( Ctrl+Alt+T ) и выполните следующие команды:

mv ~/.config/pulse/ ~/.config/pulse.old systemctl --user restart pulseaudio 

Это не исправление, а только обходной путь; Я установил утилиту импульсного управления громкостью звука:

sudo apt-get install pavucontrol 

Проблема заключается в том, что Ubuntu не изменяет все источники звука на устройство Bluetooth, в утилите регулировки громкости вы увидите это более четко, устройство Bluetooth подключено, но не используется в качестве устройства воспроизведения звука. (см. утилиту импульсного управления громкостью звука).

Найдите свой источник звука; у меня был firefox, так как я воспроизводил несколько видео с YouTube, выбирал устройство воспроизведения Bluetooth (у меня был динамик Xiaomi) (XMFHZ02) и менял его. Ваше устройство должно начать вывод звука.

Я переустановил, и все заработало, без перезагрузки:

sudo apt install --reinstall pulseaudio pulseaudio-module-bluetooth 

Вариант №3, описанный здесь, работал у меня.

  • Я обновился с 19.10 на 20.04
  • При регулировке громкости с помощью горячих клавиш увеличения / уменьшения громкости звук обратной связи будет воспроизводиться через наушники. Они тоже были обнаружены в настройках. Аудиопоток из других приложений по-прежнему будет воспроизводиться через динамики ноутбука.
  • Пакеты, упомянутые @Mirek, pulseaudio и pulseaudio-module-bluetooth были уже установлены

Если вы используете Ubuntu 20.04, я бы рекомендовал заменить Pulseaudio с Pipewire . Он будет работать со всеми вашими приложениями, поскольку призван заменить как PulseAudio, так и JACK, предоставляя реализацию сервера, совместимую с PulseAudio, и библиотеки, совместимые с ABI, для клиентов JACK.

Я запускаю Ubuntu 20.04.3, и Pipewire пока работает очень стабильно. Моя Bluetooth-гарнитура теперь работает с Microsoft Teams. В моем случае я запускаю Bitwig, Spotify, Youtube и т. д. одновременно, и он просто работает с каждым устройством вывода (Bluetooth-гарнитура, аудиоинтерфейс RME, внутренние динамики).

Я публикую ссылку на этапы установки, которые сработали для меня: Замена Pulseaudio на Pipewire в Ubuntu 20.04

У меня была аналогичная проблема, у меня это сработало.

Установите Pulse Audio с модулем Bluetooth:

$ sudo apt install pulseaudio pulseaudio-module-bluetooth 

Откройте его и выберите желаемый выходной канал на вкладке «Воспроизведение».

Инструмент позволяет настраивать и другие параметры звука.

Источник

Пропадает звук в bluetooth наушниках.

Имеются bluetooth наушники sony mdr-xb950bt. Имеется ubuntu 18.04.01. Имеется звук, но раз в случайный промежуток времени звук пропадает. При этом после некоторого времени если поставить на паузу невоспроизведённый звук догоняет. В alsamixer звук включен, в pavucontrol когда звука нет показывает, что звук есть. При подключении тех же наушников проводом звук есть. Думал, что просирает пакеты, но l2ping показал, что они просто почему- то задерживаются. Проблема имеется только при воспроизведении онлайн контента.. слёзныепросьбыопомощи

покажи вывод блютусной карты из pactl list cards

Читайте также:  Linux for file in loop

Их там 3. Звуковая плата №0 Имя: alsa_card.pci-0000_01_00.1 Драйвер: module-alsa-card.c Модуль-владелец: 7 Свойства: alsa.card = «1» alsa.card_name = «HDA NVidia» alsa.long_card_name = «HDA NVidia at 0xa4000000 irq 17» alsa.driver_name = «snd_hda_intel» device.bus_path = «pci-0000:01:00.1» sysfs.path = «/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1» device.bus = «pci» device.vendor.id = «10de» device.vendor.name = «NVIDIA Corporation» device.product.id = «0fb9» device.product.name = «GP107GL High Definition Audio Controller» device.string = «1» device.description = «GP107GL High Definition Audio Controller» module-udev-detect.discovered = «1» device.icon_name = «audio-card-pci» Профили: output:hdmi-stereo: Digital Stereo (HDMI) выход (приёмники: 1, источники: 0, приоритет: 5400, доступно: нет) output:hdmi-surround: Digital Surround 5.1 (HDMI) выход (приёмники: 1, источники: 0, приоритет: 300, доступно: нет) output:hdmi-surround71: Digital Surround 7.1 (HDMI) выход (приёмники: 1, источники: 0, приоритет: 300, доступно: нет) output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) выход (приёмники: 1, источники: 0, приоритет: 5200, доступно: нет) output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) выход (приёмники: 1, источники: 0, приоритет: 100, доступно: нет) output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) выход (приёмники: 1, источники: 0, приоритет: 100, доступно: нет) output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) выход (приёмники: 1, источники: 0, приоритет: 5200, доступно: нет) output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) выход (приёмники: 1, источники: 0, приоритет: 100, доступно: нет) output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) выход (приёмники: 1, источники: 0, приоритет: 100, доступно: нет) off: Выключено (приёмники: 0, источники: 0, приоритет: 0, доступно: да) Активный профиль: off Порты: hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, not available) Свойства: device.icon_name = «video-display» Входит в профиль(и): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71 hdmi-output-1: HDMI / DisplayPort 2 (priority: 5800, latency offset: 0 usec, not available) Свойства: device.icon_name = «video-display» Входит в профиль(и): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1 hdmi-output-2: HDMI / DisplayPort 3 (priority: 5700, latency offset: 0 usec, not available) Свойства: device.icon_name = «video-display» Входит в профиль(и): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2

Звуковая плата №6 Имя: bluez_card.10_4F_A8_32_FA_B6 Драйвер: module-bluez5-device.c Модуль-владелец: 33 Свойства: device.description = «MDR-XB950BT» device.string = «10:4F:A8:32:FA:B6» device.api = «bluez» device.class = «sound» device.bus = «bluetooth» device.form_factor = «headset» bluez.path = «/org/bluez/hci0/dev_10_4F_A8_32_FA_B6» bluez.class = «0x240404» bluez.alias = «MDR-XB950BT» device.icon_name = «audio-headset-bluetooth» device.intended_roles = «phone» Профили: headset_head_unit: Головная гарнитура (HSP/HFP) (приёмники: 1, источники: 1, приоритет: 30, доступно: да) a2dp_sink: Воспроизведение высокого качества (приёмник A2DP) (приёмники: 1, источники: 0, приоритет: 40, доступно: да) off: Выключено (приёмники: 0, источники: 0, приоритет: 0, доступно: да) Активный профиль: a2dp_sink Порты: headset-output: Гарнитура (priority: 0, latency offset: -20000 usec, available) Входит в профиль(и): headset_head_unit, a2dp_sink headset-input: Гарнитура (priority: 0, latency offset: 0 usec) Входит в профиль(и): headset_head_unit

Источник

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