Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - USB support in VMware: (15 Items)
   
USB support in VMware  
Some time ago USB was working fine in QNX under VMware. 

Later with newer release of VMware (5.5) it was necessary to add uhci.newCore="FALSE" to the configuration file of 
virtual machine.

Now, with VMware 6.0 it is not working at all.

I contacted VMware, but according to them QNX is not supported guest OS. 

If you need any information - how I tested it ..., I will provide them.
RE: USB support in VMware  
Hello Pavol, 

 

I've been working on this issue, if you're interested you can try the
attached experimental drivers. Please let me know how it worked out.

 

Unpack the archive but make sure you're using absolute paths to the driver
to ensure io-usb isn't picking up a different .so.

 

/root/usb-final/io-usb -d/root/usb-final/devu-uhci.so

(only uhci is necessary)

 

Regards, 

Eric Naud

 

 

   _____  

From: Pavol Kycina [mailto:pkycina@microstep-hdo.sk] 
Sent: September 25, 2007 8:14 AM
To: support-vmware
Subject: USB support in VMware

 

Some time ago USB was working fine in QNX under VMware. 

Later with newer release of VMware (5.5) it was necessary to add
uhci.newCore="FALSE" to the configuration file of virtual machine.

Now, with VMware 6.0 it is not working at all. 

I contacted VMware, but according to them QNX is not supported guest OS. 

If you need any information - how I tested it ..., I will provide them. 

_______________________________________________ 
Support 
HYPERLINK "http://community.qnx.com/sf/go/post1559"
\nhttp://community.qnx.com/sf/go/post1559 

------
Attachments are virus free!

This message has been scanned for viruses at the originating end by
Nemx Anti-Virus for MS Exchange Server/IMC
	http://www.nemx.com/products/antivirus

  
Attachment: Text usb_vmm_fix.tar 180 KB
Re: RE: USB support in VMware  
> 
> I've been working on this issue, if you're interested you can try the
> attached experimental drivers. Please let me know how it worked out.
> 
> 
[snip] 
> 
> (only uhci is necessary)
> 
>  
> 

devu-uhci seems to work, I was able to copy large file from my memory stick.

VMware 6.0 supports also USB 2.0, so is there any plan to update also devu-ehci?

Thanks.
Re: RE: USB support in VMware  
Hi.

I tried the experimental driver(s), and it(they) didn't work for me.  I'm trying to mount a USB Flash Drive (VMware 
reports "Feiya Removable Disk").  The Flash Drive worked on a real PC running 6.3.2 with the released drivers.

I did the following on a slightly reconfigured version of the virtual machine which is provided on the September 2007 
Evaluation DVD:

#ls /dev/h*
/dev/hd0   /dev/hd0t79   /dev/hd1   /dev/hd1t77
#ls /fs
cd0   ms-dos-floppy   ramdisk
#slay io-usb
#/root/usb-final/io-usb -d/root/usb-final/devu-uhci.so
#   #check io-usb launched, plugin USB drive, acknowledge VMware msg
#ls /dev/h*
/dev/hd0   /dev/hd0t79   /dev/hd1   /dev/hd1t77
#ls /fs
cd0   ms-dos-floppy   ramdisk

On a version 5 vm, I tried both with and without the line:

uhci.newCore="FALSE"

I also tried without the line on a version 6 vm.

What am I doing wrong?  If I'm doing nothing wrong, can someone provide me with a virutal machine on which this has been
 shown to work.

Does USB work any better on the new VMware Server 2 beta?

Thanks,
     Craig 

Re: RE: USB support in VMware  
Ah, I've figured out at least part of the problem.  

I need to restart at least devb-umass after I have restarted io-usb.

Can I simply replace the usb files in /proc/boot with the new "experimental" files?

Thanks,
     Craig  
Re: RE: USB support in VMware  
Hi,

Here are updated binaries with ohci and ehci support. They should work in both the latest VMware workstation and server.


Please note these binaries are experimental.

Cheers, 
Attachment: Compressed file usb-oct12.tar 150 KB
Re: RE: USB support in VMware  
Sorry, should there be a file devu-ohci.so in the tar file?  Your post seems to indicate so, but such a file is missing 
from the tar file.

     Craig Scratchley
Re: RE: USB support in VMware  
> Sorry, should there be a file devu-ohci.so in the tar file?  Your post seems 
> to indicate so, but such a file is missing from the tar file.
> 
>      Craig Scratchley


Hi Craig, 

My post should have read uhci and ehci only. I didn't include ohci yet.

Regards, 
Eric
Re: RE: USB support in VMware  
I tried your usb-oct12.tar release:

io-usb is working on a Dell Latitude D510 with Windows XP Professional SP3 with the latest VMware 6. (Only tried an usb-
stick)

But I can't get io-hid + devc-con-hid working with your usb release.
=> keyboard + mouse are not working + not shown by the hidview command

When I start QNX 6.3.2 from the Insallation CD (without your usb release) io-hid + devc-con-hid are working.
=>But I have the problems with mouse hanging at "virtual borders"

Is there a solution available ?
Re: RE: USB support in VMware  
> Hi,
> 
> Here are updated binaries with ohci and ehci support. They should work in both
>  the latest VMware workstation and server.
> 
> Please note these binaries are experimental.
> 
> Cheers, 


Hello,

any chance that these would be back ported to QNX 4?

Thanks, PKY
Re: RE: USB support in VMware  
You may already know this, but for those who don't.

Replacing the files in /proc/boot will only work until you reboot - they are the files which are in the boot image.  If 
they need to be started at boot time, you will have to make a new boot image to include the new files.

Rick..

Re: RE: USB support in VMware  
Ah, so which programs do I need to slay and then restart after boot in order to be able to automount a USB Flash Drive 
in VMware.  That is the only USB device that I know of that I am using.

Thanks,
     Craig
Re: RE: USB support in VMware  
I tried your usb-oct12.tar release:

io-usb is working on a Dell Latitude D510 with Windows XP Professional SP3 with the latest VMware 6. (Only tried an usb-

stick)

But I can't get io-hid + devc-con-hid working with your usb release.
=> keyboard + mouse are not working + not shown by the hidview command

When I start QNX 6.3.2 from the Insallation CD (without your usb release) io-hid + devc-con-hid are working.
=>But I have the problems with mouse hanging at "virtual borders"

Is there a solution available ?
Re: RE: USB support in VMware  
Hi, 
I am using QNX on VMWARE. VMWARE details are VMWARE Server console, version 1.0.8.

I want to use USB Compact Flash adaptor for loading the QNX into CF.
When i connect the usb CF adaptor and check for the device in QNX it does not detect.
From the above discussions when i checked for usb supporting files in QNX (vmware) i came to know that devu-ehci.so, 
devu-ohci.so,devu-uhci.so and io-usb files exists with no data. Its size is 0 byte. When i try to copy the correct files
 into the same location i could not copy.If there is any way to replace those files or any way to detect the usb adaptor
 please guide me.

Regards
Sreesha
Re: RE: USB support in VMware  
I got it solved, i added uhci.newCore=FALSE in configuration file and enabled removable devices in VMWARE.
Then it got detected.