You are not logged in.

#1 2017-03-13 22:27:10

Farbiathan
Member
Registered: 2012-05-10
Posts: 14

Lost connection to bluetooth devices, cannot pair again.

Dear Arch Users,

I am currently unable to pair any bluetooth devices with my machine. Until yesterday, I had successfully paired both a Logitech K811 keyboard and my Bose QC35 headphones. After a reboot (I was working on pulseaudio), the connection failed and I have not been successful in restoring it.

Devices to pair: Logitech K811 keyboard, Bose QC35 headphones

I have read and followed the instruction in the wiki ( https://wiki.archlinux.org/index.php/Bluetooth , https://wiki.archlinux.org/index.php/Bl … _keyboard)

The following packages are installed: bluez 5.44-1 , bluez-utils-compat[AUR] (bluez-utils does not work either), blueberry

Here is what I tried using the commandline:

bluetoothctl
[NEW] Controller [MAC ADDRESS] FZWS [default]
[NEW] Device [MAC ADDRESS KEYBOARD]  [MAC ADDRESS KEYBOARD] 
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# agent KeyboardOnly
Agent registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# scan on
Discovery started
[CHG] Controller 54:8C: A0:54:41:54 Discovering: yes
[CHG] Device [MAC ADDRESS KEYBOARD]  LegacyPairing: yes
[CHG] Device [MAC ADDRESS KEYBOARD]  RSSI: -38
[bluetooth]# pair [MAC ADDRESS KEYBOARD] 
Attempting to pair with [MAC ADDRESS KEYBOARD] 
Failed to pair: org.bluez.Error.AuthenticationTimeout
[bluetooth]# 

As I said, this worked before and I was able to enter a PIN on the keyboard.

Attempted problem resolutions:
- Downgraded all arch packages to 1 March using Archive --> Not resolved
- Deleted /var/lib/bluetooth
- Tried to pair many times, rebooted
- Tried https://wiki.archlinux.org/index.php/Bl … s_not_pair with no luck
- Tried blueberry GUI, no luck

The arch linux installation is fully updated as of tonight.
Any help is appreciated and please do let me know if you need additional information.

Best,
F


Here are the logs:

journalctl -u bluetooth
Mar 13 21:57:19 FZWS systemd[1]: Starting Bluetooth service...
Mar 13 21:57:19 FZWS bluetoothd[419]: Bluetooth daemon 5.44
Mar 13 21:57:19 FZWS systemd[1]: Started Bluetooth service.
Mar 13 21:57:19 FZWS bluetoothd[419]: Starting SDP server
Mar 13 21:57:19 FZWS bluetoothd[419]: Bluetooth management interface 1.14 initialized
Mar 13 21:57:42 FZWS bluetoothd[419]: Endpoint registered: sender=:1.38 path=/MediaEndpoint/A2DPSource
Mar 13 21:57:42 FZWS bluetoothd[419]: Endpoint registered: sender=:1.38 path=/MediaEndpoint/A2DPSink
hciconfig -a
hci0:	Type: Primary  Bus: USB
	BD Address: [MAC ADDRESS]   ACL MTU: 1024:8  SCO MTU: 50:8
	UP RUNNING PSCAN ISCAN 
	RX bytes:1792 acl:0 sco:0 events:107 errors:0
	TX bytes:2851 acl:0 sco:0 commands:89 errors:0
	Features: 0xff 0xfe 0x8f 0xfe 0xd8 0x3f 0x5b 0x87
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: RSWITCH HOLD SNIFF 
	Link mode: SLAVE ACCEPT 
	Name: 'FZWS'
	Class: 0x1c0104
	Service Classes: Rendering, Capturing, Object Transfer
	Device Class: Computer, Desktop workstation
	HCI Version: 4.1 (0x7)  Revision: 0x0
	LMP Version: 4.1 (0x7)  Subversion: 0x25a
	Manufacturer: Qualcomm (29)
 rfkill list
0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: phy0: Wireless LAN
	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 Mon 2017-03-13 21:57:19 GMT; 23min ago
     Docs: man:bluetoothd(8)
 Main PID: 419 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bluetooth.service
           └─419 /usr/lib/bluetooth/bluetoothd

Mar 13 21:57:19 FZWS systemd[1]: Starting Bluetooth service...
Mar 13 21:57:19 FZWS bluetoothd[419]: Bluetooth daemon 5.44
Mar 13 21:57:19 FZWS systemd[1]: Started Bluetooth service.
Mar 13 21:57:19 FZWS bluetoothd[419]: Starting SDP server
Mar 13 21:57:19 FZWS bluetoothd[419]: Bluetooth management interface 1.14 initialized
Mar 13 21:57:42 FZWS bluetoothd[419]: Endpoint registered: sender=:1.38 path=/MediaEndpoint/A2DPSource
Mar 13 21:57:42 FZWS bluetoothd[419]: Endpoint registered: sender=:1.38 path=/MediaEndpoint/A2DPSink
Bus 001 Device 004: ID 0b05:1825 ASUSTek Computer, Inc. Qualcomm Bluetooth 4.1
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.01
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x0b05 ASUSTek Computer, Inc.
  idProduct          0x1825 Qualcomm Bluetooth 4.1
  bcdDevice            0.01
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          177
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0009  1x 9 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0009  1x 9 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0011  1x 17 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0011  1x 17 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0019  1x 25 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0019  1x 25 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0021  1x 33 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0021  1x 33 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0031  1x 49 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0031  1x 49 bytes
        bInterval               1
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           12
  bNumDeviceCaps          1
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000002
      HIRD Link Power Management (LPM) Supported
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered

Last edited by Farbiathan (2017-03-13 22:27:52)

Offline

#2 2017-03-14 02:51:44

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: Lost connection to bluetooth devices, cannot pair again.

try using "trust" before pair

Offline

#3 2017-03-14 08:20:07

Farbiathan
Member
Registered: 2012-05-10
Posts: 14

Re: Lost connection to bluetooth devices, cannot pair again.

Hi Docbroke,

Thanks for the suggestion, but it did not resolve the issue:

bluetoothctl
[NEW] Controller [MAC ADDRESS] FZWS [default]
[NEW] Device [MAC ADDRESS] [MAC ADDRESS]
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# agent KeyboardOnly 
Agent registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# scan on
Discovery started
[CHG] Controller [MAC ADDRESS] Discovering: yes
[CHG] Device [MAC ADDRESS] LegacyPairing: yes
[CHG] Device [MAC ADDRESS] RSSI: -37
[bluetooth]# trust [MAC ADDRESS]
[CHG] Device [MAC ADDRESS] Trusted: yes
Changing [MAC ADDRESS] trust succeeded
[bluetooth]# pair [MAC ADDRESS]
Attempting to pair with[ MAC ADDRESS]
Failed to pair: org.bluez.Error.AuthenticationTimeout

Any other ideas?

Cheers,
F

Offline

#4 2017-03-14 08:46:02

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: Lost connection to bluetooth devices, cannot pair again.

Have you paired your devices with something else (another computer?)? Do you have some key on your device that needs to be pressed when pairing first time?, this may be useful if you have paired your device with some other computer in-between.
Do you get same error with "connect"?

Offline

#5 2017-03-14 08:56:06

Farbiathan
Member
Registered: 2012-05-10
Posts: 14

Re: Lost connection to bluetooth devices, cannot pair again.

Hi,

Yes, I paired the keyboard successfully to my iPhone. I need to press a button on the back to get it into pairing mode, which I do everytime I use bluetoothctl.

I do get the same error with "connect":

bluetoothctl
[NEW] Controller [MAC ADDRESS] FZWS [default]
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# agent KeyboardOnly 
Agent registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# scan on
Discovery started
[CHG] Controller [MAC ADDRESS] Discovering: yes
[NEW] Device [MAC ADDRESS] [MAC ADDRESS]7
[bluetooth]# trust 0[MAC ADDRESS]
[CHG] Device [MAC ADDRESS] Trusted: yes
Changing [MAC ADDRESS] trust succeeded
[bluetooth]# pair [MAC ADDRESS]
Attempting to pair with [MAC ADDRESS]
Failed to pair: org.bluez.Error.AuthenticationTimeout
[bluetooth]# connect [MAC ADDRESS]
Attempting to connect to [MAC ADDRESS]
Failed to connect: org.bluez.Error.Failed

Offline

#6 2017-03-14 09:04:07

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: Lost connection to bluetooth devices, cannot pair again.

Are you keeping bluetooth in your iphone off, while trying to pair keyboard with your computer??
You shall not need to press that button everytime, if it is paired once, you should get away with "power on" and "connect" or I think only "power on" not even "connect".

Last edited by Docbroke (2017-03-14 09:08:40)

Offline

#7 2017-03-14 09:08:20

Farbiathan
Member
Registered: 2012-05-10
Posts: 14

Re: Lost connection to bluetooth devices, cannot pair again.

I have turned it off now, but no luck.

Here are the btmon logs when issuing the commands:

[deprecated]
@ MGMT Command: Pair Device (0x0019) plen 8          {0x0001} [hci0] 338.301584
        BR/EDR Address: [MAC ADDRESS] (Logitech Europe SA)
        Capability: KeyboardOnly (0x02)
< HCI Command: Create Connection (0x01|0x0005) plen 13        [hci0] 338.301644
        Address:[MAC ADDRESS] (Logitech Europe SA)
        Packet type: 0xcc18
          DM1 may be used
          DH1 may be used
          DM3 may be used
          DH3 may be used
          DM5 may be used
          DH5 may be used
        Page scan repetition mode: R2 (0x02)
        Page scan mode: Mandatory (0x00)
        Clock offset: 0x0000
        Role switch: Allow slave (0x01)
> HCI Event: Command Status (0x0f) plen 4                     [hci0] 338.302380
      Create Connection (0x01|0x0005) ncmd 1
        Status: Command Disallowed (0x0c)
> HCI Event: Remote Name Req Complete (0x07) plen 255         [hci0] 338.336366
        Status: Unknown Connection Identifier (0x02)
        Address: [MAC ADDRESS] (Logitech Europe SA)
        Name: 
< HCI Command: Create Connection (0x01|0x0005) plen 13        [hci0] 338.336391
        Address: [MAC ADDRESS](Logitech Europe SA)
        Packet type: 0xcc18
          DM1 may be used
          DH1 may be used
          DM3 may be used
          DH3 may be used
          DM5 may be used
          DH5 may be used
        Page scan repetition mode: R2 (0x02)
        Page scan mode: Mandatory (0x00)
        Clock offset: 0x0000
        Role switch: Allow slave (0x01)
> HCI Event: Command Status (0x0f) plen 4                     [hci0] 338.337368
      Create Connection (0x01|0x0005) ncmd 1
        Status: Success (0x00)
> HCI Event: Connect Complete (0x03) plen 11                  [hci0] 368.632392
        Status: LMP Response Timeout / LL Response Timeout (0x22)
        Handle: 9
        Address: [MAC ADDRESS] (Logitech Europe SA)
        Link type: ACL (0x01)
        Encryption: Disabled (0x00)
@ MGMT Event: Connect Failed (0x000d) plen 8         {0x0002} [hci0] 368.632431
        BR/EDR Address: [MAC ADDRESS] (Logitech Europe SA)
        Status: Timeout (0x08)
@ MGMT Event: Connect Failed (0x000d) plen 8         {0x0001} [hci0] 368.632431
        BR/EDR Address: 00:1F:20

Last edited by Farbiathan (2017-03-14 09:09:05)

Offline

#8 2017-03-14 09:10:46

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: Lost connection to bluetooth devices, cannot pair again.

remove the device from bluetoothctl, followed by scan, trust, pair and connect

Offline

#9 2017-03-14 20:44:56

Farbiathan
Member
Registered: 2012-05-10
Posts: 14

Re: Lost connection to bluetooth devices, cannot pair again.

I did this, but no luck unfortunately. I could also successfully pair my keyboard on my MacbookPro under MacOS. So this is not an issue with me being unable to get the keyboard into pairing mode.
Are there any configuration files that I should reset and/or setting I could change?

Cheers,
F

Last edited by Farbiathan (2017-03-14 20:45:40)

Offline

#10 2017-03-14 20:57:39

jeremy31
Member
Registered: 2015-11-01
Posts: 149

Re: Lost connection to bluetooth devices, cannot pair again.

What is the wireless device

lspci -nnk | grep -iA2 net

I suspect it is Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)

