« Still Need Windows? Don't Forget 2000 | Main | What's Up with this Microsoft/Yahoo Thing Anyway? »

Enable USB Support with VMWare

VMWare is an esential part of my migration to Ubuntu, but it's not perfect out of the box.

For example, USB support is not enabled by default for your virtual machines.

There's an easy fix.

Either precede the following commands with sudo, or open a root terminal.

Type the following commands:

gedit (or vi) /etc/fstab.

Add this line:

usbfs /proc/bus/usb usbfs auto 0 0

Now, gedit /etc/init.d/mountdevsubfs.sh

Uncomment these lines:

mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs
-obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb

Reboot.

If you don't have a USB controller on your virtual machine, add it.

Once it's booted up and running, enable whatever USB device you would like your VM to see by selecting it via removable devices.

Voila! USB devices visible to your VM!

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


Get emailed notifications of new articles!
NOTE: I will not sell any email addresses I receive, and will not send any unsolicited emails, either. If you sign up for new article notifications, that is ALL you will receive, and you can cancel at any time. You have my word.
--Ron Enderland

Enter your email address:

About

This page contains a single entry from the blog posted on February 4, 2008 12:22 AM.

The previous post in this blog was Still Need Windows? Don't Forget 2000.

The next post in this blog is What's Up with this Microsoft/Yahoo Thing Anyway?.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.33