LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-18-2014, 09:01 AM   #1
kamils096
Member
 
Registered: May 2014
Posts: 60

Rep: Reputation: Disabled
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.

Last edited by kamils096; 06-18-2014 at 09:05 AM.
 
Old 06-18-2014, 09:33 AM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
The distribution is largely irrelevant here.

Which kernel did the driver compile and work under?

What are the compile errors?
 
Old 06-18-2014, 10:16 AM   #3
kamils096
Member
 
Registered: May 2014
Posts: 60

Original Poster
Rep: Reputation: Disabled
I don't remember which driver i use before, but i found driver for Ubuntu 13:
https://launchpad.net/~barracuda72/+...u1~ppa3.tar.gz

Compilation log:
Code:
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

Last edited by kamils096; 06-18-2014 at 11:51 AM.
 
Old 06-18-2014, 11:43 AM   #4
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
http://wirama.web.id/rt3290-bluetoot...h-kernel-3-13/
 
Old 06-18-2014, 11:58 AM   #5
kamils096
Member
 
Registered: May 2014
Posts: 60

Original Poster
Rep: Reputation: Disabled
This page is not working, it loads indefinitely.
 
Old 06-18-2014, 04:40 PM   #6
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
No problem here, try later or use/don't use a proxy.
 
Old 06-26-2014, 11:47 AM   #7
kamils096
Member
 
Registered: May 2014
Posts: 60

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PCI wireless card with ralink chipset not working (on Debian Lenny) kernelsource Linux - Hardware 0 05-01-2009 06:22 PM
Bluetooth now working after Debian Etch to Lenny upgrade Ponder Linux - Hardware 3 04-09-2009 03:01 PM
ipw2100 on debian testing - No working leases - sleeping joffa Linux - Wireless Networking 1 06-11-2007 08:56 AM
Debian Testing Bluetooth Problem binary1011100 Linux - Software 0 05-26-2007 09:58 AM
Can't get microphone working in Debian Etch (testing) Winter Knight Linux - General 1 03-01-2007 06:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration