Ralink RT3290 Bluetooth not working in Debian Testing
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ralink RT3290 Bluetooth not working in Debian Testing
Hello, i have a problem with my Debian. I have a Ralink RT3290 WiFi and Bluetooth adapter. WiFi is working out of the box, but i haven't drivers for my bluetooth adapter. I have Debian Testing with kernel 3.14. When i use Ubuntu with old kernel i found and i compile drivers bluetooth and its working, but this drivers won't compile on new kernel. I found this bug on launchpad: https://bugs.launchpad.net/ubuntu/+s...x/+bug/1189721
This is for Ubuntu, but Ubuntu it's modified Debian, so drivers for Ubuntu should work in Debian. I download patched drivers(patched to work in new kernel) from post number 88, and i have a problem. Bluetooth adapter is working, and i can find devices, but i can't pair devices and send files. When i try to pair devices(PC and my mobile phone) they show me code(of course devices show same code), i accept this code and i have error(on mobile phone) that code or adress is incorrect. When i try to send file from mobile phone(it detect my PC without problems) to PC i get information "File was not send", when i try to send from PC to mobile phone nothing happens. How i can make my adapter work? I suspect bad drivers, but where i can get working drivers? Sorry for my bad English, thank you in advance for replies.
PS: When i turn off bluetooth i can't turn it on unless i restart PC.
make -C /lib/modules/3.14-1-amd64/build M=/home/kamil/rtbth-3.9.3 modules
make[1]: Entering directory '/usr/src/linux-headers-3.14-1-amd64'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
CC [M] /home/kamil/rtbth-3.9.3/rtbth_core_main.o
CC [M] /home/kamil/rtbth-3.9.3/rtbth_core_init.o
/home/kamil/rtbth-3.9.3/rtbth_core_init.c: In function ‘Rtbth_Set_Radio_Led’:
/home/kamil/rtbth-3.9.3/rtbth_core_init.c:1185:3: warning: typedef ‘flag_t’ locally defined but not used [-Wunused-local-typedefs]
} flag_t;
^
CC [M] /home/kamil/rtbth-3.9.3/rtbth_core_pci.o
/home/kamil/rtbth-3.9.3/rtbth_core_pci.c: In function ‘rtbt_pci_probe’:
/home/kamil/rtbth-3.9.3/rtbth_core_pci.c:198:1: warning: label ‘err_hps_iface’ defined but not used [-Wunused-label]
err_hps_iface:
^
CC [M] /home/kamil/rtbth-3.9.3/rtbth_core_bluez.o
/home/kamil/rtbth-3.9.3/rtbth_core_bluez.c: In function ‘rtbt_hci_dev_receive’:
/home/kamil/rtbth-3.9.3/rtbth_core_bluez.c:216:2: warning: passing argument 1 of ‘hci_recv_frame’ from incompatible pointer type [enabled by default]
status = hci_recv_frame(skb);
^
In file included from /home/kamil/rtbth-3.9.3/include/hps_bluez.h:32:0,
from /home/kamil/rtbth-3.9.3/rtbth_core_bluez.c:29:
/usr/src/linux-headers-3.14-1-common/include/net/bluetooth/hci_core.h:769:5: note: expected ‘struct hci_dev *’ but argument is of type ‘struct sk_buff *’
int hci_recv_frame(struct hci_dev *hdev, struct sk_buff *skb);
^
/home/kamil/rtbth-3.9.3/rtbth_core_bluez.c:216:2: error: too few arguments to function ‘hci_recv_frame’
status = hci_recv_frame(skb);
^
In file included from /home/kamil/rtbth-3.9.3/include/hps_bluez.h:32:0,
from /home/kamil/rtbth-3.9.3/rtbth_core_bluez.c:29:
/usr/src/linux-headers-3.14-1-common/include/net/bluetooth/hci_core.h:769:5: note: declared here
int hci_recv_frame(struct hci_dev *hdev, struct sk_buff *skb);
^
/home/kamil/rtbth-3.9.3/rtbth_core_bluez.c: In function ‘rtbt_hps_iface_init’:
/home/kamil/rtbth-3.9.3/rtbth_core_bluez.c:404:13: warning: assignment from incompatible pointer type [enabled by default]
hdev->send = rtbt_hci_dev_send;
^
/home/kamil/rtbth-3.9.3/rtbth_core_bluez.c:406:6: error: ‘struct hci_dev’ has no member named ‘ioctl’
hdev->ioctl = rtbt_hci_dev_ioctl;
^
/home/kamil/rtbth-3.9.3/rtbth_core_bluez.c: At top level:
/home/kamil/rtbth-3.9.3/rtbth_core_bluez.c:83:20: warning: ‘pkt_type_str’ defined but not used [-Wunused-variable]
static const char *pkt_type_str[]=
^
/usr/src/linux-headers-3.14-1-common/scripts/Makefile.build:308: rules for object '/home/kamil/rtbth-3.9.3/rtbth_core_bluez.o' failed
make[4]: *** [/home/kamil/rtbth-3.9.3/rtbth_core_bluez.o] Error 1
/usr/src/linux-headers-3.14-1-common/Makefile:1291: rules for object '_module_/home/kamil/rtbth-3.9.3' failed
make[3]: *** [_module_/home/kamil/rtbth-3.9.3] Error 2
Makefile:133: rules for object 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: rules for object 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.14-1-amd64'
Makefile:24: rules for object 'all' failed
make: *** [all] Error 2
Ok i show this page and apply patch from there. I can't pair with my Android device(same problem as before), but i try to pair with my old Nokia N95, and i pair this without problem, but i must write code to pair in my phone manually. I can send files from phone to PC, but vice versa is not working. When i choose Send file from Dolphin(i have KDE) and i choose device nothing happens. When i try to send file from KDE Bluetooth Manager i have same problem. So i can send files from phone to PC, but i can't send files from PC to phone.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.