[SOLVED] Bluetooth seems alive but not working

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
Pangolin
Level 3
Level 3
Posts: 127
Joined: Sat Sep 12, 2015 4:16 pm

[SOLVED] Bluetooth seems alive but not working

Post by Pangolin »

Hi.
I recently installed Mint Cinnamon 17.3 on my toy laptop Acer Aspire One Cloudbook 11.
Everything (almost) is working fine except for bluetooth, that is quite an important feature for me.
Mint's built-in BT interface seems to be working normally but I can't find other devices, and other devices can't see the laptop.
So I installed Blueman BT manager.
In Blueman's window I can see the two little indicators (send/receive) show some network activity when attempting to find other devices, but still I can't find one.
What else could I try and/or check?
Could the issue be related to the old Bluez version installed by default in Mint (built-in 4.101 / latest 5.37)?
Last edited by Pangolin on Sat Feb 06, 2016 8:11 pm, edited 1 time in total.
I'm here thanks to Windows 10

JeremyB
Level 20
Level 20
Posts: 11326
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth seems alive but not working

Post by JeremyB »

Post the results from terminal for

Code: Select all

lspci -nnk | grep -iA2 net; lsusb; rfkill list all; uname -a; dmesg | egrep -i 'blue|firm'

Pangolin
Level 3
Level 3
Posts: 127
Joined: Sat Sep 12, 2015 4:16 pm

Re: Bluetooth seems alive but not working

Post by Pangolin »

Hi JeremyB.
Here is the output of the command:

Code: Select all

02:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
	Subsystem: Lite-On Communications Inc Device [11ad:0803]
	Kernel driver in use: ath9k
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 04ca:3014 Lite-On Technology Corp. 
Bus 001 Device 003: ID 064e:9404 Suyin Corp. 
Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
Linux Ao1 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[    0.218081] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[    4.436279] Bluetooth: Core ver 2.20
[    4.449716] Bluetooth: HCI device and connection manager initialized
[    4.449727] Bluetooth: HCI socket layer initialized
[    4.449732] Bluetooth: L2CAP socket layer initialized
[    4.449748] Bluetooth: SCO socket layer initialized
[    5.132407] Modules linked in: binfmt_misc aesni_intel(+) aes_x86_64 lrw gf128mul glue_helper ablk_helper snd_soc_rt5670 cryptd rtsx_usb_ms snd_soc_rl6231 snd_intel_sst_acpi memstick arc4 snd_intel_sst_core snd_hda_intel snd_soc_sst_mfld_platform snd_soc_core snd_compress snd_pcm_dmaengine snd_hda_controller snd_hda_codec ath9k snd_hwdep nls_iso8859_1 ath9k_common uvcvideo ath9k_hw joydev videobuf2_vmalloc ath videobuf2_memops serio_raw snd_pcm snd_seq_midi i915_bpo mac80211 snd_seq_midi_event videobuf2_core snd_rawmidi v4l2_common intel_ips videodev btusb drm_kms_helper media snd_seq cfg80211 bluetooth drm snd_seq_device lpc_ich shpchp snd_timer processor_thermal_device i2c_algo_bit mei_txe iosf_mbi mei 8250_fintek snd dw_dmac dw_dmac_core int3403_thermal i2c_hid hid dwc3 i2c_designware_platform i2c_designware_core udc_core soundcore pwm_lpss_platform rfkill_gpio spi_pxa2xx_platform pwm_lpss 8250_dw int3400_thermal acpi_thermal_rel soc_button_array acpi_pad pinctrl_cherryview mac_hid parport_pc ppdev lp parport dm_mirror dm_region_hash dm_log rtsx_usb_sdmmc rtsx_usb mmc_block psmouse wmi video sdhci_acpi sdhci
[    5.449461] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.449468] Bluetooth: BNEP filters: protocol multicast
[    5.449477] Bluetooth: BNEP socket layer initialized
[    5.485760] Bluetooth: RFCOMM TTY layer initialized
[    5.485776] Bluetooth: RFCOMM socket layer initialized
[    5.485788] Bluetooth: RFCOMM ver 1.11
Any hints?
Thanks.
I'm here thanks to Windows 10

JeremyB
Level 20
Level 20
Posts: 11326
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth seems alive but not working

Post by JeremyB »

The bluetooth chipset isn't supported in any Linux kernel yet. I can patch kernel source so the modules will work but what I suspect we will still need to find firmware. Are you dual booted with Windows?

Pangolin
Level 3
Level 3
Posts: 127
Joined: Sat Sep 12, 2015 4:16 pm

