Bluetooth host is down

Linux Mint Forums

Connection Failed: blueman.bluez.errors.DBusFailedError: Host is down

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

Connection Failed: blueman.bluez.errors.DBusFailedError: Host is down

Post by James_Smith » Fri Jan 13, 2017 6:50 pm

More bluetooth problems. Different from the ones I had before but just as frustrating.

My bluetooth mouse fails to connect and I get the aforementioned error message. A google search reveals a solution for a bluetooth audio headset, but obviously that won’t work here.

Just now, I was able to get it to connect, and it started working again but just for a second. Then Blueman froze up and everything disconnected again. I killed Blueman and tried it again and it immediate froze. Prior to this modicum of success, I had turned off everything (mouse, computer, bluetooth speaker system) and turned it all back on again several times with no success.

mac@mac-Lenovo-Y50-70-Touch ~ $ inxi -FxzdSystem: Host: mac-Lenovo-Y50-70-Touch Kernel: 4.4.0-57-generic x86_64 (64 bit gcc: 5.4.0) Desktop: Cinnamon 3.2.7 (Gtk 3.18.9) Distro: Linux Mint 18.1 Serena Machine: System: LENOVO product: 20349 v: Lenovo Y50-70 Touch Mobo: LENOVO model: Lenovo Y50-70 Touch v: 31900058Std Bios: LENOVO v: 9ECN43WW(V3.03) date: 08/12/2015 CPU: Quad core Intel Core i7-4700HQ (-HT-MCP-) cache: 6144 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 19156 clock speeds: max: 3400 MHz 1: 2400 MHz 2: 2400 MHz 3: 2412 MHz 4: 2400 MHz 5: 2400 MHz 6: 2496 MHz 7: 2580 MHz 8: 2400 MHz Graphics: Card-1: Intel 4th Gen Core Processor Integrated Graphics Controller bus-ID: 00:02.0 Card-2: NVIDIA GM107M [GeForce GTX 860M] bus-ID: 01:00.0 Display Server: X.Org 1.18.4 driver: nvidia Resolution: 3840x2160@48.00hz GLX Renderer: GeForce GTX 860M/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 367.57 Direct Rendering: Yes Audio: Card-1 Intel 8 Series/C220 Series High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0 Card-2 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller driver: snd_hda_intel bus-ID: 00:03.0 Sound: Advanced Linux Sound Architecture v: k4.4.0-57-generic Network: Card-1: Intel Wireless 7260 driver: iwlwifi bus-ID: 08:00.0 IF: wlp8s0 state: up mac: Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 09:00.0 IF: enp9s0 state: down mac: Card-3: Atmel usb-ID: 003-002 IF: null-if-id state: N/A speed: N/A duplex: N/A mac: N/A Drives: HDD Total Size: 2000.4GB (51.6% used) ID-1: USB /dev/sda model: TOURO_S size: 1000.2GB ID-2: /dev/sdb model: Crucial_CT1024MX size: 1000.2GB ID-3: /dev/mmcblk0 model: N/A size: 63.9GB Optical: No optical drives detected. Partition: ID-1: / size: 442G used: 377G (90%) fs: ext4 dev: /dev/sdb5 ID-2: swap-1 size: 17.09GB used: 0.00GB (0%) fs: swap dev: /dev/sdb6 RAID: No RAID devices: /proc/mdstat, md_mod kernel module present Sensors: System Temperatures: cpu: 60.0C mobo: N/A gpu: 0.0:54C Fan Speeds (in rpm): cpu: N/A Info: Processes: 240 Uptime: 7 min Memory: 1624.0/15963.8MB Init: systemd runlevel: 5 Gcc sys: 5.4.0 Client: Shell (bash 4.3.461) inxi: 2.2.35

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Источник

Читайте также:  Блютуз колонка home assistant

подключение Bluetooth: хост снижается

Я нахожусь на человечности 17.10 и пытающийся подключить мою гарнитуру Bluetooth QCY-Q19., который она может соединить, но каждый раз, когда я пытаюсь соединиться, я получаю эту ошибку Connection Failed: blueman.bluez.errors.DBusFailedError: Host is down иногда это соединяется в течение нескольких секунд и затем перестало работать с той же ошибкой.

3 ответа

У меня была эта точно та же самая проблема прежде. То, что я закончил тем, что делал, не соединяло устройство, сбрасывая его, который решил проблему соединения. После этого я сохранил его как доверенное устройство и до сих пор не имел проблем с тех пор.

