-
Notifications
You must be signed in to change notification settings - Fork 972
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bluetooth not working on virtualbox VM #2142
Comments
What make/type of Bluetooth device are you using? You are saying 7.6 used to work still, did you try HAOS 8.5? |
-110 means timeout. It seems the device somehow does not respond. Maybe removing it and plugging back in helps? |
I just did some more tests:
|
Just for completness: My bluetooth device (integrated in wireless module): Intel Wireless AC 9560 |
Update: HA OS 9.2 (an 9.3) + Core 2022.10.5 -- Bluetooth scan is NOT working |
I have bought a separate Bluetooth-Stick to fix this issue but this resulted in a weird behaviour. I have then upgraded to OS 9.4 and also upgraded to 2022.12. Still everything was fine. I have restarted the host and integrated bluetooth module is not working in HA anymore. Tried to reproduce the behaviour with the stick but with no luck. If I unassign the bluetooth module (on Intel Wifi chip) and then I assign the stick to HA then it crashes. PS: 7.6 is working but 8.0 RC1 is not. |
Update: HA OS 9.5 (an 9.4) + Core 2023.1.7 -- Bluetooth scan is NOT working HA OS 7.6 is the last working version. Any vesion after that has bluetooth issues. |
Update: HA OS 10.0 + Core 2023.4.4 -- Bluetooth scan is NOT working |
Update: HA OS 10.2 + Core 2023.5.3 |
I am seeing the same problem with an Intel 9260 Bluetooth controller on my X560 TUF Gaming Plus motherboard, Virtualbox 7.0.8 and latest HAOS 10.2 . |
Hardware initialization/firmware is something handled by the kernel. What would be interesting is if the same error appears on a different distribution (e.g. Arch Linux with the LTS kernel installated). If that is the case, you could try report this to the Linux kernel folks (e.g. via https://bugzilla.kernel.org/). |
Update: HA OS 10.2 + Core 2023.6.1
Installed OS 10.3 + Core 2023.6.2 today. Had issues with system not responding. Did a hard reset. After everything started up I have added the bluetooth device. It is working now.
Next I have added it to USB filter and I have done a shutdown. Booted the VM: Bluetooth still working. Rebooted host system. Result in HA: Bluetooth still working. I will not yet see this as fixed untill a longer period of runtime/more restarts (see above comments where it was working once for a short time and then stopped again). |
Hi, @ZTHawk. I did my upgrade now and the bluetooth does not work. My versions are the same. I have tested with and without USB filter in Virtualbox. I´m using a U59 Pro Intel mini computer. The bluetooth works in the Windows host but in VM HA does not work. Please, some help. |
@intercrypto PS: My installed drivers are (Asus PN41): |
I successfully started Bluetooth in VBox using the same method. My environment is VBox running on Windows 10, with the virtual machine running ArchLinux. I speculate that the issue is caused by Windows 10 occupying the Bluetooth device, which results in it being also occupied when assigned to VBox. |
Today (at least I noticed today) it stopped working.
|
Reverting back to HAOS 10.3 and driver 22.220.1 fixed the issue. |
Not a Home Assistant user, but I was trying to redirect my Intel AX210 Bluetooth USB device to a VM using virt-manager in a stock version of Ubuntu 22.04 Linux. It kept failing with the same error messages as OP posted. The bandaid solution was to download the latest Linux firmware for iwlwifi which I think is used to transfer firmware to the AX210 BT device (I think). Just download the latest firmware from here and copy the extracted contents to |
There hasn't been any activity on this issue recently. To keep our backlog manageable we have to clean old issues, as many of them have already been resolved with the latest updates. |
Still applicable |
New hardware with Intel AX200. |
Running into the same issue here. Running HAOS 11.4, Supervisor 2024.01.0 and Core 2024.1.5 inside a Virtualbox VM on an Intel NUC (NUC13ANHi5) and using this bluetooth dongle Some lines from the host log:
|
Switched to Proxmox with HA as VM. Passed Bluetooth device to HA. Restored from backup. |
|
There hasn't been any activity on this issue recently. To keep our backlog manageable we have to clean old issues, as many of them have already been resolved with the latest updates. |
Describe the issue you are experiencing
Bluetooth is not working with HA.
Using
bluetoothctl scan on
I get "No default controller available"In host console I see:
I tried an image with HAOS 7.6. Using the command
bluetoothctl scan on
there I get "Discovery started" followed by a list of all found devices.Asus PN41
My bluetooth device (integrated in wireless module): Intel Wireless AC 9560
What operating system image do you use?
ova (for Virtual Machines)
What version of Home Assistant Operating System is installed?
9.0
Did you upgrade the Operating System.
Yes
Steps to reproduce the issue
Start a VM with attached Bluetooth device.
In host console I get:
When disabling the Bluetooth device and then reenabling it I get the following in host console:
Anything in the Supervisor logs that might be useful for us?
Anything in the Host logs that might be useful for us?
System Health information
N/A
Additional information
N/A
The text was updated successfully, but these errors were encountered: