VMware Communities
kristian1978
Contributor
Contributor

USB on XP Guest

I'm using linux for the host centOS4.4 and FC1 on another machine both same problem with getting a USB device to be recognised by the XP guest OS.

Should i be able to see in VMtools in the guest OS under devices a listing for USB, if it is enabled?

in .vmx

usb.present = "TRUE"

usb.analyzer.enable = "TRUE"

Cheers,

Kristian

Reply
0 Kudos
10 Replies
KevinG
Immortal
Immortal

Hi Kristian,

Try the troubleshhoting tips listed in the following knowledge base article

http://kb.vmware.com/vmtnkb/search.do?cmd=displayKC&docType=kc&externalId=774&sliceId=SAL_Public&dia...

Shut down or turn off the virtual machine, and, using a text editor, add the following line at the end of the virtual machine’s configuration (.vmx) file:

usb.analyzer.enable = "TRUE"

You must have the VM configured with debugging turn on to use the above line in the .vmx file

Cheers

Reply
0 Kudos
kristian1978
Contributor
Contributor

I should mention that, because i've been grappling with this issue for a while my vmx file looks liek this...

usb.present = "TRUE"

usb.analyzer.enable = "TRUE"

usb.generic.autoconnect = "TRUE"

usb.generic.skipsetconfig = "TRUE"

usb.generic.allowHID = "TRUE"

I shall have a look at the link you sent.

Cheers,

-Kristian

Reply
0 Kudos
kristian1978
Contributor
Contributor

I thought i would reply to myself to add some more info.

In the guest XP, vmtools does not list any mention of USB. In XP device manager i get 1) Intel(R) 82371AB/EB PCI to USB Universal Host Controller and 2) USB Root Hub.

When i run vmware XP guest, i get the following in the log file (grep usb|USB)

Nov 15 13:46:11: vmx| DICT tag.usbConfig = devices_usb.htm

Nov 15 13:46:11: vmx| DICT usb.present = TRUE

Nov 15 13:46:11: vmx| DICT usb.analyzer.enable = TRUE

Nov 15 13:46:11: vmx| DICT usb.generic.autoconnect = TRUE

Nov 15 13:46:11: vmx| DICT usb.generic.skipsetconfig = TRUE

Nov 15 13:46:11: vmx| DICT usb.generic.allowHID = TRUE

Nov 15 13:46:11: vmx| DICT tag.usbConfig = devices_usb.htm

Nov 15 13:46:14: vmx| USB: Initializing UHCI host controller

Nov 15 13:46:14: vmx| USB: Initializing USB Generic backend

Nov 15 13:46:16: vmx| USB: Found device \[name:Tablet\ PTZ-630 vid:056a pid:00b1 path:1/1]

Nov 15 13:46:16: vmx| VMXVmdbLoadUsbDevices: New set of 1 USB devices

Nov 15 13:48:34: vmx| VMXVmdbLoadUsbDevices: New set of 0 USB devices

This last one is me unplugging the device (wacom tablet). I do notice however that nothing appears in the log once i re-insert the device. If i then shutdown and start it (the guest OS) again it is detected in the logs.

Cheers,

Kristian

Reply
0 Kudos
kristian1978
Contributor
Contributor

UPDATE

Using CentOS4.4 as the host I have managed partial success.

Removed wacom driver from host

usb.generic.allowHID = TRUE

usb.generic.autoconnect = TRUE

usb.present = TRUE

Added the lines above.

So, wacom is only detected when plugged in after XP has booted, which is

a real pain for large scale deployment. It is not detected if just left

plugged in on boot up of guest OS.

After you plug it in, and the wacom drivers from wacom are loaded, it

seems there is a conflict with the mouse as when you use the pen it acts

randomly like all the buttons are being pressed at once. If on bootup

of the guest os you remove the mouse, then when its booted plug in the

wacom tablet the pen works but runs really slowly (like the frame rate

drops to 5fps or something) and it suffers a medium amount of random

button pressing.

Any ideas...?

Cheers,

Kristian

Reply
0 Kudos
kristian1978
Contributor
Contributor

UPDATE AGAIN:

I've managed to get it all working swimmingly, thats USB intuos 3 wacom tablet and a ps/2 mouse.

How i hear you all ask on mass....

Delete the vmware pointing device under the mouse tab in devices, then reboot. When it boots up it installs a ps/2 device (the mouse is a usb optical with a ps/2 converter).

It was that easy...

Cheerie bye bye

-Kristian

Reply
0 Kudos
kristian1978
Contributor
Contributor

BTW:

I should add that there is still a problem with it only working if you boot the XP guest OS and \_then_ plug the USB tablet it. It had to be booted before you plug it in, however i think i've seen a post how to solve that.... so we shall see.

-K

Reply
0 Kudos
kristian1978
Contributor
Contributor

UPDATE:

Sorted the issue of having to plug the USB device in once the OS had loaded by....

http://tinyurl.com/yhcjf8

or

http://kb.vmware.com/vmtnkb/search.do?cmd=displayKC&docType=kc&externalId=1648&sliceId=SAL_Public&di...

i used....

usb.autoConnect.device0 = "path:1/1"

Cheers,

-K

Reply
0 Kudos
daoane
Contributor
Contributor

Thanks, Kristian, for all the information!

I got my Wacom Graphire4 working in WindowsXP in WMware Server on Ubuntu 6.10.

Summary:

A )

Add usb.generic.allowHID = TRUE to the Virtual Machine configuration (.vmx file).

B)

Start your virtual machine/plug tablet in

C)

Check in "VM > Removable Devices > USB Devices" (or whereever your USB devices are listed if you do not use WMware Server) if you see something like this (do not connect it yet to the virtual machine, otherwise hardware-autodetection will grab it and you have to uninstall it in the Device Manager first!):

WACOM CTE-640-U V4.0-3 (Port 1)

If it's there, go on. Otherwise check if the device is present in Linux. Replug it if necessary.

D) Connect the tablet and start driver installation immediately. If there is to much time inbetween, Windows will grab the device and the setup might not find it (happend to me). In this case uninstall in Device Manager and try again).

Now it should work!

Cheers,

Henning

Reply
0 Kudos
tink044
Contributor
Contributor

Took me ages, but i sorted in the end. Intuous3

1) in /etc/modprobe.conf and /etc/modules.conf add 'alias wacom off'

2) add the following to .vmx...

usb.present = "TRUE"

usb.generic.autoconnect = "TRUE"

usb.generic.allowHID = "TRUE"

usb.autoConnect.device0 = "name:Tablet"

3) In windows install the wacom driver.

4) Delete the Vmware mouse pointer in device manager (it reloads it as a ps2 mouse)

This results in no wacom in Linux, but.... You do get pressure sensitivity in windows. Remove the alias wacom off bit, gives you wacom in linux and windows, but not pressure sensitivity in windows.

erm... i think thats about it.

I did come across a problem with new big widescreen apple monitors. They have a USB hub on the back of them, if they are plugged into the machine, vmware takes an age to load (or doesnt load at all, i didnt wait) i'm guessing it gets stuck searching the usb ports. So i just leave the monitor unplugged from the USB.

-Kristian

Reply
0 Kudos
tink044
Contributor
Contributor

Taaaaadaaaaa! I shall cross post this a little since I'm very excited.

Wacom working in Linux Host and.. XP Guest perfectly!!!

usb vmx settings:

usb.present = "TRUE"

usb.generic.allowHID = "TRUE"

Latest stable drivers from:

linuxwacom.sourceforge.net

wacomproxy.sourceforge.net

BOSH. Job done.

Reply
0 Kudos