Можно также видеть эту ошибку, если устройство, с которым Вы пытаетесь соединиться, уже соединяется к чему-то еще. Например, мои наушники будут фиксироваться на мой телефон, если он будет иметь Bluetooth на, заставляя мой рабочий стол Ubuntu не удаться соединиться.

У меня была эта проблема в версии 20.04. Я отключил его от своего телефона, и проблема решена.

Другие вопросы по тегам:

Похожие вопросы:

  • Следы от сразу приостанавливают когда разъединенное bluetooth-устройство — 2 November 2018 01:10
  • Что вызывает отключение моего устройства Intel 7260 bluetooth, когда я разблокирую его с помощью rfkill? — 29 January 2014 10:28
  • В этом репозитории отсутствует файл выпуска [duplicate] — 9 December 2016 04:19
  • Я загрузил gparted и попытался начать с (Alt + F2), но я получаю окно, которое сообщает, что я должен иметь root-priviliges [duplicate] — 12 April 2018 20:01
  • Как я показываю, что ответвление мерзавца с раскрашивает подсказку Bash? — 7 February 2016 01:39
  • Ubuntu поддерживает Bluetooth 3.0? — 16 December 2011 17:51
  • Попытка установить направляющие на Ruby и получение ошибки удара во время установки — 26 February 2016 09:26

Источник

IOException: Host is down in bluetooth connection

I have two android phone in Android4.1 May be I can call them phone A and phone B. Then I know the MAC address and uuid of phone A. So what I want to do is that,I plan to give the MAC address and uuid of phone A to phone B,and make B connect to A in bluetooth.So A is the bluetooth server,B is bluetooth client. But when I do it .The phone B said
W/System.err(18404): java.io.IOException: Host is down The code in phone A as server like that:

 private class AcceptThread extends Thread < private final BluetoothServerSocket mmServerSocket; public AcceptThread() < BluetoothServerSocket tmp = null; try < Method m = mBluetoothAdapter.getClass().getMethod("listenUsingRfcommOn", new Class[] ); tmp = (BluetoothServerSocket)m.invoke(mBluetoothAdapter, new Object[]); Log.i("liyufei","in server we begin at uuid = "+selfUuid); > catch (Exception e) < e.printStackTrace(); >mmServerSocket = tmp; > public void run() < BluetoothSocket socket = null; // Keep listening until exception occurs or a socket is returned Log.i("liyufei","listening is begin"); while (true) < try < Log.i("liyufei","wait. "); socket = mmServerSocket.accept(); >catch (IOException e) < e.printStackTrace(); break; >Log.i("liyufei","keep going socket is try to create"); if (socket != null) < Log.i("liyufei","server socket accept. "); mHandler.obtainMessage(MESSAGE_ACCEPT).sendToTarget(); try < mmServerSocket.close(); >catch (IOException e) < // TODO Auto-generated catch block e.printStackTrace(); >break; > Log.i("liyufei","socket is null"); > Log.i("liyufei","while is stop"); > /** Will cancel the listening socket, and cause the thread to finish */ public void cancel() < try < mmServerSocket.close(); Log.i("liyufei","we try to Close server!!"); >catch (IOException e) < e.printStackTrace(); >> > 
private class ConnectThread extends Thread < private final BluetoothSocket mmSocket; private final BluetoothDevice mmDevice; public ConnectThread(BluetoothDevice device) < BluetoothSocket tmp = null; mmDevice = device; Log.i("liyufei","new connect thread. "); try < Method m = mmDevice.getClass().getMethod("createRfcommSocket", new Class[] ); tmp = (BluetoothSocket) m.invoke(mmDevice,Integer.valueOf(25)); > catch (Exception e) < e.printStackTrace(); >mmSocket = tmp; > public void run() < mBluetoothAdapter.cancelDiscovery(); try < Log.i("liyufei","we try to connect. "); mmSocket.connect(); >catch (Exception connectException) < Log.i("liyufei","connect to server failed. "); connectException.printStackTrace(); try < mmSocket.close(); >catch (IOException closeException) < >return; > Log.i("liyufei","client has success connect. "); mHandler.obtainMessage(MESSAGE_CONNECT).sendToTarget(); > /** Will cancel an in-progress connection, and close the socket */ public void cancel() < try < mmSocket.close(); >catch (IOException e) < >> > 

