You are not logged in.

#1 2017-09-06 01:55:16

ArifRoktim
Member
Registered: 2017-02-28
Posts: 2

bluez failing

I can't get Bluetooth to work after reinstalling arch on my computer. It used to work fine but now turning on bluetooth fails everytime. It did work for an hour yesterday but it hasn't worked since.

$ bluetoothctl

[NEW] Controller 90:48:9A:07:F6:CA iroh [default]
[NEW] Device 20:A2:E4:C5:0D:7D Arif Roktim
Agent registered
[bluetooth]# power on
Failed to set power on: org.bluez.Error.Failed

$ rfkill list

0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

$ systemctl status bluetooth

● bluetooth.service - Bluetooth service
   Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2017-09-05 08:38:54 EDT; 13h ago
     Docs: man:bluetoothd(8)
 Main PID: 461 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bluetooth.service
           └─461 /usr/lib/bluetooth/bluetoothd

Sep 05 08:40:25 iroh bluetoothd[461]: Failed to set mode: Failed (0x03)
Sep 05 08:40:43 iroh bluetoothd[461]: Failed to set mode: Failed (0x03)
Sep 05 08:41:03 iroh bluetoothd[461]: Failed to set mode: Failed (0x03)
Sep 05 08:41:31 iroh bluetoothd[461]: Failed to set mode: Failed (0x03)
Sep 05 21:37:46 iroh bluetoothd[461]: Failed to set mode: Failed (0x03)
Sep 05 21:38:13 iroh bluetoothd[461]: Failed to set mode: Failed (0x03)
Sep 05 21:40:05 iroh bluetoothd[461]: Failed to set mode: Failed (0x03)
Sep 05 21:43:30 iroh bluetoothd[461]: Failed to set mode: Failed (0x03)
Sep 05 21:43:57 iroh bluetoothd[461]: Failed to set mode: Failed (0x03)
Sep 05 21:44:32 iroh bluetoothd[461]: Failed to set mode: Failed (0x03)

I'm stuck here. Help would be appreciated.

Last edited by ArifRoktim (2017-09-06 01:56:00)

Offline

#2 2017-09-06 02:05:48

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: bluez failing

What kernel? What power saving? Other messages in the journal? Versions?


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-09-06 02:10:53

ArifRoktim
Member
Registered: 2017-02-28
Posts: 2

Re: bluez failing

Kernel version: 4.12.8-2
Power saving: none
Other messages in journal:
journalctl -b --no-pager | grep -i blue

Sep 07 16:16:39 iroh kernel: Bluetooth: Core ver 2.22
Sep 07 16:16:39 iroh kernel: Bluetooth: HCI device and connection manager initialized
Sep 07 16:16:39 iroh kernel: Bluetooth: HCI socket layer initialized
Sep 07 16:16:39 iroh kernel: Bluetooth: L2CAP socket layer initialized
Sep 07 16:16:39 iroh kernel: Bluetooth: SCO socket layer initialized
Sep 07 16:16:39 iroh systemd[1]: Starting Bluetooth service...
Sep 07 16:16:39 iroh bluetoothd[453]: Bluetooth daemon 5.46
Sep 07 16:16:39 iroh systemd[1]: Started Bluetooth service.
Sep 07 16:16:39 iroh systemd[1]: Reached target Bluetooth.
Sep 07 16:16:39 iroh bluetoothd[453]: Starting SDP server
Sep 07 16:16:39 iroh bluetoothd[453]: Bluetooth management interface 1.14 initialized
Sep 07 16:16:39 iroh kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Sep 07 16:16:39 iroh kernel: Bluetooth: BNEP filters: protocol multicast
Sep 07 16:16:39 iroh kernel: Bluetooth: BNEP socket layer initialized
Sep 07 16:16:40 iroh NetworkManager[470]: <info>  [1504815400.6378] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/libnm-device-plugin-bluetooth.so)
Sep 07 16:16:40 iroh NetworkManager[470]: <info>  [1504815400.8972] bluez: use BlueZ version 5
Sep 07 16:16:42 iroh kernel: Bluetooth: hci0 command 0x080f tx timeout
Sep 07 16:16:42 iroh bluetoothd[453]: Loading LTKs timed out for hci0
Sep 07 16:16:44 iroh kernel: Bluetooth: hci0 command 0x0c1b tx timeout
Sep 07 16:16:46 iroh kernel: Bluetooth: hci0 command 0x0c46 tx timeout
Sep 07 16:16:48 iroh kernel: Bluetooth: hci0 command 0x2001 tx timeout
Sep 07 16:16:50 iroh bluetoothd[453]: Failed to set mode: Failed (0x03)
Sep 07 16:16:50 iroh kernel: Bluetooth: hci0 command tx timeout
Sep 07 16:16:51 iroh bluetoothd[453]: Endpoint registered: sender=:1.53 path=/MediaEndpoint/A2DPSource
Sep 07 16:16:51 iroh bluetoothd[453]: Endpoint registered: sender=:1.53 path=/MediaEndpoint/A2DPSink
Sep 07 16:16:51 iroh kernel: Bluetooth: RFCOMM TTY layer initialized
Sep 07 16:16:51 iroh kernel: Bluetooth: RFCOMM socket layer initialized
Sep 07 16:16:51 iroh kernel: Bluetooth: RFCOMM ver 1.11
Sep 07 16:17:05 iroh bluetoothd[453]: Failed to set mode: Failed (0x03)
Sep 07 16:17:06 iroh bluetoothd[453]: Endpoint registered: sender=:1.78 path=/MediaEndpoint/A2DPSource
Sep 07 16:17:06 iroh bluetoothd[453]: Endpoint registered: sender=:1.78 path=/MediaEndpoint/A2DPSink
Sep 07 16:17:06 iroh bluetoothd[453]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)
Sep 07 16:17:20 iroh bluetoothd[453]: Failed to set mode: Failed (0x03)
Sep 07 16:18:53 iroh sudo[1906]:     arif : TTY=pts/0 ; PWD=/home/arif ; USER=root ; COMMAND=/usr/bin/bluetoothctl
Sep 07 16:19:05 iroh bluetoothd[453]: Failed to set mode: Failed (0x03)

bluez version: 5.46-1

Last edited by ArifRoktim (2017-09-07 20:27:18)

Offline

Board footer

Powered by FluxBB