[Solved] [Ticket #16806] No Bluetooth Adapter found

Discussions related to using VirtualBox on Windows hosts.

[Solved] [Ticket #16806] No Bluetooth Adapter found

Postby MachoMan » 2. Jun 2017, 12:30

I am using Ubuntu 16.04 on VirtualBox 5.1.10. Bluetooth is working fine on Host Machine(Windows 10 E-64) but on VB Ubuntu it is not working. In Ubuntu System Setting -> Hardware -> Bluetooth, it is not showing any adapter. Please advise how to fix this issue.
bluetooth.png
bluetooth.png (20.24 KiB) Viewed 7222 times

devicemanager.png
devicemanager.png (34.76 KiB) Viewed 7222 times
Last edited by socratis on 2. Jun 2017, 16:46, edited 2 times in total.
Reason: Marked as [Solved].
MachoMan
 
Posts: 8
Joined: 2. Jun 2017, 12:27

Re: No Bluetooth Adapter found

Postby towo2099 » 2. Jun 2017, 12:36

VBox never shows hardware of the host!
towo2099
Volunteer
 
Posts: 301
Joined: 18. Aug 2014, 21:53
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Android, Linux

Re: No Bluetooth Adapter found

Postby MachoMan » 2. Jun 2017, 12:45

After Running below commands, is is showing inactive dead. Please advise

sudo /etc/init.d/bluetooth start
[ ok ] Starting bluetooth (via systemctl): bluetooth.service.

sudo /etc/init.d/bluetooth status
bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:bluetoothd(8)

hciconfig
(Empty)
MachoMan
 
Posts: 8
Joined: 2. Jun 2017, 12:27

Re: No Bluetooth Adapter found

Postby towo2099 » 2. Jun 2017, 12:46

Again, your VM has no bluetooth hardware!
towo2099
Volunteer
 
Posts: 301
Joined: 18. Aug 2014, 21:53
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Android, Linux

Re: No Bluetooth Adapter found

Postby MachoMan » 2. Jun 2017, 12:58

Please advise how to add Bluetooth Hardware to VB.
Bluetooth-hardware.jpg
Bluetooth-hardware.jpg (83.25 KiB) Viewed 7218 times
MachoMan
 
Posts: 8
Joined: 2. Jun 2017, 12:27

Re: No Bluetooth Adapter found

Postby socratis » 2. Jun 2017, 13:55

@MachoMan
There is no "real" Bluetooth hardware. All Bluetooth adapters are in a sense USB devices, a special class of USB devices that show up as "Bluetooth". So the question now becomes: "How do I capture my USB Bluetooth adapter in the guest?"

Please read the following: USB basics and troubleshooting. Unfortunately your Bluetooth adapter falls under the category "Uncapturable", which means that you have to stop the Bluetooth daemon/service from starting in your Windows, or to stop it temporarily.

Please make sure you read all the posts in the link that I gave you. It's not easy, but I will not be answering questions that are covered there, I hope you understand the reasoning.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 27690
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: No Bluetooth Adapter found

Postby MachoMan » 2. Jun 2017, 14:26

I am disabling RealTek Bluetooth 4.0 Adapter from Device Manager and after that RealTek Bluetooth Radio [200] is appearing in Devices -> USB. It is giving below error
Failed to attach the USB device Realtek Bluetooth Radio [0200] to the virtual machine POS Development.

USB device 'Realtek Bluetooth Radio ' with UUID {1ba2f217-c57a-4359-a044-a7e19514ede2} is busy with a previous request. Please try again later.

Result Code: E_INVALIDARG (0x80070057)
Component: HostUSBDeviceWrap
Interface: IHostUSBDevice {c19073dd-cc7b-431b-98b2-951fda8eab89}
Callee: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

--------------------------------------------------------------
VirtualBox:~$ lsusb
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
VirtualBox:~$
VirtualBox:~$
VirtualBox:~$ sudo /etc/init.d/bluetooth status
[sudo] password for minhaj:
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:bluetoothd(8)
VirtualBox:~$
VirtualBox:~$ sudo /etc/init.d/bluetooth start
[ ok ] Starting bluetooth (via systemctl): bluetooth.service.
VirtualBox:~$ sudo /etc/init.d/bluetooth status
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:bluetoothd(8)
VirtualBox:~$

Please advise how to fix it
MachoMan
 
Posts: 8
Joined: 2. Jun 2017, 12:27

Re: No Bluetooth Adapter found

Postby socratis » 2. Jun 2017, 14:31

I didn't say to disable the device. I said to disable the SERVICE that grabs the device. The software still has a hold on the device, that's why you get:
MachoMan wrote:is busy with a previous request
Check the documents that I sent you again to see why...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 27690
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: No Bluetooth Adapter found

Postby MachoMan » 2. Jun 2017, 15:19

After implementing steps advise in document, I still have the same issue. Device is enable from Device Manager Host Machine(Winodws 10 E-64Bit). Bluetooth Servive is disable from Services (Bluetooth Support Service, Bluetooth Handsfree Service). Please advise

Failed to attach the USB device Realtek Bluetooth Radio [0200] to the virtual machine POS Development.

USB device 'Realtek Bluetooth Radio ' with UUID {bc5049c3-b427-48ed-896b-dbbb1693ecdc} is busy with a previous request. Please try again later.

Result Code: E_INVALIDARG (0x80070057)
Component: HostUSBDeviceWrap
Interface: IHostUSBDevice {c19073dd-cc7b-431b-98b2-951fda8eab89}
Callee: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
MachoMan
 
Posts: 8
Joined: 2. Jun 2017, 12:27

Re: No Bluetooth Adapter found

Postby socratis » 2. Jun 2017, 15:27

Something is still using the device. Maybe you need to stop/disable/kill more services. I don't know which one. Open a Command Prompt and post the output of the command:
    net start

BTW, when we first met in the Bugtracker and I pointed you to the forums, I asked you to include the ticket number, so when this is resolved, the ticket can be closed. You forgot that part: ticket 16806: No Bluetooth Adapter found.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 27690
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: No Bluetooth Adapter found

Postby MachoMan » 2. Jun 2017, 15:34

Code: Select all   Expand viewCollapse view
sudo net start
Invalid command: net start
Usage:
net rpc             Run functions using RPC transport
net rap             Run functions using RAP transport
net ads             Run functions using ADS transport
net file            Functions on remote opened files
net share           Functions on shares
net session         Manage sessions
net server          List servers in workgroup
net domain          List domains/workgroups on network
net printq          Modify printer queue
net user            Manage users
net group           Manage groups
net groupmap        Manage group mappings
net sam             Functions on the SAM database
net validate        Validate username and password
net groupmember     Modify group memberships
net admin           Execute remote command on a remote OS/2 server
net service         List/modify running services
net password        Change user password on target server
net changetrustpw   Change the trust password
net changesecretpw  Change the secret password
net setauthuser     Set the winbind auth user
net getauthuser     Get the winbind auth user settings
net time            Show/set time
net lookup          Look up host names/IP addresses
net g_lock          Manipulate the global lock table
net join            Join a domain/AD
net dom             Join/unjoin (remote) machines to/from a domain/AD
net cache           Operate on the cache tdb file
net getlocalsid     Get the SID for the local domain
net setlocalsid     Set the SID for the local domain
net setdomainsid    Set domain SID on member servers
net getdomainsid    Get domain SID on member servers
net maxrid          Display the maximum RID currently used
net idmap           IDmap functions
net status          Display server status
net usershare       Manage user-modifiable shares
net usersidlist     Display list of all users with SID
net conf            Manage Samba registry based configuration
net registry        Manage the Samba registry
net eventlog        Process Win32 *.evt eventlog files
net printing        Process tdb printer files
net serverid        Manage the serverid tdb
net notify          notifyd client code
net help            Print usage information
Last edited by socratis on 2. Jun 2017, 16:31, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
MachoMan
 
Posts: 8
Joined: 2. Jun 2017, 12:27

Re: No Bluetooth Adapter found Ticket #16806

Postby MachoMan » 2. Jun 2017, 15:59

Bluetooth is working fine now... Thanks for your support & time.
Code: Select all   Expand viewCollapse view
 sudo /etc/init.d/bluetooth status
[sudo] password for minhaj:
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2017-06-02 17:53:37 GST; 14s ago
     Docs: man:bluetoothd(8)
 Main PID: 2543 (bluetoothd)
   Status: "Running"
    Tasks: 1
   Memory: 1.4M
      CPU: 11ms
   CGroup: /system.slice/bluetooth.service
           └─2543 /usr/lib/bluetooth/bluetoothd

Jun 02 17:53:37 minhaj-VirtualBox bluetoothd[2543]: Not enough free handles t...
Jun 02 17:53:37 minhaj-VirtualBox bluetoothd[2543]: Not enough free handles t...
Jun 02 17:53:37 minhaj-VirtualBox bluetoothd[2543]: Current Time Service coul...
Jun 02 17:53:37 minhaj-VirtualBox bluetoothd[2543]: gatt-time-server: Input/o...
Jun 02 17:53:37 minhaj-VirtualBox bluetoothd[2543]: Not enough free handles t...
Jun 02 17:53:37 minhaj-VirtualBox bluetoothd[2543]: Not enough free handles t...
Jun 02 17:53:37 minhaj-VirtualBox bluetoothd[2543]: Sap driver initialization...
Jun 02 17:53:37 minhaj-VirtualBox bluetoothd[2543]: sap-server: Operation not...
Jun 02 17:53:37 minhaj-VirtualBox bluetoothd[2543]: Endpoint registered: send...
Jun 02 17:53:37 minhaj-VirtualBox bluetoothd[2543]: Endpoint registered: send...
Hint: Some lines were ellipsized, use -l to show in full.
Last edited by socratis on 2. Jun 2017, 16:32, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
MachoMan
 
Posts: 8
Joined: 2. Jun 2017, 12:27

Re: No Bluetooth Adapter found Ticket #16806

Postby Perryg » 2. Jun 2017, 16:00

Probably will have better success if they enable EHCI or even better xHCI instead of the single OHCI for the guest and then the OP just needs to treat this as a USB issue. And since this is really an issue with Windows host and USB I believe this topic really belongs in Windows hosts until such time as it is determined to be a Linux guest issue..
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: No Bluetooth Adapter found Ticket #16806

Postby socratis » 2. Jun 2017, 16:46

Thank you for adding the ticket in the thread title, very smart idea, I'll "adopt" if from now on!!!

And this is all working now, great! Could you let us know which service was the responsible one? People searching in the future might get helped by that...

I'll mark the thread as [Solved] then, and as per Perryg's correct suggestion, I'll move it to "Windows hosts" from "Linux guests", as the "problem" was with the host actually.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 27690
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: [Solved] [Ticket #16806] No Bluetooth Adapter found

Postby MachoMan » 2. Jun 2017, 19:55

After performing below steps, I got solved on my VM Ubuntu 16.04
1) Disable Bluetooth Adapter from Device Manager in Host Machine.
2) Disable all Services in Host Machine that are using Bluetooth. (TaskManager -> Services -> Press B to find Bluetooth Services & Stop)
2) Start VB Ubuntu
3) Enable Bluetooth Adapter from Device Manager in Host Machine.
4) In VB, goto Device -> USB -> Select Bluetooth Radio
5) Open Terminal to check bluetooth status: sudo /etc/init.d/bluetooth status

If you get Status as Active: active (running), then you have configured Bluetooth correctly.
MachoMan
 
Posts: 8
Joined: 2. Jun 2017, 12:27

Next

Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: No registered users and 43 guests