?
Solved

Serial port on Virtual machine not working? How can I test if it is setup correctly?

Posted on 2014-01-06
7
Medium Priority
?
4,125 Views
Last Modified: 2014-01-11
hi guys,

I have a VM running a Windows XP Pro using Vmware Workstation 8.0. There is a serial port on the actual physical host. To which a scanner is attached. I've added a serial port on the VM and have selected it to 'Auto Detect' and it says in brackets 'COM1' next to it which in my opinion should indicate that it has seen it?

However, the application which picks up the scanner is not doing so right now.

How can I test that the serial port is working? I've tried following this guide http://www.ni.com/support/serial/verhyper.htm and it didn't work either:(

Any help would be great
Thanks again
Yashy
0
Comment
Question by:Yashy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 123
ID: 39760631
When the VM starts, enter the BIOS and change the COM port settings, to a port value, rather than Auto Detect.

I would suggest 2F8, which is COM2, and then check you have COM2 defined in Windows Device Manager.
0
 
LVL 1

Author Comment

by:Yashy
ID: 39760646
Thank you sir:)

When you say 'check you have COM2 defined', do you mean on the virtual host I should go into the device manager and go into the 'Port' settings? But then what do I set those values to? Same as that which exists on the physical host?
0
 
LVL 123

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 39760703
Correct, set to the same value, that you have defined in the VM BIOS in the VM OS.

This also assumes you have already added the COM serial port device in VM settings, and set/selected the physical serial port on the host, which is known and tested to be working.
0
Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as high-speed processing of the cloud.

 
LVL 1

Author Comment

by:Yashy
ID: 39762558
I've gone into the BIOS and made the changes in the VM Bios to Enable instead of Auto Detect. COM2 is now 2F8. COM1 is 03F8.

However, on the VM, in the options you can only select 'Com1 (Auto Detect)'. It's still not working using COM1. The other available options are COM3 or COM4.

But in the device manager on the VM, COM 2 can be seen.

Any ideas?
0
 
LVL 123
ID: 39762925
The VM settings are correct, to "map" to your serial port on the host?

your host serial port is known to be working?

It does not really matter what COM is in use, but it's important that the address 2F8 is registered in the Windows XP OS? (in device manager)
0
 
LVL 1

Author Comment

by:Yashy
ID: 39763719
Well i'd need to test the actual serial port to ensure it is working. Maybe via the actual hyperterminal on the XP OS?
0
 
LVL 20

Expert Comment

by:compdigit44
ID: 39765939
You could test the scanner / device from your host workstation running Workstation to see if he device is able to be detected and work.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question