Lets see some more info about the bluetooth

usb-devices | awk '/1825/' RS=

The Atheros bluetooth chipsets have needed firmware to work for quite some time and I see no sign of the device ID in bluetooth source code, are you dual boot with Windows?

Offline

#11 2017-03-14 21:05:06

Farbiathan
Member
Registered: 2012-05-10
Posts: 14

Re: Lost connection to bluetooth devices, cannot pair again.

Hi jeremy31,

You were spot on! It is this exact model:

lspci -nnk | grep -iA2 net
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-V [8086:15b8] (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device [1043:8672]
	Kernel driver in use: e1000e
--
05:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
	Subsystem: ASUSTeK Computer Inc. Device [1043:86cd]
	Kernel driver in use: ath10k_pci
usb-devices | awk '/1825/' RS=
T:  Bus=01 Lev=01 Prnt=01 Port=12 Cnt=01 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 2.01 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0b05 ProdID=1825 Rev=00.01
C:  #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb

And yes, I dual boot with Windows (unfortunately..).

Cheers,
F

Last edited by Farbiathan (2017-03-14 21:05:36)

Offline

#12 2017-03-14 21:07:50

Farbiathan
Member
Registered: 2012-05-10
Posts: 14

Re: Lost connection to bluetooth devices, cannot pair again.

It also appears a firmware version is missing?

dmesg | grep firmware
[    2.140325] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:05:00.0.bin failed with error -2
[    2.140331] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/cal-pci-0000:05:00.0.bin failed with error -2
[    2.142275] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[    2.142277] ath10k_pci 0000:05:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[    2.147313] ath10k_pci 0000:05:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5

Offline

#13 2017-03-14 21:35:37

jeremy31
Member
Registered: 2015-11-01
Posts: 149

Re: Lost connection to bluetooth devices, cannot pair again.

Farbiathan wrote:

It also appears a firmware version is missing?

dmesg | grep firmware
[    2.140325] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:05:00.0.bin failed with error -2
[    2.140331] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/cal-pci-0000:05:00.0.bin failed with error -2
[    2.142275] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[    2.142277] ath10k_pci 0000:05:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[    2.147313] ath10k_pci 0000:05:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5

That is normal for the wireless card you have.  The pre-cal-pci and cal-pci seem to be files that would be needed to run the card in a router in AP mode and only one firmware-*.bin file is needed and you seem to have a 4 version
[    2.147313] ath10k_pci 0000:05:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5

For a test, do a shutdown and then boot into Windows then a reboot into Arch and I think bluetooth will work in Arch from the firmware that Windows loads

Offline

#14 2017-03-14 21:52:26

Farbiathan
Member
Registered: 2012-05-10
Posts: 14

Re: Lost connection to bluetooth devices, cannot pair again.

I rebooted according to your instructions and still no luck. FYI I also tried pairing in Windows and that did not work either?

P.S. I am connected via WiFi, which works well.

Last edited by Farbiathan (2017-03-14 21:55:42)

Offline

#15 2017-03-14 22:10:56

jeremy31
Member
Registered: 2015-11-01
Posts: 149

Re: Lost connection to bluetooth devices, cannot pair again.

See https://wiki.archlinux.org/index.php/Co … nel_module and install base-devel and linux-headers and download the kernel source for your kernel.  Then go into the /drivers/bluetooth directory and use a text editor to open btusb.c
Some where around line 260 you should find something similar to this

	/* QCA ROME chipset */
	{ USB_DEVICE(0x0cf3, 0xe007), .driver_info = BTUSB_QCA_ROME },
	{ USB_DEVICE(0x0cf3, 0xe009), .driver_info = BTUSB_QCA_ROME },
	{ USB_DEVICE(0x0cf3, 0xe300), .driver_info = BTUSB_QCA_ROME },
	{ USB_DEVICE(0x0cf3, 0xe360), .driver_info = BTUSB_QCA_ROME },
	{ USB_DEVICE(0x0489, 0xe092), .driver_info = BTUSB_QCA_ROME },
	{ USB_DEVICE(0x04ca, 0x3011), .driver_info = BTUSB_QCA_ROME },

and in that code add

	{ USB_DEVICE(0x0b05, 0x1825), .driver_info = BTUSB_QCA_ROME },

Make sure the indent matches the rest and save the file
Then you can follow the instructions at the link for source configuration and module compilation.  I usually make modules with

make -C /lib/modules/$(uname -r)/build M=$(pwd) modules

This will make all modules in the directory but we just need to copy the one after compressing it so

gzip btusb.ko
sudo cp btusb.ko.gz /lib/modules/$(uname -r)/kernel/drivers/bluetooth/

Reboot and check

dmesg | egrep -i 'blue|firm'

Offline

#16 2017-03-14 22:13:20

Farbiathan
Member
Registered: 2012-05-10
Posts: 14

Re: Lost connection to bluetooth devices, cannot pair again.

Awesome, will do. I also think that you are active in the Ubuntu forums (at least someone using the same name) and it appears there is a similar bug report reported for Ubuntu: https://bugs.launchpad.net/ubuntu/+sour … ug/1665589

Back in a second.

Offline

#17 2017-03-14 22:24:57

jeremy31
Member
Registered: 2015-11-01
Posts: 149

Re: Lost connection to bluetooth devices, cannot pair again.

It is similar as that device isn't in the source code yet but he messed his wireless firmware up as those -11 errors are usually board.bin related.  I hope it works

I am a moderator on the Ubuntu and Mint forums and I mess around with an Arch ISO I have on USB, nothing but terminal isn't so bad sometimes

Offline

#18 2017-03-14 22:32:13

Farbiathan
Member
Registered: 2012-05-10
Posts: 14

Re: Lost connection to bluetooth devices, cannot pair again.

Here we go:

dmesg | egrep -i 'blue|firm'                                            
[    0.503231] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    1.682205] Bluetooth: Core ver 2.22
[    1.682213] Bluetooth: HCI device and connection manager initialized
[    1.682214] Bluetooth: HCI socket layer initialized
[    1.682215] Bluetooth: L2CAP socket layer initialized
[    1.682217] Bluetooth: SCO socket layer initialized
[    1.686344] Bluetooth: HCI UART driver ver 2.3
[    1.686344] Bluetooth: HCI UART protocol H4 registered
[    1.686345] Bluetooth: HCI UART protocol BCSP registered
[    1.686345] Bluetooth: HCI UART protocol LL registered
[    1.686345] Bluetooth: HCI UART protocol ATH3K registered
[    1.686346] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    1.686359] Bluetooth: HCI UART protocol Intel registered
[    1.686365] Bluetooth: HCI UART protocol Broadcom registered
[    1.686366] Bluetooth: HCI UART protocol QCA registered
[    1.686366] Bluetooth: HCI UART protocol AG6XX registered
[    1.686366] Bluetooth: HCI UART protocol Marvell registered
[    2.129629] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.129629] Bluetooth: BNEP filters: protocol multicast
[    2.129631] Bluetooth: BNEP socket layer initialized
[    2.310920] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:05:00.0.bin failed with error -2
[    2.310925] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/cal-pci-0000:05:00.0.bin failed with error -2
[    2.311953] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[    2.311954] ath10k_pci 0000:05:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[    2.315260] ath10k_pci 0000:05:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5

and when trying to pair still no luck sad I am really confused why this stopped working..

Last edited by Farbiathan (2017-03-14 22:34:15)

Offline

#19 2017-03-14 22:50:46

jeremy31
Member
Registered: 2015-11-01
Posts: 149

Re: Lost connection to bluetooth devices, cannot pair again.

Probably should check

dmesg | egrep 'btusb|taint'

To make sure the right module is being loaded or we could redo the module and change

#define VERSION "0.8"

to

#define VERSION "1.1"

before compiling then a simple

modinfo btusb | grep -i version

would tell if the modified one was loaded.  I wonder if an error would pop in dmesg if /lib/firmware/ar3k was renamed to /lib/firmware/ath3k. Then reboot and check

dmesg | egrep -i 'blue|firm'

If nothing else the question should be asked after registering at http://www.bluez.org/development/lists/ so this gets fixed upstream.  Send plain text emails and include results for

usb-devices | awk '/1825/' RS=

I guess it it possible that the btusb.c at about line 151 could be an issue and could be deleted in your case

	/* ASUSTek Computer - Broadcom based */
	{ USB_VENDOR_AND_INTERFACE_INFO(0x0b05, 0xff, 0x01, 0x01),
	  .driver_info = BTUSB_BCM_PATCHRAM },

before compiling, zipping and copying the module

Offline

#20 2017-03-14 23:06:22

Farbiathan
Member
Registered: 2012-05-10
Posts: 14

Re: Lost connection to bluetooth devices, cannot pair again.

Thank you, Jeremy. I have updated the btusb module accordingly, but am still experiencing the same issue. I will report upstream and see where I get.
Thanks for your excellent help!

Cheers,
F

 modinfo btusb | grep -i version
version:        1.1
srcversion:     6AACCEA71C79C4709E2C18E
vermagic:       4.10.2-1-ARCH SMP preempt mod_unload modversions 

Offline

Board footer

Powered by FluxBB