Using USB with VMWare
Posted: Wed Mar 10, 2010 7:53 pm
My answer to a locked thread. If you want to develop a USB driver using VMWare, then there are two things to do first:
01. Add the following lines to your .vmx file
01. Add the following lines to your .vmx file
02. Remove the following lines from your .vmx filemonitor = "debug"
usb.analyzer.enable = TRUE
usb.analyzer.maxLine = 8192
mouse.vusb.enable = FALSE
Now, restart the VM. You should now be able to attach a device to the VM and the connection will be detected as if you were testing on real hardware. Otherwise, if you did not remove those lines (each time you connect and suspend your VM), then the VM will think that a device is already connected when you restart the VM, so remove those lines each time before you restart and only after you have connected a device successfully; this may take a few tries.usb:0.present = "TRUE"
usb:0.deviceType = "hub"
usb:1.present = "TRUE"
usb:1.deviceType = "Mouse"