Q:

Bluetooth not working in Lenovo G500

I installed Ubuntu 18.04 in Lenovo G500 laptop of mine, and for some reason the bluetooth is not working. Its not even getting detected I think. Any help?
Running lsusb gives me the following
$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 003: ID 0cf3:3004 Atheros Communications, Inc. AR3012 Bluetooth 4.0
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 5986:0294 Acer, Inc 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

A:

I have put a fix on github
sudo apt install git build-essential
git clone https://github.com/jeremyb31/bluetooth-3004-4.15.git
cd bluetooth-3004-4.15
./install.sh
Reboot
The fix is upstream
Edit: this bug is fixed in 4.15.0-31 kernel, so after install users can ignore this

