[SOLVED] Bluetooth not working

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
LucasLukero

[SOLVED] Bluetooth not working

Post by LucasLukero »

Hello,
I have a dual boot setup on my laptop (Acer Aspire E5-573G), with Windows 10 and Linux Mint 17.2; Until recently bluetooth was working fine, but now it suddenly stopped working and I can't see any device, nor do other devices see my laptop. Things I have done recently:

- I uninstalled a lot of programs from Windows (programs that came preinstalled with the laptop, don't remember the names exactly). Maybe one of those had something to do with the bluetooth, but i'm not sure.
- After that i noticed bluetooth stopped working on linux mint, so i reinstalled the bluetooth driver in Windows. Now it works fine on Windows, but still not on linux.

I've looked at other threads here, and while some of them seem to address similar issues, I haven't been able to fix the problem following the same steps.

The output from

Code: Select all

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

Code: Select all

lucas@acer-lucas ~ $ lspci -nnk | grep -iA2 net; lsusb; rfkill list all; uname -a; dmesg | egrep -i 'blue|firm'02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
	Subsystem: Acer Incorporated [ALI] Device [1025:098a]
	Kernel driver in use: r8169
03:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0042] (rev 30)
	Subsystem: Lite-On Communications Inc Device [11ad:1806]
	Kernel driver in use: ath10k_pci
Bus 001 Device 002: ID 8087:8001 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 002 Device 004: ID 1bcf:2c81 Sunplus Innovation Technology Inc. 
Bus 002 Device 003: ID 04ca:3015 Lite-On Technology Corp. 
Bus 002 Device 002: ID 0000:0538  
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
0: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no
1: acer-wireless: Wireless LAN
	Soft blocked: yes
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: yes
	Hard blocked: no
Linux acer-lucas 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[    0.145971] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    4.104292] [Firmware Bug]: ACPI(PXSX) defines _DOD but not _DOS
[   16.003989] Bluetooth: Core ver 2.19
[   16.004000] Bluetooth: HCI device and connection manager initialized
[   16.004006] Bluetooth: HCI socket layer initialized
[   16.004008] Bluetooth: L2CAP socket layer initialized
[   16.004013] Bluetooth: SCO socket layer initialized
[   16.552252] ath10k_pci 0000:03:00.0: Direct firmware load failed with error -2
[   16.577848] ath10k_pci 0000:03:00.0: Direct firmware load failed with error -2
[   22.726092] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   22.726095] Bluetooth: BNEP filters: protocol multicast
[   22.726101] Bluetooth: BNEP socket layer initialized
[   22.730888] Bluetooth: RFCOMM TTY layer initialized
[   22.730896] Bluetooth: RFCOMM socket layer initialized
[   22.730900] Bluetooth: RFCOMM ver 1.11
Any help would be appreciated!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth not working

Post by JeremyB »

Can you use the Linux Mint Update Manager, click on View, then Linux Kernels, select a 3.19.0 kernel and install?

I have a partially patched module for 3.19 that won't take much work to get your bluetooth going and to add all that to the 3.16 source code would be a pain

Bluetooth is soft blocked at this time so try

Code: Select all

rfkill unblock bluetooth
The only way for that bluetooth to work in 3.16 would be to boot into Windows and then reboot into Linux Mint, there is a possibility that the firmware loaded by windows drivers would not be lost on a reboot but a shutdown and cold boot in LM would result in no bluetooth

If you install 3.19 you will need to reinstall the backports for the wifi to work after a reboot into the new kernel

Code: Select all

cd backports-
then press TAB to see if autocomplete will fill the rest, if you found my instructions somewhere it is likely backports-20151120
then

Code: Select all

make clean
make defconfig-ath10k
make
sudo make install
Reboot for the wifi to work
LucasLukero

Re: Bluetooth not working

Post by LucasLukero »

So I installed the 3.19.0-32 kernel and then everything went exactly as you said :)
I found your instructions on another thread, reinstalled the backports, rebooted and now Wi-Fi works.
You said you had a patched module then?
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth not working

Post by JeremyB »

instructions.tar.gz
It doesn't seem to like posting the commands
LucasLukero

Re: Bluetooth not working

Post by LucasLukero »

Okay, something terrible happened.
I'm not sure what caused it, but after following the instructions and restarting the laptop, when I try to boot into linux mint the screen just goes black and it says: “Errors were found while checking the disk drive for /home“. I can't do anything after that.

The only other thing I was doing at the time was trying to install an Oracle database following these steps:
http://meandmyubuntulinux.blogspot.co.u ... press.html
http://meandmyubuntulinux.blogspot.co.u ... e-11g.html
Maybe I screwed something up while doing that

I shutdown the laptop prematurely at one point as well, maybe that caused it...

I need help :(
Sorry for the problems...
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth not working

Post by JeremyB »

It must have been something with the Oracle as I test built the module using the instructions, or you are having a hard drive malfunction.
I had a hard drive go bad last year on a dual boot LM 17 with Ubuntu on an external USB, strange things happen...long delays at startup occassional drives disapear

You might want to search the forums, I think you can use the ISO Live CD/DVD to fix some errors, check hard drive health
LucasLukero

Re: Bluetooth not working

Post by LucasLukero »

I'm able to access my files using a LiveUSB, so I don't think it's all lost. I'll try to see if I can repair it from there.
LucasLukero

Re: Bluetooth not working

Post by LucasLukero »

Okay, I fixed it with GParted; I can boot normally now.
However, bluetooth is still not working haha, even after doing all the steps.

rfkill list all returns this:

Code: Select all

0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: acer-wireless: Wireless LAN
	Soft blocked: yes
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: yes
	Hard blocked: no
While

Code: Select all

dmesg | egrep -i 'blue|firm'
returns this:

Code: Select all

[    0.147618] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[   12.087159] Bluetooth: Core ver 2.20
[   12.087171] Bluetooth: HCI device and connection manager initialized
[   12.087174] Bluetooth: HCI socket layer initialized
[   12.087176] Bluetooth: L2CAP socket layer initialized
[   12.087180] Bluetooth: SCO socket layer initialized
[   12.254612] bluetooth hci0: Direct firmware load for qca/rampatch_usb_00000300.bin failed with error -2
[   12.254617] Bluetooth: hci0: failed to request rampatch file: qca/rampatch_usb_00000300.bin (-2)
[   12.294843] [Firmware Bug]: ACPI(PXSX) defines _DOD but not _DOS
[   12.518785] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[   12.897144] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/board-2.bin failed with error -2
[   16.265371] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   16.265374] Bluetooth: BNEP filters: protocol multicast
[   16.265376] Bluetooth: BNEP socket layer initialized
[   16.266290] Bluetooth: RFCOMM TTY layer initialized
[   16.266295] Bluetooth: RFCOMM socket layer initialized
[   16.266299] Bluetooth: RFCOMM ver 1.11
[  748.290403] bluetooth hci0: Direct firmware load for qca/rampatch_usb_00000300.bin failed with error -2
[  748.290407] Bluetooth: hci0: failed to request rampatch file: qca/rampatch_usb_00000300.bin (-2)
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth not working

Post by JeremyB »

We are very close

Code: Select all

cd /lib/firmware/qca
sudo wget https://github.com/wkennington/linux-firmware/blob/master/qca/rampatch_usb_00000300.bin
sudo wget https://github.com/wkennington/linux-firmware/blob/master/qca/nvm_usb_00000300.bin
Reboot
LucasLukero

Re: Bluetooth not working

Post by LucasLukero »

The folder didn't exist, so I created it.
It does seem we're getting closer, but it's not working yet.

Code: Select all

[    0.147412] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[   12.291040] Bluetooth: Core ver 2.20
[   12.291052] Bluetooth: HCI device and connection manager initialized
[   12.291054] Bluetooth: HCI socket layer initialized
[   12.291056] Bluetooth: L2CAP socket layer initialized
[   12.291060] Bluetooth: SCO socket layer initialized
[   12.514949] [Firmware Bug]: ACPI(PXSX) defines _DOD but not _DOS
[   12.594354] Bluetooth: hci0: using rampatch file: qca/rampatch_usb_00000300.bin
[   12.594357] Bluetooth: hci0: QCA: patch rome 0xa3e build 0x683c, firmware rome 0x300 build 0x111
[   12.594359] Bluetooth: hci0: rampatch file version did not match with firmware
[   12.805824] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[   13.019578] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/board-2.bin failed with error -2
[   16.387502] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   16.387504] Bluetooth: BNEP filters: protocol multicast
[   16.387507] Bluetooth: BNEP socket layer initialized
[   16.388435] Bluetooth: RFCOMM TTY layer initialized
[   16.388440] Bluetooth: RFCOMM socket layer initialized
[   16.388444] Bluetooth: RFCOMM ver 1.11
I'd also like to thank you for your help so far, I'd never have gotten this far by myself haha
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth not working

Post by JeremyB »

I tried editing that post but the new firewall on the system wouldn't let me edit
And now it won't let me post the location of the firmware files from kernel.org

See http://pastebin.com/QeR9vUMi for the commands

Reboot after
LucasLukero

Re: Bluetooth not working

Post by LucasLukero »

I still get the same error :( the version changed though

Code: Select all

[    0.147357] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[   12.288860] Bluetooth: Core ver 2.20
[   12.288872] Bluetooth: HCI device and connection manager initialized
[   12.288876] Bluetooth: HCI socket layer initialized
[   12.288878] Bluetooth: L2CAP socket layer initialized
[   12.288883] Bluetooth: SCO socket layer initialized
[   12.638520] [Firmware Bug]: ACPI(PXSX) defines _DOD but not _DOS
[   12.671897] Bluetooth: hci0: using rampatch file: qca/rampatch_usb_00000300.bin
[   12.671901] Bluetooth: hci0: QCA: patch rome 0x494c build 0x2043, firmware rome 0x300 build 0x111
[   12.671902] Bluetooth: hci0: rampatch file version did not match with firmware
[   12.716898] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[   12.975046] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/board-2.bin failed with error -2
[   16.009995] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   16.009997] Bluetooth: BNEP filters: protocol multicast
[   16.010000] Bluetooth: BNEP socket layer initialized
[   16.010950] Bluetooth: RFCOMM TTY layer initialized
[   16.010955] Bluetooth: RFCOMM socket layer initialized
[   16.010960] Bluetooth: RFCOMM ver 1.11
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth not working

Post by JeremyB »

I guess it is also in an Ubuntu linux-firmware package http://mirrors.kernel.org/ubuntu/pool/m ... 20_all.deb

Once downloaded, double click on it and the Gdebi installer should open to allow install

Then reboot

If that doesn't work, I may have to try the alternative I didn't think would work because of your wifi card
LucasLukero

Re: Bluetooth not working

Post by LucasLukero »

Apparently the versions match, but there's another error after that

Code: Select all

[    0.147761] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[   12.281959] Bluetooth: Core ver 2.20
[   12.281971] Bluetooth: HCI device and connection manager initialized
[   12.281974] Bluetooth: HCI socket layer initialized
[   12.281976] Bluetooth: L2CAP socket layer initialized
[   12.281979] Bluetooth: SCO socket layer initialized
[   12.494222] [Firmware Bug]: ACPI(PXSX) defines _DOD but not _DOS
[   12.637261] Bluetooth: hci0: using rampatch file: qca/rampatch_usb_00000300.bin
[   12.637264] Bluetooth: hci0: QCA: patch rome 0x300 build 0x3e8, firmware rome 0x300 build 0x111
[   12.717467] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[   12.986140] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/board-2.bin failed with error -2
[   13.024748] Bluetooth: hci0: Failed to send body at 57372 of 65776 (-108)
[   16.132165] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   16.132168] Bluetooth: BNEP filters: protocol multicast
[   16.132172] Bluetooth: BNEP socket layer initialized
[   16.133515] Bluetooth: RFCOMM TTY layer initialized
[   16.133520] Bluetooth: RFCOMM socket layer initialized
[   16.133524] Bluetooth: RFCOMM ver 1.11
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth not working

