VM will not capture Conbee II USB device

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
nemo-bird
Posts: 2
Joined: 8. Jul 2023, 20:53

VM will not capture Conbee II USB device

Post by nemo-bird »

Hello. I cannot use my Conbee II USB drive on my Home Assistant VM anymore. After I start the machine, and wait for HA to start up, I plug in the Conbee and receive an error message (attached).

I have followed the steps to add a USB filter, but it doesn't seem to work. Here's the required info:

Host: MacBook Pro (Retina, 13-inch, Early 2015). 8 GB 1867 MHz DDR3. MacOS Monterey 12.2.

Guest: Other linux (64-bit). 3072 MB memory.

I am happy to provide more information as needed, and apologies in advance if I missed required info. Thanks!

Code: Select all

User /Applications % vboxmanage -version
7.0.8r156879

Code: Select all

User /Applications % vboxmanage list extpacks
Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:        7.0.8
Revision:       156879
Edition:        
Description:    Oracle Cloud Infrastructure integration, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe, full VM encryption.
VRDE Module:    VBoxVRDP
Crypto Module:  VBoxPuelCrypto
Usable:         true
Why unusable:   

Code: Select all

User /Applications % vboxmanage list usbhost 
Host USB Devices:

UUID:               fe0c40f1-f40c-469c-ab6c-7bbe9b7fd0e2
VendorId:           0x1cf1 (1CF1)
ProductId:          0x0030 (0030)
Revision:           1.0 (0100)
Port:               0
USB version/speed:  0/Full
Manufacturer:       dresden elektronik ingenieurtechnik GmbH
Product:            ConBee II
SerialNumber:       DE2651137
Address:            p=0x0030;v=0x1cf1;s=0x000011ad28033b57;l=0x14100000
Current State:      Held

UUID:               07167d5c-932c-41da-97d9-e91b295108c2
VendorId:           0x05ac (05AC)
ProductId:          0x8290 (8290)
Revision:           1.105 (01105)
Port:               0
USB version/speed:  0/Full
Manufacturer:       Broadcom Corp.
Product:            Bluetooth USB Host Controller
Address:            p=0x8290;v=0x05ac;s=0x00000000649e6faa;l=0x14300000
Current State:      Busy

Code: Select all

User /Applications % vboxmanage list usbfilters
Global USB Device Filters:

<none>

Code: Select all

User /Applications % vboxmanage showvminfo "Home-Assistant"
Name:                        Home-Assistant
Encryption:     disabled
Groups:                      /
Guest OS:                    Other Linux (64-bit)
UUID:                        ccf3037f-87dc-43dd-a845-a42f6c3d2364
Config file:                 /Users/X/VirtualBox VMs/Home-Assistant/Home-Assistant.vbox
Snapshot folder:             /Users/X/VirtualBox VMs/Home-Assistant/Snapshots
Log folder:                  /Users/X/VirtualBox VMs/Home-Assistant/Logs
Hardware UUID:               ccf3037f-87dc-43dd-a845-a42f6c3d2364
Memory size:                 3072MB
Page Fusion:                 disabled
VRAM size:                   16MB
CPU exec cap:                100%
HPET:                        disabled
CPUProfile:                  host
Chipset:                     piix3
Firmware:                    EFI
Number of CPUs:              1
PAE:                         enabled
Long Mode:                   enabled
Triple Fault Reset:          disabled
APIC:                        enabled
X2APIC:                      enabled
Nested VT-x/AMD-V:           disabled
CPUID Portability Level:     0
CPUID overrides:             None
Boot menu mode:              message and menu
Boot Device 1:               Floppy
Boot Device 2:               DVD
Boot Device 3:               HardDisk
Boot Device 4:               Not Assigned
ACPI:                        enabled
IOAPIC:                      enabled
BIOS APIC mode:              APIC
Time offset:                 0ms
BIOS NVRAM File:             /Users/X/VirtualBox VMs/Home-Assistant/Home-Assistant.nvram
RTC:                         UTC
Hardware Virtualization:     enabled
Nested Paging:               enabled
Large Pages:                 enabled
VT-x VPID:                   enabled
VT-x Unrestricted Exec.:     enabled
AMD-V Virt. Vmsave/Vmload:   enabled
IOMMU:                       None
Paravirt. Provider:          Default
Effective Paravirt. Prov.:   KVM
State:                       running (since 2023-07-08T18:19:57.742000000)
Graphics Controller:         VMSVGA
Monitor count:               1
3D Acceleration:             disabled
2D Video Acceleration:       disabled
Teleporter Enabled:          disabled
Teleporter Port:             0
Teleporter Address:          
Teleporter Password:         
Tracing Enabled:             disabled
Allow Tracing to Access VM:  disabled
Tracing Configuration:       
Autostart Enabled:           disabled
Autostart Delay:             0
Default Frontend:            
VM process priority:         default
Storage Controllers:
#0: 'IDE', Type: PIIX4, Instance: 0, Ports: 2 (max 2), Bootable
  Port 0, Unit 0: UUID: 3169c094-fc8f-4f9e-95b0-2727d62c6a4e
    Location: "/Users/X/Downloads/dmg:zip/haos_ova-7.4.vdi"
  Port 1, Unit 0: Empty
