Fusion

 View Only
Expand all | Collapse all

USB Device Connection Issue in VMware Fusion on Mac M1

  • 1.  USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Mar 16, 2025 09:42 AM

    Hello,

    I am encountering an issue with VMware Fusion Pro (version 13.6.3) on a Mac mini M1 (ARM64) Sequoia 15.3.2, regarding the management of USB devices in a virtual machine (VM). They do not attach automatically, even if they are displayed as connected. Only option is to disconnect and connect again. 

    My problem occured with a HomeAssistant arm64 image, to be sure i tested also with a simple Debian image. The behavior is the same. 

    • In the VM's USB settings, I enabled USB 3.1 compatibility and checked "connect to this virtual machine" for each USB device.
    • I also modified the .vmx file to include the USB device IDs:
      plaintext
      usb.autoConnect.device0 = "0x1a86:0x55d4"
      usb.autoConnect.device1 = "0x1a86:0x7523"
      usb.autoConnect.device2 = "0x51d:0x2"

    Problem:

    • During and after the VM boot, the USB devices are shown as connected in VMWare, but they are not recognised by the virtual machine
    • Verified with lsusb
    • In VMWare, only after disconnecting and re-connecting, the virtual machine recognise them properly
    • Changing the USB compatibility between USB 2.0 and USB 3.1. did not solve the issue
    1. Has anyone else encountered similar issues with USB devices in VMware Fusion on Mac M1 (ARM64)?
    2. Are there additional settings in VMware Fusion I could modify to ensure the USB devices are detected automatically?
    3. Is there a recommended method or configuration to ensure that USB devices reconnect correctly to the VM after a reboot or power outage?

    Thanks in advance for your help!

    Joseph



  • 2.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Mar 16, 2025 12:18 PM
    Edited by Technogeezer Mar 16, 2025 12:18 PM

    I wonder if that .vmx hack will work on Fusion. I'm trying it and finding that it's attaching the USB device to a different USB hub  than if you use the GUI.

    Example for my USB video camera::

    Here's what happens if I have the autoconnect bits in the .vmx file. As you noticed, device is connected.

    $ lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
    Bus 001 Device 003: ID 0e0f:0006 VMware, Inc. Virtual Keyboard
    Bus 001 Device 004: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
    Bus 001 Device 005: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 002: ID 07ca:313a AVerMedia Technologies, Inc. Live Streamer CAM 313
    

    But the device doesn't work. Now disconnect and reconnect:

    $ lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
    Bus 001 Device 003: ID 0e0f:0006 VMware, Inc. Virtual Keyboard
    Bus 001 Device 004: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
    Bus 001 Device 005: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
    Bus 001 Device 006: ID 07ca:313a AVerMedia Technologies, Inc. Live Streamer CAM 313
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    

    Note the different USB hub. Device now works.

    I don't know if there's a different form of the vmx entry to specify which USB hub to autoconnect the device to. 



    ------------------------------
    - Paul (technogeezer)
    vExpert 2025
    ------------------------------



  • 3.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Mar 16, 2025 12:28 PM

    Not outside the realm of possiblity as well that it could be a bug with Fusion on Apple Silicon.



    ------------------------------
    - Paul (technogeezer)
    vExpert 2025
    ------------------------------



  • 4.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Mar 16, 2025 01:16 PM

    I might have found something that could work.

    Look in the .vmx file for an entry:

    ehci.present = "TRUE"

    Change it to read:

    ehci.present = "FALSE"

    and keep your usb.autoConnect entries. See if the device works. (I tried this with my USB camera, and the device is now auto-attaching to the "correct" virtual USB hub and is now working.)



    ------------------------------
    - Paul (technogeezer)
    vExpert 2025
    ------------------------------



  • 5.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Mar 16, 2025 03:58 PM
    Edited by Joseph Gand Mar 16, 2025 04:09 PM

    Hello, and many thanks for your inputs. 

    In my case, the device does not show with the lsusb command. But it shows to be connected in the VMware interface, as the only possible option is to disconnect.

    After manually disconnecting and connecting again in the VMware menu, the device appears under the lsusb.

    I tried your suggestions, unfortunately it didn't solve the problem.




  • 6.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Mar 17, 2025 10:10 AM

    Im confused. ever sense the last update it doesn't remember my plugin action. I won't even let me choose to connect to windows or Mac . I have to enable each usb device I want to use each time I turn on the VM? This is bugging me.




  • 7.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Mar 17, 2025 10:15 AM

    I downGraded to version VMware Fusion from 13.6.3 to 13.6.2 and Im able to save my plug in actions Now.

    13.6.3 is broke?




  • 8.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Apr 02, 2025 05:22 PM

    Many thanks for this.

    I have recently migrated my Home Assistant instance from a Raspberry Pi to a VMWare Fusion VM running on a Mac mini M4. Although the migration went well, whenever I restarted the VM, or rebooted my Mac,  the USB Skyconnect Zigbee dongle would never re-attach  to the VM (despite the Plug In Action being set to "Attach to Linux"). I always had to re-attach manually. Eventually saw your post and downgraded to 13.6.2, now all working perfectly.




  • 9.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted May 28, 2025 09:40 PM

    Did you find a solution for this? 
    I did try to downgrade and debug for hours. Found your message then in this thread.

    Would love if you share experience as i have same situation. Got Mac Studio with ZigBee adapter and have always to re-attach the device.




  • 10.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted May 29, 2025 05:30 AM

    Hello!

    I can imagine how much time you've spent trying to fix this - I also tried many different things: tweaking the configuration file, downgrading versions, testing countless setups. In the end, since no real solution seemed to be available, I ended up creating an Apple Automator script that basically emulates disconnecting and reconnecting my USB devices. It's not an ideal fix, but at least it works.

    Have a great day!

    Joseph




  • 11.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted May 29, 2025 07:51 AM

    It was a long night but i fixed it after digging my old Time Machine images.

    1) Downgrade was required to the version 13.6.2.
    2) I had to remove usb.present = "TRUE" in my vmx config.

    Now its running like a charm.




  • 12.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Mar 17, 2025 01:12 PM

    Hello,

    Yes, I have a similar problem. My microcontroller USB device is not recognized in the VM. I'm using VMware Fusion on Mac M1 as well.

    I've spent dozens of hours trying so many different things...




  • 13.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Mar 17, 2025 01:37 PM

    One thought on the microcontroller device. Can you check in thee Mac's System Settings > Privacy & Security > Files & Folders and make sure that VMware Fusion has permission to access Removable Volumes?



    ------------------------------
    - Paul (technogeezer)
    vExpert 2025
    ------------------------------



  • 14.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Mar 18, 2025 10:06 AM
    Hello I was having the issue.
    I downgraded from 13.6.3 to the previous version 13.6.2 and the issue went away
    Hope this helps.
    Thanks
    PK

    Paul King
    Retired Network Engineer 🇺🇸




  • 15.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Mar 18, 2025 02:21 PM

    Hello, i tried to go back to V13.6.2. It solved the savings of the preference in the GUI - connect to Linux. But it did not solve that the USB devices are not connecting trough the VM, unless manually disconnect and connect again in the GUI. I tested in both VM (HomeAssistant and Debian)




  • 16.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Mar 18, 2025 02:46 PM

    @Joseph Gand - when using the usb.autoconnect entries and changing the  ehci.present = "TRUE"entry in the vmx file to ehci.present = "FALSE", what USB hub is the device connected to in the guest? A lsusb output when using those settings would be useful to see if the device is being attached to the right place. 



    ------------------------------
    - Paul (technogeezer)
    vExpert 2025
    ------------------------------



  • 17.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Mar 18, 2025 02:50 PM

    Ahhh... never mind. I looked at the wrong reply before asking my last question and saw that you posted the lsusb results. 



    ------------------------------
    - Paul (technogeezer)
    vExpert 2025
    ------------------------------



  • 18.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Mar 18, 2025 03:47 PM

    It shows nothing under lsusb.  As if not connected at all. Look at my first printscreen in the message #5 where only the generic ones are showing. It only appears under lsusb when disconnecting and connecting again in the GUI, as in the second printscreen :  Sonoff Zigbee device. It's the same case for all USB devices. 




  • 19.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Mar 18, 2025 10:07 AM

    The access is set to "Full Disk Access" for "VMware Fusion".
    Does that answer that permission question?




  • 20.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Mar 18, 2025 10:31 AM
    Edited by Technogeezer Mar 18, 2025 10:31 AM

    @MCUStu3 That should work, but I don't think that's the source of your problem. See my reply in the other post you made about trying to communicate with your microprocessor board. 



    ------------------------------
    - Paul (technogeezer)
    vExpert 2025
    ------------------------------



  • 21.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Mar 18, 2025 01:14 PM

    Yeah,  I was trying to respond to that but any edits or changes or responses need to be approved while the ENTIRE post is made to disappear, which I believe is a very unnecessary and inefficient way to handle forums. 




  • 22.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Mar 19, 2025 09:37 AM

    Okay, so I'm been trying to see how I can respond to your messages in my post, but there's no REPLY button. So, I don't know how I can respond to you there...




  • 23.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Broadcom Employee
    Posted Mar 28, 2025 01:07 AM

    @Joseph Gand, can you please share the logs so that the team will have a look.




  • 24.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Mar 28, 2025 03:45 PM
      |   view attached

    Sure, thanks! The log is from a fresh start, USB auto connect for 3 devices, GUI showing the USB devices as connected. But not working. Will only work if manually disconnect and connect again. 


    Attachment(s)

    log
    vmware.log   162 KB 1 version


  • 25.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Mar 28, 2025 03:51 PM
      |   view attached

    file


    Attachment(s)

    log
    vmware.log   162 KB 1 version


  • 26.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Broadcom Employee
    Posted Apr 01, 2025 01:38 AM

    Can you please share the log. We dont see any attachment in your reply.




  • 27.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Apr 05, 2025 08:21 AM

    Hello, I did try, one time with Safari, then with FireFox. The file is correctly uploaded with the "Upload file" button, but then disappears after posting my message. Can I send it to you by email ? Thanks !




  • 28.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Apr 22, 2025 09:37 AM

    I have the same issue on my Mac M4 Pro with Mac OS 15.5 (beta).
    The ehci Option in the .vmx file, as well as the downgrade to 13.6.2 didn´t helped in my case. 
    When I plugin the USB-Drive, after a few Seconds the drive letter appears, no acces via the File browser or the device manager (freeze).
    In the advanced USB logging protocol, it seems so, that the USB-Stick is getting up abnd down, again and again...
    (multiple entries for down dev=5 and up dev = 5 until I remove the USB-Stick)

    025-04-22T05:14:10.945Z In(05) vmx USB: New set of 2 USB devices.
    2025-04-22T05:14:10.945Z In(05) vmx USB: Found device [name:Transcend\ ESD310C vid:2174 pid:2100 path:16/2 speed:super+ family:storage,storage-bulk serialnum:8E1151EBI55XXXX40032 arbRuntimeKey:7 version:5]
    ...
    2025-04-22T05:14:16.023Z In(05) vcpu-0 USBIO: GetDescriptor
    2025-04-22T05:14:16.023Z In(05) vcpu-0 USBIO: (device, 0
    2025-04-22T05:14:16.023Z In(05) vcpu-0 USBIO: )
    2025-04-22T05:14:16.023Z In(05) vcpu-0 USBIO: 
    2025-04-22T05:14:16.023Z In(05) vcpu-0 USBIO: Down dev=5 'usb_xhci:0' endpt=0 stream=0 datalen=18 numPackets=0 status=0
    2025-04-22T05:14:16.023Z In(05) vcpu-0 USBIO:  000: 80 06 00 01 00 00 12 00                         ........        
    2025-04-22T05:14:16.024Z In(05) vmx USBIO: Up dev=5 'usb_xhci:0' endpt=0 stream=0 datalen=18 numPackets=0 status=0
    2025-04-22T05:14:16.024Z In(05) vmx USBIO:  000: 80 06 00 01 00 00 12 00                         ........        
    2025-04-22T05:14:16.024Z In(05) vmx USBIO:  000: 12 01 20 03 00 00 00 09 74 21 00 21 00 01 01 02 .. .....t!.!....
    2025-04-22T05:14:16.024Z In(05) vmx USBIO:  010: 03 01                                           ..            



  • 29.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Apr 22, 2025 09:17 PM

    In System Settings > Privacy & Security > Files & Folders, does VMware Fusion have access to "Removable Devices"?



    ------------------------------
    - Paul (technogeezer)
    vExpert 2025
    ------------------------------



  • 30.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Apr 25, 2025 02:14 PM

    Yes, the system settings are correct. 

    Because of I read in other Threads, that the root course could be the Mac OS Beta Version, I downgraded to the last official Version ( 15.4.1 ).

    But still with an clean installed OS my Stick wasn't working.

    I also was able to test an older USB Stick on a separate USB Switch, and this device was working. But my newer USB Stick have the same issues with the external USB Hub.




  • 31.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Apr 27, 2025 08:49 PM

    Hi Joseph and others on this forum topic, 

    I have the same problem with my Mac mini M1 (MacOS 15.4.1) VMware Fusion Installation. I run the latest Home Assistant iteration. 

    I tried going down to VMware Fusion 13.6.2 from 13.6.3 with no luck. I modified the .vmx file (not very user friendly method) and now get autoconnect, but even if it says "connected", Home Assistant don't see USB devices connected at all. So I have to manually disconnect each usb devices and reconnect them for those to start correctly. Once everything is reconnected, it works fine. 

    In case of power failure, my installation must be set to auto restart. Since, USB devices must be manually enabled, that mean system failure for my installation and no reliability.

    I lost all day trying to resolve that issue. I'm glad I found out that I'm not alone.

    I hope that Broadcom Team will find the issue and provide us with a solution.

    I'm new to using VMware Fusion. My prior installation was with VirtualBox on an old Intel Mac. I had no problem with keeping my USB connected. I had great hope for my new VMware/MacM1 installation.  

    Thanks for your help,

    Claude




  • 32.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted Apr 28, 2025 12:24 AM

    Hello Claude

    We are in the exact same situation then. 
    I also spent many time on the issue. 
    Last thing I tried was to install Debian Linux to be sure that the issue is not from HomeAssistant, the problem stayed the same. I also have the same issue of auto restart. At the moment I used an Automator script to emulate the manual disconnect and connect of the usb devices as a dirty workaround. 




  • 33.  RE: USB Device Connection Issue in VMware Fusion on Mac M1

    Posted May 05, 2025 08:29 PM

    Hi, Some news about my problem and my setup,

    Things are now working correctly. I don't know what really changed but hear what might have work. 

    I finally removed the 2 lines added for AutoStart one the .vmx file. I had popup windows asking me about usb connected devices and I selected "keep connected to virtual machine" or not. When I restart now, the usb dongles are connecting and I do not have to disconnect and reconnect them to make them working properly.  Maybe having reverted back to 13.6.2 and playing with the settings in that version and then upgrading to 13.6.3 again have made the settings registered correctly. 

    In case things return to not working again, I keep in mind your idea about an Automator script to automate the disconnect-reconnect thing.

    Thanks,

    Claude