Ralink RT 3290 Bluetooth Problem on Ubuntu 14.04
Solution 1:
I got the bluetooth to work!
First download the Source code from here and extract it to
Home
.-
After that, open the
rtbth_core_bluez.c
file, and then go to line 86 and change it from:int rtbt_hci_dev_send(struct sk_buff *skb) { struct hci_dev *hdev = (struct hci_dev *)skb->dev;
to:
int rtbt_hci_dev_send(struct hci_dev *hdev, struct sk_buff *skb) { //struct hci_dev *hdev = (struct hci_dev *)skb->dev;
-
Go to line 216 and change it from:
status = hci_recv_frame(skb);
to:
status = hci_recv_frame(hdev,skb);
-
Then go to line 406 and change it from:
hdev->ioctl = rtbt_hci_dev_ioctl;
to:
//hdev->ioctl = rtbt_hci_dev_ioctl;
-
Save, then open
rtbth_hlpr_linux.c
and go to line 575. Change it from://daemonize((PSTRING)&pOSTask->taskName[0]);
to
(PSTRING)&pOSTask->taskName[0];
-
Now you are ready to Compile. Compile it in Terminal by:
cd rtbth-3.9.3 make sudo make install
- Reboot. Additionally, you can follow the PDF file contained inside this ZIP in case bluetooth still does not work.
Solution 2:
This is reported as bug on LP:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1189721
As of now, there is no working driver. If you have LP account, I'd recommend you marking the bug as affecting you and subscribing for email notifications on comments.
Solution 3:
According to shihiro's comment on the bug report there's a well maintained PPA available for the Bluetooth driver:
Use in terminal
sudo add-apt-repository ppa:blaze/rtbth-dkms sudo apt-get update sudo apt-get install rtbth-dkms
or load and install it from Launchpad. On the first link there is the source link to the GitHub page. In
README.md
you can read:# Init sudo modprobe rtbth sudo rfkill unblock bluetooth hcitool dev # check
I typed it in terminal and everything works.
On Ubuntu 17.10, and possibly earlier versions, the module might get blacklisted automatically. If that happens to you
- add
rtbth
to/etc/modules
, - open
/etc/modprobe.d/dkms-rtbth.conf
and comment out or delete the line that saysblacklist rtbth
, - reboot the system.
Solution 4:
Here is a easy way, I too was looking for solving this problem for 2 years now, and at most I was able to get all Bluetooth Devices listed and was unable to connect to any of them, but below solution I encountered today and It worked flawlessly for me.
It is very easy to install, files are located on github rtbth-dkms.
To Install,
sudo add-apt-repository ppa:blaze/rtbth-dkms
sudo apt-get update
sudo apt-get install rtbth-dkms
and then follow the Init
commands below, your BlueTooth will work now, in case of any problem leave a comment, I will be happy to help you.
Usage
# Init
sudo modprobe rtbth
sudo rfkill unblock bluetooth
hcitool dev # check
# Switch off
sudo rfkill block bluetooth
# Switch on
sudo rfkill unblock bluetooth
# Shutdown
sudo pkill -2 rtbt
sudo rmmod rtbth