Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to eject a USB device (no icon) from a mac to be used in VM

I have a PIC microcontroller that needs to be used as a USB device. I have already succeeded communicating the PIC with my MAC so that is no the issue. I can even see the device "mounted" with the command "system_profiler SPUSBDataType" that lists all USB devices connected with the computer. I need this device to be used in a Ubuntu Virtual Machine so I need to be able to "disconnect" this device from the host (mac os) and open in the VM. How can I "disconnect" a non-iconed usb device from mac so I can "connect" to my VM? Any commands?

THanks a lot...

like image 571
user2945738 Avatar asked Nov 25 '13 00:11

user2945738


People also ask

How do you eject a USB from a Mac?

Eject a storage device On your Mac, do one of the following: Select the item to eject, then choose File > Eject. In the Finder sidebar, click the Eject button next to the item's name.

Can virtual machines see USB devices?

If your external physical device has the USB interface, you can attach this device to a virtual machine running on VMware Workstation and ESXi server. VMware allows you to connect USB devices to virtual machines by using the USB passthrough feature (passing the device through).


1 Answers

You should be able to unmount a device on OSX with the umount command:

https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man8/umount.8.html

like image 150
Preston Avatar answered Sep 28 '22 21:09

Preston