Post by JeremyB »

Can you boot into Win 10 and search your hard drive for rampatch_usb_00000300.bin and nvm_usb_00000300.bin
LucasLukero

Re: Bluetooth not working

Post by LucasLukero »

I couldn't find them, sorry :(
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth not working

Post by JeremyB »

Try a shutdown followed by a cold boot
LucasLukero

Re: Bluetooth not working

Post by LucasLukero »

It works now!! :D I just shut it down during the night.
Thank you so much!

For the record,

Code: Select all

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

Code: Select all

Linux acer-lucas 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
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
	Subsystem: Acer Incorporated [ALI] Device [1025:098a]
	Kernel driver in use: r8169
03:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0042] (rev 30)
	Subsystem: Lite-On Communications Inc Device [11ad:1806]
	Kernel driver in use: ath10k_pci
0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: acer-wireless: Wireless LAN
	Soft blocked: yes
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: yes
	Hard blocked: no
Bus 003 Device 002: ID 8087:8001 Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 004: ID 1bcf:2c81 Sunplus Innovation Technology Inc. 
Bus 001 Device 003: ID 04ca:3015 Lite-On Technology Corp. 
Bus 001 Device 002: ID 0763:4006 Midiman 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[    0.147847] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[   14.674499] Bluetooth: Core ver 2.20
[   14.674511] Bluetooth: HCI device and connection manager initialized
[   14.674515] Bluetooth: HCI socket layer initialized
[   14.674518] Bluetooth: L2CAP socket layer initialized
[   14.674523] Bluetooth: SCO socket layer initialized
[   14.968801] Bluetooth: hci0: using rampatch file: qca/rampatch_usb_00000300.bin
[   14.968804] Bluetooth: hci0: QCA: patch rome 0x300 build 0x3e8, firmware rome 0x300 build 0x111
[   15.039881] [Firmware Bug]: ACPI(PXSX) defines _DOD but not _DOS
[   15.067134] Bluetooth: hci0: using NVM file: qca/nvm_usb_00000300.bin
[   15.292681] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[   15.506422] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/board-2.bin failed with error -2
[   19.074499] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   19.074502] Bluetooth: BNEP filters: protocol multicast
[   19.074505] Bluetooth: BNEP socket layer initialized
[   19.075510] Bluetooth: RFCOMM TTY layer initialized
[   19.075515] Bluetooth: RFCOMM socket layer initialized
[   19.075519] Bluetooth: RFCOMM ver 1.11
bluetooth             491520  31 bnep,ath3k,btusb,rfcomm
hci0:	Type: BR/EDR  Bus: USB
	BD Address: AC:E0:10:8B:1D:AA  ACL MTU: 1024:8  SCO MTU: 50:8
	UP RUNNING PSCAN ISCAN 
	RX bytes:13594 acl:150 sco:0 events:936 errors:0
	TX bytes:489996 acl:696 sco:0 commands:183 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: 'mint-0'
	Class: 0x6c0100
	Service Classes: Rendering, Capturing, Audio, Telephony
	Device Class: Computer, Uncategorized
	HCI Version:  (0x7)  Revision: 0x0
	LMP Version:  (0x7)  Subversion: 0x25a
	Manufacturer: Qualcomm (29)
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth not working

Post by JeremyB »

Can you post the result of

Code: Select all

usb-devices | awk '/3015/' RS=
The info will be useful for submitting a kernel patch if I can get in touch with a guy

And edit the subject of the original post to add [SOLVED]
LucasLukero

Re: [SOLVED]Bluetooth not working

Post by LucasLukero »

It returns this

Code: Select all

T:  Bus=01 Lev=01 Prnt=01 Port=04 Cnt=02 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 2.01 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=04ca ProdID=3015 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
Locked

Return to “Hardware Support”