Then I just can get IOException:Host is down after mmSocket.connect(); in phone B Who can help me. Thank you very much . The Log after test suggestion from @Waqas

09-25 14:31:26.587: I/liyufei(12453): new connect thread. 09-25 14:31:26.587: I/liyufei(12453): we begin in connect uuid = 66d77030-9982-42cf-88a7-272954408361 09-25 14:31:26.595: E/BluetoothService.cpp(308): stopDiscoveryNative: D-Bus error in StopDiscovery: org.bluez.Error.Failed (Invalid discovery session) 09-25 14:31:26.595: I/liyufei(12453): we try to connect. 09-25 14:31:26.900: D/PhoneStatusBar(389): disable: < expand* icons alerts ticker system_info back home recent clock >09-25 14:31:26.970: D/dalvikvm(520): GC_FOR_ALLOC freed 140K, 44% free 14337K/25415K, paused 20ms, total 20ms 09-25 14:31:26.986: I/dalvikvm-heap(520): Grow heap (frag case) to 17.297MB for 3409936-byte allocation 09-25 14:31:27.017: D/dalvikvm(520): GC_CONCURRENT freed  

Источник

Blueman connection error (bluetooth issue)

When trying to connect my bluetooth headphones to my computer using blueman I get the following error. Connection Failed: blueman.bluez.errors.DBusFailedError: Resource temporarily unavailable I am using the Kubuntu flavor of ubuntu. (On a originally Xubuntu system)

Have you search for blue man with sudo apt-cache search blueman or seen if you could run apt-get build-dep blueman, if you were to run service blueman status, what is the error message

8 Answers 8

I had to unpair/pair my device again. Restarting bluetooth service didn't help.

This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review

@guntbert: The second sentence certainly appear to be a comment to that. The first sentence is a valid, self-contained answer. (I cannot confirm its veracity but that doesn’t matter to its classification as an answer here.)

run this to reset its configuration. turn off and on bluetooth and connect bluetooth headphone again. i had same issue on ubuntu 16.10 and it solve it! in this case you don't need blueman. run this and in Sound setting select your headphone

rm -r ~/.config/pulse; pulseaudio -k 

restart system. don't use blueman and etc. just restart system, then turn on bluetooth and connect. then go to sound setting and select headphone. hope it helps

blueman.bluez.errors.DBusFailedError: Resource temporarily unavailable

with blueman on Ubuntu Mate 18.04 when waking the machine up from suspension.

Simply restarting the bluetooth service with:

sudo systemctl restart bluetooth 

and rescanning usually resolves the issue quite easily.

I used the following command and it solved my problem:

sudo apt-get install pulseaudio-module-bluetooth pactl load-module module-bluetooth-discover 

Then try to reconnect your bluetooth headset.

Thank you! Arch users install the following aur: "pulseaudio-modules-bt" and restart bluetooth "sudo systemctl restart bluetooth". No need to reconnect anything. Just works as it should. Awesome!

My god. I almost gave up on a 250€ headset. this worked on Ubuntu 20.04 and had tried dozens of things.

Try restarting Pulse Audio, as also mentioned above. These commands worked for me.

pulseaudio --kill pulseaudio -vvv --start 

I received this error as the headset was already connected to another device (my phone). Check that the device you are wanting to connect to your Ubuntu instance is not already connected to another device, such as a mobile telephone, and then try to connect again.

One very easy thing you have to try before anything else, is check that there isn't any other device that is already connected to the device via bluetooth. For me it was my phone, which was connecting to a bluetooth speaker automatically. Once I disconnected it and restarted bluetooth adapter on my machine it worked out.

I'm using Plugalbe USB Bluetooth adaptor and ran into a similar problem. As their website site explains; "issue stems from a lack of support for these profiles on the Broadcom BCM20702 chipset found inside our device". The site provided a BCM20702 firmware update file with installation instructions which worked for me. Here's a link to that site. I hope this helps. https://plugable.com/2014/06/23/plugable-usb-bluetooth-adapter-solving-hfphsp-profile-issues-on-linux/

You must log in to answer this question.

Linked

Hot Network Questions

Subscribe to RSS

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

Site design / logo © 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2023.7.13.43531

Ubuntu and the circle of friends logo are trade marks of Canonical Limited and are used under licence.

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Источник

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