NIC 1:                       MAC: 0800274CC6BC, Attachment: Bridged Interface 'en0: Wi-Fi (AirPort)', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 2:                       disabled
NIC 3:                       disabled
NIC 4:                       disabled
NIC 5:                       disabled
NIC 6:                       disabled
NIC 7:                       disabled
NIC 8:                       disabled
Pointing Device:             PS/2 Mouse
Keyboard Device:             PS/2 Keyboard
UART 1:                      disabled
UART 2:                      disabled
UART 3:                      disabled
UART 4:                      disabled
LPT 1:                       disabled
LPT 2:                       disabled
Audio:                       enabled (Driver: CoreAudio, Controller: HDA, Codec: STAC9221)
Audio playback:              enabled
Audio capture:               disabled
Clipboard Mode:              disabled
Drag and drop Mode:          disabled
Session name:                GUI/Qt
Video mode:                  1024x768x32 at 0,0 enabled
VRDE:                        disabled
OHCI USB:                    disabled
EHCI USB:                    disabled
xHCI USB:                    enabled
USB Device Filters:
Index:                       0
  Active:                    yes
  Name:                      dresden elektronik ingenieurtechnik GmbH ConBee II [0100]
  VendorId:                  1cf1
  ProductId:                 0030
  Revision:                  
  Manufacturer:              
  Product:                   
  Remote:                    0
  Serial Number:             
Index:                       1
  Active:                    yes
  Name:                      Broadcom Corp BCM20702A0 [0112]
  VendorId:                  0a5c
  ProductId:                 21e8
  Revision:                  0112
  Manufacturer:              Broadcom Corp
  Product:                   BCM20702A0
  Remote:                    0
  Serial Number:             5CF370A67B06
Available remote USB devices: <none>
Currently attached USB devices: <none>
Bandwidth groups:            <none>
Shared folders:              <none>
VRDE Connection:             not active
Clients so far:              0
Recording enabled:           no
Recording screens:           1
 Screen 0:
    Enabled:                 yes
    ID:                      0
    Record video:            yes
    Record audio:            no
    Destination:             File
    File:                    /Users/X/VirtualBox VMs/Home-Assistant/Home-Assistant-screen0.webm
    Options:                 vc_enabled=true,ac_enabled=false,ac_profile=med
    Video dimensions:        1024x768
    Video rate:              512kbps
    Video FPS:               25fps
* Guest:
Configured memory balloon:   0MB
OS type:                     Linux26_64
Additions run level:         1
Additions version:           6.0.0 r127566
Guest Facilities:
Facility "VirtualBox Base Driver": active/running (last update: 2023/07/08 18:20:20 UTC)
Facility "Seamless Mode": not active (last update: 2023/07/08 18:20:19 UTC)
Facility "Graphics Mode": not active (last update: 2023/07/08 18:20:19 UTC)
Attachments
VBoxSVC.log.zip
(5.26 KiB) Downloaded 3 times
Home-Assistant-2023-07-08-13-44-50.log.zip
(33.28 KiB) Downloaded 10 times
Screenshot of VirtualBox VM (07-08-2023, 1-57-02 PM).png
Screenshot of VirtualBox VM (07-08-2023, 1-57-02 PM).png (79.61 KiB) Viewed 995 times
nemo-bird
Posts: 2
Joined: 8. Jul 2023, 20:53

Re: VM will not capture Conbee II USB device

Post by nemo-bird »

FWIW I followed the "sudo virtualbox" method here, and now it works, but this does seem like a janky way to proceed...
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VM will not capture Conbee II USB device

Post by scottgus1 »

"Sudo Virtualbox" for USB is a workaround for the time being. Apple's new no-kext policy makes running Virtualbox on Mac a bit harder than normal. The devs are working on it.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VM will not capture Conbee II USB device

Post by mpack »

You could also access the drive - and probably more reliably - as a SAMBA share instead. Assuming that HAOS supports Samba shares.
Post Reply