Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have an external bluetooth adapter, it works if I attach it before booting, but if I connect it afterwards it fails to detect any device.

Is there any command to scan for and detect devices?

share|improve this question
    
how do you connect this device ? via usb ? in other words, is this a usb bluetooth adapter that doesn't get enabled if you plugin after booting ? –  koushik Oct 7 '10 at 14:45
    
its via usb, thats right @kaushik –  JapanPro Oct 9 '10 at 13:52
    
hcitool and sdptool may help. –  Mikel May 8 '11 at 3:51

3 Answers 3

You should check to see if the USB bluetooth kernel module (driver) is loaded.

lsmod | grep btusb

If it doesn't return anything, then you need to load the kernel module with:

sudo modprobe btusb
share|improve this answer

Can you try restarting the init.d service?

:~$ sudo /etc/init.d/bluetooth restart

Executing this command after you connect your usb bluetooth adapter should restart the service and make the bluetooth service recognize new connections/adapters/etc....

Let me know...

share|improve this answer

http://hanishkvc.wordpress.com/2007/05/16/short-and-simple-commandline-bluetooth-in-any-new-linux-distros/

share|improve this answer
8  
You should not just paste links. Good answer responds to question without going to any external page (with exception to download links and "in addition to answer I already gave, see more from here") –  Olli Mar 8 '11 at 10:23
1  
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. –  belacq Aug 15 '12 at 20:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.