Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Virtualization
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Virtualization
For questions on VMWare, VirtualBox, Xen, QEMU and other virtualization software.

 
Thread Tools Display Modes
Old October 23rd, 2007   #1
ashishgoel
Just Give Me the Beans!
 
ashishgoel's Avatar
 
Join Date: May 2007
Location: India
Beans: 72
Ubuntu 7.10 Gutsy Gibbon
[SOLVED] Vmware Server 1.0.4 not picking Printer as USB peripheral in Gusty

Hi all,

I upgraded to Ubuntu 7.10 recently from 7.04 and as there is no support from the Ubuntu Community(The program not available in Add/Remove and also not in Automatix) for Vmware Server, I installed latest VMware Server directly. Everything is working fine after some tweaking but the server is not recognizing my attached Canon MP110 printer as USB peripheral because of which I'm not able to use it with the Guest operating system(WinXP). The printer is working fine in the Ubuntu 7.10 installation and had no problem in 7.04 version with Vmware Server 1.0.3.

Please help

Thanx



Solution No.1

SOLVED

Please open the following file: /etc/init.d/mountdevsubfs.sh by following command - gksudo gedit /etc/init.d/mountdevsubfs.sh

Find the following 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


Unmark them so that look like this:
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

Restart and your usb devices will be recognised


Solution No. 2 (Thanx to Jome2)

The problem with Workstation can be resolved by:
sudo mount -t usbfs none /proc/bus/usb/
__________________
'cause I said SOOO.....

Last edited by ashishgoel; April 20th, 2008 at 01:02 PM.. Reason: Solution added
ashishgoel is offline   Reply With Quote
Old October 23rd, 2007   #2
empty89
Spilled the Beans
 
Join Date: May 2007
Beans: 14
Re: Vmware Server 1.0.4 not picking Printer as USB peripheral in Gusty

I am having the same problem as u have.. In ubuntu fiesty, i was able to install my printer in my winXP in vmware player 2.0, right now, after doing a fresh install of gutsy my printer is not detected by vmware, so i cant connect my printer directly to my vmware player.. i need to print my document. it is important
empty89 is offline   Reply With Quote
Old October 23rd, 2007   #3
stuffer007
5 Cups of Ubuntu
 
stuffer007's Avatar
 
Join Date: Jun 2007
Location: Orlando, Fl area
Beans: 15
Ubuntu 7.10 Gutsy Gibbon
Send a message via AIM to stuffer007
Re: Vmware Server 1.0.4 not picking Printer as USB peripheral in Gusty

your not the only one. Mine is not a printer, but USB thumb drives and my Ipod do not pass through into vmware.
__________________
-Stuffer007
AMD Athlon64 X2 4200+
NVidia Geforce 7950 GX2
Gutsy Gibbon 7.10
stuffer007 is offline   Reply With Quote
Old October 24th, 2007   #4
tcdrewiv
5 Cups of Ubuntu
 
Join Date: Oct 2006
Location: Rocky Mount,NC
Beans: 15
Ubuntu 7.10 Gutsy Gibbon
Re: Vmware Server 1.0.4 not picking Printer as USB peripheral in Gusty

I had same problem after upgrade. After installing vmware server 1.04 it would not see any usb devices until i uncommented the 4 lines in the file below. This also worked for virtual box.

/etc/init.d/mountdevsubfs

#
# Magic to make /proc/bus/usb work
#
#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

see http://www.virtualbox.org/ticket/747

now vmware will locate any usb connections as before
tcdrewiv is offline   Reply With Quote
Old October 25th, 2007   #5
ashishgoel
Just Give Me the Beans!
 
ashishgoel's Avatar
 
Join Date: May 2007
Location: India
Beans: 72
Ubuntu 7.10 Gutsy Gibbon
Re: Vmware Server 1.0.4 not picking Printer as USB peripheral in Gusty

i'll be glad if anyone could be little more explainatory on how to do it exactly...

thanx
__________________
'cause I said SOOO.....
ashishgoel is offline   Reply With Quote
Old October 25th, 2007   #6
ashishgoel
Just Give Me the Beans!
 
ashishgoel's Avatar
 
Join Date: May 2007
Location: India
Beans: 72
Ubuntu 7.10 Gutsy Gibbon
Re: Vmware Server 1.0.4 not picking Printer as USB peripheral in Gusty

SOLVED

Please open the following file: /etc/init.d/mountdevsubfs.sh by following command - gksudo gedit /etc/init.d/mountdevsubfs.sh

Find the following 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


Unmark them so that look like this:
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


Restart and your usb devices will be recognised.
__________________
'cause I said SOOO.....
ashishgoel is offline   Reply With Quote
Old October 25th, 2007   #7
Dripbagulhos
5 Cups of Ubuntu
 
Dripbagulhos's Avatar
 
Join Date: Sep 2007
Location: Somewere in Brazil
Beans: 43
Ubuntu 7.10 Gutsy Gibbon
Re: Vmware Server 1.0.4 not picking Printer as USB peripheral in Gusty

Hi tcdrewiv,

Thank you very much! It does work perfectlly for me. I was using Kubuntu 7.04 + VMWare Server 1.03 where everything worked fine. When I moved to Ubuntu 7.10 + VMWare Server 1.04 I lost all USB devices.

The clue you gave, did the trick, but there is one question... Why these 4 lines wheren't uncomented by default?
Dripbagulhos is offline   Reply With Quote
Old October 25th, 2007   #8
tcdrewiv
5 Cups of Ubuntu
 
Join Date: Oct 2006
Location: Rocky Mount,NC
Beans: 15
Ubuntu 7.10 Gutsy Gibbon
Re: Vmware Server 1.0.4 not picking Printer as USB peripheral in Gusty

I have no idea. People a lot smarter than me may have an answer. I have been an ubuntu user since dapper and I have always been able to find an answer to any problem on these forums. I was glad to pass the answer along.
tcdrewiv is offline   Reply With Quote
Old November 2nd, 2007   #9
jome2
First Cup of Ubuntu
 
Join Date: Nov 2007
Beans: 2
Re: [SOLVED] Vmware Server 1.0.4 not picking Printer as USB peripheral in Gusty

I use vmware workstation 6.0.0 on Ubuntu 7.10 and have this problem as well.
Umark (uncomment) of these lines do nothing.

Earlier I have used vmware workstation 6.0.0-beta on Ubuntu 7.04 and it worked fine.

What can I try more to solve the problem?
jome2 is offline   Reply With Quote
Old November 6th, 2007   #10
jome2
First Cup of Ubuntu
 
Join Date: Nov 2007
Beans: 2
Re: [SOLVED] Vmware Server 1.0.4 not picking Printer as USB peripheral in Gusty

The problem with Workstation can be resolved by:
sudo mount -t usbfs none /proc/bus/usb/

The resolution from:
http://communities.vmware.com/message/617688
"There is allegations that /proc/bus/usb/ is insecure, but that Vmware refuses to change to the new standard."
jome2 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:55 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry