MakeTechEasier
  • Home
  •  
  • About
  •  
  • Archives
  •  
  • Jobs
  •  
  • Advertise
  •  
  • Contact Us
  • Windows
  • Linux
  • Mac
  • Internet
  • WordPress
  • iPhone
  • Android
  • All Categories
    • Android RSS
    • Firefox RSS
    • Gaming RSS
    • Google RSS
    • google chrome RSS
    • Internet RSS
    • iPhone/iPod Touch RSS
    • Linux RSS
    • Mac RSS
    • Mobile RSS
    • OpenOffice RSS
    • PC Hardware RSS
    • Review RSS
    • Roundup RSS
    • Windows RSS
    • Windows Mobile RSS
    • WordPress RSS
    • WordPress Plugins RSS
  • rss icon
  • email icon
  • facebook icon
  • twitter icon

Enabling USB support for VMware Server in Hardy Heron

Posted by: Damien on May 5th, 2008
  • 9 Comments
  • Share

After installing VMware Server on Hardy heron, if you find that your virtual machine cannot detect any USB devices on the host, that is because Ubuntu has removed the support for /proc/bus/usb/*.

The following is the way to solve this issue:

Open up a terminal and type

gksu gedit /etc/init.d/mountdevsubfs.sh

In the window that pop up, scroll to line 40 and look for the following code:

#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

Uncomment them by removing the ‘#’ infront of each line of the code.

Save and exit.

Restart the module

/etc/init.d/mountdevsubfs.sh start

Done. Your virtual machine should be able to detect USB device now.

(The above step will apply for VirtualBox as well)

Damien Oh is the owner and chief editor of Make Tech Easier

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Share and Enjoy!

  • Rss feed
  • StumbleUpon It!
  • Del.icio.us
  • reddit

Related Posts

  • How To Sync iPod Touch With Win XP Virtual Machine In Ubuntu Intrepid
  • How To Enable 3D Acceleration In VirtualBox
  • How To Install Windows Vista In Ubuntu Gutsy Using VMware
  • Sharing Files Between Ubuntu Host and Virtual Machines
  • How to Install Windows In Ubuntu Hardy with VirtualBox

Popular Posts

  • Turn Your Ubuntu Hardy to Mac OSX Leopard 498 comment(s)
  • Turn Your Ubuntu Intrepid Into Mac OSX Leopard 311 comment(s)
  • Download EASEUS Partition Master For Free – 24 Hours Only 174 comment(s)
  • 28 Coolest Firefox About:Config Tricks 122 comment(s)
  • How To Boot And Install Windows 7 From USB Flash Drive 122 comment(s)

Enjoyed the article? Subscribe to Make Tech Easier today to get your daily updates of technology tutorials, tips and tricks.

Enter your email:

9 Responses

  • polarizer says:
    May 8, 2008 at 1:08 pm

    thx man – i ran in exactly this issue but i saw no solution and so a decided to check this out later. now it is easy. thx again

    the polarizer

    Reply
  • mrb says:
    July 24, 2008 at 4:30 am

    Good work! mounting usbfs to /proc/bus/usb didn’t work for me, but your solution did.

    Reply
  • Logan says:
    August 9, 2008 at 10:13 pm

    As soon as I went to restart the module, it wouldn’t allow me, saying:

    logan@logan:~$ /etc/init.d/mountdevsubfs.sh start
    mkdir: cannot create directory `/dev/bus/usb/.usbfs’: Permission denied
    open: Permission denied
    * Mount point ‘/dev/bus/usb/.usbfs’ does not exist. Skipping mount.
    ln: creating symbolic link `/dev/bus/usb/devices’: Permission denied
    mount: only root can do that

    Can you help?

    I have already had success with your other posts, but this newbie just can’t figure out some basics.

    Keep up the good work…

    Logan

    Reply
  • Damien says:
    August 10, 2008 at 7:25 am

    @Logon: Try restarting the module again with “sudo”. ie “sudo /etc/init.d/mountdevsubfs.sh start“

    Reply
  • Logan says:
    August 10, 2008 at 4:15 pm

    I feel really silly. But I found out about using sudo to get root priviledges about an hour after posting and I STILL didn’t thin of that!

    It must have been the sleep dep.

    Anyhow, it’s working now. All I have to do now is work out how to access the internet from my Windows XP Guest.

    Logan

    Reply
  • Kerrin says:
    October 21, 2008 at 1:12 am

    I’ve found I have to run this after connecting any usb devices:

    sudo chmod -R 777 /proc/bus/usb/*

    Otherwise when you goto device connect in VMWare server 2.0 remote console, it comes up with:
    “Remote USB device error: Remote device disconnected: an error occured while sending data.”

    Reply
  • mike says:
    October 29, 2008 at 2:43 am

    Hey thanks a bunch. You just helped me get my APC UPS up and running using USB on Ubuntu Server. I never knew this was disabled by default on servers.

    CK

    Reply
  • Gaetan says:
    January 17, 2009 at 6:25 pm

    Thank you from me too. Have used it to install Windows 7 beta. Works great. Still having problems getting the USB message above to resolve and the network adapter is not being recognized in Windows 7. Not sure where the problem resides but will continue to hunt.

    Reply
  • David says:
    December 15, 2009 at 9:57 am

    My God! You are a life saver! I’d struggled with this problem for about 2 hours before I decided to Google it. Your site was one of the top hits (luckily) and had the right answer (always a plus).

    I can’t imagine why Ubuntu would have turned off USB support, straight out, but the fix was so very painless and only took about 5 minutes to implement.

    I honestly can’t thank you enough as the machine HH v8.04 and VMWare Server v1.0.10 is installed on is a production machine that is replacing the ”newest” VMWare Server flavor (2.0.2), which we’d decided to test drive, and is buggy as hell! With the exception of RAM now supported up to 8GB per VM, I was none too impressed, especially when I discovered the Console was done away with in lieu of a web interface! I could have even tolerated that if the bloody interface didn’t ”break” every 3-4 minutes and necessiate a restart of the module. And I was so excited about trying out the latest version. As is usually the case, the tried and true solutions always seem to be the most reliable.

    Thank you, a thousand times over!

    Reply
Cancel reply

Leave a Comment




Comment

Please Note: Comments maybe under moderation after you submit your comments so there is no need to resubmit your comment again

write for MTE

Latest Posts

  • OfficeMedium – A Social Collaboration Platform For The Small Business + Free Promotions
  • MakeTechEasier Is Now Hosted On KnownHost
  • KTorrent: KDE’s BitTorrent client
  • How to Create a Customized Toolbar for Your Browser
  • 13 Ways To Customize Ubuntu Netbook Remix For Better Usability

Our Writers

  • Damien Oh - Chief Editor
  • Sharninder - Geeky Ninja
  • Joshua Price
  • Tavis J. Hampton - Lantern Torch
  • Shevonne Polastre - FreeAgentWriter
  • Trevor Dobrygoski
  • Soumen Halder - Ampercent
  • Tanmay Ahmed - Tech-Tips-Geek
Make Tech Easier on Facebook
Jobs by SimplyHired
Job Widgets

Copyright

All the articles (including the text, images and tutorials) are properties of MakeTechEasier.

You cannot copy whole tutorials, either in English or translate to another language without our permission.

Write for us

Writing a tutorial or article for MakeTechEasier is a great way to get exposure and give back to the community.

Read More Details

Suggestions

We need your help to help us serve you better! This is YOUR site, so if you have suggestions/feedbacks on how we can improve it for you, please let us know! We do our best to make this place better!

Make a Suggestion

Navigation

  • Home
  • About Us
  • Advertise
  • Archives
  • Contact Us

Copyright © 2007-2010 Make Tech Easier | All Right Reserved.