- [РЕШЕНО] Bluetooth и Linux Mint 17.1 XFCE
- Настройка bluetooth стерео-наушников в Ubuntu Linux (8.04 & 7.10)
- Linux Mint Forums
- [SOLVED] Linux Mint 19.3 BLUETOOTH Problems.
- [SOLVED] Linux Mint 19.3 BLUETOOTH Problems.
- Re: Linux Mint 19.3 BLUETOOTH Problems.
- Re: Linux Mint 19.3 BLUETOOTH Problems.
- Re: Linux Mint 19.3 BLUETOOTH Problems.
- Re: Linux Mint 19.3 BLUETOOTH Problems.
- Re: [SOLVED] Linux Mint 19.3 BLUETOOTH Problems.
- Re: [SOLVED] Linux Mint 19.3 BLUETOOTH Problems.
- Re: [SOLVED] Linux Mint 19.3 BLUETOOTH Problems.
- Re: [SOLVED] Linux Mint 19.3 BLUETOOTH Problems.
- Connect to JBL bluetooth speaker
- 4 Answers 4
- potential reason why.
- so what can I do.
- ☩ Walking in Light with Christ – Faith, Computing, Diary
- Install JBL Go Bluetooth Speaker on Debian GNU / Linux and Ubuntu
- Refused to switch profile to a2dp_sink: Not connected
- Workaround 1: disable pulseaudio in gdm
- Workaround 2: disable pulseaudio’s bluetooth in gdm
[РЕШЕНО] Bluetooth и Linux Mint 17.1 XFCE
#1 — 30 января 2016 в 20:50 |
В общем проблема известная, вот правду говорят — работает — НЕ ТРОГАЙ!
Надоел мне МАТЕ, слишком много всяких мелочей на протяжении года использования начали напрягать, стал поглядывать назад на XFCE. До этого стояла моя школьная сборка на 17.1 МАТЕ, но мне захотелось 17.3 XFCE да еще 64 бит. Сказано — сделано, установил, настроил, все, думаю, работает, но не тут-то было. С завидной периодичностью компьютер зависал при запущенном Chrome, заменил ядро, но это проблему не решило только периоды стали длиннее. Кроме того bluetooth стал настолько нестабильным, что можно считать что его нет (использую bluetooth-наушники). Перелопатил кучу чтива в интернете и выяснил, что с этим проблемы не только у меня и решил вернуться на 17.1 но на XFCE, но проблемы не закончились (видно на МАТЕ-версии работа bluetooth лучше реализована), Chrome работает прекрасно и стабильно, а вот с наушниками я «танцую».
================================================================
В принципе, они (наушники) работают, вернее bluetooth работает но только после того как я в терминале выполняю запуск модулей
pactl load-module module-bluetooth-discover
но ведь это не очень хорошо, должно работать без моего участия, подключил — и наслаждаешься.
Что я пробовал:
1. Прописал в автозагрузку в «Сеансы и запуск» как описано здесь, результат 0.
2. Пробовал сделать как описано тут
and comment out (with an # at the beginning of the line) the following line:
now edit the file:
and after the lines:
if [ x”$SESSION_MANAGER” != x ] ; then
/usr/bin/pactl load-module module-x11-xsmp “display=$DISPLAY session_manager=$SESSION_MANAGER” > /dev/null
fi
add the following line:
/usr/bin/pactl load-module module-bluetooth-discover
This way the Pulse audio’s Bluetooth modules will not be downloaded at boot time but after x11 is started.
результат — один раз что-то получилось, только при условии, что наушники были включены во время загрузки ноутбука, а потом обнаружил, что все мои изменения пропали и содержимое файла остается как до изменений.
3. Создавал файл в /etc/xdg/autostart/ *.desktop , результат 0.
Вопрос: куда эту команду можно еще «впихнуть»?
Источник
Настройка bluetooth стерео-наушников в Ubuntu Linux (8.04 & 7.10)
Привет!
Решил написать небольшую инструкцию, чтобы помочь нуждающимся в настройке bluetooth-наушников под Linux. Описанный способ гарантированно работает в Ubuntu 7.10 и 8.04. В других системах не должно возникнуть особых проблем, если имеются все необходимые компоненты (bluez, alsa, python).
В прошлом году я купил себе bluetooth стерео-наушники (+гарнитура) Plantronics 590A. Отличные наушники — хорошее качество звука и полная свобода от проводов. После перехода с Windows XP на Ubuntu возник вопрос использования наушников, как в качестве обычных наушников для вывода звука, так и полноценной гарнитуры для общения в играх и в Skype.
Хотя стандартный bluetooth-менеджер Ubuntu, вроде как, подразумевает использование Audio Service для соответствующих bt-устройств, но я не смог быстро найти внятную инструкцию, как же организовать вывод звука на наушники.
Вскоре мне на глаза попалась замечательная программа BlueMan bluetooth manager (screenshots). Эта программа достойна отдельной статьи, так как у неё очень много возможностей и она очень облегчает жизнь любому, кому потребуется работа с различными устройствами через протокол bluetooth. Программа работает «поверх» стандартного Ubuntu-овского bt-стека bluez и практически не тянет за собой зависимостей (программа написана на python`e).
Перечислять все возможности программы я не стану, ограничусь только тем, что программа поддерживает bt-устройства с профилем A2DP
Всё что необходимо сделать в BlueMan — «спарить» ваши bt-наушники с программой. После «спаринга» я дополнительно активировал в параметрах программы использование службы звука.
В настройках службы звука я активировал использовал служб Headset, Sink, Control для своих наушников. Для обычного вывода звука вполне достаточно службы Headset. Остальные службы присутствуют, я так думаю, для поддержки работы bt-профиля AVRCP. Я не проверял работу профиля ни в одной программе в Ubuntu, так что о его работоспособности сказать ничего не могу.
Последним шагом необходимо подправить файлик
/.asoundrc. Я не большой коппенгаген в конфигурационном файле ALSA, все правки были подсмотрены из статей:
- http://alfa2linux.blogspot.com/2008/03/my-jabra-finally-working-with-bluez.html
- http://wiki.bluez.org/wiki/HOWTO/AudioDevices
Я не ставил никаких дополнительных пакетов, которые были упомянуты в статьях — bluetooth-alsa, btsco и др.
В файл .asoundrc я добавил такие строки:
Источник
Linux Mint Forums
Welcome to the Linux Mint forums!
[SOLVED] Linux Mint 19.3 BLUETOOTH Problems.
[SOLVED] Linux Mint 19.3 BLUETOOTH Problems.
Post by Minty_Musings » Thu Feb 20, 2020 5:25 pm
After updating/upgrading to LM 19.3, my ability to connect to bluetooth devices has completely died. No bluetooth speakers or headphones, no bluetooth mouse, no bluetooth external keyboard (I run on a laptop).
I’ve tried removing and installing again. Nothing.
I’ve tried different BT managers. Nothing.
I’ve tried downgrading. That is covered below.
7.5 was installed with 19.3 when I upgraded. Bluetooth was working FINE before the update.
There is also this:
Has anyone come across this? I’d like to have the connection with my bluetooth speaker back in working order. It’d be really nice to also connect to my headphones again and my TV.
— I did search the forums but have come up with nothing that helps. —
Re: Linux Mint 19.3 BLUETOOTH Problems.
Post by HAWR » Thu Feb 20, 2020 5:58 pm
can you please show your system informations with the outputs of the following terminal commands:
There was for example recently a case, where Bluetooth didn’t work in LM 19.3 and the user has found the reason why:
Re: Linux Mint 19.3 BLUETOOTH Problems.
Post by MrEen » Thu Feb 20, 2020 5:58 pm
That . 7.5 got pulled and never replaced causing those issues.
Re: Linux Mint 19.3 BLUETOOTH Problems.
Post by Minty_Musings » Thu Feb 20, 2020 6:22 pm
That . 7.5 got pulled and never replaced causing those issues.
Re: Linux Mint 19.3 BLUETOOTH Problems.
Post by Minty_Musings » Thu Feb 20, 2020 6:23 pm
can you please show your system informations with the outputs of the following terminal commands:
There was for example recently a case, where Bluetooth didn’t work in LM 19.3 and the user has found the reason why:
Greetings and thanks for your response!
All is fixed now.
Re: [SOLVED] Linux Mint 19.3 BLUETOOTH Problems.
Post by MrEen » Thu Feb 20, 2020 6:23 pm
Re: [SOLVED] Linux Mint 19.3 BLUETOOTH Problems.
Post by a_subscriber » Sat Feb 22, 2020 9:07 am
Notebook Lenovo Legion Y540-17IRH, Linux Mint 19.3
I has bluetooth headphone — JBL.
It’s success recognized by my TV (Samsung), my android tablet — sony xperia z2 tablet, by my mobile phone Nokia.
Nice.
My notebook success recognized (by bluetooth) my TV, my mobile phone. And I success connect, by bluetooth, on my notebook to my TV.
But my notebook not recognized my bluetooth headphone JBL
Re: [SOLVED] Linux Mint 19.3 BLUETOOTH Problems.
Post by a_subscriber » Thu Feb 27, 2020 2:48 pm
Re: [SOLVED] Linux Mint 19.3 BLUETOOTH Problems.
Post by RML » Sat Oct 03, 2020 5:30 am
This works for me. I don’t claim to understand it, after a lot of trial & error it works in my Linux Mint 19.3 implementation for my Oontz Angle. From a terminal.
Insert the bluetooth kernel module
sudo modprobe btusb
Disable & stop bluetooth service
sudo systemctl disable bluetooth.service && sudo systemctl stop bluetooth.service
Re-enable & start bluetooth service
sudo systemctl enable bluetooth.service && sudo systemctl start bluetooth.service
Check the status
systemctl status bluetooth.service
Restart Pulseaudio sound server
pulseaudio —start
Note, you can obviously chain these together and run as one
sudo modprobe btusb && sudo systemctl disable bluetooth.service && sudo systemctl stop bluetooth.service && sudo systemctl enable bluetooth.service && sudo systemctl start bluetooth.service && systemctl status bluetooth.service && pulseaudio —start
If you have previously connected to your bluetooth device you are probably done.
If not, or if you have not had a connection before follow these steps.
In my case I can turn off my Oontz Angle and it will auto reconnect without going through these steps. Occasionally and after a restart I have to re-run the above commands in a terminal.
Hopefully this process will help someone else.
Источник
Connect to JBL bluetooth speaker
I cannot find it from:
I cannot even turn bluetooth on from:
I can connect to this speaker from my Android phone, so I guess the problem is in Ubuntu 14.04.
Now I can turn it on, but adding device button is disabled.
4 Answers 4
potential reason why.
converting my comment to an answer
Issues such as this are mostly due to kernel issues. The kernel is the key underlying component that interfaces between the physical hardware and presents this in a controlled way that desktop software can usefully use and allow the user to control.
Bluetooth dongles are mostly USB based. Most hardware today are USB2 based or USB3 based. The kernel uses different modules to interrogate these two versions.
Assuming you are using USB3 to connect, there may be an underlying issue with the USB3 kernel module called XHCI.
so what can I do.
You should really test the latest kernels (at the time of writing 3.16 series) — but if you want continued support you need to work with the Canonical kernel developers to identify a solution. Raise a bug-report — include details of the bug report that you’ve installed the latest kernels and they did/didnt work etc.
As a workaround, many BIOS’s have the ability to downgrade USB3 ports — downgrade them to USB2 speeds. This is called «XHCI PRE-BOOT MODE»
If you disable this mode, this should force the kernel to see your bluetooth device as a USB2 based device.
Источник
☩ Walking in Light with Christ – Faith, Computing, Diary
Install JBL Go Bluetooth Speaker on Debian GNU / Linux and Ubuntu
Thursday, 24th August 2017
Here is how to configure a JBL Go Bluetooth (Wireless) speaker and presumably other Bluetooth external speakers to Debian GNU / Linux Wheezy 7 and Ubuntu 14.04 . 1. Install following bunch of deb packages
# apt-get install pulseaudio pulseaudio-module-bluetooth pavucontrol bluez-firmware
Here it is notable to mention pavucontrol if you have previously played more extensively on GNU / Linux you should have already used if not it is really cozy volume control tool with a lot of tuning options regarding pulseaudio stream server. Considering that like me you’re using a GNOME as a desktop environment you will also need gnome-bluetooth package, e.g.:
# apt-get install gnome-bluetooth
As Pulseaudio is used as a sound streaming server in GNU / Linux (assuming your Debian version is using it you’ll also need to have installed pulseaudio-module-bluetooth)
# apt-get install pulseaudio-module
For Ubuntu 14.04 GNU / Linux users the list of necessery bluetooth packages is a bit longer, if you’re on this OS go and install:
# apt-get install bluez bluez-alsa bluez-audio bluez-btsco bluez-compat bluez-cups bluez-dbg bluez-gstreamer bluez-hcidump bluez-pcmcia-support bluez-tools bluez-utils python-bluez bluewho indicator-bluetooth libbluetooth-dev libgnome-bluetooth11 libbluetooth3 python-gobject python-dbus
Moreover you will need pulseaudio-module-bluetooth deb package installed in order to be able to select the desired sound output.
Next it is time to restart Bluetooth service
# service bluetooth restart
[ ok ] Stopping bluetooth: rfcomm /usr/sbin/bluetoothd.
[ ok ] Starting bluetooth: bluetoothd rfcomm.
It is also a good idea to restart pulseaudio snd streaming server in order to load the newly installed pulseaudio bluetooth module settings, to do so issue:
And try to establish connection from Gnome-Bluetooth to the JBL Go (press the JBL Go bluetooth button) and search from the Linux bluetooth interface, once founded connect it.
Before JBL Go appears to list listable blootooth devices you will also need to run following command:
# pactl load-module module-bluetooth-discover
26
This command is to connect bluetooth discovered JBL Go device to the audio sink interface.
It is generally idea to add this line also to /etc/rc.local to make the setting permanently executed on every Linux boot.
Now you can launch pavucontrol and hopefully the JBL GO bluetooth speaker should be visible as an option, check out my below screenshot:
In case you further experience issues connecting the Bluetooth Speaker I would recommend to check out this Debian a2dp page at the end of the page are troubleshooting suggestions.
Refused to switch profile to a2dp_sink: Not connected
Bluetooth headset is connected, but ALSA/PulseAudio fails to pick up the connected device or there’s no device to pick. This happens because GDM captures A2DP sink on session start, as GDM needs pulseaudio in the gdm session for accessibility. For example, the screen reader requires it. See 805414 for some discussion.
Workaround 1: disable pulseaudio in gdm
In order to prevent GDM from capturing the A2DP sink on session start, edit /var/lib/gdm3/.config/pulse/client.conf (or create it, if it doesn’t exist):
After that you have to grant access to this file to Debian-gdm user:
You will also need to disable pulseaudio startup:
In order to auto-connect a2dp for some devices, add this to /etc/pulse/default.pa:
Logout your Desktop environment and restart gdm3 /etc/init.d/gdm3 restart or Reboot the PC and then it should be fine.
Now the sound device (bluetooth headset) should be accessible through pavucontrol and standard audio device manager.
Workaround 2: disable pulseaudio’s bluetooth in gdm
The actual solution package maintainers are looking into next is to simply disable the bluetooth sink in the gdm pulseaudio daemon so that it doesn’t take over the device. Add this to /var/lib/gdm3/.config/pulse/default.pa:
Though this article explains how to connect a bluetooth speaker connecting Bluetooth Speaker to GNU / Linux is done in analogous way
Источник