Hi,
I'm using VirtualBox on TNAS (I've a F5-221) since it was a beta app and it worked without problem, it was updated til 6.4, but then it was reverted back to 6.1.1 for kernel compatibility after TOS update.
I'm using it with home assistant and now I was looking on how to enable USB device in order to connect USB dongle like SkyConnect for Zigbee and Matter capability.
Even if there is the option to enable USB in the virtual machine, when trying to add a device, nothing is available.
The USB Dongle is correctly plugged in the NAS and also recognized, but it is not passed to Virtual Box.
The extension pack is correctly installed and enabled.
In all the forums, the solution provided to have the USB passthrough available in Virtual Box was to set correctly the user rights, and so to add your user in the vboxusers, this would have magically fixed the issue!
In TOS there is no vboxusers group, only vbox, anyway I've created the vboxusers group and added in it vbox and admin (same thing for vbox group).
I've restarted several times the NAS, unplugged and plugged back the dongle, but nothing: in VBOX still no device available.
I've also tried to manually insert the filters providing the Vendor ID and Product ID retrieved from slush, but still nothing.
It seems I'm almost there to have it working, but I don't know what else I can do.
Anyone from Terramaster can help me out understand which is the correct group, user or authorization to provide to have the USB working in Virtualbox?
VBox USB access for HomeAssistant
Re: VBox USB access for HomeAssistant
Just to add, from Terramaster site there is the following article about Virtual Box availability
https://www.terra-master.com/global/pre ... ew/id/509/
which states the support of USB devices in Virtual box!
https://www.terra-master.com/global/pre ... ew/id/509/
which states the support of USB devices in Virtual box!
Re: VBox USB access for HomeAssistant
Sadly this is the only thing that TOS does wrong for me.
I briefly installed Ubuntu and Virtual box on mine and could add USB devices to a VM so it is not a hardware problem.
I briefly installed Ubuntu and Virtual box on mine and could add USB devices to a VM so it is not a hardware problem.
- laurawoods
- Posts: 1
- Joined: 25 Jan 2024, 12:05
Re: VBox USB access for HomeAssistant
You can verify group membership by running `id` in the Terminal of your NAS. If you're not in the "vbox" group, add yourself using `sudo usermod -aG vbox <your_username>`.
Re: VBox USB access for HomeAssistant
Thanks, I'm already part of the box group, but unfortunately no usb available even restarting the whole systemlaurawoods wrote: ↑25 Jan 2024, 15:32 You can verify group membership by running `id` in the Terminal of your NAS. If you're not in the "vbox" group, add yourself using `sudo usermod -aG vbox <your_username>`.
Re: VBox USB access for HomeAssistant
Useful advice but unfortunately I'm not a member of the box.laurawoods wrote: ↑25 Jan 2024, 15:32 You can verify group membership by running `id` in the Terminal of your NAS. If you're not in the "vbox" group, add yourself using `sudo usermod -aG vbox <your_username>`.
Re: VBox USB access for HomeAssistant
Laura, thank you for saving my life..literally! I was using "id" instead of `id`.laurawoods wrote: ↑25 Jan 2024, 15:32 You can verify group membership by running `id` in the Terminal of your NAS. If you're not in the "vbox" group, add yourself using `sudo usermod -aG vbox <your_username>`.
Re: VBox USB access for HomeAssistant
If anyone from Terramaster support can provide us a feedback on this it will be much appreciated!
It seems many users are experiencing the same problem but no answer has been provided.
The situation is that USB passthrough is enabled in VBOX (as the extension pack is installed), but no device is available in any Virtual machine in VBOX.
About users and group, all the users (root, admin, vbox) are already added to box group.
As suggested in other post, I've created a vboxusers group and added all the users.
The usb device is correctly installed and listed in lsusb.
What we can do to have the usb devices available in VBOX?
If anyone from the support want me to provide log, screenshot, made test or anything else, I'm totally available.
Waiting for a reply
Thanks
It seems many users are experiencing the same problem but no answer has been provided.
The situation is that USB passthrough is enabled in VBOX (as the extension pack is installed), but no device is available in any Virtual machine in VBOX.
About users and group, all the users (root, admin, vbox) are already added to box group.
As suggested in other post, I've created a vboxusers group and added all the users.
The usb device is correctly installed and listed in lsusb.
What we can do to have the usb devices available in VBOX?
If anyone from the support want me to provide log, screenshot, made test or anything else, I'm totally available.
Waiting for a reply
Thanks
Re: VBox USB access for HomeAssistant
Hello exactly the same issue on my side. Could you propose a way forward? I wanted to replace a raspberry to reduce hardware but sounds to miss something in your solution.
- sarahlison
- Posts: 1
- Joined: 12 Apr 2024, 11:55
Re: VBox USB access for HomeAssistant
Oh, pretty cool. I will try doing it this way.laurawoods wrote: ↑25 Jan 2024, 15:32 You can verify group membership by running `id` in the Terminal of your NAS. If you're not in the "vbox" group, add yourself using `sudo usermod -aG vbox <your_username>`.
always ready bob the robber