Re: Bluetooth seems alive but not working

Post by Pangolin »

JeremyB wrote:Are you dual booted with Windows?
No: it's a Mint-only machine.
I'm here thanks to Windows 10

JeremyB
Level 20
Level 20
Posts: 11326
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth seems alive but not working

Post by JeremyB »

Code: Select all

sudo apt-get install build-essential linux-headers-generic
wget https://www.dropbox.com/s/imajmnkpugqz5ij/bluetooth-3.19-1.tar.gz
tar -zxvf bluetooth-3.19-1.tar.gz
cd bluetooth
make -C /lib/modules/$(uname -r)/build M=$(pwd) modules
sudo cp btusb.ko /lib/modules/$(uname -r)/kernel/drivers/bluetooth/
sudo cp ath3k.ko /lib/modules/$(uname -r)/kernel/drivers/bluetooth/
Reboot and post

Code: Select all

dmesg | egrep -i 'blue|firm'

Pangolin
Level 3
Level 3
Posts: 127
Joined: Sat Sep 12, 2015 4:16 pm

Re: Bluetooth seems alive but not working

Post by Pangolin »

Thanks for trying to help, JeremyB.
I performed all the steps but now the BT adapter is not recognized anymore :mrgreen:
Here's the output you requested:

Code: Select all

[    0.218031] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[    4.207650] Bluetooth: Core ver 2.20
[    4.207731] Bluetooth: HCI device and connection manager initialized
[    4.207739] Bluetooth: HCI socket layer initialized
[    4.207743] Bluetooth: L2CAP socket layer initialized
[    4.207755] Bluetooth: SCO socket layer initialized
[    4.586642] Modules linked in: ghash_clmulni_intel(+) aesni_intel snd_soc_core snd_compress snd_pcm_dmaengine arc4 aes_x86_64 lrw gf128mul snd_seq_midi glue_helper ablk_helper snd_seq_midi_event cryptd ath9k uvcvideo ath9k_common rtsx_usb_ms memstick videobuf2_vmalloc ath9k_hw videobuf2_memops snd_rawmidi ath videobuf2_core joydev v4l2_common snd_hda_intel snd_hda_controller videodev snd_hda_codec snd_hwdep serio_raw mac80211 media snd_seq btusb(OE) snd_pcm lpc_ich bluetooth i915_bpo cfg80211 snd_seq_device intel_ips mei_txe drm_kms_helper shpchp mei snd_timer processor_thermal_device drm i2c_algo_bit iosf_mbi 8250_fintek snd dw_dmac dw_dmac_core i2c_hid hid dwc3 int3400_thermal i2c_designware_platform i2c_designware_core acpi_thermal_rel soundcore int3403_thermal udc_core rfkill_gpio spi_pxa2xx_platform 8250_dw pwm_lpss_platform pwm_lpss soc_button_array parport_pc pinctrl_cherryview acpi_pad ppdev mac_hid lp parport dm_mirror dm_region_hash dm_log rtsx_usb_sdmmc rtsx_usb mmc_block psmouse video sdhci_acpi wmi sdhci
[    5.969284] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.969291] Bluetooth: BNEP filters: protocol multicast
[    5.969300] Bluetooth: BNEP socket layer initialized
[    6.041395] Bluetooth: RFCOMM TTY layer initialized
[    6.041412] Bluetooth: RFCOMM socket layer initialized
[    6.041882] Bluetooth: RFCOMM ver 1.11
I'm here thanks to Windows 10

JeremyB
Level 20
Level 20
Posts: 11326
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth seems alive but not working

Post by JeremyB »

Forgot one step

Code: Select all

echo ath3k | sudo tee -a /etc/modules
Reboot, then see if it works

Pangolin
Level 3
Level 3
Posts: 127
Joined: Sat Sep 12, 2015 4:16 pm

Re: Bluetooth seems alive but not working

Post by Pangolin »

Nope.
BT adapter not recognized.
[ 0.218412] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[ 3.998144] Bluetooth: Core ver 2.20
[ 3.998227] Bluetooth: HCI device and connection manager initialized
[ 3.998236] Bluetooth: HCI socket layer initialized
[ 3.998241] Bluetooth: L2CAP socket layer initialized
[ 3.998260] Bluetooth: SCO socket layer initialized
[ 4.086103] usb 1-5: Direct firmware load for ar3k/AthrBT_0x31010100.dfu failed with error -2
[ 4.086115] Bluetooth: Patch file not found ar3k/AthrBT_0x31010100.dfu
[ 4.086119] Bluetooth: Loading patch file failed
[ 5.017087] Modules linked in: intel_rapl intel_powerclamp coretemp kvm_intel kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel dm_multipath scsi_dh snd_hda_intel snd_hda_controller nls_iso8859_1 arc4 snd_intel_sst_acpi uvcvideo snd_intel_sst_core videobuf2_vmalloc snd_soc_sst_mfld_platform snd_hda_codec aesni_intel snd_soc_rt5670 snd_hwdep videobuf2_memops ath9k snd_soc_rl6231 ath9k_common snd_soc_core i915_bpo ath9k_hw snd_compress aes_x86_64 snd_pcm_dmaengine ath rtsx_usb_ms(+) videobuf2_core lrw memstick v4l2_common videodev media intel_ips gf128mul glue_helper mac80211 snd_seq_midi ablk_helper snd_seq_midi_event cryptd snd_pcm drm_kms_helper joydev serio_raw snd_rawmidi mei_txe snd_seq drm mei btusb(OE) lpc_ich i2c_algo_bit cfg80211 shpchp snd_seq_device processor_thermal_device iosf_mbi snd_timer 8250_fintek dwc3 dw_dmac dw_dmac_core snd i2c_hid udc_core parport_pc hid spi_pxa2xx_platform rfkill_gpio i2c_designware_platform i2c_designware_core ppdev soundcore 8250_dw pwm_lpss_platform pwm_lpss int3403_thermal soc_button_array int3400_thermal mac_hid acpi_thermal_rel pinctrl_cherryview ath3k(OE) acpi_pad bluetooth lp parport dm_mirror dm_region_hash dm_log rtsx_usb_sdmmc rtsx_usb mmc_block psmouse video wmi sdhci_acpi sdhci
[ 6.141912] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 6.141919] Bluetooth: BNEP filters: protocol multicast
[ 6.141931] Bluetooth: BNEP socket layer initialized
[ 6.303007] Bluetooth: RFCOMM TTY layer initialized
[ 6.303026] Bluetooth: RFCOMM socket layer initialized
[ 6.303042] Bluetooth: RFCOMM ver 1.11
I'm here thanks to Windows 10

JeremyB
Level 20
Level 20
Posts: 11326
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth seems alive but not working

Post by JeremyB »

One more thing to do and it should work

Code: Select all

wget http://download.windowsupdate.com/d/msdownload/update/driver/drvs/2014/01/20623393_919a4673931aa789f0b1c3eeafb360b36097894a.cab
sudo cabextract 20623393_919a4673931aa789f0b1c3eeafb360b36097894a.cab -F *.dfu -d /lib/firmware/ar3k
Reboot and with the firmware it should eliminate this

Code: Select all

[ 4.086103] usb 1-5: Direct firmware load for ar3k/AthrBT_0x31010100.dfu failed with error -2
[ 4.086115] Bluetooth: Patch file not found ar3k/AthrBT_0x31010100.dfu
[ 4.086119] Bluetooth: Loading patch file failed

Pangolin
Level 3
Level 3
Posts: 127
Joined: Sat Sep 12, 2015 4:16 pm

Re: Bluetooth seems alive but not working

Post by Pangolin »

YES!
Bluetooth is working now :D
Could you summarize in a dummy-readable form the process that led to solve the issue?
A million thanks JeremyB.
I'm here thanks to Windows 10

JeremyB
Level 20
Level 20
Posts: 11326
Joined: Fri Feb 21, 2014 8:17 am

Re: [SOLVED] Bluetooth seems alive but not working

Post by JeremyB »

I patched the kernel source so it would support your bluetooth device, then you compiled them and replaced the existing kernel modules. Then we extracted firmware from a windows update file

JeremyB
Level 20
Level 20
Posts: 11326
Joined: Fri Feb 21, 2014 8:17 am

Re: [SOLVED] Bluetooth seems alive but not working

Post by JeremyB »

Can you post

Code: Select all

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

crisme
Level 1
Level 1
Posts: 1
Joined: Fri Apr 29, 2016 6:10 am

Re: [SOLVED] Bluetooth seems alive but not working

Post by crisme »

Hello Jeremy, I have followed this thread & instructions you provided for the same acer O1-131 and bluetooth works fine, thanks!
Would you still be interested to get the output for this code?
JeremyB wrote:Can you post

Code: Select all

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

JeremyB
Level 20
Level 20
Posts: 11326
Joined: Fri Feb 21, 2014 8:17 am

Re: [SOLVED] Bluetooth seems alive but not working

Post by JeremyB »

Dmitry got the info and submitted the fix upstream. Thanks

Post Reply

Return to “Hardware Support”